:root {
  color-scheme: light;
  --ink: #111820;
  --muted: #626c73;
  --bone: #f3f0ea;
  --paper: #fbfaf7;
  --deep: #153b4b;
  --deepest: #0b2734;
  --accent: #2b6b82;
  --accent-soft: #dde8ec;
  --sand: #e6e1d8;
  --line: rgba(17, 24, 32, 0.14);
  --page-tone: #ebe8e1;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #d7d5cf;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-tone);
  color: var(--ink);
  overflow-x: hidden;
}

body.has-sheet {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(button, a, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  overflow: clip;
}

.brand-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: calc(10px + env(safe-area-inset-top)) 20px 10px;
  background: var(--bone);
}

.brand-header--dark {
  background: var(--deepest);
  color: #fff;
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  min-height: 44px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.wordmark span,
.page-footer strong span {
  color: var(--accent);
}

.level-switcher {
  position: relative;
  flex: 0 0 auto;
}

.level-switcher > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.level-switcher > summary::-webkit-details-marker {
  display: none;
}

.level-switcher > summary strong {
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.04em;
}

.level-switcher > summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.level-switcher[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.level-switcher nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: min(252px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 20px 52px rgba(9, 28, 35, 0.18);
  color: var(--ink);
  backdrop-filter: blur(18px);
  max-height: min(420px, calc(100vh - 92px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.level-switcher nav a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  padding: 4px 10px;
  border-radius: 13px;
}

.level-switcher nav a + a {
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.level-switcher nav a b {
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.03em;
}

.level-switcher nav a span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.level-switcher nav a[aria-current="page"] {
  background: var(--deepest);
  color: #fff;
}

.level-switcher nav a[aria-current="page"] span {
  color: rgba(255, 255, 255, 0.68);
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 154px;
  padding: 3px;
  border: 1px solid rgba(16, 26, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.mode-switch button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mode-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.mode-switch--dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.mode-switch--dark button {
  color: rgba(255, 255, 255, 0.62);
}

.mode-switch--dark button[aria-pressed="true"] {
  background: #fff;
  color: var(--deepest);
}

.goal-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 0 20px;
  border-top: 1px solid rgba(16, 26, 23, 0.1);
  border-bottom: 1px solid rgba(16, 26, 23, 0.16);
  background: var(--bone);
}

.goal-rail span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.goal-rail strong {
  font-size: 13px;
}

.goal-rail--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--deepest);
  color: #fff;
}

.goal-rail--dark span {
  color: rgba(255, 255, 255, 0.48);
}

.course-film {
  background: #050706;
}

.course-film__canvas {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

.course-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #000;
}

.course-film figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  background: #050706;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.course-film figcaption button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 2px 0 12px;
  background: transparent;
  color: #fff;
}

.course-film figcaption button b {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.course-film figcaption svg {
  width: 17px;
  height: 17px;
}

.student-context {
  position: relative;
  padding: 24px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--deep);
  color: #fff;
}

.student-context::before {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 7px rgba(209, 221, 224, 0.13);
  content: "";
}

.student-context p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-context strong,
.student-context span,
.student-context small {
  display: block;
}

.student-context strong {
  padding-right: 36px;
  font-size: 21px;
  line-height: 1.3;
}

.student-context span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.student-context small {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.section-heading > p,
.editorial-intro > p {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.section-heading h2,
.editorial-intro h2 {
  font-size: clamp(34px, 10vw, 46px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-heading > span,
.editorial-intro > span {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* A · editorial skill scroll */

.page--editorial {
  background: var(--bone);
}

.editorial-hero {
  padding: 30px 24px 52px;
  background: var(--bone);
}

.level-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  width: max-content;
  margin-bottom: 38px;
}

.level-lockup > span {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 11px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.level-lockup > strong {
  grid-column: 2;
  grid-row: 1 / 3;
  margin-left: 9px;
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.level-lockup > small {
  grid-column: 1 / 3;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.editorial-hero__eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.editorial-hero h1 {
  max-width: 380px;
  font-size: clamp(46px, 14vw, 66px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.editorial-hero h1 em {
  color: var(--ink);
  font-style: normal;
}

.target-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 35px;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.target-line span {
  color: var(--muted);
  font-size: 12px;
}

.target-line strong {
  font-size: 16px;
  text-align: right;
}

.editorial-hero__lead {
  max-width: 330px;
  margin-top: 19px;
  color: #37434a;
  font-size: 17px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 19px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.text-link svg {
  transition: transform 180ms ease;
}

.text-link:active svg {
  transform: translateX(4px);
}

.editorial-intro {
  padding: 58px 24px 50px;
  background: var(--deepest);
  color: #fff;
}

.editorial-intro > span {
  color: rgba(255, 255, 255, 0.62);
}

.skill-chapter {
  padding: 54px 24px 34px;
}

.skill-chapter--control {
  background: var(--sand);
}

.skill-chapter--popup {
  background: var(--paper);
  color: var(--ink);
}

.skill-chapter--ride {
  background: var(--accent-soft);
  color: var(--ink);
}

.skill-chapter header > p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.skill-chapter header > p span {
  color: currentColor;
  opacity: 0.55;
}

.skill-chapter header h2 {
  font-size: clamp(48px, 15vw, 68px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.skill-chapter header > strong,
.skill-chapter header > span {
  display: block;
}

.skill-chapter header > strong {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.45;
}

.skill-chapter header > span {
  max-width: 340px;
  margin-top: 9px;
  color: currentColor;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.68;
}

.skill-lines {
  margin-top: 34px;
  border-top: 1px solid currentColor;
}

.skill-line {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
}

.skill-line__dot {
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.skill-line__copy {
  min-width: 0;
}

.skill-line__copy strong,
.skill-line__copy small {
  display: block;
}

.skill-line__copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.skill-line__copy small {
  margin-top: 4px;
  color: currentColor;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.62;
}

.skill-state {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.skill-state--confirmed {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.skill-state--training {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--deep);
}

.skill-state--self {
  border-color: #9e9587;
  background: var(--sand);
  color: var(--ink);
}

.skill-state--planned {
  opacity: 0.48;
}

/* Shared schedule and confirmation */

.course-schedule {
  padding: 58px 24px 62px;
  background: var(--paper);
}

.schedule-lines {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.schedule-lines article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.schedule-lines time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.schedule-lines div small,
.schedule-lines div strong,
.schedule-lines div p {
  display: block;
}

.schedule-lines div small {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.schedule-lines div strong {
  font-size: 19px;
}

.schedule-lines div p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.confirmation-block {
  padding: 58px 24px 62px;
  background: var(--deep);
  color: #fff;
}

.confirmation-block__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.confirmation-block > p {
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.confirmation-block h2 {
  font-size: clamp(36px, 11vw, 48px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.confirmation-block > strong,
.confirmation-block > span {
  display: block;
}

.confirmation-block > strong {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.6;
}

.confirmation-block > span {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.65;
}

.assessment-condition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.assessment-condition small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.assessment-condition strong {
  color: #fff;
  font-size: 15px;
}

.assessment-transitions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.assessment-transitions span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.assessment-bands {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.assessment-band {
  padding: 17px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.assessment-band--pass {
  border-color: rgba(246, 183, 28, 0.42);
  background: rgba(246, 183, 28, 0.08);
}

.assessment-band header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assessment-band header b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
}

.assessment-band--pass header b {
  background: #f6b71c;
  color: #17303a;
}

.assessment-band header span {
  color: #fff;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.4;
}

.assessment-band ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.55;
}

.assessment-boundary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.assessment-boundary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.6;
}

.assessment-boundary p + p {
  margin-top: 4px;
}

.course-promise {
  padding: 56px 24px 60px;
  background: var(--accent-soft);
  color: var(--ink);
}

.course-promise__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  border: 1px solid rgba(16, 26, 23, 0.32);
  border-radius: 50%;
}

.course-promise__mark svg {
  width: 21px;
  height: 21px;
}

.course-promise > p {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.course-promise h2 {
  font-size: clamp(36px, 11vw, 48px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.course-promise > strong,
.course-promise > span {
  display: block;
}

.course-promise > strong {
  max-width: 390px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
}

.course-promise > span {
  max-width: 390px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Commerce */

.purchase-section {
  padding: 60px 20px 54px;
  background: var(--sand);
}

.ratio-rows {
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}

.ratio-rows button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.choice-indicator {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.ratio-rows button[aria-pressed="true"] .choice-indicator::after {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: currentColor;
  content: "";
}

.ratio-rows button > span:nth-child(2) strong,
.ratio-rows button > span:nth-child(2) small {
  display: block;
}

.ratio-rows button > span:nth-child(2) strong {
  font-size: 15px;
}

.ratio-rows button > span:nth-child(2) small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.ratio-rows button > b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.price-reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px -2px 0;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--deepest);
  color: #fff;
}

.price-reveal small,
.price-reveal strong {
  display: block;
}

.price-reveal small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.price-reveal strong {
  margin-top: 3px;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.price-reveal strong sup {
  margin-right: 3px;
  font-size: 14px;
  vertical-align: 0.8em;
}

.price-reveal button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--deepest);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.fee-scope {
  margin-top: 38px;
}

.fee-scope section {
  padding: 24px 0 25px;
  border-top: 1px solid var(--ink);
}

.fee-scope section > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  font-size: 16px;
  font-weight: 850;
}

.scope-symbol {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
}

.fee-scope li {
  position: relative;
  min-height: 29px;
  padding: 4px 0 4px 20px;
  color: #455158;
  font-size: 13px;
  line-height: 1.6;
}

.fee-scope li::before {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  content: "";
}

.fee-scope > small {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.assurance {
  padding: 0 20px;
  background: var(--bone);
}

.student-next {
  padding: 58px 22px 60px;
  background: var(--accent-soft);
}

.student-next > p {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.student-next h2 {
  max-width: 370px;
  margin-top: 14px;
  font-size: clamp(36px, 11vw, 48px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.student-next dl {
  margin-top: 34px;
  border-top: 1px solid var(--ink);
}

.student-next dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  min-height: 62px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 26, 23, 0.16);
}

.student-next dt {
  color: var(--muted);
  font-size: 11px;
}

.student-next dd {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.student-next > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 27px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.assurance summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-top: 1px solid var(--ink);
  list-style: none;
  cursor: pointer;
}

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

.assurance summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.assurance summary b {
  color: var(--muted);
  font-size: 11px;
}

.assurance > div {
  padding: 0 0 25px 30px;
}

.assurance > div p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.page-footer {
  padding: 54px 24px 50px;
  background: var(--bone);
  text-align: center;
}

.page-footer strong,
.page-footer p,
.page-footer small {
  display: block;
}

.page-footer strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.page-footer p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.page-footer small {
  margin-top: 24px;
  color: #8d9692;
  font-size: 10px;
}

.page-footer--dark {
  background: var(--deepest);
  color: #fff;
}

.page-footer--dark p,
.page-footer--dark small {
  color: rgba(255, 255, 255, 0.4);
}

.fixed-action {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  min-height: calc(76px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(16, 26, 23, 0.1);
  background: rgba(251, 250, 245, 0.94);
  box-shadow: 0 -12px 32px rgba(7, 22, 19, 0.08);
  backdrop-filter: blur(18px);
}

.fixed-action small,
.fixed-action strong {
  display: block;
}

.fixed-action small {
  color: var(--muted);
  font-size: 10px;
}

.fixed-action strong {
  margin-top: 2px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.fixed-action strong span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.fixed-action > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 142px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.fixed-action > button svg {
  width: 18px;
}

.fixed-action--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 22, 19, 0.93);
  color: #fff;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.2);
}

.fixed-action--dark small,
.fixed-action--dark strong span {
  color: rgba(255, 255, 255, 0.55);
}

.fixed-action--dark > button {
  background: #fff;
  color: var(--deepest);
}

/* B · cinematic three-act layout */

.page--cinema {
  background: var(--deepest);
  color: #fff;
}

.course-film--cinema figcaption {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cinema-hero {
  padding: 42px 22px 56px;
}

.cinema-hero > p {
  margin-bottom: 20px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.cinema-hero h1 {
  font-size: clamp(45px, 13vw, 62px);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 1;
}

.cinema-hero h1 em {
  color: #9bb1b8;
  font-style: normal;
}

.cinema-hero > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.cinema-hero > div span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.cinema-hero > div strong {
  font-size: 16px;
}

.cinema-hero > small {
  display: block;
  max-width: 320px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.7;
}

.page--cinema .student-context {
  border-color: rgba(255, 255, 255, 0.14);
  background: #203135;
}

.cinema-blueprint {
  padding: 54px 0 60px;
  background: #182426;
}

.cinema-blueprint > header {
  padding: 0 22px;
}

.cinema-blueprint > header > p {
  color: #9bb1b8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.cinema-blueprint > header h2 {
  margin-top: 13px;
  font-size: 40px;
  letter-spacing: -0.055em;
}

.act-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 28px;
}

.act-nav button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
}

.act-track {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 0 16px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.act-track::-webkit-scrollbar {
  display: none;
}

.act-card {
  flex: 0 0 calc(100% - 42px);
  min-width: 0;
  min-height: 610px;
  padding: 28px 22px 30px;
  border-radius: 30px;
  color: #fff;
  scroll-snap-align: start;
}

.act-card--control {
  background: #304448;
}

.act-card--popup {
  background: var(--sand);
  color: var(--ink);
}

.act-card--ride {
  background: var(--accent-soft);
  color: var(--ink);
}

.act-card > p {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.act-card > p span {
  opacity: 0.55;
}

.act-card > h2 {
  margin-top: 42px;
  font-size: 55px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.act-card > strong,
.act-card > small {
  display: block;
}

.act-card > strong {
  margin-top: 17px;
  font-size: 17px;
  line-height: 1.5;
}

.act-card > small {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.62;
}

.skill-lines--cinema {
  margin-top: 31px;
}

.skill-lines--cinema .skill-line {
  min-height: 64px;
}

.skill-lines--cinema .skill-line__copy strong {
  font-size: 15px;
}

.skill-lines--cinema .skill-line__copy small {
  font-size: 11px;
}

.swipe-hint {
  display: block;
  padding: 7px 22px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.course-schedule--cinema {
  background: var(--deepest);
  color: #fff;
}

.course-schedule--cinema .section-heading > span,
.course-schedule--cinema .schedule-lines time,
.course-schedule--cinema .schedule-lines div p {
  color: rgba(255, 255, 255, 0.55);
}

.course-schedule--cinema .schedule-lines {
  border-color: rgba(255, 255, 255, 0.72);
}

.course-schedule--cinema .schedule-lines article {
  border-color: rgba(255, 255, 255, 0.14);
}

.confirmation-block--cinema {
  background: var(--sand);
  color: var(--ink);
}

.confirmation-block--cinema > p {
  color: var(--ink);
}

.confirmation-block--cinema > span {
  color: rgba(21, 26, 25, 0.62);
}

.confirmation-block--cinema .confirmation-block__mark {
  border-color: rgba(21, 26, 25, 0.35);
}

.purchase-section--cinema {
  background: #e7e3db;
  color: var(--ink);
}

.page--cinema .assurance {
  background: #182426;
}

.page--cinema .assurance summary {
  border-color: rgba(255, 255, 255, 0.45);
}

.page--cinema .assurance summary b,
.page--cinema .assurance > div p {
  color: rgba(255, 255, 255, 0.5);
}

/* C · guided advisor layout */

.page--advisor {
  background: var(--paper);
}

.page--advisor .brand-header {
  background: var(--paper);
}

.advisor-hero {
  padding: 38px 22px 46px;
  background: var(--accent-soft);
}

.advisor-hero > p {
  margin-bottom: 21px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.advisor-hero h1 {
  max-width: 390px;
  font-size: clamp(42px, 12.5vw, 58px);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1.03;
}

.advisor-goal {
  margin-top: 35px;
  padding: 24px 22px;
  border-radius: 24px;
  background: var(--deepest);
  color: #fff;
}

.advisor-goal span,
.advisor-goal strong,
.advisor-goal p {
  display: block;
}

.advisor-goal span {
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.advisor-goal strong {
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.advisor-goal p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

.advisor-flow {
  padding: 0 20px 60px;
  background: #f7f8f3;
}

.advisor-step {
  padding: 45px 0 38px;
  border-bottom: 1px solid var(--ink);
}

.advisor-step > p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.advisor-step > p b {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
}

.advisor-step h2 {
  margin-top: 17px;
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.advisor-result {
  margin: 34px 0 0;
  padding: 27px 23px 24px;
  border-radius: 27px;
  background: var(--accent-soft);
}

.advisor-result p,
.advisor-result strong,
.advisor-result span {
  display: block;
}

.advisor-result p {
  font-size: 12px;
  font-weight: 750;
}

.advisor-result strong {
  margin-top: 13px;
  font-size: 51px;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.advisor-result strong sup {
  margin-right: 4px;
  font-size: 17px;
  vertical-align: 1.2em;
}

.advisor-result strong small {
  margin-left: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.advisor-result span {
  margin-top: 8px;
  color: #526164;
  font-size: 12px;
  line-height: 1.55;
}

.advisor-result button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.advisor-flow .fee-scope {
  margin-top: 42px;
}

.course-film--advisor {
  margin: 0 18px 0;
  overflow: hidden;
  border-radius: 26px;
}

.advisor-skills {
  padding: 60px 20px 56px;
}

.advisor-skills details {
  border-top: 1px solid var(--ink);
}

.advisor-skills details:last-child {
  border-bottom: 1px solid var(--ink);
}

.advisor-skills > .section-heading {
  margin-bottom: 36px;
}

.advisor-skills summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  list-style: none;
  cursor: pointer;
}

.advisor-skills summary::-webkit-details-marker {
  display: none;
}

.advisor-skills summary > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.advisor-skills summary > strong {
  font-size: 19px;
}

.advisor-skills summary > small {
  color: var(--muted);
  font-size: 10px;
}

.advisor-skills summary > b {
  font-size: 20px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.advisor-skills details[open] summary > b {
  transform: rotate(45deg);
}

.advisor-skill-body {
  padding: 0 0 26px 48px;
}

.advisor-skill-body > p {
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.advisor-skill-body .skill-lines {
  margin-top: 10px;
}

.advisor-skill-body .skill-line {
  min-height: 64px;
}

.course-schedule--advisor {
  background: #e5ebea;
}

.confirmation-block--advisor {
  background: #2a424a;
}

/* Guided order sheet */

.sheet-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(3, 10, 8, 0.64);
  backdrop-filter: blur(8px);
}

.order-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 91dvh;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 30px 30px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.3);
  overscroll-behavior: contain;
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #c6cbc7;
}

.sheet-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e9ebe7;
}

.sheet-step {
  padding: 29px 0 2px;
}

.sheet-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.sheet-step h2 {
  max-width: 340px;
  margin-top: 13px;
  padding-right: 28px;
  font-size: clamp(34px, 10vw, 45px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.sheet-step .ratio-rows {
  margin-top: 34px;
}

.sheet-next,
.sheet-official-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.sheet-step--summary dl {
  margin-top: 31px;
  border-top: 1px solid var(--ink);
}

.sheet-step--summary dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.sheet-step--summary dt {
  color: var(--muted);
  font-size: 12px;
}

.sheet-step--summary dd {
  max-width: 66%;
  font-size: 14px;
  font-weight: 750;
  text-align: right;
}

.sheet-step--summary .sheet-total {
  min-height: 88px;
}

.sheet-step--summary .sheet-total dd {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.sheet-step--summary .sheet-total dd small {
  color: var(--muted);
  font-size: 11px;
}

.sheet-note {
  margin-top: 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.sheet-official-link {
  background: var(--deep);
}

.sheet-restart {
  width: 100%;
  min-height: 48px;
  margin-top: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

/* Internal prototype switcher; only shown with ?review=1. */

.review-dock {
  position: fixed;
  z-index: 45;
  right: 12px;
  bottom: calc(91px + env(safe-area-inset-bottom));
  display: grid;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  background: rgba(7, 22, 19, 0.84);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.17);
  color: #fff;
  backdrop-filter: blur(14px);
}

.review-dock a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 84px;
  min-height: 44px;
  padding: 0 9px;
  border-radius: 13px;
  font-size: 10px;
}

.review-dock a b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.review-dock a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--ink);
}

@media (min-width: 700px) {
  body {
    padding: 24px 0;
  }

  .page {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(15, 29, 24, 0.18);
  }

  .brand-header {
    border-radius: 28px 28px 0 0;
  }

  .fixed-action {
    bottom: 16px;
    border: 1px solid rgba(16, 26, 23, 0.12);
    border-radius: 24px;
  }

  .fixed-action--dark {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .order-sheet {
    margin-bottom: 18px;
    border-radius: 30px;
  }

  .review-dock {
    right: calc(50% - 350px);
    bottom: 24px;
  }
}

@media (max-width: 370px) {
  .brand-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .wordmark {
    font-size: 13px;
  }

  .mode-switch {
    min-width: 145px;
  }

  .editorial-hero,
  .skill-chapter,
  .course-schedule,
  .confirmation-block,
  .course-promise,
  .cinema-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .editorial-hero h1,
  .cinema-hero h1 {
    font-size: 45px;
  }

  .skill-chapter header h2 {
    font-size: 49px;
  }

  .skill-line {
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .skill-state {
    padding: 0 7px;
    font-size: 9px;
  }

  .schedule-lines article {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .fixed-action > button {
    min-width: 130px;
  }

  .review-dock a span {
    display: none;
  }

  .review-dock a {
    min-width: 44px;
    padding: 0 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
