/* ==========================================================================
   Hosn AL-Quran — Executive Minimal Design System
   Mobile-first · 100% English · Left-to-Right
   ========================================================================== */

/* ---------- 1. Design Tokens (brand palette from source codebase) ---------- */
:root {
  /* Brand */
  --navy: #192A88;          /* Primary actions, active states, accents */
  --navy-700: #12206b;      /* Primary hover */
  --crest: #083255;         /* Brand wordmark, deep surfaces */
  --cream: #FFF1E0;         /* Warm hero surface */
  --cream-50: #FFF8EE;
  --lavender: #DCDEF7;      /* Soft accent surface */
  --mist: #F3F3F3;          /* Neutral surface */
  --ivory: #FAF9F6;         /* Page background */
  --white: #FFFFFF;

  /* Text */
  --ink: #0B0D17;
  --ink-2: #2B2F3E;
  --muted: #5B6072;
  --muted-2: #7A7F90;

  /* Lines & feedback */
  --line: #E7E4DE;
  --line-strong: #D5D1C8;
  --navy-tint: #F5F6FD;
  --success: #1F7A4D;
  --danger: #B42318;
  --danger-tint: #FEF3F2;

  /* Typography */
  --font-display: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-ui: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radius, shadow, motion */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(8, 50, 85, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(8, 50, 85, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(8, 50, 85, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1120px;
  --gutter: 20px;
  --header-h: 68px;
  --touch: 48px;
}

@media (min-width: 640px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  direction: ltr;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;                 /* Strict zero horizontal scroll */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  direction: ltr;
  text-align: left;
  overflow-x: hidden;                 /* Fallback for older engines */
  overflow-x: clip;                   /* Modern: clip without breaking sticky */
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: page-in 0.5s var(--ease) both;
}

body.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

main { flex: 1 0 auto; }

[hidden] { display: none !important; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--navy); color: var(--white); }

html.is-locked,
html:has(dialog[open]) { overflow: hidden; }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.visually-hidden {
  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-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.125rem, 7.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.display em {
  font-style: italic;
  color: var(--navy);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.625rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1.0625rem, 2.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-2);
}

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

.fine-print {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.inline-link {
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
}
.inline-link:hover { color: var(--navy-700); text-decoration-thickness: 2px; }

/* ---------- 5. Buttons (min 48px touch targets) ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--touch);
  padding: 12px 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
              transform 0.2s var(--ease), box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }

.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: rgba(25, 42, 136, 0.28);
}
.btn--ghost:hover { --btn-bg: var(--navy-tint); --btn-bd: var(--navy); --btn-fg: var(--navy); box-shadow: none; }

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--crest);
  --btn-bd: var(--white);
}
.btn--light:hover { --btn-bg: var(--cream); --btn-bd: var(--cream); --btn-fg: var(--crest); }

.btn--trial {
  --btn-bg: var(--success);
  --btn-fg: var(--white);
  --btn-bd: var(--success);
}
.btn--trial:hover { --btn-bg: #165E3A; --btn-bd: #165E3A; --btn-fg: var(--white); box-shadow: var(--shadow-md); }

.btn--hero-trial {
  --btn-bg: #D9A62E;
  --btn-fg: #1B1303;
  --btn-bd: #B88212;
  background: linear-gradient(135deg, #C8921A 0%, #F2CA59 48%, #C48B14 100%);
  color: #1B1303;
  border-color: #B88212;
  font-weight: 900;
  padding: 15px 18px;
  font-size: clamp(14px, 4vw, 16.5px);
  line-height: 1.25;
  white-space: normal;
  text-wrap: balance;
  box-shadow: inset 0 1px 0 rgba(255, 250, 224, 0.7), 0 10px 26px -10px rgba(176, 124, 14, 0.48);
}

.btn--hero-trial:hover {
  background: linear-gradient(135deg, #D59E22 0%, #F7D46A 48%, #CE9518 100%);
  color: #1B1303;
  border-color: #A6730C;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 252, 234, 0.85), 0 14px 30px -10px rgba(176, 124, 14, 0.56);
}

.btn--hero-trial:active {
  transform: translateY(1px);
}

@media (min-width: 360px) {
  .btn--hero-trial {
    padding: 16px 24px;
    white-space: nowrap;
  }
}

@media (min-width: 640px) {
  .btn--hero-trial {
    padding: 16px 32px;
    font-size: 16.5px;
  }
}

.btn--pay {
  --btn-bg: var(--crest);
  --btn-bd: var(--crest);
  min-height: 60px;
  border-radius: var(--r-md);
  font-size: 17px;
  letter-spacing: 0.02em;
}
.btn--pay:hover { --btn-bg: #051f36; --btn-bd: #051f36; }

.btn[disabled],
.btn[aria-disabled='true'] {
  --btn-bg: #E4E4E7;
  --btn-bd: #E4E4E7;
  --btn-fg: #71717A;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn.is-loading { pointer-events: none; opacity: 0.85; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.92); }

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--touch);
  min-width: 0;
  text-decoration: none;
}

.brand__logo {
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: none;
}

.brand__text { display: flex; flex-direction: column; min-width: 0; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  color: var(--crest);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand__tag { display: none; }
}

@media (max-width: 400px) {
  .site-header .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (min-width: 640px) {
  .brand__logo { width: 52px; height: 52px; }
  .brand__name { font-size: 20px; }
}

.header-step {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.header-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

/* ---------- 7. Hero (Page 1) ---------- */
.hero {
  position: relative;
  padding: 40px 0 56px;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--cream) 0%, rgba(255, 241, 224, 0.45) 45%, transparent 75%),
    var(--ivory);
}

.hero__copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  margin-top: 8px;
}

@media (min-width: 640px) {
  .hero { padding: 64px 0 80px; }
  .hero__actions { flex-direction: row; justify-content: center; align-items: center; gap: 20px; width: auto; }
}

.trust-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 640px;
  margin: 28px auto 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.trust-row li { text-align: center; min-width: 0; }

.trust-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--crest);
}

.trust-row span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media { margin-top: 40px; }

@media (min-width: 900px) {
  .hero__media { margin-top: 56px; }
}

/* ---------- 8. Responsive Media Frames (no distortion, centered cover) ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--cream-50);
  isolation: isolate;
}

.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }

/* Fallback for engines without aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  .media--16x9 { height: 0; padding-top: 56.25%; }
  .media--4x3  { height: 0; padding-top: 75%; }
  .media--1x1  { height: 0; padding-top: 100%; }
}

.media--framed {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .media--framed { border-radius: var(--r-xl); }
}

/* ---------- 9. Sections ---------- */
.section { padding: 52px 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--standard {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .section { padding: 80px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 900px) {
  .section-head { margin-bottom: 48px; }
}

/* ---------- 10. Plan Cards (Page 1 — 3-Column Row + Mobile Tap-to-Expand) ---------- */
.plans {
  --plans-gap: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--plans-gap);
  align-items: stretch;
}

.plans.has-expanded {
  align-items: start;
}

@media (min-width: 640px) {
  .plans { --plans-gap: 14px; }
}

.plan-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Compact summary card (always visible in the 3-column row on mobile) */
.plan-card__summary {
  flex: 1;
  min-height: var(--summary-h, auto);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (min-width: 640px) {
  .plan-card__summary { padding: 16px 14px 12px; gap: 12px; }
}

.plan-card--featured .plan-card__summary {
  background: var(--crest);
  border-color: var(--crest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.plan-card--private .plan-card__summary {
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--white) 65%);
  border-color: rgba(25, 42, 136, 0.28);
}

.plan-card.is-expanded .plan-card__summary {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy), var(--shadow-md);
}

.plan-card--featured.is-expanded .plan-card__summary {
  border-color: var(--lavender);
  box-shadow: 0 0 0 2px var(--lavender), var(--shadow-md);
}

.plan-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill--cream { background: var(--cream); color: var(--crest); }
.pill--navy { background: var(--navy-tint); color: var(--navy); border: 1px solid rgba(25, 42, 136, 0.18); }
.pill--trial {
  background: #E8F5EE;
  color: #14532D;
  border: 1px solid rgba(31, 122, 77, 0.34);
}
.pill--launch {
  background: rgba(244, 224, 198, 0.18);
  color: var(--cream);
  border: 1px solid rgba(244, 224, 198, 0.48);
}

.plan-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* On mobile (<1024px), keep the compact 3-col summary to a single micro-tag
   and reveal the full Launch Offer · Inaugural Cohort banner inside the expanded drawer */
.plan-card__summary .pill--launch {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.plan-card__launch-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.plan-card__launch-banner .pill {
  min-height: 24px;
  padding: 3px 10px;
  font-size: 11px;
}

.plan-card__trial-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1.5px solid rgba(31, 122, 77, 0.32);
  border-left: 3.5px solid var(--success);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #EDF8F2 0%, #F7FCF9 100%);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #14532D;
}

.plan-card__trial-emoji {
  flex: none;
  font-style: normal;
  line-height: 1.3;
}

.plan-card__cta {
  display: grid;
  gap: 8px;
}

.plan-card__cta-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}

.plan-card__cta-note--prominent {
  padding: 10px 12px;
  border: 1px solid rgba(31, 122, 77, 0.28);
  border-radius: var(--r-sm);
  background: #EFFAF4;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #14532D;
}

.plan-card__cta-note--prominent strong {
  font-weight: 900;
  color: #0F4223;
}

.plan-card--trial .plan-card__summary {
  overflow: hidden;
  padding-top: 0;
  border-color: rgba(201, 145, 29, 0.65);
}

.plan-card__gold-ribbon {
  margin: 0 -8px 2px;
  width: calc(100% + 16px);
  padding: 6px 4px;
  background: linear-gradient(135deg, #C8921A 0%, #F2CA59 48%, #C48B14 100%);
  border-bottom: 1px solid rgba(133, 86, 6, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 250, 224, 0.7);
  font-family: var(--font-ui);
  font-size: clamp(9.5px, 2.5vw, 11.5px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: #1B1303;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .plan-card__gold-ribbon {
    margin: 0 -14px 2px;
    width: calc(100% + 28px);
    padding: 7px 10px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }
}

.plan-card--trial.is-expanded .plan-card__summary {
  border-color: #C48B14;
  box-shadow: 0 0 0 2px #D4A12A, var(--shadow-md);
}

.plan-card--trial.is-expanded .plan-card__expand-inner {
  border-color: var(--success);
}

.plan-card__term {
  font-family: var(--font-display);
  font-size: clamp(0.84rem, 3.3vw, 1.05rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: break-word;
}

.plan-card--featured .plan-card__term { color: var(--white); }

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.price__amount {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price__period {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}

.plan-card--featured .price__period { color: rgba(255, 255, 255, 0.76); }

.plan-card__cue {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.plan-card--featured .plan-card__cue {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: var(--lavender);
}

.plan-card__cue svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.plan-card.is-expanded .plan-card__cue svg {
  transform: rotate(180deg);
}

/* Smooth Tap-to-Expand drawer on mobile (<1024px) */
.plan-card__expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  width: calc(300% + 2 * var(--plans-gap));
  margin-top: 0;
  transition: grid-template-rows 0.35s var(--ease), opacity 0.25s var(--ease), margin-top 0.3s var(--ease);
}

.plan-card:nth-child(1) .plan-card__expand { margin-left: 0; }
.plan-card:nth-child(2) .plan-card__expand { margin-left: calc(-100% - var(--plans-gap)); }
.plan-card:nth-child(3) .plan-card__expand { margin-left: calc(-200% - 2 * var(--plans-gap)); }

.plan-card.is-expanded .plan-card__expand {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  margin-top: 10px;
}

.plan-card__expand-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 18px;
  border: 0 solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: none;
  transition: padding 0.3s var(--ease), border-width 0.2s ease, box-shadow 0.3s var(--ease);
}

.plan-card.is-expanded .plan-card__expand-inner {
  padding: 20px 18px;
  border-width: 1.5px;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.plan-card--featured .plan-card__expand-inner {
  background: var(--crest);
  color: var(--white);
}

.plan-card--featured.is-expanded .plan-card__expand-inner {
  border-color: var(--crest);
  box-shadow: var(--shadow-lg);
}

.plan-card--private .plan-card__expand-inner {
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--white) 55%);
}

.plan-card__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.plan-card--featured .plan-card__intro {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.plan-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
  line-height: 1.15;
}

.plan-card--featured .plan-card__name { color: var(--white); }

.plan-card__desc { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.plan-card--featured .plan-card__desc { color: rgba(255, 255, 255, 0.78); }

.price__note {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.plan-card--featured .price__note { color: rgba(255, 255, 255, 0.68); }

/* Desktop (>=1024px): full 3-column cards with features & CTA always visible */
@media (min-width: 1024px) {
  .plans,
  .plans.has-expanded {
    --plans-gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .plan-card {
    padding: 34px 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    gap: 20px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
  }

  .plan-card--featured {
    background: var(--crest);
    border-color: var(--crest);
    color: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .plan-card--private {
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--white) 55%);
    border-color: rgba(25, 42, 136, 0.28);
  }

  .plan-card--trial {
    overflow: hidden;
    padding-top: 0;
    border-color: rgba(201, 145, 29, 0.58);
    box-shadow: 0 10px 28px -14px rgba(176, 124, 14, 0.28);
  }

  @media (hover: hover) {
    .plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
    .plan-card--trial:hover { border-color: #C48B14; }
    .plan-card--featured:hover { border-color: var(--crest); }
  }

  .plan-card__summary,
  .plan-card--trial .plan-card__summary,
  .plan-card--featured .plan-card__summary,
  .plan-card--private .plan-card__summary,
  .plan-card.is-expanded .plan-card__summary,
  .plan-card--trial.is-expanded .plan-card__summary,
  .plan-card--featured.is-expanded .plan-card__summary {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: default;
    gap: 16px;
  }

  .plan-card__gold-ribbon {
    margin: 0 -28px 10px;
    width: calc(100% + 56px);
    padding: 10px 16px;
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .plan-card__top {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .plan-card--trial .plan-card__top {
    flex-direction: row;
    justify-content: flex-start;
  }

  .plan-card__term {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
  }

  .plan-card--featured .plan-card__term { color: var(--lavender); }

  .pill {
    min-height: 28px;
    padding: 4px 12px;
    font-size: 12px;
  }

  .plan-card__summary .pill--launch {
    position: static;
    width: auto;
    height: auto;
    padding: 4px 12px;
    margin: 0;
    overflow: visible;
    clip: auto;
    border: 1px solid rgba(244, 224, 198, 0.48);
  }

  .plan-card__launch-banner {
    display: none;
  }

  .price {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .plan-card--featured .price { border-bottom-color: rgba(255, 255, 255, 0.16); }

  .price__amount { font-size: 3.25rem; }
  .price__period { font-size: 15px; }

  .plan-card__cue { display: none; }

  .plan-card__expand,
  .plan-card:nth-child(1) .plan-card__expand,
  .plan-card:nth-child(2) .plan-card__expand,
  .plan-card:nth-child(3) .plan-card__expand,
  .plan-card.is-expanded .plan-card__expand {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .plan-card__expand-inner,
  .plan-card.is-expanded .plan-card__expand-inner,
  .plan-card--trial.is-expanded .plan-card__expand-inner,
  .plan-card--featured .plan-card__expand-inner,
  .plan-card--featured.is-expanded .plan-card__expand-inner,
  .plan-card--private .plan-card__expand-inner {
    flex: 1;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 20px;
  }
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
  flex: 1;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.plan-card--featured .feature-list li { color: rgba(255, 255, 255, 0.9); }

.feature-list strong { color: var(--ink); font-weight: 700; }
.plan-card--featured .feature-list strong { color: var(--white); }

.feature-list .check {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-tint);
  color: var(--navy);
}

.plan-card--featured .feature-list .check { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.feature-list .check svg { width: 12px; height: 12px; }

.feature-list li.is-key {
  padding: 12px 14px;
  margin-inline: -14px;
  border-radius: var(--r-sm);
  background: var(--ivory);
}

.plan-card--featured .feature-list li.is-key { background: rgba(255, 255, 255, 0.07); }

.plans-note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

/* ---------- 11. Pillars / Standard (Page 1 — Strict 2x2 Grid) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.pillar .media {
  border-radius: var(--r-sm);
  width: 100%;
}

.pillar__body {
  padding-inline: 2px;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pillar__body .h3 {
  font-size: clamp(0.92rem, 3.3vw, 1.125rem);
  line-height: 1.25;
}

.pillar__body p {
  font-size: clamp(0.8rem, 2.7vw, 0.9375rem);
  line-height: 1.45;
  color: var(--muted);
}

/* Tablet & desktop: structured 2x2 grid with compact side-by-side square illustration */
@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .pillar {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 16px 20px 16px 16px;
    border-radius: var(--r-lg);
  }
  .pillar .media {
    border-radius: var(--r-md);
  }
  .pillar__body {
    padding-inline: 0;
    gap: 6px;
  }
}

@media (min-width: 1024px) {
  .pillars { gap: 24px; }
  .pillar {
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 22px;
    padding: 18px 24px 18px 18px;
  }
}

/* ---------- 12. Testimonial ---------- */
.quote {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.6;
  color: var(--navy);
  opacity: 0.35;
}

.quote blockquote {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  line-height: 1.5;
  color: var(--crest);
}

.quote figcaption {
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 13. CTA Band ---------- */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 24px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(220, 222, 247, 0.22), transparent 60%),
    var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-band .h2 { color: var(--white); max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 520px; }

@media (min-width: 900px) {
  .cta-band { padding: 72px 48px; }
}

/* ---------- 14. Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: 56px 0 32px;
  background: var(--crest);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

@media (min-width: 820px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

.site-footer .brand__name { color: var(--white); }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.6); }

.site-footer__blurb { margin-top: 16px; max-width: 360px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }

.footer-title {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
}

.footer-links { list-style: none; display: grid; }

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  word-break: break-word;
}

.footer-links a:hover,
.footer-links button:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.site-footer :focus-visible { outline-color: var(--lavender); }

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 15. Funnel Stepper ---------- */
.stepper { margin-bottom: 12px; }

.stepper ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stepper li { min-width: 0; }

.stepper__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-height: var(--touch);
  padding-top: 4px;
  border-top: 3px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.stepper__item .num { font-size: 11px; letter-spacing: 0.1em; opacity: 0.75; }
.stepper__item .label { font-size: 13px; letter-spacing: 0.02em; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stepper li.is-complete .stepper__item { border-top-color: var(--navy); color: var(--navy); }
.stepper li.is-complete a.stepper__item:hover .label { text-decoration: underline; text-underline-offset: 3px; }
.stepper li.is-current .stepper__item { border-top-color: var(--navy); color: var(--ink); }

/* ---------- 16. Funnel Page Head ---------- */
.funnel-main { padding: 10px 0 132px; }

@media (min-width: 900px) {
  .funnel-main { padding: 24px 0 120px; }
}

.page-head { display: grid; gap: 4px; margin-bottom: 12px; }
.page-head .eyebrow { font-size: 11px; }
.page-head .h2 { font-size: clamp(1.45rem, 4.8vw, 2.25rem); line-height: 1.15; }
.page-head .muted { font-size: 14px; line-height: 1.45; }

.plan-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px 12px;
  padding: 2px 6px 2px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
}

.plan-chip__label {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  min-width: 0;
}
.plan-chip__label strong { color: var(--ink); font-family: var(--font-ui); }

.plan-chip .text-link { padding-inline: 6px; font-size: 13px; flex: none; }

/* ---------- 17. Cohort Cards (Page 2) ---------- */
.cohort-list {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.cohort-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s ease;
}

@media (min-width: 640px) {
  .cohort-list { gap: 10px; }
  .cohort-card { padding: 15px 22px; border-radius: var(--r-lg); }
}

@media (hover: hover) {
  .cohort-card:hover { border-color: rgba(25, 42, 136, 0.45); box-shadow: var(--shadow-md); transform: translateY(-1px); }
}

.cohort-card input[type='radio'] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cohort-card:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }

.cohort-card.is-selected,
.cohort-card:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy-tint);
  box-shadow: 0 0 0 1px var(--navy), var(--shadow-md);
}

.cohort-card__days {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cohort-card__time {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.3vw, 1.45rem);
  line-height: 1.18;
  color: var(--ink);
}

.cohort-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 6px;
}

.cohort-card__meta .muted { font-size: 12px; }

.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 10px 2px 8px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(8, 50, 85, 0.12);
  color: var(--crest);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.capacity-badge svg { width: 15px; height: 15px; }

/* 1-on-1 slot badge: navy tint to distinguish from the group "Max 10" badge */
.capacity-badge--private {
  background: var(--navy-tint);
  border-color: rgba(25, 42, 136, 0.22);
  color: var(--navy);
}

.capacity-badge small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.cohort-card__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 0.2s var(--ease);
}

.cohort-card__check svg { width: 14px; height: 14px; }

.cohort-card.is-selected .cohort-card__check,
.cohort-card:has(input:checked) .cohort-card__check {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: scale(1.05);
}

/* ---------- 18. Sticky / Floating Action Bar (Page 2) ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-top: 1.5px solid var(--line);
  box-shadow: 0 -10px 28px -14px rgba(8, 50, 85, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease), background-color 0.2s ease;
}

.action-bar.is-active {
  border-top-color: var(--navy);
  box-shadow: 0 -14px 34px -12px rgba(25, 42, 136, 0.28);
}

.action-bar__inner {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 8px;
}

.action-bar__summary { min-width: 0; }

.action-bar__label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.action-bar.is-active .action-bar__label { color: var(--navy); }

.action-bar__value {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Keep footer content clear of the fixed mobile action bar */
body[data-page='schedule'] .site-footer { padding-bottom: 120px; }

@media (min-width: 900px) {
  body[data-page='schedule'] .site-footer { padding-bottom: 112px; }
  .action-bar {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(820px, calc(100vw - var(--gutter) * 2));
    padding: 14px 24px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
  }
  .action-bar.is-active {
    border-color: var(--navy);
    box-shadow: var(--shadow-lg);
  }
  .action-bar__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .action-bar__value { font-size: 15px; white-space: normal; }
}

/* ---------- 19. Alerts / Empty States ---------- */
.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.6;
}

.notice__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.notice__title { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 2px; }

.notice--classroom { background: var(--navy-tint); border: 1px solid rgba(25, 42, 136, 0.16); color: var(--ink-2); }
.notice--classroom .notice__icon { background: var(--navy); color: var(--white); }

.notice--warn { background: var(--cream); border: 1px solid rgba(8, 50, 85, 0.12); color: var(--ink-2); }
.notice--warn .notice__icon { background: var(--crest); color: var(--white); }

.form-alert {
  display: none;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--danger-tint);
  border: 1px solid rgba(180, 35, 24, 0.25);
  color: var(--danger);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
}

.form-alert.is-visible { display: block; }

/* ---------- 20. Checkout Layout (Page 3) ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (min-width: 980px) {
  .checkout-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
  .checkout-grid__summary { order: 2; position: sticky; top: calc(var(--header-h) + 24px); }
  .checkout-grid__form { order: 1; }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.card__body { padding: 20px; }

@media (min-width: 640px) {
  .card__head { padding: 24px 28px 18px; }
  .card__body { padding: 28px; }
}

.card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.25;
}

.summary-list { display: grid; }

.summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item:first-child { padding-top: 0; }

.summary-item__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-item__value {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.summary-item__sub { margin-top: 2px; font-size: 14px; color: var(--muted); }

.edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--touch);
  min-width: var(--touch);
  margin: -12px -8px -12px 0;
  padding: 0 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.edit-link:hover { background: var(--navy-tint); }

.kickoff-callout {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1.5px solid rgba(22, 101, 52, 0.24);
  border-left: 4px solid var(--success);
  border-radius: var(--r-md);
  background: #F3FAF6;
}

.kickoff-callout__label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--success);
}

.kickoff-callout__date {
  margin: 5px 0 0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--crest);
}

.kickoff-callout__date strong {
  color: var(--success);
  font-weight: 900;
}

.kickoff-callout__emoji {
  display: inline-block;
  margin-right: 4px;
  font-style: normal;
}

.kickoff-callout__sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 4px;
}

.summary-total__label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
}

.summary-total__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #E8F5EE;
  border: 1px solid rgba(31, 122, 77, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14532D;
}

.summary-total__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--crest);
  white-space: nowrap;
}

.summary-total__value--trial { color: var(--success); }

.summary-total__value small { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--muted); }

/* Checkout Free Week Trial Summary Box (above registration CTA) */
.trial-summary-box {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1.5px solid rgba(31, 122, 77, 0.35);
  border-left: 4px solid var(--success);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #EFFAF4 0%, #F8FDFA 100%);
}

.trial-summary-box[hidden] { display: none; }

.trial-summary-box__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.35;
  color: #14532D;
}

.trial-summary-box__details {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.trial-summary-box__easy-cancel {
  margin: 12px 0 0;
  padding: 10px 14px;
  border: 1.5px solid rgba(31, 122, 77, 0.32);
  border-radius: var(--r-sm);
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #14532D;
}

.trial-summary-box__easy-cancel strong {
  font-weight: 900;
  color: #0F4223;
}

.trial-summary-box__foot {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(31, 122, 77, 0.16);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.trial-summary-box__foot .inline-link,
.secure-note .inline-link {
  min-height: 0;
  color: var(--navy);
  font-weight: 700;
}

.field__optional {
  font-weight: 400;
  color: var(--muted);
}

.field__select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235B6072' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

.cancel-shell {
  max-width: 780px;
  margin: 0 auto;
}

.cancel-confirm {
  display: grid;
  gap: 20px;
  text-align: center;
}

.cancel-confirm[hidden],
#cancel-form-panel[hidden] {
  display: none;
}

.cancel-confirm__heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 4.5vw, 1.85rem);
  line-height: 1.25;
  color: var(--crest);
}

.cancel-confirm__message {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1.5px solid rgba(31, 122, 77, 0.28);
  border-radius: var(--r-md);
  background: #F3FAF6;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.cancel-confirm__receipt {
  text-align: left;
}

.cancel-confirm .onboarding-support {
  text-align: left;
}

.onboarding-support__text {
  overflow-wrap: anywhere;
}

.summary-stack { display: grid; gap: 16px; margin-top: 16px; }

/* ---------- 21. Forms ---------- */
.form-section + .form-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

.form-section__title {
  margin-bottom: 18px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

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

@media (min-width: 640px) {
  .field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: grid; align-content: start; gap: 8px; min-width: 0; }

.field__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.field__label .req { color: var(--danger); margin-left: 2px; }

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;            /* Prevents iOS zoom on focus */
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field__input::placeholder { color: #A0A3AE; }

.field__input:hover { border-color: #BDB8AD; }

.field__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(25, 42, 136, 0.12);
}

.field.is-invalid .field__input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08); }
.field.is-valid .field__input { border-color: var(--success); }

.input-group {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.input-group__prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: var(--ivory);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
}

.input-group .field__input { border-radius: 0 var(--r-sm) var(--r-sm) 0; min-width: 0; }
.field.is-invalid .input-group__prefix { border-color: var(--danger); }
.field.is-valid .input-group__prefix { border-color: var(--success); }

.field__hint { font-size: 13px; color: var(--muted); }

.field__error {
  display: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
}

.field.is-invalid .field__error { display: block; }

/* Agreements */
.agreements { display: grid; gap: 10px; }

.agree-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.agree-row:has(input:checked) { border-color: rgba(25, 42, 136, 0.45); background: var(--navy-tint); }
.agree-row.is-invalid { border-color: var(--danger); background: var(--danger-tint); }

.agree-row__control {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -12px -8px -12px -12px;
  cursor: pointer;
}

.agree-row__control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.agree-row__box {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 7px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 0.18s var(--ease);
  pointer-events: none;
}

.agree-row__box svg { width: 14px; height: 14px; }

.agree-row__control input:checked + .agree-row__box { background: var(--navy); border-color: var(--navy); color: var(--white); }
.agree-row__control input:focus-visible + .agree-row__box { outline: 3px solid var(--navy); outline-offset: 3px; }
.agree-row.is-invalid .agree-row__box { border-color: var(--danger); }

.agree-row__text { font-size: 14px; line-height: 1.55; color: var(--ink-2); padding-top: 1px; }
.agree-row__text label { cursor: pointer; }
.agree-row__text .agree-row__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.agree-row__text .inline-link { min-height: 0; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 22. Dialogs (native <dialog>, mobile sheet) ---------- */
.dialog {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}

.dialog[open] { display: flex; flex-direction: column; animation: sheet-in 0.32s var(--ease) both; }

.dialog::backdrop {
  background: rgba(8, 18, 40, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .dialog {
    width: min(760px, calc(100vw - 48px));
    height: auto;
    max-height: min(86vh, 900px);
    margin: auto;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
  }
  .dialog--sm { width: min(560px, calc(100vw - 48px)); }
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  flex: none;
}

@media (min-width: 720px) {
  .dialog__head { padding: 24px 32px 20px; }
}

.dialog__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 4.5vw, 1.75rem);
  line-height: 1.2;
}

.dialog__meta {
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.dialog__close {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  margin: -6px -8px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  flex: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dialog__close:hover { border-color: var(--navy); background: var(--navy-tint); }

.dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px;
}

@media (min-width: 720px) {
  .dialog__body { padding: 28px 32px; }
}

.dialog__foot {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--ivory);
  flex: none;
}

@media (min-width: 560px) {
  .dialog__foot { flex-direction: row; justify-content: flex-end; align-items: center; }
}

@media (min-width: 720px) {
  .dialog__foot { padding: 18px 32px; }
}

/* ---------- 23. Legal Prose ---------- */
.legal-prose { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.legal-prose > * + * { margin-top: 16px; }
.legal-prose h3 {
  margin-top: 28px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.legal-prose ul { padding-left: 22px; display: grid; gap: 8px; }
.legal-prose li::marker { color: var(--navy); }
.legal-prose strong { color: var(--ink); }
.legal-prose a { color: var(--navy); font-weight: 700; word-break: break-word; }

.legal-meta {
  padding: 14px 16px;
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--navy-tint);
  font-size: 14px;
}

/* ---------- 24. Legal Page ---------- */
.legal-nav {
  display: flex;
  gap: 8px;
  margin: 24px 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.legal-nav::-webkit-scrollbar { display: none; }

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.legal-nav a:hover { border-color: var(--navy); color: var(--navy); }

.legal-section {
  padding: 28px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

@media (min-width: 640px) {
  .legal-section { padding: 44px 48px; }
}

.legal-section > .h2 { font-size: clamp(1.625rem, 5vw, 2.125rem); margin-bottom: 20px; }

/* ---------- 25. Confirmation & Post-Payment Onboarding ---------- */
.header-secure--confirmed {
  color: var(--success);
  font-weight: 700;
}

.confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E8F5EE;
  border: 1.5px solid rgba(22, 101, 52, 0.22);
  color: var(--success);
  margin-bottom: 16px;
}

.confirm-icon--lg {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(22, 101, 52, 0.12);
}

.success-shell {
  max-width: 820px;
  margin: 0 auto;
}

/* Pre-payment confirmation modal (centered card on every screen size) */
.dialog.prepay-dialog {
  width: min(520px, calc(100vw - 32px));
  /* fit-content (not auto): a modal <dialog> is fixed with inset:0, so `auto` would stretch it */
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.prepay {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 22px 22px;
  text-align: center;
}

@media (min-width: 640px) {
  .prepay { padding: 36px 36px 28px; }
}

.prepay .confirm-icon--lg { margin-bottom: 2px; }

.prepay__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 5vw, 1.75rem);
  line-height: 1.25;
  color: var(--crest);
}

.prepay__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.prepay__body strong { color: var(--success); }

.prepay__note {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ivory);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.prepay__note .inline-link { min-height: 0; color: var(--navy); font-weight: 700; }

.prepay__countdown {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.prepay__bar {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.prepay__bar-fill {
  display: block;
  height: 100%;
  background: var(--success);
  transform-origin: left center;
  transform: scaleX(1);
}

#prepay-countdown {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

#prepay-countdown strong { color: var(--crest); font-variant-numeric: tabular-nums; }

.prepay .secure-note { margin-top: 0; }

.success-card {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.success-card__hero {
  text-align: center;
  padding: 32px 20px 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F3FAF6 0%, var(--white) 100%);
}

@media (min-width: 640px) {
  .success-card__hero {
    padding: 44px 48px 34px;
  }
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #E8F5EE;
  border: 1px solid rgba(22, 101, 52, 0.24);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--success);
}

.success-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.success-card__title {
  margin-top: 16px;
  font-size: clamp(1.5rem, 4.8vw, 2.25rem);
  line-height: 1.2;
  color: var(--crest);
}

.success-card__lead {
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

.success-card__body {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .success-card__body {
    padding: 36px 44px 40px;
    gap: 32px;
  }
}

.success-summary-box {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory);
}

.success-summary-box__title {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.onboarding-section {
  display: grid;
  gap: 16px;
}

.onboarding-section__eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.onboarding-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.onboarding-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .onboarding-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 24px;
  }
}

.onboarding-step__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-tint);
  border: 1.5px solid rgba(25, 42, 136, 0.2);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .onboarding-step__badge {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
}

.onboarding-step__badge--green {
  background: #E8F5EE;
  border-color: rgba(22, 101, 52, 0.28);
  color: var(--success);
}

.onboarding-step__content {
  min-width: 0;
}

.onboarding-step__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--crest);
}

.onboarding-step__desc {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.onboarding-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-left: 4px solid var(--success);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: #F3FAF6;
  color: var(--ink-2);
}

.onboarding-support__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #E8F5EE;
  color: var(--success);
  flex-shrink: 0;
}

.onboarding-support__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.onboarding-support__text .inline-link {
  min-height: 0;
  color: var(--navy);
  font-weight: 700;
}

.success-card__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.success-card__actions .btn {
  width: 100%;
}

@media (min-width: 520px) {
  .success-card__actions .btn {
    width: auto;
    min-width: 240px;
  }
}

.confirm-list { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.confirm-list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm-list dt { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.confirm-list dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-word; }

@media (min-width: 560px) {
  .confirm-list > div { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: baseline; }
}

.steps-next { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps-next li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.steps-next li::before {
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-tint);
  color: var(--navy);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- 26. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 27. Print ---------- */
@media print {
  .site-header, .site-footer, .action-bar, .stepper, .btn { display: none !important; }
  body { background: #fff; }
}
