@font-face {
  font-family: "Onest";
  src: url("assets/fonts/OnestVariable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --emerald-950: oklch(41.7% .08 170.5);
  --emerald-900: oklch(47% .092 169.1);
  --emerald-800: oklch(50.7% .099 169.5);
  --emerald-700: oklch(59.3% .118 167.7);
  --mint-100: oklch(95.1% .032 166.2);
  --mint-050: oklch(98% .012 170.3);
  --mandarin-500: oklch(70% .185 45);
  --mandarin-600: oklch(64% .18 42);
  --mandarin-700: oklch(52.4% .165 35.7);
  --sun-400: oklch(88.3% .145 89);
  --ink: oklch(26.1% .036 171);
  --body: oklch(38.9% .035 173.2);
  --muted: oklch(52.5% .028 173.8);
  --line: oklch(87.4% .033 169.9);
  --white: oklch(100% 0 0);
  --surface: oklch(98.4% .008 170);
  --on-primary: oklch(96.5% .012 170);
  --on-primary-muted: oklch(88% .03 170);
  --action-text: oklch(24% .04 30);
  --footer-bg: oklch(33% .055 171);
  --footer-text: oklch(88% .03 170);
  --footer-muted: oklch(78% .03 170);
  --success: var(--emerald-800);

  /* Compatibility aliases keep the existing component vocabulary stable. */
  --blue-950: var(--emerald-950);
  --blue-900: var(--emerald-900);
  --blue-800: var(--emerald-800);
  --blue-700: var(--emerald-700);
  --blue-100: var(--mint-100);
  --blue-050: var(--mint-050);
  --coral: var(--mandarin-500);
  --coral-dark: var(--mandarin-700);
  --yellow: var(--sun-400);
  --color-primary: var(--emerald-900);
  --color-primary-strong: var(--emerald-950);
  --color-surface-soft: var(--mint-050);
  --color-action: var(--mandarin-500);
  --color-action-hover: var(--mandarin-600);
  --color-action-active: var(--mandarin-600);
  --color-action-text: var(--action-text);
  --color-focus: var(--sun-400);
  --container: 1180px;
  --radius: 14px;
  --radius-small: 10px;
  --z-dropdown: 20;
  --z-sticky: 40;
  --z-mobile: 50;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  padding-bottom: 76px;
  background: var(--white);
  color: var(--body);
  font-family: Onest, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

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

button,
summary {
  color: inherit;
}

p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  letter-spacing: -.04em;
}

h3 {
  font-size: clamp(1.28rem, 2.5vw, 1.8rem);
}

p,
li {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--emerald-700);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

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

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

.narrow {
  width: min(calc(100% - 32px), 760px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 10vw, 132px);
}

.section-compact {
  padding-block: clamp(52px, 7vw, 88px);
}

.section-blue {
  background: var(--color-primary-strong);
  color: var(--on-primary);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: var(--white);
}

.section-soft {
  background: var(--color-surface-soft);
}

.section-coral {
  background: var(--mint-100);
  color: var(--body);
}

.section-coral h2,
.section-coral h3 {
  color: var(--ink);
}

.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head > p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-blue .section-head > p {
  color: var(--on-primary-muted);
}

.context-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--blue-800);
  font-size: .78rem;
  font-weight: 760;
}

.context-label.light {
  color: var(--on-primary);
}

.lead {
  max-width: 65ch;
  color: var(--body);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.on-primary {
  color: var(--on-primary);
}

.muted {
  color: var(--muted);
}

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

.topline {
  background: var(--color-primary-strong);
  color: var(--on-primary-muted);
  font-size: .75rem;
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 7px;
}

.topline p {
  margin: 0;
}

.topline a {
  color: var(--white);
  font-weight: 720;
}

a[href^="tel:"] {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  border-bottom: 1px solid oklch(26.1% .036 171 / .12);
  background: oklch(100% 0 0 / .96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 158px;
  min-height: 44px;
}

.brand img {
  width: 158px;
  height: auto;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms var(--ease-out), opacity 180ms ease;
}

.menu-icon {
  position: relative;
}

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

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav {
  position: absolute;
  z-index: var(--z-mobile);
  top: 100%;
  right: 0;
  bottom: auto;
  left: 0;
  display: none;
  height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: 24px 16px 110px;
  background: var(--white);
}

.main-nav.is-open {
  display: block;
}

.nav-list,
.nav-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a,
.nav-programs > summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
}

.nav-programs > summary {
  justify-content: space-between;
  list-style: none;
}

.nav-programs > summary::-webkit-details-marker {
  display: none;
}

.nav-programs > summary::after {
  content: "+";
  color: var(--blue-700);
  font-size: 1.4rem;
}

.nav-programs[open] > summary::after {
  content: "−";
}

.nav-submenu {
  padding: 8px 0 14px 16px;
}

.nav-submenu a {
  display: block;
  padding: 9px 0;
  color: var(--body);
}

.header-call {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--color-action);
  box-shadow: 0 4px 0 var(--mandarin-700);
  color: var(--color-action-text);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--color-action-hover);
  transform: translateY(-2px);
}

.btn:active {
  background: var(--color-action-active);
  box-shadow: 0 2px 0 var(--mandarin-700);
  transform: translateY(1px);
}

.btn-blue {
  background: var(--blue-800);
  box-shadow: none;
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-700);
}

.btn-blue:active {
  background: var(--blue-900);
  box-shadow: none;
}

.btn-white {
  background: var(--white);
  box-shadow: none;
  color: var(--blue-950);
}

.btn-white:hover {
  background: var(--mint-100);
}

.btn-white:active {
  background: var(--mint-050);
  box-shadow: none;
}

.btn-outline {
  border: 1px solid currentColor;
  background: transparent;
  box-shadow: none;
  color: var(--blue-900);
}

.btn-outline:hover {
  background: var(--blue-050);
}

.btn-outline:active {
  box-shadow: none;
}

.btn-outline-light {
  color: var(--on-primary);
}

.btn-outline-light:hover {
  background: var(--emerald-900);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--blue-800);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: oklch(50.7% .099 169.5 / .4);
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 7vw, 92px) 0;
  background: var(--white);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 52%;
  background: var(--blue-100);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 24px;
}

.hero h1 mark {
  padding: 0;
  background: transparent;
  color: var(--mandarin-700);
}

.hero-lead {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--body);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.hero-note {
  display: flex;
  gap: 10px;
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.hero-note::before {
  flex: 0 0 auto;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.hero-admin-details {
  max-width: 58ch;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: .9rem;
}

.hero-admin-details summary {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  color: var(--blue-900);
  font-weight: 760;
}

.hero-admin-details[open] summary {
  margin-bottom: 10px;
}

.hero-admin-details ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  min-height: 330px;
  max-height: 610px;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-photo--group img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
}

.lesson-photo img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 50%;
}

.lesson-photo--portrait img {
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
}

.photo-caption {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(86%, 360px);
  padding: 18px;
  background: var(--blue-950);
  color: var(--white);
}

.photo-caption strong,
.photo-caption span {
  display: block;
}

.photo-caption strong {
  font-size: 1.1rem;
}

.photo-caption span {
  margin-top: 4px;
  color: var(--on-primary-muted);
  font-size: .82rem;
}

.age-route {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: clamp(38px, 7vw, 78px);
  background: var(--blue-950);
  color: var(--white);
}

.age-route a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-weight: 730;
  transition: background 180ms ease;
}

.age-route a:hover {
  background: var(--blue-800);
}

.age-route small {
  display: block;
  color: var(--on-primary-muted);
  font-size: .72rem;
  font-weight: 540;
}

.proof-row {
  display: grid;
  border-block: 1px solid var(--line);
}

.proof-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  min-height: 118px;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.proof-item:last-child {
  border-bottom: 0;
}

.proof-item strong {
  color: var(--blue-800);
  font-size: 2rem;
  letter-spacing: -.04em;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.program-showcase {
  display: grid;
  gap: 18px;
}

.program-feature {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-950);
  color: var(--white);
}

.program-feature img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 46%;
  opacity: 1;
}

.program-feature-content {
  position: static;
  padding: clamp(24px, 5vw, 52px);
  background: var(--color-primary-strong);
}

.program-feature h3 {
  max-width: 15ch;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.program-feature p {
  max-width: 54ch;
  margin-bottom: 22px;
  color: var(--on-primary-muted);
}

.program-feature .text-link {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, .5);
}

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

.program-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  min-height: 98px;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 220ms var(--ease-out);
}

.program-row:hover {
  background: var(--blue-050);
  transform: translateX(8px);
}

.program-row > span:first-child {
  color: var(--coral-dark);
  font-size: .82rem;
  font-weight: 760;
}

.program-row strong,
.program-row small {
  display: block;
}

.program-row strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.program-row small {
  margin-top: 3px;
  color: var(--muted);
}

.program-row > span:last-child {
  color: var(--blue-800);
  font-size: 1.3rem;
}

.steps {
  display: grid;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 850;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.step p {
  max-width: 62ch;
  margin: 0;
  color: var(--on-primary-muted);
}

.six-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.six-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mint-100);
}

.six-photo {
  aspect-ratio: 4 / 3;
}

.six-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.six-photo img {
  object-position: 50% 46%;
}

.six-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 11px;
  border-radius: var(--radius-small);
  background: var(--color-primary-strong);
  color: var(--on-primary);
  font-size: .72rem;
  font-weight: 700;
}

.six-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 480px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--color-action-text);
  font-size: clamp(8rem, 32vw, 18rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
}

.six-copy ul,
.check-list,
.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.six-copy li,
.check-list li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
}

.six-copy li::before,
.check-list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.story-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.story-lead {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 790;
  letter-spacing: -.04em;
  line-height: 1;
}

.story-quote {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: var(--on-primary);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
}

.story-quote footer {
  margin-top: 24px;
  color: var(--on-primary-muted);
  font-size: .86rem;
}

.exam-split {
  display: grid;
  gap: 16px;
}

.exam-panel {
  min-height: 360px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--blue-100);
}

.exam-panel:nth-child(2) {
  background: var(--blue-950);
  color: var(--on-primary-muted);
}

.exam-panel:nth-child(2) h3 {
  color: var(--white);
}

.exam-panel:nth-child(2) .text-link {
  color: var(--yellow);
  text-decoration-color: oklch(88.3% .145 89 / .55);
}

.exam-panel strong {
  display: block;
  margin-bottom: 40px;
  color: var(--blue-800);
  font-size: 3.8rem;
  letter-spacing: -.06em;
}

.exam-panel:nth-child(2) strong {
  color: var(--yellow);
}

.price-grid {
  display: grid;
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card.featured {
  border-color: var(--color-primary-strong);
  background: var(--color-primary-strong);
  color: var(--on-primary);
}

.price-card h3 {
  margin-bottom: 10px;
}

.price-card.featured h3 {
  color: var(--white);
}

.price-card .price {
  margin: auto 0 8px;
  color: var(--blue-800);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -.05em;
}

.price-card.featured .price {
  color: var(--yellow);
}

.price-card p,
.price-card small {
  color: var(--muted);
}

.price-card.featured p,
.price-card.featured small {
  color: var(--on-primary-muted);
}

.discount-list {
  display: grid;
  border-block: 1px solid var(--line);
}

.discount-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.discount-item:last-child {
  border-bottom: 0;
}

.discount-item strong {
  color: var(--coral-dark);
  font-size: 1.45rem;
  letter-spacing: -.04em;
}

.discount-item h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.discount-item p {
  margin: 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  gap: 18px;
}

.review {
  margin: 0;
  padding: clamp(26px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--white);
}

.review:nth-child(2) {
  background: var(--blue-100);
}

.review-score {
  display: block;
  margin-bottom: 26px;
  color: var(--blue-800);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .8;
}

.review p {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.review footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: .84rem;
}

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

.article-row {
  display: grid;
  gap: 12px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.article-row small {
  color: var(--coral-dark);
  font-weight: 760;
}

.article-row h3 {
  margin-bottom: 4px;
}

.article-row p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
}

.article-row .text-link {
  align-self: center;
}

.faq-layout {
  display: grid;
  gap: 34px;
}

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

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

.faq-list summary {
  position: relative;
  min-height: 70px;
  padding: 22px 46px 18px 0;
  list-style: none;
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 3px;
  color: var(--blue-800);
  content: "+";
  font-size: 1.7rem;
  font-weight: 450;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 68ch;
  padding: 0 46px 20px 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  background: var(--mint-100);
}

.final-cta h2 {
  max-width: 13ch;
  margin-bottom: 14px;
  color: var(--ink);
}

.final-cta p {
  max-width: 58ch;
  margin: 0;
  color: var(--body);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-layout {
  display: grid;
  gap: 28px;
}

.contact-card {
  padding: clamp(26px, 5vw, 48px);
  background: var(--blue-950);
  color: var(--on-primary-muted);
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-phone {
  display: inline-block;
  margin-block: 8px 24px;
  color: var(--yellow);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-block: 8px 24px;
}

.contact-phones .contact-phone {
  margin: 0;
}

/* Compact homepage direction. */
.home-page .hero {
  padding-top: clamp(34px, 4vw, 58px);
}

.home-page .hero-grid {
  align-items: start;
}

.home-page .hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.7rem);
}

.home-page .hero-photo--group img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.home-page .age-route {
  margin-top: clamp(30px, 4vw, 48px);
}

.home-page .section {
  padding-block: clamp(64px, 7vw, 96px);
}

.menu-open .mobile-call {
  display: none;
}

.visit-guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--mint-100);
}

.visit-guide h3 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.visit-guide-lead {
  max-width: 54ch;
  margin-bottom: clamp(30px, 6vw, 64px);
  color: var(--body);
  font-size: 1.06rem;
}

.route-facts {
  display: grid;
  margin: 0;
}

.route-fact {
  padding-block: 15px;
  border-top: 1px solid oklch(47% .092 169.1 / .25);
}

.route-fact dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.route-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 780;
}

.map-frame {
  width: 100%;
  min-height: 400px;
  border: 0;
  border-radius: var(--radius);
}

.map-frame-wide {
  min-height: 480px;
}

.breadcrumbs {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--muted);
  content: "/";
}

.breadcrumbs a {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  padding-block: clamp(54px, 9vw, 104px);
  background: var(--blue-050);
}

.page-hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.page-hero--legal h1 {
  font-size: clamp(1.95rem, 6vw, 4rem);
}

.page-hero p {
  max-width: 62ch;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.page-hero-aside {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--blue-950);
  color: var(--on-primary-muted);
}

.page-hero-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.32rem;
}

.page-hero-aside p:last-child {
  margin-bottom: 0;
  font-size: .94rem;
}

.content-grid,
.split-content {
  display: grid;
  gap: 36px;
}

.content-main > * {
  max-width: 72ch;
}

.content-main h2 {
  margin-top: 58px;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.content-main a {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-main li {
  margin-bottom: 10px;
}

.sidebar-note {
  align-self: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--blue-100);
}

.sidebar-note h2,
.sidebar-note h3 {
  font-size: 1.28rem;
}

.sidebar-note p,
.sidebar-note li {
  font-size: .92rem;
}

.sidebar-note .btn {
  width: 100%;
  margin-top: 10px;
  text-decoration: none;
}

.section-blue .sidebar-note {
  color: var(--body);
}

.section-blue .sidebar-note h2,
.section-blue .sidebar-note h3 {
  color: var(--ink);
}

.section-blue .check-list li {
  border-color: oklch(100% 0 0 / .2);
}

.section-blue .check-list li::before {
  color: var(--sun-400);
}

.difficulty-list,
.skill-grid,
.facts-grid,
.article-categories {
  display: grid;
  gap: 14px;
}

.difficulty,
.skill,
.fact,
.category-link {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.difficulty h3,
.skill h3,
.fact h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.difficulty p,
.skill p,
.fact p {
  margin: 0;
  color: var(--muted);
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  color: var(--ink);
  font-weight: 740;
}

.category-link:hover {
  border-color: var(--blue-800);
  color: var(--blue-800);
}

.owner-note {
  padding: 20px;
  border: 1px dashed var(--blue-700);
  border-radius: var(--radius-small);
  background: var(--blue-050);
  color: var(--blue-950);
  font-size: .9rem;
}

.toc {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--blue-050);
}

.toc h2 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin: 6px 0;
}

.toc a {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: .82rem;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin-top: 58px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-body h3 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.article-body p,
.article-body li {
  font-size: 1.04rem;
}

.article-body li {
  margin-bottom: 10px;
}

.article-callout {
  margin-block: 34px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-950);
}

.related-links {
  display: grid;
  gap: 12px;
}

.related-links a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--blue-800);
  font-weight: 740;
}

.not-found {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding-block: 72px;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--mandarin-700);
  font-size: clamp(7rem, 28vw, 16rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .8;
}

.not-found h1 {
  margin: 30px 0 14px;
  font-size: clamp(2rem, 6vw, 4rem);
}

.site-footer {
  padding-block: 58px 96px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: var(--radius-small);
  background: var(--white);
}

.footer-brand p {
  max-width: 38ch;
}

.footer-group h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-group a,
.footer-group span {
  display: block;
  margin-block: 8px;
  font-size: .88rem;
}

.footer-group a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: var(--footer-muted);
  font-size: .72rem;
}

.mobile-call {
  position: fixed;
  z-index: var(--z-mobile);
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 96px;
  padding-inline: 10px;
  border-radius: 999px;
  background: var(--color-action);
  box-shadow: 0 4px 0 var(--mandarin-700);
  color: var(--color-action-text);
  font-weight: 850;
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.mobile-call:hover {
  background: var(--color-action-hover);
  transform: translateY(-2px);
}

.mobile-call:active {
  background: var(--color-action-active);
  box-shadow: 0 2px 0 var(--mandarin-700);
  transform: translateY(1px);
}

.mobile-call-number {
  display: none;
}

@media (max-width: 1079px) {
  .topline-inner {
    align-items: center;
    min-height: 44px;
    padding-block: 0;
  }

  .topline a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-group a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-block: 0;
  }
}

@media (max-width: 559px) {
  .hero .hero-actions .btn {
    display: none;
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal.is-visible {
  animation: reveal-in 620ms var(--ease-out) both;
}

@keyframes reveal-in {
  from {
    opacity: 1;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 620px) {
  .route-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .age-route,
  .proof-row,
  .price-grid,
  .difficulty-list,
  .skill-grid,
  .facts-grid,
  .article-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .age-route a:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .16);
  }

  .proof-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .proof-item:nth-child(odd) {
    padding-right: 22px;
    border-right: 1px solid var(--line);
  }

  .proof-item:nth-child(even) {
    padding-left: 22px;
  }

  .discount-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discount-item:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid var(--line);
  }

  .discount-item:nth-child(even) {
    padding-left: 24px;
  }

  .discount-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 840px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .section-head {
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1.06fr .94fr;
    gap: clamp(42px, 6vw, 84px);
  }

  .age-route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .age-route a {
    min-height: 84px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 0;
  }

  .age-route a:last-child {
    border-right: 0;
  }

  .proof-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-item,
  .proof-item:nth-child(even),
  .proof-item:nth-child(odd) {
    min-height: 150px;
    padding-inline: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .proof-item:first-child {
    padding-left: 0;
  }

  .proof-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .program-showcase {
    grid-template-columns: 1.05fr .95fr;
    gap: 30px;
  }

  .program-feature {
    min-height: 470px;
  }

  .program-feature img {
    height: 100%;
    min-height: 470px;
    aspect-ratio: auto;
    opacity: .68;
  }

  .program-feature-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, oklch(41.7% .08 170.5 / .98) 8%, transparent 100%);
  }

  .six-layout,
  .story-layout,
  .faq-layout,
  .contact-layout,
  .split-content {
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(52px, 8vw, 108px);
  }

  .story-layout {
    grid-template-columns: 1.1fr .9fr;
  }

  .exam-split,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-row {
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 24px;
  }

  .final-cta {
    grid-template-columns: 1fr auto;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(50px, 8vw, 100px);
  }

  .sidebar-note {
    position: sticky;
    top: 112px;
  }

  .difficulty-list,
  .skill-grid,
  .facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  body {
    padding-bottom: 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    flex-basis: 168px;
  }

  .brand img {
    width: 168px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    height: auto;
    overflow: visible;
    margin-left: auto;
    padding: 0;
    background: transparent;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .nav-list > li > a,
  .nav-programs > summary {
    min-height: 44px;
    padding: 0;
    border: 0;
    font-size: .84rem;
  }

  .nav-programs {
    position: relative;
  }

  .nav-programs > summary {
    gap: 6px;
  }

  .nav-programs > summary::after {
    content: "↓";
    font-size: .75rem;
  }

  .nav-programs[open] > summary::after {
    content: "↑";
  }

  .nav-submenu {
    position: absolute;
    z-index: var(--z-dropdown);
    top: 50px;
    left: -18px;
    width: 300px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 8px oklch(26.1% .036 171 / .1);
  }

  .nav-submenu a {
    padding: 10px;
    border-radius: 8px;
    font-size: .86rem;
  }

  .nav-submenu a:hover {
    background: var(--blue-050);
    color: var(--blue-800);
  }

  .header-call {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding-left: 18px;
    border-left: 1px solid var(--line);
    color: var(--blue-950);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .header-call small {
    color: var(--muted);
    font-size: .66rem;
    font-weight: 560;
  }

  .mobile-call {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    padding-bottom: 44px;
  }
}

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.home-page {
  padding-bottom: 0;
}

@media (max-width: 559px) {
  .home-page .hero .hero-actions .btn {
    display: inline-flex;
    width: 100%;
  }

  .home-page .hero-actions .text-link {
    justify-content: center;
    width: 100%;
  }

  .home-page .hero-actions {
    margin-bottom: 22px;
  }

  .home-page .section {
    padding-block: 62px;
  }

}
