/* Rupantaram registration — brand system as tokens, so a reskin is a :root edit. */
:root {
  --green-950: #081f16;
  --green-900: #0f3326;
  --green-800: #18463b;
  --green-700: #1f5a45;
  --green-600: #2a7157;
  --gold-700: #9a6f1c;
  --gold-600: #b8862a;
  --gold-500: #d4a53a;
  --gold-400: #e6bf5c;
  --gold-200: #f5e3b0;
  --gold-100: #fbf1d6;
  --cream-50: #fffdf8;
  --cream-100: #fbf6ea;
  --cream-200: #f3ead3;
  --cream-300: #e7dbbd;
  --ink: #1c2a22;
  --ink-soft: #4b5b51;
  --ink-mute: #6b776f;
  --red: #c0392b;
  --error: #b3261e;
  --error-bg: #fdecea;
  --ok: #1f7a4d;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mr: "Noto Sans Devanagari", "Mukta", sans-serif;
  --font-sig: "Caveat", "Segoe Script", cursive;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --gap: 16px;
  --shadow-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(4, 20, 13, .55), 0 4px 12px -6px rgba(4, 20, 13, .25);
  --shadow-soft: 0 6px 18px -10px rgba(15, 51, 38, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--green-950); }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.6 var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(230, 191, 92, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(42, 113, 87, .45), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-950));
  background-attachment: fixed;
  overflow-x: hidden;
}
[lang="mr"], .brand-mr { font-family: var(--font-mr); }
[hidden] { display: none !important; }
/* Scoped so the shared site header keeps its own Tailwind colours. */
:where(main, .foot, .modal) a { color: inherit; }
:where(main, .foot, .modal) button { font: inherit; color: inherit; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-400); color: var(--green-950); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

/* ---------- Background decoration ---------- */
.bg-arcs { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.arc { fill: none; stroke: url(#gold); stroke-width: 1.6; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) forwards; opacity: .55; }
.arc.a2 { stroke-width: 1; animation-delay: .35s; opacity: .35; }
.arc.a3 { stroke-width: 1.2; animation-delay: .6s; opacity: .3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sparkles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Brand header ---------- */
.brand {
  position: relative; z-index: 1;
  max-width: 960px; margin: 20px auto 0; padding: 14px 22px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  border: 1px solid rgba(212, 165, 58, .45);
}
.brand::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.brand-logo img { display: block; height: 64px; width: auto; }
.brand-copy p { margin: 0; line-height: 1.25; }
.brand-line { font: 700 15px/1.2 var(--font-head); color: var(--green-800); letter-spacing: .01em; }
.brand-line strong { color: var(--gold-700); }
.brand-tag { font: 700 14px/1.3 var(--font-head); color: var(--red); margin-top: 2px !important; }
.brand-mr { font-size: 14px; color: var(--green-700); font-weight: 700; }
.brand-motto { margin: 0; font: 800 12px/1 var(--font-head); letter-spacing: .22em; color: var(--green-800); white-space: nowrap; }
.brand-motto span { color: var(--gold-500); padding: 0 4px; }

/* ---------- Stepper ---------- */
.stepper { position: sticky; top: calc(80px + var(--rb-strip-h, 0px)); z-index: 20; max-width: 960px; margin: 14px auto 0; padding: 14px 22px 10px;
  background: rgba(8, 31, 22, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 var(--r-md) var(--r-md); }
.stepper-bar { position: absolute; left: 44px; right: 44px; top: 29px; height: 3px; background: rgba(230, 191, 92, .18); border-radius: 3px; }
.stepper-bar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; border-radius: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); box-shadow: 0 0 12px rgba(230, 191, 92, .6); transition: transform .6s var(--ease); }
.stepper ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.dot {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-900); border: 2px solid rgba(230, 191, 92, .35); color: var(--gold-200);
  font: 700 13px/1 var(--font-head); cursor: default; padding: 0;
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.dot.is-done { background: var(--gold-500); border-color: var(--gold-400); color: var(--green-950); cursor: pointer; }
.dot.is-done:hover { transform: scale(1.08); }
.dot.current { background: var(--cream-50); border-color: var(--gold-400); color: var(--green-800); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(230, 191, 92, .18), 0 0 22px rgba(230, 191, 92, .45); }
.dot-label { font-size: 11px; font-weight: 600; color: rgba(245, 227, 176, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
li.is-current .dot-label { color: var(--gold-200); }
.stepper-text { display: none; margin: 8px 0 0; text-align: center; color: var(--gold-200); font-size: 13px; font-weight: 600; }

/* ---------- Shell & screens ---------- */
/* Above the site footer (z-index 3), so the fixed Next bar is never covered by it. */
.shell { position: relative; z-index: 4; max-width: 960px; margin: 18px auto 0; padding: 0 0 40px; }
form { position: relative; }
.screen { animation: screenIn .55s var(--ease) both; }
.screen.back { animation-name: screenInBack; }
@keyframes screenIn { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes screenInBack { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }

.eyebrow { margin: 0 0 6px; font: 700 12px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.screen-head { padding: 8px 6px 14px; color: var(--cream-100); }
.screen-head h2 { margin: 0; font: 800 clamp(26px, 4vw, 34px)/1.15 var(--font-head); letter-spacing: -.01em; }
.screen-head .sub { margin: 6px 0 0; color: rgba(251, 246, 234, .78); }

/* ---------- Intro ---------- */
.intro-hero { text-align: center; padding: 26px 16px 20px; color: var(--cream-100); }
.intro-hero h1 { margin: 6px 0 10px; font: 800 clamp(32px, 6vw, 52px)/1.05 var(--font-head); letter-spacing: -.02em; }
.intro-hero h1 em { font-style: normal; color: var(--gold-400); }
.lede { max-width: 560px; margin: 0 auto; color: rgba(251, 246, 234, .82); font-size: 17px; }

.program-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 6px; perspective: 1000px; }
.pcard {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 22px 20px 20px; min-height: 250px; cursor: pointer;
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
  border: 2px solid transparent; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
  animation: rise .7s var(--ease) both;
}
.pcard:nth-child(2) { animation-delay: .08s; }
.pcard:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pcard:hover { box-shadow: var(--shadow-card), 0 0 0 1px rgba(212, 165, 58, .6), 0 20px 50px -20px rgba(230, 191, 92, .6); }
.pcard[aria-checked="true"] { border-color: var(--gold-500); box-shadow: var(--shadow-card), 0 0 0 5px rgba(230, 191, 92, .28), 0 24px 60px -18px rgba(230, 191, 92, .7); }
.pcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(230, 191, 92, .22), transparent 40%); opacity: 0; transition: opacity .3s; }
.pcard:hover::before { opacity: 1; }
.pcard-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600)); box-shadow: inset 0 0 0 1px rgba(230, 191, 92, .5); }
.pcard-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-400); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pcard-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.pcard-title { font: 800 20px/1.2 var(--font-head); color: var(--green-800); }
.pcard-meta { font-size: 14px; color: var(--ink-soft); }
.pcard-price { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--green-800); font-size: 15px; }
.pcard-price s { color: var(--ink-mute); font-weight: 500; margin-right: 2px; }
.pcard-price small { font-weight: 500; color: var(--ink-soft); }
.pcard-check { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--cream-300); background: var(--cream-50); transition: all .35s var(--ease); }
.pcard[aria-checked="true"] .pcard-check { border-color: var(--gold-500); background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081f16' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; transform: scale(1.1); }
.pcard-ribbon { position: absolute; top: -11px; left: 20px; padding: 4px 12px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); color: var(--green-950); font: 800 11px/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }

.why { margin: 22px 0 0; padding: 24px 26px; border-radius: var(--r-lg); color: var(--cream-100);
  background: linear-gradient(180deg, rgba(24, 70, 59, .7), rgba(15, 51, 38, .7)); border: 1px solid rgba(230, 191, 92, .25); }
.why h2 { margin: 0 0 8px; font: 800 20px/1.2 var(--font-head); color: var(--gold-400); }
.why p { margin: 0 0 10px; color: rgba(251, 246, 234, .85); }
.why-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 12px 0 0; padding: 0; font-weight: 600; font-size: 14px; }
.why-points span { color: var(--gold-400); margin-right: 4px; }

/* ---------- Cards & fields ---------- */
.card {
  margin: 0 0 18px; padding: 22px 24px 20px; min-width: 0;
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
  border: 1px solid rgba(212, 165, 58, .35); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  animation: rise .6s var(--ease) both;
}
.card + .card { animation-delay: .07s; }
.card legend { float: left; width: 100%; padding: 0 0 12px; margin: 0 0 14px; font: 800 17px/1.3 var(--font-head); color: var(--green-800);
  border-bottom: 1px dashed rgba(184, 134, 42, .45); }
.card > :not(legend) { clear: both; }
.card-glow { background: radial-gradient(600px 200px at 100% 0%, rgba(230, 191, 92, .18), transparent 60%), linear-gradient(180deg, var(--cream-50), var(--cream-100)); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.span-2 { grid-column: span 2; }
.field { margin: 0 0 14px; min-width: 0; }
.field > label, .label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; color: var(--green-800); }
.req { color: var(--red); font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-mute); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; min-height: var(--tap); padding: 11px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--cream-300); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input:hover, textarea:hover { border-color: var(--gold-500); }
input:focus, textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(230, 191, 92, .28); }
input[readonly] { background: var(--cream-100); color: var(--ink-soft); }
input::placeholder, textarea::placeholder { color: #9aa39d; }
.phone { display: flex; align-items: stretch; }
.phone span { display: grid; place-items: center; padding: 0 12px; background: var(--cream-200); border: 1.5px solid var(--cream-300); border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm); font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.phone input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-mute); }
.counter { margin: 4px 0 0; font-size: 12px; color: var(--ink-mute); text-align: right; min-height: 1em; }
.err { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--error); min-height: 0; }
.err:empty { display: none; }
.err::before { content: "⚠ "; }
.err.center { text-align: center; color: #ffd9d4; }
.invalid input, .invalid textarea, input.invalid { border-color: var(--error) !important; background: var(--error-bg); }
.invalid .chips .chip, .chips.invalid .chip, .ratings.invalid .rate button { border-color: rgba(179, 38, 30, .55); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.reveal { animation: reveal .45s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.check-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-soft); cursor: pointer; min-height: 32px; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--gold-600); }
.q-lead { margin: 0 0 12px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer; text-align: left; line-height: 1.25;
  background: #fff; border: 1.5px solid var(--cream-300); color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--gold-500); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.chip:active { transform: scale(.97); }
.chip[aria-checked="true"] {
  background: linear-gradient(180deg, var(--gold-100), var(--gold-200)); border-color: var(--gold-500);
  color: var(--green-900); font-weight: 700; box-shadow: 0 0 0 3px rgba(230, 191, 92, .25);
}
.chip .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--cream-300); flex: none; transition: all .25s var(--ease); }
.chip[aria-checked="true"] .tick { background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081f16' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--gold-500); animation: pop .35s var(--ease); }
.chips[data-kind="multi"] .chip .tick { border-radius: 5px; }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.chips-lg .chip { padding: 11px 22px; font-size: 16px; }
.chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chips-grid .chip { border-radius: var(--r-md); width: 100%; }
.chips-2col { grid-template-columns: repeat(2, 1fr); }
.chips-stack { display: grid; grid-template-columns: 1fr 1fr; }
.chips-stack .chip { border-radius: var(--r-md); }
.chips-seg { gap: 0; flex-wrap: nowrap; background: #fff; border: 1.5px solid var(--cream-300); border-radius: var(--r-pill); padding: 4px; }
.chips-seg .chip { flex: 1; justify-content: center; border: 0; background: transparent; padding: 8px 6px; font-size: 14px; }
.chips-seg .chip:hover { transform: none; box-shadow: none; background: var(--cream-100); }
.chips-seg .chip[aria-checked="true"] { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); box-shadow: var(--shadow-soft); }
.chips-seg .tick, .chips-toggle .tick { display: none; }
.chips-toggle .chip { min-width: 84px; justify-content: center; }
.chips-toggle .chip[data-value="Yes"][aria-checked="true"] { background: linear-gradient(180deg, #fde8d9, #fbd3b8); border-color: #e08a4f; }

.tag-summary { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; margin: 0 0 16px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--green-800); box-shadow: inset 0 2px 8px rgba(0,0,0,.25); align-items: center; }
.tag-empty { color: rgba(251, 246, 234, .6); font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: var(--r-pill);
  background: var(--gold-400); color: var(--green-950); font-size: 13px; font-weight: 700; animation: pop .35s var(--ease); }
.tag button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(8, 31, 22, .15); cursor: pointer; line-height: 1; font-size: 14px; padding: 0; }
.tag button:hover { background: rgba(8, 31, 22, .3); }
.tag-count { margin-left: auto; color: var(--gold-200); font-size: 12px; font-weight: 700; letter-spacing: .06em; }

/* ---------- Family questions ---------- */
.family-qs { display: grid; gap: 16px; }
.fq { margin: 0; }
.fq .label { font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.fq .chips { gap: 0; flex-wrap: nowrap; background: #fff; border: 1.5px solid var(--cream-300); border-radius: var(--r-pill); padding: 4px; }
.fq .chip { flex: 1; justify-content: center; text-align: center; border: 0; background: transparent; font-size: 14px; padding: 8px 6px; }
.fq .chip:hover { transform: none; box-shadow: none; background: var(--cream-100); }
.fq .chip[aria-checked="true"] { background: linear-gradient(180deg, var(--green-700), var(--green-800)); color: var(--gold-100); box-shadow: var(--shadow-soft); }
.fq .tick { display: none; }

.qualities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quality { position: relative; margin: 0; }
.q-num { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-500); color: var(--green-950); font: 800 13px/1 var(--font-head); }
.quality input { padding-left: 48px; }

/* ---------- Ratings + radar ---------- */
.assess-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.assess-card { margin: 0; }
.scale-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.scale-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw1 { background: #3f9b6e; } .sw5 { background: #d0643b; }
.ratings { display: grid; gap: 4px; }
.rating-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); transition: background .25s; }
.rating-row:hover { background: rgba(230, 191, 92, .12); }
.rating-row.rated .rating-name::after { content: " ✓"; color: var(--ok); font-weight: 700; }
.rating-name { font-weight: 600; font-size: 15px; }
.rate { display: flex; gap: 6px; }
.rate button {
  width: var(--tap); height: var(--tap); border-radius: 12px; border: 1.5px solid var(--cream-300); background: #fff; cursor: pointer;
  font: 700 16px/1 var(--font-head); color: var(--ink-soft); transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.rate button:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 6px 14px -8px var(--c); }
.rate button[aria-checked="true"] { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.08); box-shadow: 0 8px 18px -8px var(--c); }
.rate button[data-v="1"] { --c: #3f9b6e; } .rate button[data-v="2"] { --c: #7fa84a; } .rate button[data-v="3"] { --c: #c9a02f; }
.rate button[data-v="4"] { --c: #d9823b; } .rate button[data-v="5"] { --c: #cc5a3a; }
.reassure { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--gold-100); color: var(--green-800); font-size: 14px; font-weight: 500; border: 1px solid var(--gold-200); }
.radar-card { margin: 0; position: sticky; top: 120px; text-align: center; }
.radar-title { margin: 0; font: 800 16px/1.2 var(--font-head); color: var(--green-800); }
.radar { width: 100%; height: auto; overflow: hidden; }
.radar .ring { fill: none; stroke: var(--cream-300); stroke-width: 1; }
.radar .spoke { stroke: var(--cream-300); stroke-width: 1; }
.radar .shape { fill: rgba(212, 165, 58, .32); stroke: var(--gold-600); stroke-width: 2.5; stroke-linejoin: round; transition: all .5s var(--ease); }
.radar .pt { fill: var(--green-800); transition: all .5s var(--ease); }
.radar text { font: 600 10.5px var(--font); fill: var(--ink-soft); }
.radar-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-mute); }

/* ---------- Screen time meter ---------- */
.screen-meter { height: 8px; border-radius: 8px; background: var(--cream-200); margin: 0 0 10px; overflow: hidden; }
.screen-meter span { display: block; height: 100%; width: 100%; clip-path: inset(0 100% 0 0); border-radius: 8px; background: linear-gradient(90deg, #3f9b6e, #c9a02f, #cc5a3a); transition: clip-path .5s var(--ease); }

/* ---------- Batches ---------- */
.batch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.batch {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; text-align: left; min-height: 64px; cursor: pointer;
  border-radius: var(--r-md); border: 1.5px solid var(--cream-300); background: #fff; transition: all .25s var(--ease);
}
.batch:hover { border-color: var(--gold-500); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.batch[aria-checked="true"] { border-color: var(--gold-500); background: linear-gradient(180deg, var(--gold-100), var(--gold-200)); box-shadow: 0 0 0 3px rgba(230, 191, 92, .25); }
.batch strong { font: 700 15px/1.3 var(--font-head); color: var(--green-800); }
.batch small { color: var(--ink-soft); font-size: 12.5px; }
.batch .seats { color: var(--red); font-weight: 700; }
.batch-empty { color: var(--ink-mute); font-size: 14px; }

/* ---------- Checkbox cards ---------- */
.check-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 10px 0 0; min-height: var(--tap);
  border-radius: var(--r-md); border: 1.5px solid var(--cream-300); background: #fff; cursor: pointer; transition: border-color .25s, background .25s; }
.check-card:hover { border-color: var(--gold-500); }
.check-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-card .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--cream-300); background: #fff; margin-top: 1px; transition: all .25s var(--ease); }
.check-card input:checked + .box { background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081f16' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat; border-color: var(--gold-500); animation: pop .35s var(--ease); }
.check-card:has(input:checked) { border-color: var(--gold-500); background: var(--gold-100); }
.check-card input:focus-visible + .box { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.check-card.invalid { border-color: var(--error); background: var(--error-bg); }

.callout { margin: 8px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--green-800); color: var(--cream-100); border: 1px solid rgba(230, 191, 92, .45); }
.callout strong { color: var(--gold-400); font-family: var(--font-head); }
.callout p { margin: 4px 0 0; font-size: 14px; color: rgba(251, 246, 234, .88); }

.consent-text { max-height: 250px; overflow-y: auto; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--cream-300);
  font-size: 14.5px; color: var(--ink-soft); scrollbar-color: var(--gold-500) transparent; }
.consent-text p { margin: 0 0 10px; }
.consent-text p:last-child { margin: 0; }

/* ---------- Signature ---------- */
.sig-pad { position: relative; height: 92px; margin-top: 10px; border-radius: var(--r-md); overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(212, 165, 58, .08) 23px 24px), #fff; border: 1.5px dashed var(--gold-500); }
.sig-ink { position: absolute; left: 22px; right: 22px; bottom: 18px; font: 600 42px/1 var(--font-sig); color: #1b3a8a; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.sig-ink.write { animation: ink .5s var(--ease); }
@keyframes ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sig-line { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 1.5px; background: var(--ink-mute); opacity: .5; }
.sig-line::before { content: "✕"; position: absolute; left: -2px; bottom: 4px; font-size: 12px; color: var(--ink-mute); }
.sig-ok { position: absolute; top: 8px; right: 12px; font-size: 12px; font-weight: 700; color: var(--ok); opacity: 0; transform: translateY(-4px); transition: all .3s var(--ease); }
.sig-ok.on { opacity: 1; transform: none; }

/* ---------- Review ---------- */
.review { display: grid; gap: 14px; }
.rv { background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  border: 1px solid rgba(212, 165, 58, .35); overflow: hidden; animation: rise .5s var(--ease) both; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--cream-200); }
.rv-head h3 { margin: 0; font: 800 16px/1.2 var(--font-head); color: var(--green-800); display: flex; align-items: center; gap: 10px; }
.rv-head h3 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--gold-400); font-size: 12px; }
.rv dl { margin: 0; padding: 12px 20px 16px; display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 8px 18px; }
.rv dt { font-size: 13.5px; color: var(--ink-mute); font-weight: 600; }
.rv dd { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.rv dd .pill { display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px; border-radius: var(--r-pill); background: var(--gold-100); border: 1px solid var(--gold-200); font-size: 13px; font-weight: 600; }
.rv-empty { padding: 12px 20px 16px; color: var(--ink-mute); font-size: 14px; margin: 0; }
.edit-link { border: 0; background: none; color: var(--gold-700); font-weight: 700; cursor: pointer; padding: 8px 10px; border-radius: 8px; min-height: 36px; }
.edit-link:hover { background: var(--gold-100); }

/* ---------- Done ---------- */
.done { text-align: center; padding: 30px 26px 30px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); box-shadow: var(--shadow-card); border: 1px solid var(--gold-500); }
.done h2 { margin: 6px 0 14px; font: 800 clamp(24px, 4vw, 32px)/1.2 var(--font-head); color: var(--green-800); }
.done-seal svg { width: 92px; height: 92px; }
.done-seal circle { fill: var(--gold-100); stroke: var(--gold-500); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: dash .8s var(--ease) forwards; }
.done-seal path { fill: none; stroke: var(--green-800); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .5s .6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.done .eyebrow { color: var(--gold-700); }
.reg-id { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 14px 20px; border-radius: var(--r-md);
  background: var(--green-800); color: var(--cream-100); box-shadow: 0 0 0 4px rgba(230, 191, 92, .35); }
.reg-id span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); width: 100%; }
.reg-id strong { font: 800 clamp(22px, 5vw, 30px)/1 var(--font-head); letter-spacing: .04em; color: var(--gold-400); }
.done-note { max-width: 520px; margin: 16px auto 18px; color: var(--ink-soft); }
.next-steps { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 560px; text-align: left; display: grid; gap: 10px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--cream-300); animation: rise .5s var(--ease) both; }
.next-steps li:nth-child(2) { animation-delay: .1s; } .next-steps li:nth-child(3) { animation-delay: .2s; }
.next-steps li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--green-950); font-weight: 800; }
.next-steps p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.next-steps strong { color: var(--green-800); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.print-summary { display: none; }

/* ---------- Buttons & nav ---------- */
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill);
  font: 700 16px/1 var(--font-head); cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .25s, background .25s, opacity .2s; }
.btn { border: 0; color: var(--green-950); background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); box-shadow: 0 10px 24px -10px rgba(230, 191, 92, .8), inset 0 1px 0 rgba(255,255,255,.5); position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(230, 191, 92, .9); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid rgba(8,31,22,.3); border-top-color: var(--green-950); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-ghost { border: 1.5px solid rgba(230, 191, 92, .6); color: var(--gold-200); background: transparent; }
.btn-ghost:hover { background: rgba(230, 191, 92, .12); }
.done .btn-ghost, .modal .btn-ghost { color: var(--green-800); border-color: var(--gold-500); }
.done .btn-ghost:hover, .modal .btn-ghost:hover { background: var(--gold-100); }
.btn-ghost.small { min-height: 34px; padding: 6px 14px; font-size: 13px; color: var(--gold-200); }

.navbar { position: sticky; bottom: 12px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 10px; border-radius: var(--r-pill); background: rgba(8, 31, 22, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 191, 92, .25); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.navbar .btn { min-width: 170px; }
.save-state { font-size: 13px; color: rgba(245, 227, 176, .75); text-align: center; transition: opacity .3s; }
.save-state.pulse::before { content: "●"; color: var(--gold-400); margin-right: 6px; animation: blink 1s; }
@keyframes blink { 50% { opacity: .2; } }
.navbar.is-intro #backBtn { visibility: hidden; }
.navbar.is-done { display: none; }

/* ---------- Modal, toast, confetti ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(4, 16, 11, .7); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: min(440px, 100%); padding: 28px 26px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); box-shadow: var(--shadow-card); border: 1px solid var(--gold-500); animation: rise .45s var(--ease); }
.modal-card .eyebrow { color: var(--gold-700); }
.modal-card h2 { margin: 0 0 8px; font: 800 24px/1.2 var(--font-head); color: var(--green-800); }
.modal-card p { color: var(--ink-soft); margin: 0 0 18px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-actions > * { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--cream-50); color: var(--green-900); font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); border: 1px solid var(--gold-500); transition: all .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--error-bg); color: var(--error); border-color: var(--error); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }

.foot { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 10px 16px 36px; text-align: center; color: rgba(245, 227, 176, .75); font-size: 14px; }
.foot a { color: var(--gold-400); text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; }
.foot-small { font-size: 12px; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .program-cards { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .assess-wrap { grid-template-columns: 1fr; }
  .radar-card { position: static; order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  .chips-grid { grid-template-columns: repeat(2, 1fr); }
  .brand { grid-template-columns: auto 1fr; }
  .brand-motto { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand { margin: 10px 16px 0; padding: 12px 14px; gap: 12px; }
  .brand-logo img { height: 46px; }
  .brand-line { font-size: 13px; } .brand-tag, .brand-mr { font-size: 12.5px; }
  .brand-motto { font-size: 10.5px; letter-spacing: .18em; }
  .stepper { margin: 10px 0 0; padding: 10px 12px 8px; border-radius: 0; }
  .stepper-bar { left: 22px; right: 22px; top: 23px; }
  .dot { width: 26px; height: 26px; font-size: 11px; }
  .dot-label { display: none; }
  .stepper-text { display: block; }
  .shell { padding: 0 16px 110px; }
  .card { padding: 18px 16px 16px; border-radius: var(--r-md); }
  .grid-2, .grid-3, .qualities, .chips-stack, .chips-2col { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .chips-grid { grid-template-columns: 1fr; }
  .fq .chips, .chips-seg { flex-wrap: wrap; border-radius: var(--r-md); }
  .fq .chip, .chips-seg .chip { flex: 1 1 45%; }
  .rating-row { grid-template-columns: 1fr; gap: 6px; padding: 10px 4px; border-bottom: 1px solid var(--cream-200); }
  .rate { justify-content: space-between; }
  .rate button { flex: 1; }
  .rv dl { grid-template-columns: 1fr; gap: 2px; }
  .rv dd { margin-bottom: 8px; }
  .navbar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 18px 18px 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .navbar .btn { min-width: 0; flex: 1; }
  .save-state { display: none; }
  .why { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .arc { stroke-dashoffset: 0; }
}

/* ---------- Print: the saved copy ---------- */
@media print {
  body { background: #fff; color: #000; }
  .bg-arcs, .sparkles, .confetti, .stepper, .navbar, .foot, .done, .toast, .skip, header[data-testid="academy-navbar"], footer[data-testid="academy-footer"], .site-header-spacer { display: none !important; }
  .brand { box-shadow: none; border: 1px solid #ccc; margin: 0 0 12px; }
  .print-summary { display: block; }
  .print-summary .rv { box-shadow: none; break-inside: avoid; margin-bottom: 10px; }
  .print-summary .edit-link { display: none; }
  .print-id { font: 800 20px var(--font-head); margin: 0 0 12px; }
}

/* The fixed site header is 96px from sm and 144px from lg (see /assets/site-header.js). */
@media (min-width: 640px) { .stepper { top: calc(96px + var(--rb-strip-h, 0px)); } }
@media (min-width: 1024px) { .stepper { top: calc(144px + var(--rb-strip-h, 0px)); } }

/* ---------- Intro extras (batches, included, steps, safety, voices, FAQ, help) ---------- */
.x-block { margin: 34px 0 0; color: var(--cream-100); }
.x-head { text-align: center; margin: 0 0 16px; padding: 0 12px; }
.x-head h2 { margin: 0; font: 800 clamp(22px, 3.4vw, 28px)/1.2 var(--font-head); letter-spacing: -.01em; }
.x-fine { margin: 10px 0 0; font-size: 13px; color: rgba(251, 246, 234, .65); text-align: center; }
.x-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.x-ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.x-ticks svg { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold-100); fill: none; stroke: var(--green-800); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

.x-batch-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.x-batch { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 18px; text-align: left; cursor: pointer;
  border-radius: var(--r-md); border: 1px solid rgba(230, 191, 92, .35); background: linear-gradient(180deg, rgba(24, 70, 59, .75), rgba(15, 51, 38, .75));
  transition: transform .3s var(--ease), border-color .3s, background .3s; }
.x-batch:hover, .x-batch:focus-visible { transform: translateY(-2px); border-color: var(--gold-400); background: linear-gradient(180deg, rgba(31, 90, 69, .85), rgba(24, 70, 59, .85)); }
.x-batch-kind { font: 700 11px/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.x-batch-date { font: 800 24px/1.15 var(--font-head); color: var(--cream-50); }
.x-batch-title { font-size: 14px; font-weight: 600; }
.x-batch-note { font-size: 13px; color: rgba(251, 246, 234, .7); }
.x-batch-seats { margin-top: 6px; padding: 2px 10px; border-radius: var(--r-pill); background: rgba(230, 191, 92, .18); color: var(--gold-200); font-size: 12px; font-weight: 700; }

.x-included { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.x-inc { display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--r-lg); color: var(--ink);
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); box-shadow: var(--shadow-card); }
.x-inc h3 { margin: 0 0 4px; font: 800 19px/1.25 var(--font-head); color: var(--green-800); }
.x-sub { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--gold-700); }
.x-inc .x-ticks { margin-top: 12px; }
.x-price { margin: auto 0 0; padding-top: 16px; font-weight: 700; color: var(--green-800); }
.x-price s { color: var(--ink-mute); font-weight: 500; }
.x-price small { font-weight: 500; color: var(--ink-soft); }

.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: none; }
.x-steps li { position: relative; padding: 18px 14px 16px; border-radius: var(--r-md); text-align: center;
  background: rgba(15, 51, 38, .55); border: 1px solid rgba(230, 191, 92, .22); }
.x-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--green-950); font-weight: 800; }
.x-steps strong { display: block; font: 700 15px/1.3 var(--font-head); color: var(--cream-50); }
.x-steps p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(251, 246, 234, .72); }

.x-safety { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.x-safe { padding: 18px 18px 16px; border-radius: var(--r-md); border-left: 3px solid var(--gold-500); background: rgba(15, 51, 38, .6); }
.x-safe strong { display: block; font: 700 16px/1.3 var(--font-head); color: var(--gold-200); }
.x-safe p { margin: 6px 0 0; font-size: 14px; color: rgba(251, 246, 234, .78); }

.x-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-quote { margin: 0; padding: 22px 20px 18px; border-radius: var(--r-lg); color: var(--ink); background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); box-shadow: var(--shadow-card); position: relative; }
.x-quote::before { content: "“"; position: absolute; top: -6px; left: 16px; font: 800 60px/1 var(--font-head); color: var(--gold-500); }
.x-quote blockquote { margin: 14px 0 12px; font-size: 15px; line-height: 1.55; }
.x-quote figcaption { font-size: 13px; font-weight: 600; color: var(--gold-700); }

.x-faq-list { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.x-faq { border-radius: var(--r-md); background: rgba(15, 51, 38, .6); border: 1px solid rgba(230, 191, 92, .22); }
.x-faq summary { list-style: none; cursor: pointer; position: relative; padding: 15px 48px 15px 18px; font-weight: 600; min-height: var(--tap); }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 22px/1 var(--font-head); color: var(--gold-400); transition: transform .3s var(--ease); }
.x-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.x-faq summary:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; border-radius: var(--r-md); }
.x-faq p { margin: 0; padding: 0 18px 16px; color: rgba(251, 246, 234, .8); font-size: 15px; }

.x-help { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 34px 0 0; padding: 22px 26px;
  border-radius: var(--r-lg); color: var(--cream-100); background: linear-gradient(120deg, rgba(154, 111, 28, .35), rgba(15, 51, 38, .7)); border: 1px solid rgba(230, 191, 92, .4); }
.x-help h2 { margin: 0; font: 800 20px/1.25 var(--font-head); }
.x-hours { margin: 4px 0 0; font-size: 14px; color: rgba(251, 246, 234, .75); }
.x-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Done extras ---------- */
.done-extras { display: grid; gap: 12px; max-width: 560px; margin: 26px auto 0; text-align: left; }
.done-box { padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--cream-300); }
.done-box h3 { margin: 0 0 8px; font: 800 17px/1.3 var(--font-head); color: var(--green-800); }
.done-box p { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.done-box p:last-child { margin-bottom: 0; }
.done-box .x-ticks li { padding-left: 22px; font-size: 14px; }
.done-box .x-ticks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.done-box .x-fine { text-align: left; color: var(--ink-mute); }
.done-upsell { border-color: var(--gold-500); background: var(--gold-100); }
.done .done-box .btn-ghost.small { color: var(--green-800); }
.done-help { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.done-help a { font-weight: 700; color: var(--green-800); }

@media (max-width: 860px) {
  .x-included, .x-quotes { grid-template-columns: 1fr; }
  .x-steps { grid-template-columns: 1fr; }
  .x-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; text-align: left; padding: 14px; }
  .x-steps li > span { grid-row: span 2; margin: 0; }
  .x-steps p { margin: 2px 0 0; }
}
@media (max-width: 640px) {
  .x-block { margin-top: 28px; }
  .x-help { padding: 20px 18px; }
  .x-help-actions, .x-help-actions .btn-ghost { width: 100%; }
}

/* Age group: shown, never picked — it follows the date of birth. */
.age-show .chip { cursor: default; pointer-events: none; opacity: .45; }
.age-show .chip[aria-checked="true"] { opacity: 1; }

/* Fee popup shown when a centre is chosen */
.price-card .price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; color: var(--green-800); }
.price-card .price-label { flex: 1 1 auto; font-weight: 600; color: var(--ink-soft); }
.price-card .price-row s { color: var(--ink-mute); font-size: 16px; }
.price-card .price-row b { font: 800 28px/1.1 var(--font-head); }
.price-card .price-note { margin: 6px 0 18px; font-size: 14px; }

/* ---------- Arrival / parent-session notice (4-Day Program) ---------- */
.arrive-note { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 18px; padding: 16px 18px; overflow: hidden;
  border: 2px solid var(--gold-500); border-radius: var(--r-md); color: var(--ink); text-align: left;
  background: linear-gradient(135deg, var(--gold-100), var(--cream-50) 55%, var(--gold-200));
  animation: noteGlow 2.4s ease-in-out infinite; }
.arrive-note[hidden] { display: none; }
.arrive-note::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: translateX(-120%); animation: noteSheen 4.5s var(--ease) infinite; }
.card .arrive-note { margin: 16px 0 0; }
.arrive-note-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-900); transform-origin: 50% 20%; animation: noteRing 2.4s ease-in-out infinite; }
.arrive-note-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrive-note-body { position: relative; z-index: 1; min-width: 0; }
.arrive-note p { margin: 0; }
.arrive-note-tag { display: inline-block; margin: 0 0 8px !important; padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--red); color: #fff; font: 700 12px/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.arrive-note-mr { font: 500 16.5px/1.6 var(--font-mr); color: var(--green-900); }
.arrive-note-en { font-size: 15.5px; line-height: 1.55; color: var(--green-900); }
.arrive-note strong { font-weight: 700; color: var(--red); }
@keyframes noteGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(230, 191, 92, .55), var(--shadow-soft); } 50% { box-shadow: 0 0 0 9px rgba(230, 191, 92, 0), var(--shadow-soft); } }
@keyframes noteSheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes noteRing { 0%, 60%, 100% { transform: rotate(0); } 68%, 84% { transform: rotate(-12deg); } 76%, 92% { transform: rotate(12deg); } }
@media (max-width: 640px) {
  .arrive-note { gap: 10px; padding: 14px; }
  .arrive-note-icon { width: 34px; height: 34px; }
  .arrive-note-icon svg { width: 18px; height: 18px; }
  .arrive-note-mr { font-size: 15.5px; }
  .arrive-note-en { font-size: 15px; }
}
@media print { .arrive-note { animation: none; box-shadow: none; } .arrive-note::after { display: none; } }

/* ---------- Short form: confirm screen, amount, link to the full form ---------- */
.pay-list { margin: 0; display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: 8px 18px; }
.pay-list dt { font-size: 13.5px; color: var(--ink-mute); font-weight: 600; }
.pay-list dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.pay-amount { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--green-800); border: 1px solid rgba(230, 191, 92, .45); }
.pay-amount-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 0; color: var(--cream-100); font-weight: 600; }
.pay-amount-row b { font: 800 clamp(26px, 6vw, 34px)/1.1 var(--font-head); color: var(--gold-400); }
.pay-amount-note { margin: 6px 0 0; font-size: 14px; color: rgba(251, 246, 234, .88); }
.pay-amount-note:first-child { margin: 0; }
.pay-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.pay-amount-done { max-width: 520px; margin: 18px auto 0; text-align: left; }
.form-link { max-width: 520px; margin: 18px auto 0; padding: 18px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--gold-500); text-align: center; }
.form-link h3 { margin: 0 0 6px; font: 800 19px/1.3 var(--font-head); color: var(--green-800); }
.form-link p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.done .form-link .btn-ghost { color: var(--green-800); border-color: var(--green-800); }

/* ---------- Online payment on the done screen ---------- */
.pay-box { max-width: 520px; margin: 18px auto 0; padding: 18px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--gold-500); text-align: center; }
.pay-box h3 { margin: 0 0 6px; font: 800 19px/1.3 var(--font-head); color: var(--green-800); }
.pay-box p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.pay-box .done-actions { margin: 0 0 12px; }
.pay-box .err { margin: 0 0 10px; text-align: center; }
.pay-box .pay-box-fine { margin: 0; font-size: 12.5px; }
#paySteps { margin-top: 18px; }
.pay-box.is-good { border-color: var(--green-800); }
.pay-box.is-bad { border-color: var(--error); }
#payNow[disabled] { opacity: .6; cursor: progress; }
/* The fee is taken online: the "our team will call with payment details" copy does not apply. */
.done.has-pay .done-note[data-mode="quick"], .done.has-pay .next-steps[data-mode="quick"] { display: none !important; }
/* The rest of the form opens once the fee is in. */
.done.is-unpaid .form-link { display: none !important; }
/* Opened from the bank's redirect: there is no filled form on this device to print or reuse. */
.done.is-payresult #printCopy, .done.is-payresult #registerSibling { display: none !important; }

/* ---------- Full form (opened from the link): whose form this is ---------- */
.reg-banner { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--r-md); background: var(--green-800); border: 1px solid rgba(230, 191, 92, .45); color: var(--cream-100); }
.reg-banner-tag { margin: 0 0 4px; font: 700 11.5px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.reg-banner-line { margin: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .pay-list { grid-template-columns: 1fr; gap: 2px; } .pay-list dd { margin-bottom: 8px; } }
@media print { .reg-banner { display: none !important; } }
