@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap');

:root {
  --cream: #f8f0df;
  --paper: #fffaf0;
  --ink: #0d3246;
  --ink-soft: #526b79;
  --orange: #f48445;
  --coral: #ed6547;
  --gold: #f5bc4e;
  --blue-deep: #0e536d;
  --blue: #188a9d;
  --blue-soft: #58b6b0;
  --learning-deep: #286746;
  --learning: #55a875;
  --learning-soft: #8acda6;
  --learning-wash: #d8ebdc;
  --home-flow-green: #cfe8d6;
  --pricing-deep: #0e6685;
  --pricing: #188a9d;
  --pricing-soft: #61c7c3;
  --pricing-wash: #c6e3e7;
  --enrol-deep: #a64b32;
  --enrol: #f48445;
  --enrol-soft: #ffad63;
  --enrol-wash: #f5d2a7;
  --line: rgba(13, 50, 70, .14);
  --display: 'Manrope', 'Trebuchet MS', sans-serif;
  --body: 'DM Sans', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); scroll-behavior: smooth; scroll-padding-top: 112px; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.site-header { position: fixed; z-index: 30; top: 14px; left: 0; width: 100%; pointer-events: none; transition: transform 220ms var(--ease-out); }
.site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 26px; width: min(1360px, calc(100% - 32px)); min-height: 78px; margin: auto; padding: 12px 24px; border: 1.5px solid rgba(13,50,70,.14); border-radius: 20px; background: rgba(255,250,240,.86); box-shadow: 0 12px 34px rgba(13,50,70,.1); backdrop-filter: blur(18px) saturate(1.05); pointer-events: auto; }
.site-header__inner > .header-actions { justify-self: end; }
.header-page-label { display: none; }
.logo-link { display: inline-flex; width: 50px; height: 50px; border-radius: 12px; transition: transform 240ms ease; }
.logo-link:hover { transform: rotate(-3deg) scale(1.04); }
.logo-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.site-nav a { position: relative; padding: 8px 0; color: var(--ink); font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; border-radius: 2px; background: var(--orange); content: ''; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 10px; color: var(--ink); background: linear-gradient(112deg, #f5bc4e, #ffad63); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; font-size: .8rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.button:hover { filter: saturate(1.08) brightness(1.02); box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.button:active { box-shadow: none; transform: translate(4px, 4px); }
.button--quiet { color: var(--ink); background: transparent; box-shadow: none; }
.button--quiet:hover { background: rgba(244,132,69,.08); box-shadow: none; transform: none; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; margin: auto; border-radius: 2px; background: currentColor; content: ''; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }

.page { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; background: radial-gradient(circle at 50% 24%, rgba(255,235,191,.52), transparent 28rem), linear-gradient(180deg, #f8f0df 0%, #f8f0df 65%, #f6eddb 100%); }
[id] { scroll-margin-top: 112px; }
.page::before { position: absolute; z-index: -2; top: 18vh; left: 50%; width: min(900px, 120vw); height: min(900px, 120vw); border: 1px solid rgba(237,101,71,.075); border-radius: 50%; box-shadow: 0 0 0 44px rgba(244,132,69,.045), 0 0 0 102px rgba(244,132,69,.026), 0 0 0 174px rgba(244,132,69,.016); content: ''; transform: translateX(-50%); pointer-events: none; }
.page::after { position: absolute; z-index: -2; top: 25vh; left: 50%; width: min(740px, 108vw); height: min(740px, 108vw); border-radius: 50%; background: radial-gradient(circle, rgba(244,132,69,.12), rgba(244,132,69,.045) 27%, transparent 67%); content: ''; transform: translateX(-50%); pointer-events: none; }
.namibia-watermark { position: absolute; z-index: -1; top: 16%; left: 50%; width: min(385px, 63vw); opacity: .055; filter: sepia(.28) saturate(.5) hue-rotate(320deg); transform: translateX(-50%) rotate(-4deg); pointer-events: none; user-select: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }

.home-hero { position: relative; display: flex; align-items: flex-start; justify-content: center; min-height: 132svh; padding: clamp(180px, 25vh, 280px) 20px 180px; isolation: isolate; }
.brand { position: fixed; z-index: 31; left: 50%; bottom: var(--brand-bottom, 340px); display: inline-flex; align-items: baseline; color: var(--ink); font-family: var(--display); font-size: clamp(3.6rem, 8.4vw, 7.6rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; text-decoration: none; white-space: nowrap; transform: translateX(-50%) scale(var(--brand-scale, 1)); transform-origin: 50% 100%; will-change: transform, bottom; pointer-events: auto; }
.brand__edu, .brand__lux, .gradient-blue, .gradient-orange { color: transparent; -webkit-background-clip: text; background-clip: text; }
.brand__edu, .gradient-blue { background-image: linear-gradient(108deg, var(--blue-deep), var(--blue) 50%, var(--blue-soft)); }
.brand__lux, .gradient-orange { background-image: linear-gradient(108deg, var(--coral), var(--orange) 54%, #ffae60); }
.hero-copy { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; width: min(100%, 1020px); margin: auto; text-align: center; animation: copy-in 760ms var(--ease-out) both; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.04em; word-spacing: .055em; }
h1 { max-width: 1000px; margin: 0; color: var(--ink); font-size: clamp(2.8rem, 6.4vw, 6.3rem); font-weight: 800; line-height: 1.01; text-wrap: balance; }
.hero-subtext { max-width: 610px; margin: clamp(32px, 5vh, 48px) auto 0; font-size: clamp(1.03rem, 1.36vw, 1.15rem); font-weight: 600; line-height: 1.5; }
.hero-details { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--ink-soft); font-size: .96rem; font-weight: 700; }
.hero-details p { margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
@keyframes copy-in { from { opacity: 0; } to { opacity: 1; } }

.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section--paper { background: rgba(255,250,240,.66); border-top: 1px solid rgba(13,50,70,.08); border-bottom: 1px solid rgba(13,50,70,.08); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading h2, .page-hero h1 { margin: 0; font-size: clamp(2.35rem, 5.1vw, 5rem); line-height: 1.02; }
.section-heading p { margin: 18px 0 0; color: var(--ink); font-size: 1.07rem; line-height: 1.6; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 7vw, 105px); align-items: start; }
.split--reverse > :first-child { order: 2; }
.copy p { margin: 0 0 16px; color: var(--ink); font-size: 1rem; line-height: 1.68; }
.copy p:last-child { margin-bottom: 0; }
.list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-weight: 600; line-height: 1.5; }
.list li::before { flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; color: var(--paper); background: var(--blue); content: '✓'; font-size: .75rem; font-weight: 800; line-height: 25px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.card { padding: 25px; border: 1.5px solid var(--line); border-radius: 17px; background: rgba(255,250,240,.76); box-shadow: 5px 5px 0 rgba(13,50,70,.08); }
.card--orange { background: linear-gradient(145deg, rgba(244,132,69,.15), rgba(255,250,240,.82)); }
.card--blue { background: linear-gradient(145deg, rgba(24,138,157,.13), rgba(255,250,240,.82)); }
.card h3 { margin: 0 0 9px; font-size: 1.2rem; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--ink); line-height: 1.55; }
.number { display: block; margin-bottom: 34px; color: #a64b32; font-family: var(--display); font-size: 2rem; line-height: 1; }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fit-box { padding: 28px; border-radius: 18px; }
.fit-box h3 { margin: 0 0 12px; font-size: 1.3rem; }
.fit-box ul { margin: 0; padding-left: 20px; color: var(--ink); line-height: 1.65; }
.fit-box--yes { background: rgba(88,182,176,.19); }
.fit-box--no { background: rgba(237,101,71,.12); }
.band { padding: 30px; border-radius: 22px; color: var(--paper); background: var(--ink); }
.band p { margin: 0; max-width: 720px; color: rgba(255,250,240,.82); line-height: 1.6; }
.band h2 { margin: 0 0 10px; color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.6rem); }
.band .button { margin-top: 24px; border-color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }

.page-main { padding-top: 150px; }
.page-hero { padding: clamp(70px, 10vw, 130px) 0 80px; }
.page-hero h1 { max-width: 850px; }
.page-hero p { max-width: 660px; margin: 25px 0 0; color: var(--ink); font-size: 1.13rem; line-height: 1.62; }
.page-hero .button { margin-top: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 28px 22px 24px; border-top: 2px solid var(--blue); }
.step:not(:last-child)::after { position: absolute; top: -7px; right: -7px; width: 12px; height: 12px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); content: ''; transform: rotate(45deg); }
.step .number { margin-bottom: 24px; }
.step h3 { margin: 0 0 9px; font-size: 1.17rem; }
.step p { margin: 0; color: var(--ink); line-height: 1.55; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 18px; background: rgba(255,250,240,.74); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.price-table th, .price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { color: var(--ink-soft); font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td { font-weight: 600; }
.price-table td:last-child { color: var(--ink); font-weight: 500; }
.notice { padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; color: var(--ink); background: rgba(244,132,69,.12); line-height: 1.55; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { float: right; color: var(--orange); content: '+'; font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 720px; margin: -5px 35px 20px 0; color: var(--ink); line-height: 1.6; }
.enrol-layout, .register-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(35px, 8vw, 105px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 42px); border: 1.5px solid var(--line); border-radius: 22px; background: rgba(255,250,240,.82); box-shadow: 7px 7px 0 rgba(13,50,70,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1.5px solid rgba(13,50,70,.23); border-radius: 9px; color: var(--ink); background: var(--paper); }
.field textarea { min-height: 110px; resize: vertical; }
.field small { color: var(--ink-soft); font-size: .78rem; line-height: 1.4; }
.form-card .button { width: 100%; margin-top: 22px; }
.form-note { margin: 13px 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; text-align: center; }
.success-message { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; color: var(--blue-deep); background: rgba(88,182,176,.2); font-weight: 700; }
.success-message.is-visible { display: block; }
.site-footer { padding: 50px 0 36px; color: rgba(255,250,240,.76); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand { margin: 0; color: var(--paper); font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.07em; }
.footer-brand .brand__edu, .footer-brand .brand__lux { color: transparent; }
.site-footer p { max-width: 450px; margin: 12px 0 0; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-links a { color: var(--paper); font-size: .86rem; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,250,240,.2); color: rgba(255,250,240,.52); font-size: .77rem; }
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-in 700ms var(--ease-out) both; }
@keyframes reveal-in { from { transform: translateY(20px); } to { transform: none; } }

@media (max-width: 760px) {
  .page { overflow: clip; }
  .site-header { position: sticky; top: 9px; }
  .site-header.is-hidden { transform: translateY(calc(-100% - 18px)); }
  .site-header__inner { grid-template-columns: auto 1fr auto; width: calc(100% - 24px); min-height: 68px; padding: 10px 13px; border-radius: 17px; gap: 10px; }
  .logo-link { width: 43px; height: 43px; }
  .site-nav { position: absolute; top: calc(100% + 9px); right: auto; left: 50%; display: grid; justify-self: stretch; gap: 3px; width: min(620px, calc(100vw - 24px)); max-width: none; margin: 0; padding: 10px; border: 1.5px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 12px 34px rgba(13,50,70,.12); opacity: 0; pointer-events: none; transform: translate(-50%, -6px); transition: opacity 180ms ease, transform 180ms ease; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  .site-nav a { padding: 13px 12px; }
  .header-page-label { position: absolute; top: 50%; left: 50%; display: block; padding: 0 0 10px; border-bottom: 2px solid var(--learning); color: var(--ink); font-size: .86rem; font-weight: 700; line-height: 1; white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); }
  .home-page .header-page-label, .enrol-page .header-page-label { border-color: var(--orange); }
  .pricing-page .header-page-label { border-color: var(--pricing); }
  .home-page .header-page-label { opacity: calc(1 - var(--nav-progress, 0)); }
  .header-actions .button { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .container { width: min(100% - 32px, 620px); }
  .home-hero { min-height: 116svh; padding: 80px 16px 125px; }
  .brand { font-size: clamp(3.35rem, 15.5vw, 5.2rem); }
  h1 { max-width: 560px; font-size: clamp(2.7rem, 12.7vw, 5.4rem); letter-spacing: -.04em; line-height: 1.03; }
  .hero-subtext { max-width: 370px; margin-top: 28px; font-size: 1rem; }
  .hero-actions { flex-direction: column; width: min(100%, 260px); }
  .hero-actions .button { width: 100%; }
  .cards, .fit-grid { grid-template-columns: 1fr; }
  .split, .enrol-layout, .register-layout { grid-template-columns: 1fr; gap: 38px; }
  .split--reverse > :first-child { order: initial; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-top-width: 1.5px; }
  .step:not(:last-child)::after { display: none; }
  .page-main { padding-top: 40px; }
  .page-hero { padding: 65px 0 55px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  html { scroll-padding-top: 92px; }
  [id] { scroll-margin-top: 92px; }
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; min-width: 0; width: 100%; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
  .price-table tr { margin-bottom: 14px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: rgba(255,250,240,.74); }
  .price-table tr:last-child { margin-bottom: 0; }
  .price-table td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; }
  .price-table td::before { color: var(--ink-soft); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .price-table td:nth-child(1)::before { content: 'Cost'; }
  .price-table td:nth-child(2)::before { content: 'Amount'; }
  .price-table td:nth-child(3)::before { content: 'Includes'; }
  .price-table td:last-child { color: var(--ink); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page::before { top: 25vh; width: 142vw; height: 142vw; box-shadow: 0 0 0 28px rgba(244,132,69,.04), 0 0 0 67px rgba(244,132,69,.024), 0 0 0 108px rgba(244,132,69,.014); }
  .page::after { top: 33vh; width: 125vw; height: 125vw; }
  .namibia-watermark { top: 24%; width: min(300px, 68vw); opacity: .045; }
}
@media (max-width: 390px) {
  .site-header__inner { padding-inline: 10px; }
  h1 { font-size: clamp(2.47rem, 13.5vw, 4.1rem); }
  .hero-subtext { font-size: .96rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* The home hero keeps the original landing composition and scroll choreography. */
.home-page {
  min-height: 132svh;
  background: radial-gradient(circle at 50% 42%, rgba(255, 235, 191, .52), transparent 28rem), linear-gradient(180deg, #f8f0df 0%, #f8f0df 65%, #f6eddb 100%);
}
.home-page::before { top: 13vh; }
.home-page::after { top: 21vh; }
.home-page .namibia-watermark { top: 15%; }
.home-page .site-header { position: fixed; z-index: 30; top: var(--header-top-gap, 16px); }
.home-page .site-header__inner { position: relative; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); width: var(--header-width, min(1360px, 100%)); min-height: var(--header-height, 78px); margin: 0 auto; padding: 0 var(--header-padding, clamp(20px, 5vw, 70px)); border: 1.5px solid rgba(13, 50, 70, var(--header-border-alpha, 0)); border-radius: var(--header-radius, 0px); background: rgba(255, 250, 240, var(--header-bg-alpha, 0)); box-shadow: 0 var(--header-shadow-y, 0px) var(--header-shadow-blur, 0px) rgba(13, 50, 70, var(--header-shadow-alpha, 0)); backdrop-filter: blur(var(--header-blur, 0px)) saturate(1.05); -webkit-backdrop-filter: blur(var(--header-blur, 0px)) saturate(1.05); transition: none; }
.home-page .header-side { display: flex; align-items: center; min-width: 0; }
.home-page .header-side--left { justify-self: start; gap: clamp(18px, 2vw, 30px); }
.home-page .header-side--right { grid-column: 3; justify-self: end; gap: clamp(18px, 2vw, 30px); }
.home-page .header-nav-pair { grid-column: 2; display: flex; align-items: center; justify-self: center; gap: clamp(14px, 2.2vw, 34px); min-width: 0; }
.home-page .logo-link { width: var(--logo-size, 50px); height: var(--logo-size, 50px); }
.home-page .header-nav-pair .site-nav { justify-self: auto; gap: clamp(14px, 2.2vw, 34px); }
.home-page .header-nav-pair .site-nav--left { transform: translateX(calc(var(--nav-split, 0px) * -1)) translateY(var(--nav-lift, 0px)); }
.home-page .header-nav-pair .site-nav--right { transform: translateX(var(--nav-split, 0px)) translateY(var(--nav-lift, 0px)); }
.home-page .site-nav--mobile { display: none; }
.home-page .header-actions .button { min-height: var(--button-height, 44px); padding: 0 var(--button-padding, 17px); border: 2px solid var(--ink); border-radius: 10px; color: var(--paper); background: linear-gradient(112deg, var(--coral) 0%, var(--orange) 56%, #ffad63 100%); box-shadow: 4px 4px 0 var(--ink); }
.home-page .header-actions .button:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.home-page .header-actions .waitlist-button { min-height: var(--button-height, 47px); padding: 0 var(--button-padding, 20px); }
.home-page .hero { position: relative; display: flex; align-items: center; flex-direction: column; justify-content: flex-start; min-height: 200svh; padding: clamp(180px, 25vh, 280px) 20px clamp(130px, 16vh, 190px); background: linear-gradient(180deg, rgba(248,240,223,0) 0%, rgba(248,240,223,0) 52%, rgba(229,243,241,.22) 74%, rgba(214,234,240,.58) 100%); isolation: isolate; }
.home-page .hero-continuation { width: 100%; margin-top: clamp(230px, 32vh, 370px); }
.home-page .hero-copy { margin: 0 auto; }
.home-page .brand { z-index: 31; will-change: transform, bottom; }
.home-page h1 { max-width: 960px; margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(2.6rem, 4.8vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.headline-blue, .headline-orange { display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text; }
.headline-blue { background-image: linear-gradient(108deg, var(--blue-deep) 0%, var(--blue) 50%, var(--blue-soft) 100%); }
.headline-orange { background-image: linear-gradient(108deg, var(--coral) 0%, var(--orange) 54%, #ffae60 100%); }
.home-page .hero-subtext { max-width: 600px; margin: clamp(32px, 5vh, 48px) auto 0; color: var(--ink); font-size: clamp(1.03rem, 1.36vw, 1.15rem); font-weight: 600; line-height: 1.5; }
.home-page .hero-details { display: grid; justify-content: center; gap: 7px; margin: 15px 0 0; color: var(--ink-soft); font-size: .96rem; font-weight: 700; line-height: 1.4; text-align: center; }
.home-page .hero-details p { margin: 0; }
.home-page .hero-actions { margin-top: 30px; }
.waitlist-button { min-height: 47px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 10px; color: var(--paper); background: linear-gradient(112deg, var(--coral) 0%, var(--orange) 56%, #ffad63 100%); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; font-size: .82rem; font-weight: 700; line-height: 1; white-space: nowrap; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.waitlist-button:hover { filter: saturate(1.08) brightness(1.02); box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.waitlist-button:active { box-shadow: 0 0 0 var(--ink); transform: translate(4px, 4px); }
.home-page .hero-actions .waitlist-button { min-height: 51px; padding-inline: 23px; font-size: .84rem; }

@media (max-width: 760px) {
  .home-page { overflow: hidden; }
  .home-page::before { top: 25vh; width: 142vw; height: 142vw; box-shadow: 0 0 0 28px rgba(244, 132, 69, .04), 0 0 0 67px rgba(244, 132, 69, .024), 0 0 0 108px rgba(244, 132, 69, .014); }
  .home-page::after { top: 33vh; width: 125vw; height: 125vw; }
  .home-page .namibia-watermark { top: 24%; width: min(300px, 68vw); opacity: .045; }
  .home-page .site-header { position: fixed; top: var(--header-top-gap, 9px); }
  .home-page .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; min-height: var(--header-height, 68px); padding: 0 var(--header-padding, 16px); }
  .home-page .header-side--left { gap: 0; }
  .home-page .header-nav-pair { display: none; }
  .home-page .header-side--right { grid-column: 2; justify-self: end; }
  .home-page .header-actions .button { display: none; }
  .home-page .header-actions .waitlist-button { display: none; }
  .home-page .menu-toggle { display: inline-flex; }
  .home-page .site-nav--mobile { position: fixed; z-index: 32; top: calc(var(--header-top-gap, 9px) + var(--header-height, 68px) + 9px); left: 50%; display: grid; gap: 3px; width: min(620px, calc(100vw - 24px)); max-width: none; margin: 0; padding: 10px; border: 1.5px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 12px 34px rgba(13, 50, 70, .12); opacity: 0; pointer-events: none; transform: translate(-50%, -6px); transition: opacity 180ms ease, transform 180ms ease; }
  .home-page .site-nav--mobile.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  .home-page .home-hero, .home-page .hero { min-height: 200svh; padding: clamp(180px, 29vh, 250px) 16px 130px; }
  .home-page .hero-continuation { margin-top: clamp(160px, 23vh, 220px); }
  .home-page h1 { max-width: 540px; font-size: clamp(2.35rem, 10.5vw, 4.4rem); letter-spacing: -.04em; line-height: 1.04; }
  .home-page .headline-blue, .home-page .headline-orange { display: inline; }
  .home-page .hero-subtext { max-width: 370px; margin-top: 28px; font-size: 1rem; line-height: 1.5; }
  .home-page .hero-details { font-size: .93rem; }
  .home-page .hero-actions { margin-top: 27px; }
  .home-page .brand { font-size: clamp(3.35rem, 15.5vw, 5.2rem); }
}
@media (max-width: 390px) {
  .home-page .site-header__inner { padding-inline: var(--header-padding, 16px); }
  .home-page .logo-link { width: var(--logo-size, 43px); height: var(--logo-size, 43px); }
  .home-page .brand { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  .home-page h1 { font-size: clamp(2.2rem, 11.5vw, 3.55rem); }
  .home-page .hero-subtext { max-width: 320px; font-size: .96rem; }
}

/* Inner pages use the same finished header material in normal document flow. */
.page:not(.home-page) { overflow: visible; }
.page:not(.home-page) .site-header { position: sticky; z-index: 30; top: 0; padding-top: 16px; }
.page:not(.home-page) .site-header.is-hidden { transform: none; }
.page:not(.home-page) .site-header__inner { position: relative; width: var(--header-width, min(1360px, 100%)); min-height: var(--header-height, 78px); padding: 0 var(--header-padding, clamp(20px, 5vw, 70px)); border: 1.5px solid rgba(13, 50, 70, var(--header-border-alpha, 0)); border-radius: var(--header-radius, 0px); background: rgba(255, 250, 240, var(--header-bg-alpha, 0)); box-shadow: 0 var(--header-shadow-y, 0px) var(--header-shadow-blur, 0px) rgba(13, 50, 70, var(--header-shadow-alpha, 0)); backdrop-filter: blur(var(--header-blur, 0px)) saturate(1.05); -webkit-backdrop-filter: blur(var(--header-blur, 0px)) saturate(1.05); transition: none; }
.page:not(.home-page) .header-actions .button { min-height: 44px; padding: 0 17px; border-color: var(--ink); color: var(--paper); background: linear-gradient(112deg, var(--coral) 0%, var(--orange) 56%, #ffad63 100%); box-shadow: 4px 4px 0 var(--ink); }
.page:not(.home-page) .page-main { padding-top: 0; }
.register-bar { position: relative; display: flex; align-items: center; justify-content: space-between; width: min(1110px, calc(100% - 32px)); min-height: 78px; margin: 16px auto 0; padding: 0 30px; border: 1.5px solid rgba(13, 50, 70, .16); border-radius: 20px; background: rgba(255, 250, 240, .74); box-shadow: 0 12px 34px rgba(13, 50, 70, .13); }
.register-bar .logo-link { width: 50px; height: 50px; }
.register-page .page-main { padding-top: 0; }
.register-intro { padding-bottom: 80px; }

@media (max-width: 760px) {
  .page:not(.home-page) .site-header { padding-top: 9px; }
  .page:not(.home-page) .site-header__inner { width: var(--header-width, 100%); min-height: var(--header-height, 68px); padding: 10px var(--header-padding, 16px); border-radius: var(--header-radius, 0px); gap: 10px; }
  .page:not(.home-page) .header-actions { grid-column: 3; justify-self: end; width: auto; justify-content: flex-end; }
  .page:not(.home-page) .header-actions .button { display: none; }
  .register-bar { width: calc(100% - 24px); min-height: 68px; margin-top: 9px; padding: 10px 13px; border-radius: 17px; }
  .register-bar .header-page-label { border-color: var(--orange); }
  .register-bar .logo-link { width: 43px; height: 43px; }
  .register-bar .button { min-height: 42px; padding-inline: 13px; }
  .register-intro { padding-bottom: 55px; }
}

/* Register is a compact, single-viewport handoff. */
.page.register-page { display: flex; flex-direction: column; height: 100dvh; min-height: 100dvh; overflow: hidden; }
.register-page .register-bar { flex: 0 0 auto; }
.register-page .register-main { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; min-height: 0; padding: clamp(18px, 4vh, 38px) 20px; }
.register-page .register-intro { width: min(560px, 100%); margin: 0 auto 18px; padding: 0; }
.register-page .register-intro h1 { max-width: none; font-size: clamp(2.15rem, 5vw, 4.6rem); }
.register-page .register-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.4; }
.register-page .register-card { width: min(560px, 100%); margin: 0 auto; padding: clamp(18px, 2.5vw, 28px); border: 1.5px solid var(--line); border-radius: 22px; background: rgba(255,250,240,.86); box-shadow: 7px 7px 0 rgba(13,50,70,.08); }
.register-page .register-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.register-page .register-card .field { gap: 5px; }
.register-page .register-card .field label { font-size: .76rem; }
.register-page .register-card .field input, .register-page .register-card .field select { min-height: 40px; padding: 8px 10px; }
.register-action { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.register-action .button { min-height: 42px; margin: 0; padding-inline: 16px; }
.register-local-note { color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }
.register-page .register-card .success-message { margin: 12px 0 0; padding: 10px; font-size: .78rem; line-height: 1.35; }
.register-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .register-page .register-main { padding: 18px 16px; }
  .register-page .register-intro { margin-bottom: 14px; }
  .register-page .register-intro h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .register-page .register-card { padding: 16px; border-radius: 18px; }
  .register-page .register-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .register-page .register-card .field input, .register-page .register-card .field select { min-height: 42px; }
  .register-action { align-items: flex-start; flex-direction: column; gap: 8px; }
  .register-action .button { width: 100%; }
}

@media (max-width: 360px) {
  .register-bar { min-height: 62px; padding-block: 8px; }
  .register-page .register-main { padding: 12px; }
  .register-page .register-intro { margin-bottom: 8px; }
  .register-page .register-card { padding: 10px; padding-block: 5px; }
  .register-page .register-card .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .register-page .register-card .field input, .register-page .register-card .field select { min-height: 40px; padding-inline: 8px; }
  .register-page .register-action { margin-top: 10px; }
  .register-page .register-card .success-message { margin-top: 0; padding: 0 2px; font-size: .72rem; line-height: 1.25; }
  .register-page .register-intro h1 { font-size: 1.85rem; }
  .register-local-note { font-size: .68rem; }
}

/* Continuous editorial treatment below the finished home hero. */
.button,
.button--quiet {
  border-color: var(--ink);
  color: var(--paper);
  background: linear-gradient(112deg, #0e6685 0%, var(--blue) 52%, #61c7c3 100%);
  box-shadow: 4px 4px 0 var(--ink);
}
.button--quiet:hover { color: var(--paper); background: linear-gradient(112deg, #0e6685 0%, var(--blue) 52%, #61c7c3 100%); box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }
.button[href$="register.html"],
.button[href*="register.html"],
.waitlist-button {
  color: var(--paper);
  background: linear-gradient(112deg, var(--coral) 0%, var(--orange) 56%, #ffad63 100%);
}

main > .section:not(.hero) {
  margin-top: -1px;
  border: 0;
  background-color: transparent;
  isolation: isolate;
}
main > .section:not(.hero)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
}
main > .section:not(.hero):nth-of-type(4n + 1)::before {
  background: radial-gradient(ellipse at 14% 28%, rgba(244,132,69,.16), transparent 44%), linear-gradient(180deg, rgba(255,250,240,.28), rgba(236,246,241,.72));
}
main > .section:not(.hero):nth-of-type(4n + 2)::before {
  background: radial-gradient(ellipse at 84% 26%, rgba(88,182,176,.18), transparent 43%), linear-gradient(180deg, rgba(236,246,241,.72), rgba(241,244,229,.7));
}
.home-page main > .section:not(.hero):nth-of-type(2)::before {
  background: radial-gradient(ellipse at 84% 26%, rgba(88,182,176,.14), transparent 43%), linear-gradient(180deg, rgba(214,234,240,.58), rgba(241,244,229,.7));
}
.daily-rhythm .section-heading { max-width: 830px; margin-inline: auto; text-align: center; }
.daily-rhythm .section-heading h2 { max-width: 13ch; margin-inline: auto; background-image: linear-gradient(108deg, #286746 0%, #55a875 54%, #70b889 100%); }
.day-path { position: relative; display: grid; gap: clamp(70px, 9vw, 110px); width: min(940px, 100%); margin-inline: auto; padding-block: 28px; isolation: isolate; }
.day-path__line { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.day-path__curve { fill: none; stroke-linecap: round; stroke-width: 17; vector-effect: non-scaling-stroke; }
.day-path__curve--one { d: path('M 22 18 C 22 39, 78 28, 78 50'); stroke: url(#day-path-gradient-one); }
.day-path__curve--two { d: path('M 78 50 C 78 72, 22 61, 22 82'); stroke: url(#day-path-gradient-two); }
.day-path__item { position: relative; display: flex; align-items: center; min-height: 130px; }
.day-path__item p { position: relative; z-index: 1; width: 68%; margin: 0; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.55; text-wrap: pretty; }
.day-path__item--right p { margin-left: auto; }
.day-path__item--left p { margin-right: auto; }
.day-path__marker { position: absolute; top: 50%; z-index: 0; display: grid; place-items: center; width: 82px; height: 72px; clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%); color: var(--paper); background: var(--dot-color); filter: drop-shadow(0 8px 11px rgba(40,103,70,.2)); transform: translate(calc(-50% + var(--marker-shift-x, 0px)), calc(-50% + var(--marker-shift-y, 0px))); }
.day-path__marker svg { position: relative; z-index: 1; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.day-path__item--right .day-path__marker { left: 22%; }
.day-path__item--left .day-path__marker { left: 78%; }
.day-path__item--first { --dot-color: #286746; --marker-shift-y: 10px; }
.day-path__item--second { --dot-color: #55a875; }
.day-path__item--third { --dot-color: #8acda6; --marker-shift-y: -10px; }
main > .section:not(.hero):nth-of-type(4n + 3)::before {
  background: radial-gradient(ellipse at 18% 72%, rgba(245,188,78,.14), transparent 46%), linear-gradient(180deg, rgba(241,244,229,.7), rgba(251,238,222,.72));
}
main > .section:not(.hero):nth-of-type(4n)::before {
  background: radial-gradient(ellipse at 86% 58%, rgba(24,138,157,.14), transparent 46%), linear-gradient(180deg, rgba(251,238,222,.72), rgba(239,246,240,.72));
}

.section-heading { max-width: 760px; margin-bottom: clamp(34px, 5vw, 58px); }
.section-heading h2,
.page-hero h1 {
  max-width: 15ch;
  color: transparent;
  background: linear-gradient(108deg, var(--ink) 0%, var(--blue-deep) 48%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.25rem, 4.4vw, 4.45rem);
  line-height: 1.04;
  text-wrap: balance;
}
.section-heading p,
.copy p,
.step p,
.card p,
.fit-box ul,
.faq details p,
.page-hero p {
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.72;
}
.copy { max-width: 650px; }
.copy p { margin-bottom: 22px; }
.card,
.fit-box,
.table-wrap {
  border: 1px solid rgba(13,50,70,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,250,240,.68));
  box-shadow: 0 18px 50px rgba(13,50,70,.07);
  backdrop-filter: blur(10px);
}
.card { padding: clamp(26px, 3vw, 34px); border-radius: 22px; }
.card--orange { background: linear-gradient(145deg, rgba(255,226,202,.7), rgba(255,250,240,.72)); }
.card--blue { background: linear-gradient(145deg, rgba(206,239,238,.72), rgba(255,250,240,.72)); }
.step { padding: 30px 25px 28px; border-top-color: rgba(24,138,157,.5); }
.step h3, .card h3, .fit-box h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.18; letter-spacing: -.025em; word-spacing: .04em; }
.number { color: var(--blue-deep); font-size: 1.3rem; font-weight: 800; }
.fit-box { padding: clamp(28px, 4vw, 42px); }
.fit-box--yes { background: linear-gradient(145deg, rgba(201,238,229,.78), rgba(255,250,240,.7)); }
.fit-box--no { background: linear-gradient(145deg, rgba(255,222,204,.74), rgba(255,250,240,.7)); }
.band { padding: clamp(32px, 5vw, 56px); background: radial-gradient(circle at 90% 10%, rgba(88,182,176,.25), transparent 35%), linear-gradient(120deg, #0d3246, #0e536d); box-shadow: 0 24px 65px rgba(13,50,70,.18); }
.band p { font-size: 1.05rem; }
.band .button { border-color: var(--paper); box-shadow: 4px 4px 0 rgba(255,250,240,.45); }
.site-footer { background: linear-gradient(180deg, var(--ink), #082738); }

@media (max-width: 760px) {
  .section { padding-block: 76px; }
  .section-heading h2, .page-hero h1 { max-width: 18ch; font-size: clamp(2.25rem, 10vw, 3.55rem); }
  .section-heading p, .copy p, .step p, .card p, .fit-box ul, .faq details p, .page-hero p { font-size: 1.02rem; line-height: 1.68; }
  .steps { gap: 14px; }
  .step { border: 1px solid rgba(13,50,70,.12); border-radius: 18px; background: rgba(255,255,255,.42); }
  .daily-rhythm .section-heading { text-align: left; }
  .daily-rhythm .section-heading h2 { margin-inline: 0; }
  .day-path { gap: 72px; padding-block: 18px; }
  .day-path__item { min-height: 118px; }
  .day-path__item p { width: 68%; font-size: 1.12rem; line-height: 1.55; }
  .day-path__marker { width: 64px; height: 57px; }
  .day-path__marker svg { width: 28px; height: 28px; }
  .day-path__item--right .day-path__marker { left: 20%; }
  .day-path__item--left .day-path__marker { left: 80%; }
  .day-path__curve { stroke-width: 14; }
  .day-path__curve--one { d: path('M 20 18 C 20 28, 63 35, 80 50'); }
  .day-path__curve--two { d: path('M 80 50 C 63 65, 20 72, 20 82'); }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

.roles-intro__heading { margin: 0 auto clamp(34px, 4.5vw, 52px); text-align: center; }
.roles-intro__heading h2 { margin: 0; font-size: clamp(3.1rem, 7vw, 7.2rem); line-height: .9; letter-spacing: -.04em; word-spacing: .075em; text-wrap: balance; }
.roles-intro__heading span { display: block; width: fit-content; margin-inline: auto; color: transparent; -webkit-background-clip: text; background-clip: text; }
.roles-intro__teacher-line { padding-right: .05em; background-image: linear-gradient(108deg, var(--blue-deep), var(--blue) 54%, var(--blue-soft)); }
.roles-intro__parent-line { padding: .08em .05em .1em 0; background-image: linear-gradient(108deg, var(--coral), var(--orange) 54%, #ffae60); }
.role-copy { width: min(680px, 100%); margin-inline: auto; }
.role-copy p { margin: 0; color: var(--ink); font-size: clamp(1.16rem, 1.55vw, 1.36rem); font-weight: 600; line-height: 1.52; }
.role-copy p + p { margin-top: 1.15em; }
.role-copy strong { font-weight: 800; }
.role-copy__teacher { color: var(--blue-deep); }
.role-copy__parent { color: var(--coral); }
.role-copy__learner { color: #427352; }

@media (max-width: 600px) {
  .roles-intro:not(.hero-continuation) { padding-block: 60px; }
  .roles-intro__heading { margin-bottom: 34px; }
  .roles-intro__heading h2 { font-size: clamp(2.25rem, 11vw, 3rem); line-height: .96; }
  .roles-intro__heading span { white-space: nowrap; }
  .role-copy p { font-size: 1.08rem; line-height: 1.52; }
}

@media (max-width: 390px) {
  .role-copy p { font-size: 1.02rem; }
}

/* Home page: let the sections read as one continuous colour journey. */
.home-page main {
  background: linear-gradient(180deg, #f8f0df 0%, #f8f0df 10%, #d8ebf0 39%, #dcefe2 64%, #faeedc 86%, #f8f0df 100%);
}
.home-page main > .section:not(.hero)::before { background: transparent; }
.home-page .hero {
  min-height: 174svh;
  background: linear-gradient(180deg, rgba(248,240,223,0) 0%, rgba(248,240,223,0) 48%, rgba(216,235,240,.56) 81%, rgba(216,235,240,.96) 100%);
}
.home-page main > .section.daily-rhythm {
  background: linear-gradient(180deg, rgba(216,235,240,.96) 0%, rgba(221,240,228,.92) 62%, rgba(225,241,224,.96) 100%);
}
.home-page main > .section.family-fit {
  background: linear-gradient(180deg, rgba(225,241,224,.96) 0%, rgba(216,235,218,.94) 56%, rgba(207,232,214,.98) 100%);
}
.home-page .family-fit .section-heading h2 {
  background-image: linear-gradient(108deg, #286746 0%, #4c9a6d 50%, #8acda6 100%);
}
.home-page main > .section.home-cta {
  background: linear-gradient(180deg, rgba(251,238,220,.98) 0%, rgba(248,240,223,.98) 100%);
}

/* The family check is an open comparison, not two floating cards. */
.family-fit .fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 7vw, 96px);
}
.family-fit .fit-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.family-fit .fit-box + .fit-box {
  padding-left: clamp(30px, 5vw, 72px);
  border-left: 1px solid rgba(13,50,70,.2);
}
.family-fit .fit-box h3 {
  margin: 0 0 22px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}
.family-fit .fit-box--yes h3 { color: #286746; }
.family-fit .fit-box--no h3 { color: var(--coral); }
.family-fit .fit-box ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.family-fit .fit-box li {
  position: relative;
  padding: 15px 0 15px 31px;
  border-top: 1px solid rgba(13,50,70,.16);
  color: var(--ink);
  line-height: 1.55;
}
.family-fit .fit-box li:last-child { border-bottom: 1px solid rgba(13,50,70,.16); }
.family-fit .fit-box li::before {
  position: absolute;
  top: 17px;
  left: 1px;
  color: #286746;
  content: '✓';
  font-weight: 800;
}
.family-fit .fit-box--no li::before { color: var(--coral); content: '×'; font-size: 1.15rem; line-height: .9; }

/* A shared secondary action keeps the final handoff consistent with the rest of the site. */
.home-page .home-cta .band {
  max-width: 920px;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.home-page .home-cta .band h2 {
  max-width: 14ch;
  margin: 0 0 12px;
  color: transparent;
  background: linear-gradient(108deg, var(--ink) 0%, var(--blue-deep) 54%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.home-page .home-cta .band p { max-width: 650px; color: var(--ink); }
.home-page .home-cta .band .button { margin-top: 28px; }

/* Keep the footer as a quiet handoff rather than a second hero. */
.home-page .site-footer {
  padding: 28px 0 19px;
  background: linear-gradient(180deg, var(--ink), #082738);
}
.home-page .footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 40px;
  align-items: center;
}
.home-page .footer-brand { font-size: 1.65rem; }
.home-page .site-footer p { max-width: 390px; margin: 7px 0 0; font-size: .78rem; line-height: 1.45; }
.home-page .site-footer .footer-brand { margin: 0; }
.home-page .footer-links { align-items: center; gap: 8px 20px; }
.home-page .footer-links a { font-size: .8rem; }
.home-page .footer-links span { flex-basis: 100%; color: rgba(255,250,240,.46); font-size: .68rem; line-height: 1.35; text-align: right; }
.home-page .footer-bottom { margin-top: 20px; padding-top: 12px; font-size: .68rem; }

/* The mobile composition should move directly from the role explanation into the daily rhythm. */
@media (max-width: 760px) {
  .home-page .hero {
    min-height: auto;
    padding-bottom: clamp(82px, 11vh, 124px);
  }
  .home-page .hero-continuation { margin-top: clamp(92px, 14vh, 145px); }
  .family-fit .fit-grid { grid-template-columns: 1fr; gap: 46px; }
  .family-fit .fit-box + .fit-box {
    padding-top: 42px;
    padding-left: 0;
    border-top: 1px solid rgba(13,50,70,.2);
    border-left: 0;
  }
  .home-page .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-page .footer-links { justify-content: flex-start; }
  .home-page .footer-links span { text-align: left; }
}

/* Inner pages share the landing page's type, colour and restraint, but each page
   changes rhythm so the information does not feel like one long template. */
.button--primary {
  border-color: var(--ink);
  color: var(--paper);
  background: linear-gradient(112deg, var(--coral) 0%, var(--orange) 56%, #ffad63 100%);
  box-shadow: 4px 4px 0 var(--ink);
}
.button--secondary {
  border-color: var(--ink);
  color: var(--paper);
  background: linear-gradient(112deg, #0e6685 0%, var(--blue) 52%, #61c7c3 100%);
  box-shadow: 4px 4px 0 var(--ink);
}
.button--primary:hover,
.button--secondary:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(2px, 2px); }

.page:not(.home-page) main {
  background: linear-gradient(180deg, #f8f0df 0%, #f8f0df 11%, #e3f0e7 31%, #f7efd9 54%, #e6f1eb 76%, #faeddd 100%);
}
.page:not(.home-page) main > .section::before { background: transparent; }
.page:not(.home-page) .page-hero {
  min-height: clamp(500px, 58svh, 690px);
  padding-top: clamp(96px, 11vw, 154px);
  padding-bottom: clamp(76px, 9vw, 120px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.page:not(.home-page) .page-hero h1 { max-width: 13ch; font-size: clamp(3rem, 5.25vw, 5.35rem); }
.page:not(.home-page) .page-hero > p { max-width: 650px; margin-top: 25px; }
.page:not(.home-page) .page-hero .button { margin-top: 30px; }
.page:not(.home-page) .section { margin-top: -1px; }
.page:not(.home-page) .section-heading { max-width: 760px; }
.page:not(.home-page) .section-heading h2 { max-width: 14ch; }

/* Each information page moves through a slightly different version of the same
   warm, blue and green palette. */
.learning-page .learning-day,
.enrol-page .enrol-fit,
.pricing-page .pricing-schedule { background: linear-gradient(180deg, rgba(218,238,239,.92), rgba(226,241,228,.94)); }
.learning-page .learning-split,
.pricing-page .pricing-stationery,
.enrol-page .enrol-process { background: linear-gradient(180deg, rgba(226,241,228,.94), rgba(248,239,216,.95)); }
.learning-page .learning-adult,
.pricing-page .pricing-materials,
.enrol-page .enrol-confirm { background: linear-gradient(180deg, rgba(248,239,216,.95), rgba(251,237,218,.97)); }
.learning-page .learning-teachers,
.pricing-page .pricing-home,
.enrol-page .enrol-faq { background: linear-gradient(180deg, rgba(251,237,218,.97), rgba(228,241,232,.95)); }
.learning-page .learning-home,
.pricing-page .pricing-faq { background: linear-gradient(180deg, rgba(228,241,232,.95), rgba(248,240,223,.98)); }
.learning-page .learning-faq { background: linear-gradient(180deg, rgba(248,240,223,.98), rgba(251,237,218,.97)); }
.enrol-page .enrol-cta { background: linear-gradient(180deg, rgba(228,241,232,.95), rgba(248,240,223,.98)); }

/* Numbered sequences stay editorial and readable instead of turning into four cards. */
.learning-sequence,
.enrol-sequence { border-top: 1px solid rgba(13,50,70,.2); }
.learning-sequence .step,
.enrol-sequence .step { min-width: 0; padding: 27px 24px 24px 0; border-top: 0; }
.learning-sequence .step + .step,
.enrol-sequence .step + .step { padding-left: 24px; border-left: 1px solid rgba(13,50,70,.17); }
.learning-sequence .step:not(:last-child)::after,
.enrol-sequence .step:not(:last-child)::after { top: -6px; right: -6px; z-index: 1; }
.learning-sequence .step .number,
.enrol-sequence .step .number { margin-bottom: 25px; color: var(--blue-deep); }
.learning-sequence .step h3,
.enrol-sequence .step h3 { max-width: 13ch; }

.learning-contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.learning-contrast__item { padding-left: 25px; border-left: 3px solid var(--blue); }
.learning-contrast__item--home { border-color: var(--orange); }
.learning-contrast__item .number { margin: 0 0 18px; }
.learning-contrast__item h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.learning-contrast__item > p:last-child { margin: 0; color: var(--ink); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.7; }

/* Definition lists are used for costs and practical requirements. Their rows
   keep labels and explanations legible at both widths. */
.learning-needs,
.pricing-facts,
.enrol-facts,
.pricing-material-list { margin: 0; }
.learning-needs > div,
.pricing-facts > div,
.enrol-facts > div {
  display: grid;
  grid-template-columns: minmax(170px, .52fr) minmax(0, 1.48fr);
  gap: clamp(22px, 5vw, 80px);
  padding: 22px 0;
  border-top: 1px solid rgba(13,50,70,.18);
}
.learning-needs > div:last-child,
.pricing-facts > div:last-child,
.enrol-facts > div:last-child { border-bottom: 1px solid rgba(13,50,70,.18); }
.learning-needs dt,
.pricing-facts dt,
.enrol-facts dt,
.pricing-material-list dt { color: var(--blue-deep); font-weight: 800; }
.learning-needs dd,
.pricing-facts dd,
.enrol-facts dd,
.pricing-material-list dd { margin: 0; color: var(--ink); line-height: 1.65; }

.pricing-material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 7vw, 104px);
}
.pricing-material-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(13,50,70,.18);
}
.pricing-material-list > div:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(13,50,70,.18); }
.pricing-material-list dd { flex: 0 0 auto; font-weight: 700; text-align: right; }

/* The fee table is the one place where a quiet surface earns its keep. */
.pricing-schedule .table-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pricing-schedule .price-table { min-width: 0; }
.pricing-schedule .price-table th,
.pricing-schedule .price-table td { padding: 19px 18px; }
.pricing-schedule .price-table th:first-child,
.pricing-schedule .price-table td:first-child { padding-left: 0; }
.pricing-schedule .price-table th:last-child,
.pricing-schedule .price-table td:last-child { padding-right: 0; }
.pricing-schedule .price-table th { color: var(--blue-deep); border-bottom: 2px solid rgba(13,50,70,.25); }
.pricing-schedule .price-table td { font-size: 1rem; line-height: 1.55; }
.pricing-schedule .price-table td:nth-child(2) { color: var(--blue-deep); font-weight: 800; }

/* FAQs and the enrolment handoff finish pages quietly. */
.page:not(.home-page) .faq summary { padding: 22px 0; font-size: 1.02rem; }
.page:not(.home-page) .faq details p { margin-top: -4px; padding-bottom: 8px; }
.enrol-cta .band {
  padding: clamp(12px, 2vw, 24px) 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.enrol-cta .band h2 {
  max-width: 15ch;
  margin: 0 0 12px;
  color: transparent;
  background: linear-gradient(108deg, var(--ink), var(--blue-deep) 58%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}
.enrol-cta .band p { color: var(--ink); }
.enrol-cta .band .button { margin-top: 28px; border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* A compact footer lets the page end without adding another visual block. */
.page:not(.home-page) .site-footer { padding: 28px 0 19px; }
.page:not(.home-page) .footer-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: center; }
.page:not(.home-page) .footer-brand { font-size: 1.65rem; }
.page:not(.home-page) .site-footer p { max-width: 390px; margin: 7px 0 0; font-size: .78rem; line-height: 1.45; }
.page:not(.home-page) .site-footer .footer-brand { margin: 0; }
.page:not(.home-page) .footer-links { align-items: center; gap: 8px 20px; }
.page:not(.home-page) .footer-links a { font-size: .8rem; }
.page:not(.home-page) .footer-links span { flex-basis: 100%; color: rgba(255,250,240,.46); font-size: .68rem; line-height: 1.35; text-align: right; }
.page:not(.home-page) .footer-bottom { margin-top: 20px; padding-top: 12px; font-size: .68rem; }

/* The form is a necessary surface, but its mobile layout must remain a normal
   reading flow rather than being trapped inside a viewport. */
.register-page { background: linear-gradient(180deg, #f8f0df 0%, #f8f0df 62%, #e4f1e9 100%); }
.register-page .register-main { position: relative; z-index: 1; }
.register-page .register-intro h1 { color: transparent; background: linear-gradient(108deg, var(--ink), var(--blue-deep) 58%, var(--blue)); -webkit-background-clip: text; background-clip: text; }
.register-page .register-guide h2,
.register-page .register-card h2 { margin: 0 0 22px; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.register-page .register-card { border-color: rgba(13,50,70,.17); background: rgba(255,250,240,.86); box-shadow: 7px 7px 0 rgba(13,50,70,.08); }
.register-page .register-guide__note { max-width: 430px; margin: 26px 0 0; color: var(--ink); line-height: 1.55; }
.register-page .register-card .button--primary { color: var(--paper); }

@media (max-width: 760px) {
  .page:not(.home-page) .page-hero {
    min-height: 0;
    padding-top: 78px;
    padding-bottom: 68px;
  }
  .page:not(.home-page) .page-hero h1 { max-width: 12ch; font-size: clamp(2.55rem, 11vw, 4rem); }
  .page:not(.home-page) .page-hero > p { margin-top: 21px; font-size: 1rem; line-height: 1.6; }
  .page:not(.home-page) .page-hero .button { margin-top: 25px; }
  .section-heading h2, .page-hero h1 { text-wrap: balance; }
  .learning-sequence,
  .enrol-sequence { grid-template-columns: 1fr; }
  .learning-sequence .step,
  .enrol-sequence .step,
  .learning-sequence .step + .step,
  .enrol-sequence .step + .step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid rgba(13,50,70,.17);
    border-radius: 0;
    background: transparent;
  }
  .learning-sequence .step:first-child,
  .enrol-sequence .step:first-child { border-top: 0; }
  .learning-sequence .step .number,
  .enrol-sequence .step .number { grid-row: span 2; margin: 0; }
  .learning-sequence .step h3,
  .enrol-sequence .step h3 { max-width: none; margin: 0 0 8px; }
  .learning-sequence .step p,
  .enrol-sequence .step p { grid-column: 2; }
  .learning-sequence .step:not(:last-child)::after,
  .enrol-sequence .step:not(:last-child)::after { display: none; }
  .learning-contrast { grid-template-columns: 1fr; gap: 34px; }
  .learning-contrast__item { padding: 22px 0 0 20px; border-top: 1px solid var(--blue); border-left: 0; }
  .learning-contrast__item--home { border-color: var(--orange); }
  .learning-needs > div,
  .pricing-facts > div,
  .enrol-facts > div { grid-template-columns: minmax(108px, .65fr) minmax(0, 1.35fr); gap: 18px; padding: 18px 0; }
  .pricing-material-list { grid-template-columns: 1fr; }
  .pricing-material-list > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .pricing-material-list > div:last-child { border-bottom: 1px solid rgba(13,50,70,.18); }
  .pricing-material-list > div { gap: 12px; }
  .pricing-schedule .table-wrap { overflow: visible; }
  .pricing-schedule .price-table,
  .pricing-schedule .price-table tbody,
  .pricing-schedule .price-table tr,
  .pricing-schedule .price-table td { display: block; width: 100%; min-width: 0; }
  .pricing-schedule .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .pricing-schedule .price-table tr { margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(13,50,70,.18); }
  .pricing-schedule .price-table td,
  .pricing-schedule .price-table td:first-child,
  .pricing-schedule .price-table td:last-child { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 6px 0; border: 0; font-size: .98rem; }
  .pricing-schedule .price-table td::before { color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .pricing-schedule .price-table td:nth-child(1)::before { content: 'Cost'; }
  .pricing-schedule .price-table td:nth-child(2)::before { content: 'Amount'; }
  .pricing-schedule .price-table td:nth-child(3)::before { content: 'Covers'; }
  .page:not(.home-page) .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .page:not(.home-page) .footer-links { justify-content: flex-start; }
  .page:not(.home-page) .footer-links span { text-align: left; }
  .page.register-page { height: auto; min-height: 100dvh; overflow: visible; }
  .register-page .register-main { display: block; padding: 42px 16px 48px; }
  .register-page .register-intro { margin-bottom: 34px; }
  .register-page .register-intro h1 { font-size: clamp(2.3rem, 10.5vw, 3.35rem); }
  .register-page .register-note { font-size: .95rem; line-height: 1.55; }
  .register-page .register-layout { gap: 40px; }
  .register-page .register-card { width: 100%; padding: 20px 16px; border-radius: 18px; }
  .register-page .register-card .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .register-page .register-card .field input,
  .register-page .register-card .field select { min-height: 44px; }
  .register-page .register-action { align-items: stretch; }
  .register-page .register-action .button { width: 100%; }
}

@media (max-width: 390px) {
  .learning-needs > div,
  .pricing-facts > div,
  .enrol-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .pricing-material-list > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .pricing-material-list dd { text-align: left; }
}

/* Final landing refinements from the cross-page review. */
.waitlist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.home-page .hero-continuation { margin-top: clamp(64px, 8vw, 120px); }
.home-page .hero { padding-bottom: clamp(72px, 8vh, 110px); }
.home-page main {
  background: linear-gradient(180deg, #f8f0df 0%, #f6f0df 12%, #d9ebf0 38%, #dff0e5 62%, #f9eedc 84%, #f8f0df 100%);
}
.home-page .hero { background: linear-gradient(180deg, rgba(248,240,223,0) 0%, rgba(248,240,223,0) 55%, rgba(216,235,240,.2) 100%); }
.home-page .daily-rhythm { background: linear-gradient(180deg, rgba(216,235,240,.18), rgba(221,240,228,.2)); }
.home-page .family-fit { background: linear-gradient(180deg, rgba(225,241,224,.2), rgba(216,235,218,.2)); }
.home-page .home-cta { background: linear-gradient(180deg, rgba(251,238,220,.2), rgba(248,240,223,.2)); }

.family-fit .fit-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 7vw, 96px); }
.family-fit .fit-box { display: flex; flex-direction: column; }
.family-fit .fit-box h3 { min-height: 2.2em; }

.page:not(.home-page) { overflow-x: clip; }
.page:not(.home-page) main { background: linear-gradient(180deg, #f8f0df 0%, #f7f0df 11%, #e3f0e7 31%, #f7efd9 54%, #e6f1eb 76%, #faeddd 100%); }
.page:not(.home-page) .page-hero { min-height: clamp(410px, 46svh, 560px); }
.learning-page .learning-day,
.enrol-page .enrol-fit,
.pricing-page .pricing-schedule { background: linear-gradient(180deg, rgba(218,238,239,.46), rgba(226,241,228,.48)); }
.learning-page .learning-split,
.pricing-page .pricing-stationery,
.enrol-page .enrol-process { background: linear-gradient(180deg, rgba(226,241,228,.42), rgba(248,239,216,.44)); }
.learning-page .learning-adult,
.pricing-page .pricing-materials,
.enrol-page .enrol-confirm { background: linear-gradient(180deg, rgba(248,239,216,.46), rgba(251,237,218,.48)); }
.learning-page .learning-teachers,
.pricing-page .pricing-home,
.enrol-page .enrol-faq { background: linear-gradient(180deg, rgba(251,237,218,.43), rgba(228,241,232,.46)); }
.learning-page .learning-home,
.pricing-page .pricing-faq { background: linear-gradient(180deg, rgba(228,241,232,.44), rgba(248,240,223,.46)); }
.learning-page .learning-faq,
.enrol-page .enrol-cta { background: linear-gradient(180deg, rgba(248,240,223,.44), rgba(251,237,218,.46)); }

.home-page .site-footer,
.page:not(.home-page) .site-footer { padding: 24px 0 17px; }
.home-page .site-footer p.footer-brand,
.page:not(.home-page) .site-footer p.footer-brand { margin: 0; font-size: 1.65rem; line-height: .9; }
.home-page .site-footer p:not(.footer-brand),
.page:not(.home-page) .site-footer p:not(.footer-brand) { max-width: 410px; margin-top: 8px; font-size: .84rem; line-height: 1.48; }

.register-page .register-main { width: min(1120px, calc(100% - 40px)); margin-inline: auto; padding-inline: 0; }

@media (max-width: 760px) {
  .home-page .hero-continuation { margin-top: 56px; }
  .home-page .hero { padding-bottom: 56px; }
  .roles-intro__heading span { white-space: normal; }
  .family-fit .fit-grid { grid-template-columns: 1fr; }
  .family-fit .fit-box h3 { min-height: 0; }
  .family-fit .fit-box + .fit-box { padding-left: 0; }
  .day-path { gap: 0; padding-block: 22px; }
  .day-path__line { display: none; }
  .day-path::before {
    position: absolute;
    z-index: -1;
    top: 22px;
    bottom: 22px;
    left: 20%;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #286746, #55a875 48%, #8acda6);
    content: '';
  }
  .day-path__item { min-height: 0; padding-block: 30px; }
  .day-path__item--right .day-path__marker,
  .day-path__item--left .day-path__marker { left: 20%; }
  .day-path__marker { z-index: 1; }
  .day-path__item p { margin-right: 0; margin-left: auto; }
  .day-path__item p { z-index: 2; }
  .page:not(.home-page) .page-hero { min-height: 0; }
  .register-page .register-main { width: auto; margin-inline: 0; padding: 42px 16px 48px; }
}

/* Inner pages keep their useful content in view on desktop. */
@media (min-width: 761px) {
  .page:not(.home-page) .page-hero {
    min-height: clamp(340px, 40svh, 460px);
    padding-top: clamp(76px, 8vw, 112px);
    padding-bottom: clamp(52px, 6vw, 80px);
  }
  .page:not(.home-page) .page-hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
  .page.register-page { height: auto; min-height: 100dvh; overflow: visible; }
  .register-page .register-main { display: block; padding: clamp(36px, 6vh, 72px) 0 72px; }
  .register-page .register-intro { width: min(680px, 100%); margin: 0 auto 42px; }
  .register-page .register-intro h1 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
  .register-page .register-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(35px, 6vw, 90px); align-items: start; }
  .register-page .register-card { width: 100%; }
}

@media (min-width: 761px) {
  .home-page .hero { min-height: 150svh; }
  .home-page .daily-rhythm { padding-top: clamp(56px, 6vw, 88px); }
}

@media (max-width: 390px) {
  .roles-intro__heading h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
}

/* Restore the approved hero composition and keep later colour out of it. */
.home-page { background: radial-gradient(circle at 50% 42%, rgba(255,235,191,.52), transparent 28rem), linear-gradient(180deg, #f8f0df 0%, #f8f0df 65%, #f6eddb 100%); }
.home-page main { background: transparent; }
.home-page .hero {
  min-height: 200svh;
  padding: clamp(180px, 25vh, 280px) 20px clamp(82px, 9vh, 118px);
  background: linear-gradient(180deg, rgba(248,240,223,0) 0%, rgba(248,240,223,0) 50%, rgba(214,234,240,.58) 100%);
}
.home-page .hero::before,
.home-page .hero::after { position: absolute; z-index: 0; left: 50%; border-radius: 50%; content: ''; transform: translateX(-50%); pointer-events: none; }
.home-page .hero::before {
  top: clamp(118px, 16vh, 180px);
  width: min(760px, 78vw);
  aspect-ratio: 1;
  border: 1px solid rgba(237,101,71,.1);
  box-shadow: 0 0 0 48px rgba(244,132,69,.05), 0 0 0 112px rgba(244,132,69,.03), 0 0 0 190px rgba(244,132,69,.018);
}
.home-page .hero::after { top: clamp(170px, 22vh, 235px); width: min(620px, 68vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(244,132,69,.13), rgba(244,132,69,.045) 34%, transparent 70%); }
.home-page .hero-copy { margin: 0 auto; }
.home-page .hero-continuation { margin-top: clamp(210px, 28vh, 330px); }

.home-page .daily-rhythm { margin-top: -1px; padding-top: clamp(72px, 8vw, 108px); background: linear-gradient(180deg, #e6ece2 0%, #dbece7 32%, #cfe8d6 100%); }
.home-page .family-fit { margin-top: -1px; background: linear-gradient(180deg, #cfe8d6 0%, #d0e8d6 52%, #cfe8d6 100%); }
.home-page .home-cta { margin-top: -1px; background: linear-gradient(180deg, #fae9d8 0%, #f8f0df 100%); }

.home-page .home-cta .band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; max-width: 1120px; padding: clamp(34px, 5vw, 58px) 0; border-top: 1px solid rgba(13,50,70,.2); border-bottom: 1px solid rgba(13,50,70,.2); }
.home-page .home-cta .band h2 { max-width: 12ch; font-size: clamp(2.45rem, 5vw, 4.8rem); }
.home-page .home-cta .band .button { margin: 0 4px 5px 0; }

/* Each inner page gets its own colour route. Sections stay transparent so the
   background reads as one continuous page rather than stacked bands. */
.page:not(.home-page) main { background: transparent; }
.learning-page { background: linear-gradient(180deg, #f8f0df 0%, #dcecf0 25%, #e3f0e7 52%, #f7eadb 78%, #f8f0df 100%); }
.pricing-page { background: linear-gradient(180deg, #f8f0df 0%, #fae8d7 30%, #f7efd9 58%, #dfeeed 82%, #f8f0df 100%); }
.enrol-page { background: linear-gradient(180deg, #f8f0df 0%, #e4f0e7 30%, #dcecf0 58%, #f8eadb 84%, #f8f0df 100%); }
.learning-page main > .section,
.pricing-page main > .section,
.enrol-page main > .section { background: transparent; }
.site-nav a[href$='index.html']::after,
.site-nav a[href$='enrol.html']::after { background: var(--orange); }
.site-nav a[href$='learning.html']::after { background: var(--learning); }
.site-nav a[href$='pricing.html']::after { background: var(--pricing); }
.page:not(.home-page) .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page:not(.home-page) .page-hero::after { position: absolute; z-index: -1; content: ''; pointer-events: none; }
.learning-page .page-hero::after { right: 2%; bottom: 6%; width: min(390px, 36vw); aspect-ratio: 1; border: 1px solid rgba(24,138,157,.2); border-radius: 50%; box-shadow: 0 0 0 38px rgba(24,138,157,.055), 0 0 0 82px rgba(24,138,157,.028); }
.pricing-page .page-hero::after { right: 4%; bottom: 14%; width: min(390px, 34vw); height: 220px; background: repeating-linear-gradient(180deg, transparent 0 42px, rgba(237,101,71,.15) 42px 43px); transform: rotate(-5deg); }
.enrol-page .page-hero::after { right: 5%; bottom: 8%; width: min(360px, 32vw); aspect-ratio: 1; border: 1px solid rgba(40,103,70,.18); clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); box-shadow: inset 0 0 0 42px rgba(88,182,176,.045); }

@media (max-width: 760px) {
  .home-page .hero { min-height: auto; padding: clamp(180px, 29vh, 250px) 16px 76px; }
  .home-page .hero::before { top: 150px; width: 108vw; }
  .home-page .hero::after { top: 205px; width: 88vw; }
  .home-page .hero-continuation { margin-top: clamp(150px, 21vh, 205px); }
  .home-page .home-cta .band { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .home-page .home-cta .band .button { justify-self: start; }
  .page:not(.home-page) .page-hero::after { right: -28%; opacity: .65; width: 84vw; }
}

/* Exact hero restoration. The original page-level rings remain the artwork. */
.home-page .hero {
  min-height: 200svh;
  padding: clamp(180px, 25vh, 280px) 20px clamp(130px, 16vh, 190px);
  background: linear-gradient(180deg, rgba(248,240,223,0) 0%, rgba(248,240,223,0) 52%, rgba(229,243,241,.22) 74%, #dbece7 100%);
}
.home-page .hero::before,
.home-page .hero::after { content: none; }
.home-page .hero-continuation { margin-top: clamp(230px, 32vh, 370px); }

@media (max-width: 640px) {
  .home-page .home-hero,
  .home-page .hero { min-height: auto; padding: clamp(180px, 29vh, 250px) 16px 56px; }
  .home-page .hero-continuation { margin-top: clamp(160px, 23vh, 220px); }
}

/* Seamless handoffs need shared space, not adjacent painted rectangles. */
.home-page main > .section.daily-rhythm::before,
.home-page main > .section.family-fit::before,
.home-page main > .section.home-cta::before {
  background: none !important;
}

.home-page main > .section.daily-rhythm {
  z-index: 1;
  margin-top: -1px;
  padding-top: clamp(72px, 8vw, 108px);
  background: linear-gradient(180deg, #dbece7 0%, #cfe8d6 100%);
}
.home-page main > .section.family-fit {
  z-index: 2;
  margin-top: -180px;
  padding-top: calc(180px + clamp(72px, 10vw, 130px));
  background: linear-gradient(180deg, rgba(207,232,214,0) 0, #cfe8d6 180px, #d8ebdc 52%, #f4d6ae 82%, #f3b477 100%);
}
.home-page main > .section.home-cta {
  z-index: 3;
  margin-top: -140px;
  padding-top: calc(140px + clamp(72px, 10vw, 130px));
  background: linear-gradient(180deg, rgba(243,180,119,0) 0, #f3b477 140px, #f4ad6c 58%, #f7c98a 100%);
}

@media (max-width: 760px) {
  .home-page main > .section.daily-rhythm { margin-top: -1px; padding-top: 64px; }
  .home-page main > .section.family-fit { margin-top: -110px; padding-top: calc(110px + 76px); }
  .home-page main > .section.home-cta { margin-top: -90px; padding-top: calc(90px + 76px); }

  .home-page .day-path {
    gap: 44px;
    padding-block: 22px;
  }
  .home-page .day-path__line { display: block; }
  .home-page .day-path::before { content: none; }
  .home-page .day-path__item {
    min-height: 118px;
    padding-block: 0;
  }
  .home-page .day-path__item p { width: 68%; }
  .home-page .day-path__item--right p {
    margin-right: 0;
    margin-left: auto;
  }
  .home-page .day-path__item--left p {
    margin-right: auto;
    margin-left: 0;
  }
  .home-page .day-path__item--right .day-path__marker { left: 18%; }
  .home-page .day-path__item--left .day-path__marker { left: 82%; }
  .home-page .day-path__curve { stroke-width: 10; }
  .home-page .day-path__curve--one { d: path('M 18 18 C 18 39, 82 28, 82 50'); }
  .home-page .day-path__curve--two { d: path('M 82 50 C 82 72, 18 61, 18 82'); }
}

/* Semantic colour system: green is learning, blue is pricing and orange is enrolment. */
.headline-learning {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(108deg, var(--learning-deep) 0%, var(--learning) 54%, var(--learning-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.button.button--learning,
.button.button--pricing,
.button.button--enrol,
.button.button--neutral,
.waitlist-button.button--enrol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--paper);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  white-space: nowrap;
}

.button.button--learning,
.button.button--learning:hover {
  background: linear-gradient(112deg, var(--learning-deep) 0%, var(--learning) 56%, var(--learning-soft) 100%);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.button--pricing,
.button.button--pricing:hover {
  background: linear-gradient(112deg, var(--pricing-deep) 0%, var(--pricing) 52%, var(--pricing-soft) 100%);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.button--enrol,
.button.button--enrol:hover,
.waitlist-button.button--enrol {
  background: linear-gradient(112deg, var(--coral) 0%, var(--enrol) 56%, var(--enrol-soft) 100%);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.button--neutral {
  color: var(--ink);
  background: rgba(255,250,240,.72);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.button--learning:hover,
.button.button--pricing:hover,
.button.button--enrol:hover,
.button.button--neutral:hover,
.waitlist-button.button--enrol:hover {
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button.button--learning:active,
.button.button--pricing:active,
.button.button--enrol:active,
.button.button--neutral:active,
.waitlist-button.button--enrol:active {
  box-shadow: none;
  transform: translate(4px, 4px);
}

.button__arrow {
  display: inline-block;
  margin-left: .65rem;
  font-size: 1.05rem;
  line-height: .8;
  transition: transform 160ms ease;
}
.button:hover .button__arrow { transform: translateX(3px); }
.button--learning:focus-visible { outline-color: var(--learning); }
.button--pricing:focus-visible { outline-color: var(--pricing); }
.button--enrol:focus-visible,
.waitlist-button.button--enrol:focus-visible { outline-color: var(--enrol); }

/* Home page route: learn and check the fit in green, then price in blue. */
.home-page .headline-blue { background-image: linear-gradient(108deg, var(--blue-deep) 0%, var(--blue) 50%, var(--blue-soft) 100%); }
.home-page .headline-orange { background-image: linear-gradient(108deg, var(--coral) 0%, var(--orange) 54%, #ffae60 100%); }
.home-page .roles-intro__teacher-line { background-image: linear-gradient(108deg, var(--blue-deep), var(--blue) 54%, var(--blue-soft)); }
.home-page .roles-intro__parent-line { background-image: linear-gradient(108deg, var(--coral), var(--orange) 54%, #ffae60); }
.home-page .role-copy__teacher { color: var(--blue-deep); }
.home-page .role-copy__parent { color: var(--coral); }
.home-page .role-copy__learner { color: #427352; }
.home-page main > .section.daily-rhythm {
  background: linear-gradient(180deg, #dbece7 0%, var(--home-flow-green) 100%);
}
.home-page .daily-rhythm .section-heading h2 {
  background-image: linear-gradient(108deg, var(--learning-deep) 0%, var(--learning) 54%, var(--learning-soft) 100%);
}
.home-page .daily-rhythm .section-action {
  display: flex;
  justify-content: center;
  width: min(940px, 100%);
  margin: clamp(44px, 6vw, 74px) auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(40,103,70,.22);
}

.home-page main > .section.family-fit {
  background: linear-gradient(
    180deg,
    rgba(207,232,214,0) 0,
    var(--home-flow-green) 180px,
    #c5e4cf 58%,
    var(--home-flow-green) 100%
  );
}
.home-page .family-fit .section-heading h2 {
  background-image: linear-gradient(108deg, #286746 0%, #4c9a6d 50%, var(--orange) 100%);
}
.home-page main > .section.home-cta {
  background: linear-gradient(
    180deg,
    var(--home-flow-green) 0%,
    var(--home-flow-green) 12%,
    #c4e3d9 34%,
    #b9dfe0 60%,
    #b9dce3 80%,
    #d0e8e8 100%
  );
}
.home-page .home-cta__inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  min-height: clamp(600px, 74svh, 820px);
  padding: clamp(92px, 12vw, 160px) 0;
  border-top: 1px solid rgba(13,50,70,.23);
  border-bottom: 1px solid rgba(13,50,70,.23);
  text-align: center;
}
.home-page .home-cta__copy {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.home-page .home-cta__copy h2 {
  max-width: 14ch;
  margin: 0;
  color: transparent;
  background: linear-gradient(108deg, var(--ink) 0%, var(--pricing-deep) 56%, var(--pricing) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3.05rem, 6.4vw, 6rem);
  letter-spacing: -.055em;
  line-height: .95;
  text-align: center;
  text-wrap: balance;
}
.home-page .home-cta__copy > p:last-child {
  max-width: 560px;
  margin: clamp(26px, 3.5vw, 36px) auto 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.65;
  text-align: center;
}
.home-page .home-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}
.home-page .home-cta__actions .button { margin: 0; }
.home-page .home-cta__crest {
  width: clamp(280px, 32vw, 420px);
  margin-top: clamp(40px, 5vw, 64px);
}
.home-page .home-cta__crest img {
  display: block;
  width: 100%;
  height: auto;
}

/* Leave the learning CTA clear of the family-fit section's overlapping colour handoff. */
.home-page main > .section.daily-rhythm {
  padding-bottom: clamp(148px, 16vw, 214px);
}

/* Page routes use the same meaning outside the home page. */
.learning-page {
  background:
    radial-gradient(circle at 86% 16%, rgba(138,205,166,.25), transparent 27rem),
    linear-gradient(180deg, #f8f0df 0%, #eef5e9 11%, #dceee0 30%, #cfe8d6 53%, #e3f1e5 77%, #f8f0df 100%);
}
.pricing-page {
  background:
    radial-gradient(circle at 14% 24%, rgba(97,199,195,.2), transparent 28rem),
    linear-gradient(180deg, #f8f0df 0%, #e6f2f1 11%, #d3e9eb 29%, #c1e0e5 54%, #e3f0ec 79%, #f8f0df 100%);
}
.enrol-page,
.register-page {
  background:
    radial-gradient(circle at 84% 17%, rgba(244,132,69,.2), transparent 27rem),
    linear-gradient(180deg, #f8f0df 0%, #fbe8d1 12%, #f8d1a3 31%, #f4b477 53%, #f8dfbd 79%, #f8f0df 100%);
}
.learning-page main > .section,
.pricing-page main > .section,
.enrol-page main > .section { background: transparent; }

.learning-page::before {
  border-color: rgba(40,103,70,.1);
  box-shadow: 0 0 0 44px rgba(85,168,117,.055), 0 0 0 102px rgba(85,168,117,.032), 0 0 0 174px rgba(85,168,117,.018);
}
.learning-page::after { background: radial-gradient(circle, rgba(85,168,117,.14), rgba(85,168,117,.045) 27%, transparent 67%); }
.pricing-page::before {
  border-color: rgba(14,102,133,.1);
  box-shadow: 0 0 0 44px rgba(97,199,195,.055), 0 0 0 102px rgba(97,199,195,.032), 0 0 0 174px rgba(97,199,195,.018);
}
.pricing-page::after { background: radial-gradient(circle, rgba(97,199,195,.15), rgba(97,199,195,.045) 27%, transparent 67%); }
.enrol-page::before,
.register-page::before {
  border-color: rgba(237,101,71,.1);
  box-shadow: 0 0 0 44px rgba(244,132,69,.055), 0 0 0 102px rgba(244,132,69,.032), 0 0 0 174px rgba(244,132,69,.018);
}
.enrol-page::after,
.register-page::after { background: radial-gradient(circle, rgba(244,132,69,.15), rgba(244,132,69,.045) 27%, transparent 67%); }

.learning-page .section-heading h2,
.learning-page .page-hero h1 {
  background-image: linear-gradient(108deg, var(--learning-deep) 0%, var(--learning) 54%, var(--learning-soft) 100%);
}
.pricing-page .section-heading h2,
.pricing-page .page-hero h1 {
  background-image: linear-gradient(108deg, var(--ink) 0%, var(--pricing-deep) 54%, var(--pricing-soft) 100%);
}
.enrol-page .section-heading h2,
.enrol-page .page-hero h1,
.register-page .register-intro h1 {
  background-image: linear-gradient(108deg, var(--enrol-deep) 0%, var(--coral) 54%, var(--enrol-soft) 100%);
}
.learning-page .number,
.learning-page .list li::before { color: var(--paper); }
.learning-page .number { color: var(--learning-deep); }
.learning-page .list li::before { background: var(--learning); }
.learning-page .learning-contrast__item,
.learning-page .learning-contrast__item--home { border-color: var(--learning); }
.learning-page .step { border-top-color: rgba(40,103,70,.5); }
.learning-page .learning-needs dt { color: var(--learning-deep); }
.pricing-page .number { color: var(--pricing-deep); }
.pricing-page .pricing-facts dt,
.pricing-page .pricing-material-list dt,
.pricing-page .price-table th,
.pricing-page .price-table td:nth-child(2) { color: var(--pricing-deep); }
.pricing-page .list li::before { background: var(--pricing); }
.enrol-page .number { color: var(--enrol-deep); }
.enrol-page .list li::before { background: var(--enrol); }
.enrol-page .enrol-facts dt { color: var(--enrol-deep); }
.enrol-page .step { border-top-color: rgba(237,101,71,.5); }
.learning-page .faq summary::after { color: var(--learning); }
.pricing-page .faq summary::after { color: var(--pricing); }
.enrol-page .faq summary::after { color: var(--enrol); }
.enrol-page .enrol-cta .band h2 {
  background-image: linear-gradient(108deg, var(--enrol-deep), var(--coral) 58%, var(--enrol-soft));
}
.enrol-page .enrol-cta .band .button.button--enrol { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.register-page .register-guide h2,
.register-page .register-card h2 { color: var(--enrol-deep); }
.register-page .register-guide .list li::before { background: var(--enrol); }
.register-page .register-card .button.button--enrol { color: var(--paper); }

.learning-page .page-hero::after {
  border-color: rgba(40,103,70,.2);
  box-shadow: 0 0 0 38px rgba(85,168,117,.055), 0 0 0 82px rgba(85,168,117,.028);
}
.pricing-page .page-hero::after {
  background: repeating-linear-gradient(180deg, transparent 0 42px, rgba(24,138,157,.16) 42px 43px);
}
.enrol-page .page-hero::after {
  border-color: rgba(237,101,71,.2);
  box-shadow: inset 0 0 0 42px rgba(244,132,69,.055);
}

@media (max-width: 760px) {
  .home-page .daily-rhythm .section-action {
    justify-content: flex-start;
    margin-top: 44px;
    padding-top: 22px;
  }
  .home-page main > .section.family-fit {
    background: linear-gradient(
      180deg,
      rgba(207,232,214,0) 0,
      var(--home-flow-green) 110px,
      #c5e4cf 58%,
      var(--home-flow-green) 100%
    );
  }
  .home-page main > .section.home-cta {
    background: linear-gradient(
      180deg,
      var(--home-flow-green) 0%,
      var(--home-flow-green) 12%,
      #c4e3d9 35%,
      #b9dfe0 62%,
      #d0e8e8 100%
    );
  }
  .home-page .home-cta__inner {
    min-height: 620px;
    padding: 92px 0 110px;
  }
  .home-page .home-cta__copy h2 { max-width: 12ch; font-size: clamp(2.85rem, 13vw, 4.5rem); }
  .home-page .home-cta__actions {
    margin-top: 34px;
  }
  .home-page .home-cta__crest {
    width: min(280px, 78vw);
    margin-top: 40px;
  }
}

/* Keep section boundaries quiet and let the footer close the page in one line. */
.section--paper {
  border-top: 0;
  border-bottom: 0;
}
.home-page .daily-rhythm .section-action {
  border-top: 0;
  padding-top: 0;
}
.home-page .home-cta__inner,
.home-page .home-cta .band {
  border-top: 0;
  border-bottom: 0;
}
.site-footer {
  padding: 14px 0 16px;
  color: rgba(255,250,240,.72);
  background: linear-gradient(180deg, var(--ink), #082738);
}
.home-page .site-footer,
.page:not(.home-page) .site-footer {
  padding: 14px 0 16px;
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .footer-brand {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.home-page .site-footer p.footer-brand,
.page:not(.home-page) .site-footer p.footer-brand {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.site-footer .footer-bottom {
  margin: 0;
  padding: 0;
  border-top: 0;
  color: rgba(255,250,240,.56);
  font-size: .7rem;
  line-height: 1;
  text-align: right;
}
.site-footer .footer-links,
.site-footer .footer-grid > div > p:not(.footer-brand) {
  display: none;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 13px 0 15px;
  }
  .home-page .site-footer,
  .page:not(.home-page) .site-footer {
    padding: 13px 0 15px;
  }
  .footer-bar {
    gap: 14px;
  }
  .site-footer .footer-brand {
    font-size: 1.2rem;
  }
  .site-footer .footer-bottom {
    font-size: .66rem;
  }
}

/* Learning page */
.page.learning-page::before,
.page.learning-page::after,
.learning-page .namibia-watermark { display: none; }

.page.learning-page .site-header {
  position: fixed;
  top: 0;
  padding-top: 16px;
}

.learning-page .learning-main {
  background: #f8f0df;
}

.page.learning-page .learning-v2-hero {
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0 20px clamp(58px, 5vw, 76px);
  background:
    radial-gradient(circle at 50% 54%, rgba(138,205,166,.17), transparent 31rem),
    #f8f0df;
}

.page.learning-page .learning-v2-hero::after { display: none; }

.learning-house {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1120px, 100%);
  min-height: clamp(840px, 94svh, 900px);
  margin-inline: auto;
  padding: clamp(230px, 18vw, 250px) clamp(112px, 12vw, 160px) clamp(150px, 12vw, 165px);
}

.learning-house__outlines {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.learning-house__outline {
  fill: rgba(216,235,220,.18);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.learning-house__outline--outer {
  stroke: rgba(40,103,70,.11);
  stroke-width: 2;
}

.learning-house__outline--middle {
  stroke: rgba(85,168,117,.16);
  stroke-width: 3;
}

.learning-house__outline--inner {
  stroke: rgba(40,103,70,.28);
  stroke-width: 3;
}

.learning-house__copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(780px, 100%);
  text-align: center;
}

.page.learning-page .learning-house__copy h1 {
  max-width: 11ch;
  color: transparent;
  background: linear-gradient(108deg, var(--learning-deep), var(--learning) 64%, #72bc8f);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3.2rem, 4.8vw, 4.8rem);
  line-height: 1.01;
}

.page.learning-page .learning-house__copy p {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.3vw, 1.16rem);
  line-height: 1.68;
}

.page.learning-page .learning-house__copy .button { margin-top: 31px; }

.page.learning-page .learning-plan {
  padding-top: clamp(92px, 8vw, 120px);
  padding-bottom: clamp(118px, 13vw, 182px);
  background: linear-gradient(180deg, #f8f0df 0%, #e5f1e6 28%, #dcecdf 100%);
}

.learning-plan__inner { max-width: 980px; }

.learning-section-intro { max-width: 760px; }

.learning-section-intro h2,
.learning-return__inner h2,
.learning-before__inner h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(108deg, var(--learning-deep), var(--learning) 64%, #72bc8f);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.75rem, 4.7vw, 4.8rem);
  letter-spacing: -.05em;
  line-height: 1.04;
  text-wrap: balance;
}

.learning-section-intro h2 { max-width: 12ch; }

.learning-section-intro p,
.learning-return__inner p,
.learning-before__inner p {
  margin: 25px 0 0;
  color: var(--ink);
  font-size: clamp(1.03rem, 1.3vw, 1.14rem);
  line-height: 1.7;
}

.learning-section-intro p { max-width: 660px; }

.learning-plan__steps {
  margin: clamp(70px, 8vw, 104px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(13,50,70,.22);
  list-style: none;
}

.learning-plan__steps li {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: baseline;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid rgba(13,50,70,.22);
}

.learning-plan__steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  letter-spacing: -.035em;
  line-height: 1.22;
}

.learning-plan__steps p {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.64;
}

.page.learning-page .learning-return {
  padding-top: clamp(108px, 11vw, 156px);
  padding-bottom: clamp(108px, 11vw, 156px);
  color: var(--ink);
  background: linear-gradient(180deg, #dcecdf 0%, #e9f1e2 56%, #f5eddb 100%);
}

.learning-return__inner {
  width: min(860px, calc(100% - 40px));
  text-align: center;
}

.learning-return__inner h2 {
  max-width: 11ch;
  margin-inline: auto;
}

.learning-return__inner p {
  max-width: 720px;
  margin-inline: auto;
}

.page.learning-page .learning-support {
  padding-top: clamp(112px, 12vw, 170px);
  padding-bottom: clamp(118px, 13vw, 182px);
  background: linear-gradient(180deg, #f5eddb 0%, #eaf1e6 42%, #e4efe6 100%);
}

.learning-section-intro--support {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.learning-section-intro--support h2,
.learning-section-intro--support p {
  margin-right: auto;
  margin-left: auto;
}

.learning-support__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 8vw, 110px);
  width: min(980px, 100%);
  margin: clamp(68px, 8vw, 96px) auto 0;
  padding: 0;
  list-style: none;
}

.learning-support__list li {
  padding: 24px 0;
  border-top: 1px solid rgba(13,50,70,.22);
  color: var(--ink);
  font-size: clamp(1.02rem, 1.3vw, 1.13rem);
  font-weight: 600;
  line-height: 1.52;
}

.learning-support__list li:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(13,50,70,.22);
}

.page.learning-page .learning-before {
  min-height: 0;
  overflow: visible;
  padding-top: clamp(120px, 13vw, 180px);
  padding-bottom: clamp(124px, 13vw, 184px);
  background: linear-gradient(180deg, #e4efe6 0%, #f8f0df 88%);
}

.learning-before::after { display: none; }

.learning-before__inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(850px, calc(100% - 40px));
  text-align: center;
}

.learning-before__inner h2 {
  max-width: none;
  padding: 0 .02em .13em;
  line-height: 1.08;
}

.learning-before__inner p {
  max-width: 720px;
  margin-inline: auto;
}

.learning-before__inner .button { margin-top: 31px; }

@media (max-width: 760px) {
  .page.learning-page .site-header {
    position: fixed;
    top: 0;
    padding-top: 9px;
  }

  .page.learning-page .learning-v2-hero {
    padding: 90px 0 70px;
  }

  .learning-house {
    width: calc(100% + 40px);
    max-width: none;
    min-height: 0;
    margin-right: -20px;
    margin-left: -20px;
    padding: 135px 40px 70px;
  }

  .learning-house__outlines {
    inset: 0 -60px;
    width: calc(100% + 120px);
    height: 100%;
  }

  .page.learning-page .learning-house__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 10.5vw, 3rem);
  }

  .page.learning-page .learning-house__copy p {
    margin-top: 22px;
    font-size: .98rem;
    line-height: 1.62;
    text-wrap: pretty;
  }

  .page.learning-page .learning-plan,
  .page.learning-page .learning-support {
    padding-top: 92px;
    padding-bottom: 104px;
  }

  .learning-section-intro h2,
  .learning-return__inner h2,
  .learning-before__inner h2 {
    font-size: clamp(2.45rem, 10.5vw, 3.35rem);
  }

  .learning-section-intro p,
  .learning-return__inner p,
  .learning-before__inner p {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .learning-plan__steps { margin-top: 60px; }

  .learning-plan__steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 27px 0 29px;
  }

  .learning-plan__steps h3 { font-size: 1.32rem; }
  .learning-plan__steps p { font-size: 1rem; line-height: 1.6; }

  .page.learning-page .learning-return {
    padding-top: 94px;
    padding-bottom: 100px;
  }

  .learning-return__inner { width: min(100% - 32px, 620px); text-align: left; }
  .learning-return__inner h2,
  .learning-return__inner p { margin-left: 0; }

  .learning-section-intro--support { text-align: left; }
  .learning-section-intro--support h2,
  .learning-section-intro--support p { margin-left: 0; }

  .learning-support__list {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .learning-support__list li { padding: 21px 0; font-size: 1rem; }
  .learning-support__list li:nth-last-child(2) { border-bottom: 0; }
  .learning-support__list li:last-child { border-bottom: 1px solid rgba(13,50,70,.22); }

  .page.learning-page .learning-before {
    padding-top: 98px;
    padding-bottom: 110px;
  }

  .learning-before__inner { width: min(100% - 32px, 620px); }
  .learning-before__inner h2 { padding-bottom: .16em; }
}

@media (max-width: 390px) {
  .learning-house {
    min-height: 0;
    padding: 132px 38px 64px;
  }

  .page.learning-page .learning-house__copy h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.6rem);
  }
}

@media (max-width: 760px) {
  .page:not(.home-page) .site-header.is-menu-open { z-index: 40; }
}

/* Pricing and enrolment follow the open, typographic rhythm of Learning. */
.pricing-page,
.enrol-page { background: #f8f0df; }
.pricing-page::before,
.pricing-page::after,
.enrol-page::before,
.enrol-page::after { content: none; }
.pricing-page .namibia-watermark,
.enrol-page .namibia-watermark { display: none; }
.pricing-page main > .section,
.enrol-page main > .section { margin-top: -1px; }
.pricing-narrow,
.enrol-narrow { max-width: 980px; }

.pricing-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(190px, 20vw, 280px) 0 clamp(110px, 11vw, 165px);
  background: radial-gradient(circle at 78% 48%, rgba(97,199,195,.18), transparent 31rem), #f8f0df;
}
.pricing-intro::before {
  position: absolute;
  right: -14vw;
  bottom: -29vw;
  width: min(850px, 66vw);
  aspect-ratio: 1;
  border: 1px solid rgba(14,102,133,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(24,138,157,.035), 0 0 0 118px rgba(24,138,157,.025);
  content: '';
  pointer-events: none;
}
.pricing-intro__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(55px, 8vw, 130px); align-items: center; }
.pricing-intro__copy h1,
.pricing-section-intro h2,
.pricing-next h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(108deg, var(--ink), var(--pricing-deep) 57%, var(--pricing-soft));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3.7rem, 5.9vw, 6.2rem);
  letter-spacing: -.06em;
  line-height: 1.03;
  text-wrap: balance;
}
.pricing-intro__copy h1 { max-width: 12ch; }
.pricing-intro__copy p,
.pricing-section-intro p,
.pricing-next p {
  max-width: 620px;
  margin: 29px 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.17rem);
  line-height: 1.68;
}
.pricing-intro__copy .button { margin-top: 32px; }
.pricing-intro__figure { display: flex; flex-direction: column; align-items: flex-start; padding: 33px 0 35px; border-top: 1px solid rgba(13,50,70,.26); border-bottom: 1px solid rgba(13,50,70,.26); }
.pricing-intro__figure-label { color: var(--pricing-deep); font-size: .9rem; font-weight: 700; }
.pricing-intro__figure strong { margin: 20px 0 3px; color: var(--pricing-deep); font-family: var(--display); font-size: clamp(4.2rem, 6.8vw, 7rem); font-weight: 800; letter-spacing: -.085em; line-height: 1; white-space: nowrap; }
.pricing-intro__figure-period { font-size: 1.2rem; font-weight: 700; }
.pricing-intro__figure-total { margin-top: 31px; color: var(--ink-soft); font-size: .98rem; font-weight: 600; }

.pricing-page main > .pricing-fees { padding: clamp(105px, 12vw, 165px) 0; background: linear-gradient(180deg, #f8f0df, #dcecee); }
.pricing-page main > .pricing-materials-v2 { padding: clamp(110px, 12vw, 165px) 0; background: linear-gradient(180deg, #dcecee, #c9e3e7 52%, #d9eaeb); }
.pricing-page main > .pricing-at-home { padding: clamp(110px, 12vw, 165px) 0; background: linear-gradient(180deg, #d9eaeb, #e4f0ef); }
.pricing-page main > .pricing-next { padding: clamp(125px, 14vw, 190px) 0; background: linear-gradient(180deg, #e4f0ef, #f8f0df 90%); }
.pricing-section-intro { max-width: 720px; }
.pricing-section-intro h2,
.pricing-next h2 { font-size: clamp(3rem, 4.8vw, 5rem); }
.pricing-section-intro h2 { max-width: 13ch; }
.pricing-fee-list,
.pricing-book-list { margin: clamp(64px, 7vw, 92px) 0 0; border-top: 1px solid rgba(13,50,70,.24); }
.pricing-fee-list > div { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid rgba(13,50,70,.24); }
.pricing-fee-list dt { padding-top: 9px; font-size: 1.3rem; font-weight: 700; }
.pricing-fee-list dd { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pricing-fee-list strong { color: var(--pricing-deep); font-family: var(--display); font-size: clamp(2.8rem, 4vw, 4.3rem); letter-spacing: -.065em; line-height: 1.08; }
.pricing-fee-list small { font-family: var(--body); font-size: 1rem; letter-spacing: 0; }
.pricing-fee-list dd span,
.pricing-fees__note { max-width: 520px; font-size: 1.06rem; line-height: 1.65; }
.pricing-fees__note { margin: 26px 0 0; font-weight: 600; }
.pricing-book-list > div { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 22px 0; border-bottom: 1px solid rgba(13,50,70,.22); }
.pricing-book-list dt,
.pricing-book-list dd { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.pricing-book-list dt { font-weight: 600; }
.pricing-book-list dd { color: var(--pricing-deep); font-weight: 700; text-align: right; white-space: nowrap; }
.pricing-home-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 112px); margin-top: clamp(70px, 8vw, 105px); }
.pricing-home-columns h3 { margin: 0 0 26px; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.pricing-home-columns ul { margin: 0; padding: 0; list-style: none; }
.pricing-home-columns li { padding: 20px 0; border-top: 1px solid rgba(13,50,70,.22); font-size: 1.04rem; font-weight: 600; line-height: 1.57; }
.pricing-home-columns li:last-child { border-bottom: 1px solid rgba(13,50,70,.22); }
.pricing-next__inner { max-width: 850px; text-align: center; }
.pricing-next h2 { max-width: 13ch; margin-inline: auto; }
.pricing-next p { margin-inline: auto; }
.pricing-next__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 33px; }

.enrol-intro { position: relative; overflow: hidden; padding: clamp(205px, 22vw, 300px) 0 clamp(120px, 13vw, 185px); background: radial-gradient(circle at 50% 60%, rgba(244,132,69,.15), transparent 33rem), #f8f0df; }
.enrol-intro::before { position: absolute; top: 12%; left: 50%; width: min(720px, 78vw); aspect-ratio: 1; border: 1px solid rgba(244,132,69,.09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(244,132,69,.035), 0 0 0 105px rgba(244,132,69,.025); content: ''; transform: translateX(-50%); pointer-events: none; }
.enrol-intro__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.enrol-intro h1,
.enrol-section-intro h2,
.enrol-costs-v2 h2,
.enrol-next h2 { margin: 0; color: transparent; background: linear-gradient(108deg, var(--enrol-deep), var(--coral) 58%, var(--enrol-soft)); -webkit-background-clip: text; background-clip: text; font-size: clamp(3.8rem, 7vw, 7.5rem); letter-spacing: -.06em; line-height: 1.03; text-wrap: balance; }
.enrol-intro h1 { max-width: 10ch; }
.enrol-intro h1 span { display: block; }
.enrol-intro__inner > p,
.enrol-section-intro p,
.enrol-costs-v2 p,
.enrol-next p { max-width: 680px; margin: 30px 0 0; font-size: clamp(1.05rem, 1.32vw, 1.18rem); line-height: 1.68; }
.enrol-intro .button { margin-top: 35px; }
.enrol-intro__inner > .enrol-intro__note { max-width: 450px; margin-top: 20px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.enrol-page main > .enrol-readiness { padding: clamp(110px, 12vw, 165px) 0; background: linear-gradient(180deg, #f8f0df, #fae7d7 36%, #f9ddc2); }
.enrol-page main > .enrol-costs-v2 { overflow: hidden; padding: clamp(120px, 13vw, 180px) 0; background: linear-gradient(180deg, #f9ddc2, #f9d4b1 58%, #f9dfc2); }
.enrol-page main > .enrol-steps-v2 { padding: clamp(115px, 13vw, 175px) 0; background: linear-gradient(180deg, #f9dfc2, #f8e3c8 62%, #f8ead9); }
.enrol-page main > .enrol-next { padding: clamp(120px, 14vw, 190px) 0; background: linear-gradient(180deg, #f8ead9, #f8f0df 90%); }
.enrol-section-intro { max-width: 760px; }
.enrol-section-intro h2,
.enrol-costs-v2 h2,
.enrol-next h2 { font-size: clamp(3rem, 4.8vw, 5rem); }
.enrol-section-intro h2 { max-width: 13ch; }
.enrol-readiness__list { margin: clamp(68px, 8vw, 100px) 0 0; border-top: 1px solid rgba(13,50,70,.23); }
.enrol-readiness__list > div { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; padding: 29px 0; border-bottom: 1px solid rgba(13,50,70,.23); }
.enrol-readiness__list dt { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 700; }
.enrol-readiness__list dd { max-width: 570px; margin: 0; font-size: 1.07rem; line-height: 1.65; }
.enrol-costs-v2__inner { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: center; }
.enrol-costs-v2 h2 { max-width: 12ch; }
.enrol-costs-v2 p { max-width: 650px; }
.enrol-costs-v2 p + p { margin-top: 19px; }
.enrol-costs-v2 .button { margin-top: 34px; }
.enrol-costs-v2__mark { display: grid; place-items: center; width: min(100%, 430px); aspect-ratio: 1; border: 1px solid rgba(166,75,50,.23); border-radius: 50%; box-shadow: 0 0 0 35px rgba(244,132,69,.07), 0 0 0 75px rgba(244,132,69,.04); transform: rotate(-13deg); }
.enrol-costs-v2__mark span { color: rgba(166,75,50,.58); font-family: var(--display); font-size: clamp(4rem, 7vw, 8rem); font-weight: 800; letter-spacing: -.08em; }
.enrol-steps-v2__list { margin: clamp(65px, 7vw, 95px) 0 0; padding: 0; border-top: 1px solid rgba(13,50,70,.22); list-style: none; }
.enrol-steps-v2__list li { display: grid; grid-template-columns: 95px 1fr; gap: 32px; padding: 35px 0; border-bottom: 1px solid rgba(13,50,70,.22); }
.enrol-steps-v2__list li > span { color: var(--enrol-deep); font-family: var(--display); font-size: 2.25rem; font-weight: 800; line-height: 1; }
.enrol-steps-v2__list h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.enrol-steps-v2__list p { max-width: 620px; margin: 10px 0 0; font-size: 1.06rem; line-height: 1.65; }
.enrol-next__inner { display: flex; align-items: center; flex-direction: column; text-align: center; }
.enrol-next h2 { max-width: 13ch; }
.enrol-next p { margin-inline: auto; }
.enrol-next .button { margin-top: 32px; }

@media (max-width: 760px) {
  .pricing-intro { padding: 165px 0 95px; }
  .pricing-intro::before { right: -55%; bottom: -10%; width: 110vw; }
  .pricing-intro__inner { grid-template-columns: 1fr; gap: 75px; }
  .pricing-intro__copy h1,
  .enrol-intro h1 { font-size: clamp(3rem, 10.7vw, 4.4rem); }
  .pricing-intro__copy p,
  .pricing-section-intro p,
  .pricing-next p,
  .enrol-intro__inner > p,
  .enrol-section-intro p,
  .enrol-costs-v2 p,
  .enrol-next p { font-size: 1rem; line-height: 1.65; }
  .pricing-intro__figure { width: 100%; }
  .pricing-intro__figure strong { font-size: clamp(4.2rem, 15vw, 6rem); }
  .pricing-page main > .pricing-fees,
  .pricing-page main > .pricing-materials-v2,
  .pricing-page main > .pricing-at-home,
  .pricing-page main > .pricing-next,
  .enrol-page main > .enrol-readiness,
  .enrol-page main > .enrol-costs-v2,
  .enrol-page main > .enrol-steps-v2,
  .enrol-page main > .enrol-next { padding: 94px 0 104px; }
  .pricing-section-intro h2,
  .pricing-next h2,
  .enrol-section-intro h2,
  .enrol-costs-v2 h2,
  .enrol-next h2 { font-size: clamp(2.65rem, 10vw, 3.5rem); }
  .pricing-fee-list,
  .pricing-book-list,
  .enrol-readiness__list,
  .enrol-steps-v2__list { margin-top: 58px; }
  .pricing-fee-list > div,
  .enrol-readiness__list > div { grid-template-columns: 1fr; gap: 14px; padding: 27px 0; }
  .pricing-fee-list dt { padding: 0; }
  .pricing-fee-list strong { font-size: 3.3rem; }
  .pricing-fee-list dd span,
  .pricing-fees__note,
  .enrol-readiness__list dd { font-size: 1rem; }
  .pricing-book-list > div { gap: 18px; padding: 19px 0; }
  .pricing-book-list dt,
  .pricing-book-list dd { font-size: .98rem; }
  .pricing-home-columns { grid-template-columns: 1fr; gap: 50px; margin-top: 63px; }
  .pricing-home-columns li { font-size: 1rem; }
  .pricing-next__inner,
  .enrol-next__inner { text-align: left; align-items: flex-start; }
  .pricing-next h2,
  .pricing-next p,
  .enrol-next p { margin-left: 0; }
  .pricing-next__actions { justify-content: flex-start; }
  .enrol-intro { padding: 174px 0 110px; }
  .enrol-intro::before { top: 16%; width: 110vw; }
  .enrol-intro__inner { align-items: flex-start; text-align: left; }
  .enrol-intro h1 span { display: inline; }
  .enrol-intro__inner > .enrol-intro__note { font-size: .86rem; }
  .enrol-costs-v2__inner { grid-template-columns: 1fr; gap: 64px; }
  .enrol-costs-v2__mark { width: min(250px, 65%); margin: 0 auto 20px; }
  .enrol-costs-v2__mark span { font-size: 4.5rem; }
  .enrol-steps-v2__list li { grid-template-columns: 58px 1fr; gap: 15px; padding: 28px 0; }
  .enrol-steps-v2__list li > span { font-size: 1.8rem; }
  .enrol-steps-v2__list p { font-size: 1rem; }
}

@media (max-width: 390px) {
  .pricing-book-list > div { grid-template-columns: 1fr; gap: 2px; }
  .pricing-book-list dd { text-align: left; }
  .pricing-intro__figure strong { font-size: 4rem; }
}

/* Pricing and enrolment heroes start close to the header, then carry a tighter rhythm on phones. */
.pricing-intro { padding: clamp(86px, 10vw, 140px) 0 82px; }
.enrol-intro { padding: clamp(86px, 10vw, 145px) 0 88px; }
.pricing-intro__copy { text-align: center; }
.pricing-intro__copy h1,
.pricing-intro__copy p { margin-right: auto; margin-left: auto; }
.pricing-intro__copy .button { margin-top: 27px; }
.pricing-intro__figure { align-items: center; text-align: center; }
.pricing-section-intro { margin-right: auto; margin-left: auto; text-align: center; }
.pricing-section-intro h2 { margin-right: auto; margin-left: auto; }

@media (max-width: 760px) {
  .pricing-intro { padding: 54px 0 48px; }
  .pricing-intro__inner { gap: 40px; }
  .pricing-intro__copy h1 { max-width: 12ch; }
  .pricing-intro__copy p { max-width: 36ch; margin-top: 19px; }
  .pricing-intro__copy .button { margin-top: 23px; }
  .pricing-intro__figure { padding: 23px 0 25px; }
  .pricing-intro__figure strong { margin-top: 12px; }
  .pricing-intro__figure-total { margin-top: 16px; }
  .pricing-page main > .pricing-fees,
  .pricing-page main > .pricing-materials-v2,
  .pricing-page main > .pricing-at-home,
  .pricing-page main > .pricing-next,
  .enrol-page main > .enrol-readiness,
  .enrol-page main > .enrol-costs-v2,
  .enrol-page main > .enrol-steps-v2,
  .enrol-page main > .enrol-next { padding: 66px 0 74px; }
  .pricing-section-intro h2,
  .pricing-next h2,
  .enrol-section-intro h2,
  .enrol-costs-v2 h2,
  .enrol-next h2 { font-size: clamp(2.45rem, 9.5vw, 3.25rem); }
  .pricing-section-intro p { margin-top: 18px; }
  .pricing-fee-list,
  .pricing-book-list { margin-top: 38px; }
  .pricing-fee-list > div { padding: 22px 0; }
  .pricing-fee-list strong { font-size: 3rem; }
  .pricing-fees__note { margin-top: 20px; }
  .pricing-book-list > div { padding: 16px 0; }
  .pricing-home-columns { margin-top: 42px; }
  .pricing-home-columns h3 { margin-bottom: 18px; }
  .pricing-home-columns li { padding: 16px 0; }
  .pricing-next__inner,
  .enrol-next__inner { align-items: center; text-align: center; }
  .pricing-next h2,
  .pricing-next p,
  .enrol-next p { margin-right: auto; margin-left: auto; }
  .pricing-next__actions { justify-content: center; margin-top: 25px; }

  .enrol-intro { padding: 54px 0 62px; }
  .enrol-intro::before { top: 5%; width: 100vw; }
  .enrol-intro__inner { align-items: center; text-align: center; }
  .enrol-intro h1 { max-width: 12ch; }
  .enrol-intro h1 span { display: inline; }
  .enrol-intro__inner > p { max-width: 37ch; margin-top: 18px; }
  .enrol-intro .button { margin-top: 24px; }
  .enrol-readiness__list,
  .enrol-steps-v2__list { margin-top: 38px; }
  .enrol-readiness__list > div { gap: 8px; padding: 20px 0; }
  .enrol-costs-v2__inner { gap: 35px; }
  .enrol-costs-v2 .button { margin-top: 25px; }
  .enrol-costs-v2__mark { width: min(190px, 55%); margin-bottom: 8px; }
  .enrol-costs-v2__mark span { font-size: 3.5rem; }
  .enrol-steps-v2__list li { grid-template-columns: 45px 1fr; gap: 13px; padding: 22px 0; }
  .enrol-steps-v2__list li > span { font-size: 1.55rem; }
  .enrol-next .button { margin-top: 25px; }
}

@media (max-width: 390px) {
  .pricing-intro__copy h1,
  .enrol-intro h1 { font-size: clamp(2.5rem, 11vw, 3rem); }
  .pricing-intro__figure strong { font-size: 3.8rem; }
}

/* Leave room for Manrope descenders at every display size. */
.page h1,
.page h2 { line-height: 1.2 !important; padding-bottom: .08em; }

.register-page .register-consent label { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: .9rem; line-height: 1.5; }
.register-page .register-consent input[type="checkbox"] {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  min-height: 19px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--enrol-deep);
}
.register-page .register-card .success-message.is-error { color: #8a2e1c; background: rgba(237,101,71,.13); }
.register-page .register-submit:disabled { cursor: wait; opacity: .72; }

/* The waitlist page is a single form. */
.page.register-page {
  display: block;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  background:
    radial-gradient(circle at 84% 8%, rgba(244,132,69,.42), transparent 34rem),
    linear-gradient(180deg, #f7bd83 0%, #f8d5ad 46%, #f8e7d1 100%);
}
.register-page::before,
.register-page::after { display: none; }
.register-page .register-back {
  position: fixed;
  z-index: 3;
  top: 24px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(166,75,50,.24);
  border-radius: 9px;
  color: var(--ink);
  background: rgba(255,250,240,.82);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.register-page .register-back span { color: var(--enrol-deep); font-size: 1.1rem; line-height: 1; }
.register-page .register-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.register-page .register-main {
  display: block;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 32px;
}
.register-form-wrap {
  width: 100%;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 4vw, 42px);
  border: 1px solid rgba(166,75,50,.2);
  border-radius: 22px;
  background: rgba(255,250,240,.96);
  box-shadow: 0 20px 60px rgba(108,62,26,.12);
}
.register-heading { margin-bottom: 19px; }
.register-page .register-kicker {
  margin: 0 0 7px;
  color: var(--enrol-deep);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.register-page .register-heading h1 {
  margin: 0;
  padding: 0;
  color: var(--enrol-deep);
  background: none;
  font-size: clamp(2.25rem, 5.2vw, 3.65rem);
  line-height: 1.1 !important;
  letter-spacing: -.05em;
}
.register-page .register-heading p:last-child {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.register-form { border-top: 2px solid var(--enrol); }
.register-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid rgba(166,75,50,.22);
}
.register-section legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 14px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.section-number {
  display: inline-block;
  margin-right: 12px;
  color: var(--enrol-deep);
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  vertical-align: 3px;
}
.register-page .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.register-page .field { align-content: start; gap: 7px; min-width: 0; }
.register-page .field label { color: var(--ink); font-size: .84rem; font-weight: 700; }
.register-page .field input,
.register-page .field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #cbbfb3;
  border-radius: 10px;
  color: var(--ink);
  background: #fffdfa;
  box-shadow: none;
  font-size: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.register-page .field input::placeholder { color: #748791; opacity: 1; }
.register-page .field input:hover,
.register-page .field select:hover { border-color: var(--enrol-deep); }
.register-page .field input:focus,
.register-page .field select:focus {
  border-color: var(--blue-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(24,138,157,.15);
}
.register-page .field input[aria-invalid="true"],
.register-page .phone-input:has(input[aria-invalid="true"]) { border-color: #b34132; }
.register-page .field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179,65,50,.13); }
.register-page .field input[data-valid="true"] { border-color: #4d9470; }
.register-page .field-hint { color: var(--ink-soft); font-size: .77rem; line-height: 1.35; }
.register-page .field-error { display: none; color: #a63b2c; font-size: .78rem; font-weight: 700; line-height: 1.35; }
.register-page .field-error:not(:empty) { display: block; }
.register-page .optional { margin-left: 5px; color: var(--ink-soft); font-size: .75rem; font-weight: 500; }
.register-page .phone-input {
  display: flex;
  min-width: 0;
  min-height: 48px;
  overflow: hidden;
  border: 1.5px solid #cbbfb3;
  border-radius: 10px;
  background: #fffdfa;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.register-page .phone-input:focus-within { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(24,138,157,.15); }
.register-page .phone-input select,
.register-page .phone-input input,
.register-page .phone-input input[aria-invalid="true"] {
  min-height: 45px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.register-page .phone-input select {
  flex: 0 0 105px;
  width: 105px;
  padding: 0 9px 0 11px;
  border-right: 1px solid #d8dfdc;
  font-size: .95rem;
  cursor: pointer;
}
.register-page .phone-input input { min-width: 0; padding-left: 14px; }
.register-page .phone-input input:focus,
.register-page .phone-input select:focus { box-shadow: none; }
.register-page .grade-section { padding-bottom: 20px; }
.register-page .grade-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.register-page .grade-option { position: relative; display: block; cursor: pointer; }
.register-page .grade-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.register-page .grade-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 10px;
  border: 1.5px solid #cbbfb3;
  border-radius: 10px;
  background: #fffdfa;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.register-page .grade-option:hover span { border-color: var(--enrol-deep); transform: translateY(-2px); }
.register-page .grade-option input:checked + span { border-color: var(--enrol-deep); color: #74321e; background: #ffdfbc; box-shadow: inset 0 0 0 1px var(--enrol-deep); }
.register-page .grade-option input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.register-page .grade-section .field-error { margin-top: 9px; }
.register-page .register-footer { padding-top: 18px; }
.register-page .register-consent label { display: flex; align-items: flex-start; gap: 12px; max-width: 620px; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.register-page .register-consent input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--enrol-deep); }
.register-page .register-consent .field-error { margin: 5px 0 0 32px; }
.register-page .register-submit { gap: 22px; min-height: 51px; margin-top: 16px; padding-inline: 22px; color: var(--ink); background: linear-gradient(110deg, var(--coral), var(--orange) 68%, var(--enrol-soft)); }
.register-page .register-submit span:last-child { font-size: 1.25rem; font-weight: 400; }
.register-page .register-submit:disabled { cursor: wait; opacity: .72; }
.register-page .success-message { max-width: 620px; margin: 20px 0 0; padding: 14px 16px; font-size: .9rem; line-height: 1.5; }
.register-page .success-message.is-error { color: #8a2e1c; background: #fbe3d9; }

@media (max-width: 1320px) {
  .register-page .register-back { position: static; margin-bottom: 14px; }
}

@media (max-width: 640px) {
  .register-page .register-main { width: calc(100% - 24px); }
  .register-page .register-main { padding: 12px 0 36px; }
  .register-form-wrap { padding: 21px 18px 26px; border-radius: 18px; }
  .register-heading { margin-bottom: 22px; }
  .register-page .register-heading h1 { font-size: clamp(2.1rem, 9vw, 2.85rem); }
  .register-page .register-heading p:last-child { font-size: .94rem; }
  .register-section { padding: 0 0 21px; }
  .register-section legend { padding-top: 14px; margin-bottom: 8px; font-size: 1.22rem; }
  .register-page .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .register-page .grade-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .register-page .register-submit { width: 100%; justify-content: space-between; }
}

.register-page .register-form-wrap[hidden],
.register-page .waitlist-success-screen[hidden] { display: none; }
.register-page .register-main.is-success {
  display: flex;
  min-height: 100dvh;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.register-page .register-main.is-success > .register-back { display: none; }
.waitlist-success-screen {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: clamp(38px, 7vw, 76px) clamp(24px, 7vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(166,75,50,.2);
  border-radius: 24px;
  background: rgba(255,250,240,.97);
  box-shadow: 0 20px 60px rgba(108,62,26,.12);
  text-align: center;
}
.waitlist-success-screen::before {
  position: absolute;
  top: -210px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(166,75,50,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(244,132,69,.035), 0 0 0 75px rgba(244,132,69,.025);
  content: '';
  pointer-events: none;
}
.waitlist-success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(166,75,50,.22);
  border-radius: 50%;
  color: var(--enrol-deep);
  background: #ffead5;
  font-size: 1.45rem;
  font-weight: 700;
}
.waitlist-success-screen .register-kicker { position: relative; margin-bottom: 10px; }
.waitlist-success-screen h1 {
  position: relative;
  max-width: 13ch;
  margin: 0;
  color: transparent;
  background: linear-gradient(108deg, var(--enrol-deep), var(--coral) 58%, var(--enrol-soft));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  letter-spacing: -.06em;
  line-height: 1.08 !important;
}
.waitlist-success-copy,
.waitlist-success-note,
.waitlist-reference,
.waitlist-success-actions { position: relative; }
.waitlist-success-copy { max-width: 530px; margin: 18px 0 0; font-size: 1.08rem; line-height: 1.65; }
.waitlist-success-note { max-width: 500px; margin: 10px 0 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.waitlist-reference {
  display: grid;
  gap: 7px;
  width: min(100%, 420px);
  margin-top: 31px;
  padding: 17px 20px;
  border-top: 1px solid rgba(166,75,50,.25);
  border-bottom: 1px solid rgba(166,75,50,.25);
}
.waitlist-reference span { color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.waitlist-reference strong { color: var(--enrol-deep); font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; }
.waitlist-success-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 20px 24px; margin-top: 30px; }
.waitlist-success-actions .button { gap: 18px; }
.waitlist-pricing-link { color: var(--ink); font-size: .9rem; font-weight: 700; text-underline-offset: 4px; }
.waitlist-pricing-link:hover { color: var(--enrol-deep); }
.register-page #form-status { max-width: 620px; margin: 20px 0 0; padding: 14px 16px; color: #8a2e1c; background: #fbe3d9; font-size: .9rem; line-height: 1.5; }
.register-page #form-status[hidden] { display: none; }

@media (max-width: 640px) {
  .register-page .register-main.is-success { width: calc(100% - 24px); padding: 78px 0 34px; }
  .waitlist-success-screen { padding: 34px 22px 32px; border-radius: 18px; }
  .waitlist-success-mark { width: 48px; height: 48px; margin-bottom: 18px; }
  .waitlist-success-screen h1 { font-size: clamp(2.55rem, 11vw, 3.35rem); }
  .waitlist-success-copy { margin-top: 14px; font-size: 1rem; line-height: 1.58; }
  .waitlist-success-note { font-size: .88rem; }
  .waitlist-reference { margin-top: 23px; }
  .waitlist-success-actions { align-items: stretch; flex-direction: column; gap: 17px; width: 100%; margin-top: 25px; }
  .waitlist-success-actions .button { width: 100%; justify-content: space-between; }
}
