:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #0b1d2a;
  background: #faf7f1;
}

.course-page {
  --ink: #0b1d2a;
  --ink-2: #132e40;
  --muted: #61707a;
  --line: rgba(11, 29, 42, 0.16);
  --soft: #f3eee5;
  --paper: #faf7f1;
  --panel: #ffffff;
  --blue: #3153d8;
  --blue-2: #2038a2;
  --teal: #4d9284;
  --teal-2: #2f6f64;
  --mint: #a8d9cf;
  --orange: #ff6534;
  --orange-dark: #d9471d;
  --shadow: 0 26px 80px rgba(11, 29, 42, 0.14);
  --radius: 28px;
  --radius-small: 18px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  --font-display: "Noto Serif TC", "Songti TC", Georgia, serif;
  width: 100%;
  min-height: 100vh;
  overflow: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(49, 83, 216, 0.06), transparent 26rem),
    var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.course-page *,
.course-page *::before,
.course-page *::after {
  box-sizing: border-box;
}

.course-page img,
.course-page svg {
  display: block;
  max-width: 100%;
}

.course-page a {
  color: inherit;
  text-decoration: none;
}

.course-page h1,
.course-page h2,
.course-page h3,
.course-page p,
.course-page ul,
.course-page ol,
.course-page dl,
.course-page dd,
.course-page figure {
  margin: 0;
}

.course-page ul,
.course-page ol {
  padding: 0;
  list-style: none;
}

.course-page button,
.course-page summary,
.course-page a {
  -webkit-tap-highlight-color: transparent;
}

.course-page :focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.container {
  width: min(1180px, calc(100% - 100px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff !important;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(11, 29, 42, 0.95);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 75px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--orange);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand__copy {
  display: grid;
  line-height: 1.1;
}

.brand__copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.brand__copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 10px 11px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 10px;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: transparent;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--header {
  min-height: 42px;
  flex: 0 0 auto;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.button--header:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.button--header span {
  color: var(--orange);
}

.button--primary {
  color: var(--ink) !important;
  background: var(--orange);
  box-shadow: 0 16px 38px rgba(255, 101, 52, 0.22);
}

.button--primary:hover {
  background: #ff7950;
  box-shadow: 0 18px 42px rgba(255, 101, 52, 0.28);
}

.button--ghost {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 760;
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary i,
.mobile-menu summary i::before,
.mobile-menu summary i::after {
  width: 16px;
  height: 2px;
  display: block;
  background: #ffffff;
}

.mobile-menu summary i {
  position: relative;
}

.mobile-menu summary i::before,
.mobile-menu summary i::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu summary i::before { top: -5px; }
.mobile-menu summary i::after { top: 5px; }

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(290px, calc(100vw - 28px));
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #071720;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 680;
}

.mobile-menu nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu nav a:last-child {
  margin-top: 6px;
  color: var(--ink);
  background: var(--orange);
}

.page-section {
  scroll-margin-top: calc(75px + env(safe-area-inset-top));
}

.hero {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(49, 83, 216, 0.28), transparent 30rem),
    linear-gradient(135deg, #02091a 0%, #061532 54%, #0a2b65 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 82%, rgba(255, 101, 52, 0.09), transparent 20rem);
}

.hero__frame {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(350px, 0.74fr);
  gap: 28px;
  align-items: stretch;
  padding-bottom: 48px;
}

.hero__visual {
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: #02091a;
  box-shadow: 0 30px 80px rgba(0, 8, 26, 0.36);
}

.hero__cover-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 620;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--mint);
}

.eyebrow i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(48px, 5.1vw, 68px);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 670px;
  margin-top: 23px !important;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.72;
}

.hero__summary {
  margin-top: 16px !important;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .button--primary,
.final-cta .button--primary {
  color: var(--ink) !important;
  background: var(--orange);
  box-shadow: 0 16px 38px rgba(255, 101, 52, 0.22);
}

.hero .button--primary:hover,
.final-cta .button--primary:hover {
  background: #ff7957;
}

.hero__conversion .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hero__conversion .button {
  min-height: 44px;
  padding-inline: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.hero__conversion .button--ghost {
  color: var(--ink) !important;
  border-color: var(--line);
  background: #ffffff;
}

.hero__conversion .button--ghost:hover {
  border-color: rgba(49, 83, 216, 0.46);
  background: var(--soft);
}

.partner-line {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.partner-line img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 7px;
  background: #ffffff;
}

.partner-line strong {
  color: #ffffff;
}

.hero__conversion .partner-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.hero__conversion .partner-line strong {
  color: var(--ink);
}

.mission-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 70px rgba(4, 20, 35, 0.24);
}

.hero__conversion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.hero__conversion .mission-card__top h2 {
  font-size: 24px;
}

.hero__conversion .hero__summary {
  margin-top: 12px !important;
  font-size: 13px;
  line-height: 1.58;
}

.mission-card__top {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.mission-card__top p {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.mission-card h2 {
  margin-top: 8px;
  font-size: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.mission-card dl {
  margin-top: 14px;
}

.mission-card dl > div {
  padding-block: 7px;
  border-top: 1px solid var(--line);
}

.mission-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.mission-card dd {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.36;
}

.mission-card__teacher {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--teal-2);
  font-size: 12px;
  font-weight: 760;
}

.facts-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(220, 232, 242, 0.96);
  border-radius: var(--radius-small);
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: translateY(50%);
}

.facts-strip > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
}

.facts-strip > div + div {
  border-left: 1px solid var(--line);
}

.fact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--blue);
  background: var(--soft);
  font-size: 10px;
  font-weight: 820;
}

.facts-strip p {
  min-width: 0;
  display: grid;
  line-height: 1.3;
}

.facts-strip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
}

.facts-strip strong {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.section {
  padding-block: 86px;
}

.section--soft {
  padding-top: 142px;
  background: var(--paper);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(32px, 3.1vw, 42px);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 56px;
  align-items: end;
}

.section-heading--split > p:last-child {
  margin: 0;
  padding-bottom: 4px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.number-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 34, 51, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.number-card:hover {
  border-color: rgba(23, 105, 232, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.number-card > span {
  color: var(--teal);
  font-size: 27px;
  font-weight: 780;
}

.number-card h3 {
  margin-top: 31px;
  font-size: 18px;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.number-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.outcome-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-small);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(16, 34, 51, 0.12);
}

.outcome-card--blue { background: linear-gradient(145deg, var(--blue), var(--blue-2)); }
.outcome-card--teal { color: var(--ink); background: linear-gradient(145deg, var(--mint), #76b9ac); }
.outcome-card--orange { color: var(--ink); background: linear-gradient(145deg, #ff7950, var(--orange)); }
.outcome-card--navy { background: linear-gradient(145deg, var(--ink-2), var(--ink)); }

.outcome-card--teal > span,
.outcome-card--teal p,
.outcome-card--teal strong,
.outcome-card--orange > span,
.outcome-card--orange p,
.outcome-card--orange strong {
  color: rgba(11, 29, 42, 0.78);
}

.outcome-card > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 800;
}

.outcome-card h3 {
  margin-top: 48px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.outcome-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.outcome-card strong {
  margin-top: auto;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.section--curriculum {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  padding: 26px;
  border: 1px solid #d9e3ec;
  border-radius: var(--radius-small);
  background: #ffffff;
}

.module-card header {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.module-card header > span {
  color: var(--blue);
  font-size: 42px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.06em;
}

.module-card:nth-child(2) header > span { color: var(--teal); }
.module-card:nth-child(3) header > span { color: var(--orange); }
.module-card:nth-child(4) header > span { color: var(--blue); }

.module-card header p {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.module-card h3 {
  margin-top: 5px;
  font-size: 20px;
  font-family: var(--font-display);
  line-height: 1.35;
}

.module-card ol {
  margin-top: 10px;
}

.module-card li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(220, 232, 242, 0.72);
  color: #304155;
  font-size: 13px;
  line-height: 1.48;
}

.module-card li:last-child {
  border-bottom: 0;
}

.module-card li b {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.curriculum-note {
  margin-top: 24px !important;
  color: var(--muted);
  font-size: 13px;
}

.curriculum-note a,
.text-link {
  color: var(--blue);
  font-weight: 760;
}

.method {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 28%, rgba(49, 83, 216, 0.32), transparent 34%),
    linear-gradient(135deg, #081923, #0e2a3a 56%, #143a4c);
}

.method::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -290px;
  bottom: -300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.method .container {
  position: relative;
  z-index: 1;
}

.section-heading--dark h2 {
  color: #ffffff;
}

.section-heading--dark > p:last-child {
  color: rgba(255, 255, 255, 0.7) !important;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.method-flow li {
  position: relative;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.07);
}

.method-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -14px;
  color: #ffffff;
  font-size: 19px;
  transform: translate(50%, -50%);
}

.method-flow span {
  color: #8eddd2;
  font-size: 11px;
  font-weight: 800;
}

.method-flow strong {
  margin-top: 24px;
  font-size: 22px;
  font-family: var(--font-display);
}

.method-flow p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.method-flow small {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
}

.codex-note {
  max-width: 780px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 100, 59, 0.54);
  border-radius: 9px;
  background: rgba(7, 21, 33, 0.62);
}

.codex-note > span {
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
}

.codex-note p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.codex-note strong {
  color: #ffffff;
}

.section--proof {
  background: #ffffff;
}

.teacher-block {
  display: grid;
  grid-template-columns: minmax(310px, 0.76fr) minmax(0, 1.24fr);
  gap: 72px;
  align-items: center;
}

.teacher-portrait {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
}

.teacher-portrait::before {
  content: "";
  position: absolute;
  inset: 28px -16px -16px 28px;
  border-radius: var(--radius);
  background: var(--soft);
}

.teacher-portrait img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.92) contrast(1.02);
}

.teacher-copy {
  min-width: 0;
}

.teacher-copy h2 {
  margin-top: 12px;
  font-size: clamp(32px, 3.2vw, 44px);
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.teacher-name {
  margin-top: 22px !important;
  font-size: 22px;
  font-weight: 760;
}

.teacher-name strong {
  color: var(--blue);
}

.teacher-copy > p:not(.eyebrow):not(.teacher-name) {
  max-width: 650px;
  margin-top: 14px;
  color: var(--muted);
}

.teacher-copy ul {
  margin-top: 17px;
  display: grid;
  gap: 7px;
}

.teacher-copy li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.teacher-copy li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.text-link {
  display: inline-block;
  margin-top: 21px;
  font-size: 14px;
}

.registration-panel {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 180px;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 12%, rgba(49, 83, 216, 0.32), transparent 38%),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  box-shadow: var(--shadow);
}

.registration-panel h2 {
  margin-top: 10px;
  font-size: 31px;
  font-family: var(--font-display);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.registration-panel__intro > p:not(.eyebrow) {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.registration-panel__intro .button {
  margin-top: 22px;
}

.registration-list {
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.registration-list > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding-block: 7px;
}

.registration-list dt {
  color: #8dc3ff;
  font-size: 11px;
  font-weight: 740;
}

.registration-list dd {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.qr-link {
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.qr-link img {
  width: 128px;
  height: 128px;
  border-radius: 5px;
  background: #ffffff;
}

.qr-link span {
  display: grid;
  text-align: center;
}

.qr-link strong { font-size: 12px; }
.qr-link small { margin-top: 2px; color: rgba(255, 255, 255, 0.62); font-size: 10px; }

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 112px;
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 700px;
  padding: 0 44px 22px 4px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding-block: 76px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 50%, rgba(49, 83, 216, 0.32), transparent 30%),
    var(--ink);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 80px;
  align-items: end;
}

.final-cta h2 {
  margin-top: 11px;
  font-size: clamp(36px, 4vw, 52px);
  font-family: var(--font-display);
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.final-cta__inner > div:last-child > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.course-disclaimer {
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.66);
  background: #071720;
  font-size: 11px;
}

.course-disclaimer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.course-disclaimer a {
  color: #8dc3ff;
  font-weight: 720;
}

.site-footer {
  padding-block: 42px;
  color: #d8e4f1;
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.2fr) auto;
  gap: 48px;
  align-items: center;
}

.brand--footer .brand__mark {
  color: var(--ink);
  background: var(--orange);
}

.brand--footer .brand__copy small {
  color: #91a4b6;
}

.site-footer__inner > div > p {
  margin-top: 13px;
  color: #91a4b6;
  font-size: 12px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 9px 25px;
}

.site-footer nav a,
.back-to-top {
  color: #aebdcc;
  font-size: 12px;
  font-weight: 640;
}

.site-footer a:hover {
  color: #ffffff;
}

.page-deck {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 13px;
  width: 52px;
  display: grid;
  justify-items: center;
  padding: 8px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #ffffff;
  background: rgba(7, 21, 33, 0.92);
  box-shadow: 0 14px 34px rgba(7, 21, 33, 0.24);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.page-deck button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.page-deck button:disabled {
  opacity: 0.28;
  cursor: default;
}

.page-deck__links {
  display: grid;
  justify-items: center;
  gap: 0;
  padding-block: 8px;
}

.page-deck__links a {
  position: relative;
  width: 30px;
  height: 24px;
  display: grid;
  place-items: center;
}

.page-deck__links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8292a1;
  transition: width 160ms ease, border-radius 160ms ease, background 160ms ease;
}

.page-deck__links a.is-active::before {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: var(--orange);
}

.page-deck__links span,
.page-deck__links b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-deck > p {
  display: flex;
  gap: 2px;
  align-items: baseline;
  font-size: 9px;
  line-height: 1;
}

.page-deck > p strong { color: #ffffff; }
.page-deck > p span,
.page-deck > p b { color: #8fa0b1; font-weight: 600; }

.page-deck > small {
  margin-top: 4px;
  color: #8797a7;
  font-size: 6px;
  letter-spacing: 0.08em;
}

.mobile-register {
  display: none;
}

.course-page.lcc-ai-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.course-page.lcc-ai-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .container {
    width: min(100% - 56px, 1040px);
  }

  .site-header__inner {
    gap: 18px;
  }

  .site-nav {
    gap: 1px;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .button--header {
    padding-inline: 13px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
    gap: 24px;
  }

  .facts-strip > div {
    padding-inline: 16px;
  }

  .fact-icon {
    display: none;
  }

  .registration-panel {
    grid-template-columns: 1fr 1.25fr;
  }

  .qr-link {
    grid-column: 1 / -1;
    grid-template-columns: 80px auto;
    justify-content: center;
  }

  .qr-link img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .button--header {
    display: none;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .mobile-menu {
    display: block;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .mission-card {
    max-width: 760px;
  }

  .facts-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-strip > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts-strip > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .card-grid--four,
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-flow li:last-child {
    grid-column: 1 / -1;
  }

  .method-flow li:not(:last-child)::after {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .page-deck {
    display: none;
  }

  .mobile-register {
    position: fixed;
    z-index: 90;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    color: var(--ink) !important;
    background: var(--orange);
    box-shadow: 0 16px 38px rgba(255, 101, 52, 0.24);
    font-size: 14px;
    font-weight: 780;
  }

  .site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .brand__copy strong {
    font-size: 14px;
  }

  .brand__copy small {
    display: none;
  }

  .page-section {
    scroll-margin-top: calc(68px + env(safe-area-inset-top));
  }

  .hero__grid {
    gap: 28px;
    padding-top: 0;
  }

  .hero__frame {
    padding-top: 24px;
  }

  .hero__visual {
    border-radius: 18px;
  }

  .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.66;
  }

  .hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__conversion .actions {
    grid-template-columns: 1fr;
  }

  .hero .button {
    padding-inline: 12px;
    font-size: 13px;
  }

  .partner-line {
    font-size: 12px;
  }

  .mission-card {
    padding: 22px;
  }

  .mission-card__top {
    grid-template-columns: 1fr;
  }

  .mission-card h2 {
    font-size: 23px;
  }

  .facts-strip {
    grid-template-columns: 1fr;
    transform: translateY(42px);
  }

  .facts-strip > div {
    min-height: 66px;
    padding: 13px 18px;
  }

  .facts-strip > div + div,
  .facts-strip > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-icon {
    display: grid;
  }

  .section {
    padding-block: 62px;
  }

  .section--soft {
    padding-top: 104px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 29px;
    line-height: 1.23;
  }

  .section-heading h2 br {
    display: none;
  }

  .card-grid--four,
  .outcome-grid,
  .curriculum-grid,
  .method-flow,
  .teacher-block,
  .registration-panel {
    grid-template-columns: 1fr;
  }

  .number-card {
    min-height: 0;
  }

  .number-card h3 {
    margin-top: 18px;
  }

  .outcome-card {
    min-height: 250px;
  }

  .outcome-card h3 {
    margin-top: 34px;
  }

  .module-card {
    padding: 21px;
  }

  .module-card header {
    grid-template-columns: 52px 1fr;
  }

  .module-card header > span {
    font-size: 36px;
  }

  .method-flow li:last-child {
    grid-column: auto;
  }

  .method-flow li {
    min-height: 180px;
  }

  .teacher-portrait {
    width: min(100%, 380px);
  }

  .teacher-copy h2 {
    font-size: 31px;
  }

  .registration-panel {
    margin-top: 64px;
    gap: 28px;
    padding: 25px;
  }

  .registration-panel h2 {
    font-size: 27px;
  }

  .registration-list {
    padding-left: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .registration-list > div {
    grid-template-columns: 76px 1fr;
  }

  .qr-link {
    grid-column: auto;
  }

  .faq-layout {
    gap: 10px;
  }

  .faq-list summary {
    font-size: 14px;
  }

  .final-cta {
    padding-block: 62px;
  }

  .final-cta h2 {
    font-size: 35px;
  }

  .final-cta .actions {
    display: grid;
  }

  .course-disclaimer .container {
    display: grid;
    gap: 7px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer nav {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, max-content);
  }

  .back-to-top {
    width: fit-content;
  }
}

@media (max-width: 410px) {
  .mobile-menu summary span {
    display: none;
  }

  .hero .actions {
    grid-template-columns: 1fr;
  }

  .facts-strip strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .course-page *,
  .course-page *::before,
  .course-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
