/* Mabuhay Consul — landing. Four acts: Pangarap → Taya → Paghahanda → Tagumpay.
   Boldness is spent once (hero chat cascade); everything else stays disciplined. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
section[id] { scroll-margin-top: 24px; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { top: 0; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

/* ── Shared type ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: var(--sp-4);
}
.eyebrow-onnavy { color: var(--gold-bright); }
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.h2-onnavy { color: var(--text-on-navy); }
.lead {
  font-size: var(--text-lead);
  color: var(--muted);
  max-width: var(--measure);
  margin-top: var(--sp-6);
}
.lead-onnavy { color: var(--muted-on-navy); }
.lead-strong { color: var(--ink); }
.gold-italic { font-style: italic; color: var(--gold); }
.gold-italic-dark { font-style: italic; color: var(--gold-deep); }
.crimson-italic { font-style: italic; color: var(--crimson); }
.mono-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--r-md);
  padding: 14px 26px;
  min-height: 48px;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 10px 32px rgba(212, 175, 55, 0.45); }
.btn-ghost {
  color: var(--text-on-navy);
  border: 1px solid rgba(230, 234, 240, 0.28);
}
.btn-ghost:hover { border-color: rgba(230, 234, 240, 0.6); }
.btn-big { font-size: 1.15rem; padding: 18px 36px; }
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.play-tri { width: 16px; height: 16px; flex: none; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--gutter);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-on-navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.nav-word em { font-style: normal; color: var(--gold); }
.monogram { width: 40px; height: 40px; display: block; }
.monogram svg { width: 100%; height: 100%; display: block; border-radius: 9px; }
.monogram-sm { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a {
  color: var(--muted-on-navy);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 500;
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--text-on-navy); }
.btn-nav {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  min-height: 0;
  border-radius: var(--r-pill);
  font-size: var(--text-small);
}
.btn-nav:hover { background: rgba(212, 175, 55, 0.24); color: var(--gold-bright); }

/* ── ACT 1 · Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy-deep);
  color: var(--text-on-navy);
  overflow: clip;
  display: grid;
  align-items: center;
  padding: calc(var(--sp-16) + 40px) var(--gutter) var(--sp-16);
}
.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 65% at 78% 88%, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 38%, transparent 62%),
    radial-gradient(90% 60% at 20% 0%, #14335a 0%, transparent 60%),
    linear-gradient(180deg, #06121f 0%, #0a1d37 70%, #112746 100%);
}
#confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.transcript {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--muted-on-navy);
  margin-bottom: var(--sp-6);
  display: grid;
  gap: 6px;
}
.transcript-tag {
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: rgba(212, 175, 55, 0.75);
}
.transcript-line { color: var(--text-on-navy); min-height: 1.5em; }
.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--gold);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-h1 .line { display: block; }
.hero-lead {
  margin-top: var(--sp-6);
  font-size: var(--text-lead);
  color: var(--muted-on-navy);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.hero-disclaimer {
  margin-top: var(--sp-8);
  font-size: 0.75rem;
  /* Full token (#9aa6b8 -> ~7.6:1 on navy) — WCAG AA. Legal disclaimer must
     stay legible; do not re-introduce a low-alpha "fine print" gray here. */
  color: var(--muted-on-navy);
  max-width: 44ch;
}

/* Stage: sunburst + arch portrait + chat card */
.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
.sunburst {
  position: absolute;
  inset: -18% -22% auto -22%;
  aspect-ratio: 1;
  z-index: 0;
  opacity: 0.85;
}
.sunburst svg { width: 100%; height: 100%; animation: sun-rotate 140s linear infinite; transform-origin: 50% 50%; }
@keyframes sun-rotate { to { transform: rotate(360deg); } }

/* The consular window — Window 7, the moment everyone rehearses for. */
.window {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-pill) var(--r-pill) var(--r-lg) var(--r-lg);
  background: linear-gradient(180deg, #0e2547 0%, #14335a 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    inset 0 0 0 10px rgba(6, 18, 31, 0.85),
    inset 0 0 0 12px rgba(212, 175, 55, 0.28),
    0 24px 80px rgba(2, 8, 18, 0.55);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.window-sign {
  margin: 24px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #06121f;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--r-sm);
  padding: 8px 16px;
  font-family: var(--font-mono);
}
.window-sign-label {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--muted-on-navy);
}
.window-sign-no {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(229, 193, 88, 0.75);
}
/* The approved applicant, seen through the window frame. */
.window-photo {
  position: relative;
  margin: 18px 20px 20px;
  border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.window-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* cinemagraph layer — fades in over the still once it's actually playing;
   the still underneath stays the LCP element and the reduced-motion fallback */
.window-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}
.window-photo.is-live .window-video {
  opacity: 1;
}

/* warm vignette so the frame, photo, and overlapping chat read as one scene */
.window-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 31, 0.22) 0%, transparent 22%),
    linear-gradient(0deg, rgba(6, 18, 31, 0.38) 0%, transparent 34%);
}

/* Parol bokeh — warm festival lights drifting behind the stage */
.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.55) 0%, rgba(229, 193, 88, 0) 70%);
  filter: blur(2px);
  animation: bokeh-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.b1 { width: 90px; height: 90px; top: -6%; right: -10%; }
.b2 { width: 54px; height: 54px; bottom: 18%; right: -16%; animation-delay: -3s; }
.b3 { width: 70px; height: 70px; top: 30%; left: -20%; animation-delay: -6s; }
@keyframes bokeh-drift {
  to { transform: translateY(-22px) scale(1.08); }
}

.chat {
  position: absolute;
  z-index: 3;
  left: min(-14%, -48px);
  bottom: -6%;
  width: min(78%, 300px);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--e3);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--text-on-navy);
  font-size: 0.8rem;
  font-weight: 600;
}
.chat-avatar {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--navy-soft);
  border-radius: 50%;
  font-size: 0.75rem;
}
.chat-title small { display: block; font-weight: 400; font-size: 0.65rem; color: var(--muted-on-navy); }
.chat-body { padding: 12px; display: grid; gap: 8px; }
.bubble {
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 14px;
  max-width: 88%;
  width: fit-content;
  transform-origin: bottom left;
}
.bubble small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1px;
}
.bubble.sent {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  justify-self: end;
  border-bottom-right-radius: 4px;
  transform-origin: bottom right;
}
.bubble.recv {
  background: #eef1f5;
  border-bottom-left-radius: 4px;
}
.bubble.typing { background: #eef1f5; display: inline-flex; gap: 4px; padding: 10px 12px; }
.bubble.typing span {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 0.5; } }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  translate: -50% 0;
  z-index: 4;
  width: 26px; height: 44px;
  border: 1.5px solid rgba(230, 234, 240, 0.3);
  border-radius: var(--r-pill);
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.scroll-cue-dot {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 4px;
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue { 55% { transform: translateY(14px); opacity: 0; } 56% { transform: none; opacity: 0; } }

/* ── ACT 2 · Stakes ──────────────────────────────────────────── */
.stakes {
  background: var(--paper);
  padding: var(--space-section) var(--gutter) calc(var(--space-section) * 0.55);
}
.stakes-intro { max-width: 1280px; margin-inline: auto; }
.receipt-scene {
  max-width: 1280px;
  margin: var(--sp-16) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: start;
}
.receipt-pin { display: grid; justify-items: center; }
.receipt {
  position: relative;
  width: min(100%, 420px);
  background: var(--card);
  padding: var(--sp-8) var(--sp-6) var(--sp-12);
  font-family: var(--font-mono);
  box-shadow: var(--e2);
  /* torn receipt bottom edge */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px),
    95% 100%, 90% calc(100% - 10px), 85% 100%, 80% calc(100% - 10px),
    75% 100%, 70% calc(100% - 10px), 65% 100%, 60% calc(100% - 10px),
    55% 100%, 50% calc(100% - 10px), 45% 100%, 40% calc(100% - 10px),
    35% 100%, 30% calc(100% - 10px), 25% 100%, 20% calc(100% - 10px),
    15% 100%, 10% calc(100% - 10px), 5% 100%, 0 calc(100% - 12px));
}
.receipt-head {
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.receipt-head span { font-weight: 400; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.14em; }
.receipt-rule { border-top: 1.5px dashed var(--border); margin: var(--sp-4) 0; }
.receipt-items { display: grid; gap: 10px; }
.r-item {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: 0.82rem;
  color: var(--ink);
}
.r-item b { font-weight: 600; white-space: nowrap; }
.r-total { font-weight: 600; color: var(--crimson); font-size: 0.88rem; }
.receipt-foot { margin-top: var(--sp-5); font-size: 0.62rem; color: var(--muted); }
.stamp {
  position: absolute;
  top: 42%;
  left: 50%;
  translate: -50% -50%;
  rotate: -12deg;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.12em;
  color: var(--crimson);
  border: 4px solid var(--crimson);
  border-radius: var(--r-sm);
  padding: 8px 18px;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stakes-kicker { padding-top: var(--sp-8); max-width: 46ch; }
.stakes-kicker strong { color: var(--navy); }
.pivot {
  margin-top: var(--sp-8);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
}
.pivot em { color: var(--gold-deep); }
/* The resolution beat. Stays upright Fraunces in navy — one size step down,
   not three simultaneous changes (small + italic + gray read as a font swap). */
.pivot-tail {
  display: block;
  margin-top: var(--sp-4);
  font-size: 0.68em;
  line-height: 1.25;
  color: var(--navy);
}

/* ── ACT 3 · The app ─────────────────────────────────────────── */
.app {
  background: linear-gradient(180deg, var(--paper) 0%, #fdfcfa 30%, #fdfcfa 100%);
  padding: calc(var(--space-section) * 0.6) var(--gutter) var(--space-section);
}
.app-intro { max-width: 1280px; margin-inline: auto; }

/* Personalization callout — a navy band on the light section so it reads as the
   one deliberate focal point. Colors use full on-navy tokens (WCAG AA): body
   #e6eaf0 (~13:1), heading gold-bright (large text). */
.personalize {
  max-width: 1280px;
  margin: var(--sp-12) auto 0;
  background: var(--navy);
  border: 1px solid var(--navy-soft);
  border-radius: 16px;
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
}
.personalize-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
.personalize-body {
  color: var(--text-on-navy);
  font-size: var(--text-lead, 1.125rem);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}
.personalize-body strong { color: #fff; font-weight: 600; }
.personalize-body em { font-style: italic; color: var(--gold-bright); }

.app-grid {
  max-width: 1280px;
  margin: var(--sp-16) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: start;
}
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}
.modes .trust-card:last-child { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .modes { grid-template-columns: 1fr; }
}
.mode-card, .trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--e1);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.mode-card:hover, .trust-card:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.mode-card h3, .trust-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.mode-card p, .trust-card p { color: var(--muted); font-size: 0.95rem; }
.mode-tag {
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.mode-free { color: var(--success); font-weight: 600; }
.trust-card {
  background: var(--navy);
  border-color: var(--navy);
  grid-column: span 1;
}
.trust-card h3 { color: var(--gold-bright); }
.trust-card p { color: var(--muted-on-navy); }
.trust-card strong { color: var(--text-on-navy); }

.device { margin: 0; justify-self: center; position: sticky; top: var(--sp-12); }
.device-frame {
  width: min(100%, 280px);
  border-radius: 36px;
  border: 8px solid var(--navy-deep);
  overflow: hidden;
  box-shadow: var(--e3);
  background: var(--navy-deep);
}
.device-caption { margin-top: var(--sp-4); text-align: center; }

/* ── ACT 3.5 · Final Report (the earned ticket) ──────────────── */
/* Echoes Act 2's receipt: that artifact shows what one chance COSTS, this one
   shows what preparation EARNS. Solid --paper background — the perforation
   notches (.ticket-tear) punch "holes" with the section color, so a gradient
   here would visibly mismatch them. */
.report {
  background: var(--paper);
  padding: calc(var(--space-section) * 0.6) var(--gutter);
}
.report-intro { max-width: 1280px; margin-inline: auto; }
.report-scene {
  max-width: 1280px;
  margin: var(--sp-12) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: center;
}
.ticket-pin { display: grid; justify-items: center; }
.ticket {
  position: relative;
  width: min(100%, 460px);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  color: var(--text-on-navy);
  font-family: var(--font-mono);
  box-shadow: 0 24px 70px rgba(2, 8, 18, 0.35);
}
.ticket-main { padding: var(--sp-6); }
.ticket-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}
.ticket-score {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.ticket-score b {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ticket-score span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--muted-on-navy);
}
.ticket-verdict {
  display: inline-block;
  margin-top: var(--sp-4);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}
.ticket-trend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--sp-5);
  font-size: 0.74rem;
  color: var(--muted-on-navy);
}
.ticket-trend b { color: #fff; font-weight: 600; }
.ticket-trend .up { color: var(--gold-bright); }
/* Boarding-pass perforation: dashed rule + two notch "holes" punched with the
   section background color. */
.ticket-tear { position: relative; border-top: 2px dashed rgba(212, 175, 55, 0.4); }
.ticket-tear::before,
.ticket-tear::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
}
.ticket-tear::before { left: -13px; }
.ticket-tear::after { right: -13px; }
.ticket-stub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--muted-on-navy);
}
.ticket-stub b { color: var(--gold-bright); font-weight: 600; }
.ticket-note {
  margin-top: var(--sp-4);
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
}
.report-kicker { max-width: 46ch; }
.report-points { display: grid; gap: var(--sp-4); }
.report-points li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.report-points li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--gold-deep);
  font-size: 0.8rem;
}
.report-points strong { color: var(--navy); }
.report-included { margin-top: var(--sp-6); font-size: 0.9rem; color: var(--muted); }
.report-included a { color: var(--gold-deep); }

/* ── ACT 4 · Pricing ─────────────────────────────────────────── */
.pricing {
  background:
    radial-gradient(100% 50% at 50% 110%, rgba(212, 175, 55, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--text-on-navy);
  padding: var(--space-section) var(--gutter);
}
.pricing-intro { max-width: 1280px; margin-inline: auto; }
.packs {
  max-width: 1080px;
  margin: var(--sp-16) auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}
.pack {
  position: relative;
  background: rgba(19, 28, 43, 0.75);
  border: 1px solid var(--border-on-navy);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med);
}
.pack:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.45); }
.pack h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-on-navy);
}
.pack-price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: var(--sp-3) 0 var(--sp-5);
  font-variant-numeric: tabular-nums;
}
.pack ul { display: grid; gap: 10px; }
.pack li {
  font-size: 0.92rem;
  color: var(--muted-on-navy);
  padding-left: 22px;
  position: relative;
}
.pack li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 4px;
}
.pack-best { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }
.pack-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: var(--r-pill);
  padding: 4px 14px;
}
.pricing-note {
  max-width: 1080px;
  margin: var(--sp-6) auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-on-navy);
}

.finale-photo {
  max-width: 880px;
  margin: var(--space-section) auto 0;
  position: relative;
}
.finale-photo img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 80px rgba(2, 8, 18, 0.6);
}
.finale-photo-caption {
  position: absolute;
  left: 50%;
  bottom: -13px;
  translate: -50% 0;
  background: var(--navy-deep);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  color: var(--gold-bright);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.finale { text-align: center; margin-top: calc(var(--space-section) * 0.7); }
.finale-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
.finale-line em { color: var(--muted-on-navy); }
.gold-word { color: var(--gold); }
.finale .btn { margin-top: var(--sp-8); }
.finale-sub { margin-top: var(--sp-4); font-size: 0.85rem; color: var(--muted-on-navy); }
.finale-sub-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.finale-sub-link:hover,
.finale-sub-link:focus-visible { color: var(--gold-bright); }

.pricing-cta { text-align: center; margin-top: var(--sp-8); }
.pricing-cta-sub {
  margin-top: var(--sp-3);
  font-size: 0.85rem;
  color: var(--muted-on-navy);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: var(--muted-on-navy);
  padding: var(--sp-16) var(--gutter) var(--sp-8);
  border-top: 1px solid var(--border-on-navy);
}
.footer-grid {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: var(--sp-3); font-family: var(--font-display); font-weight: 600; color: var(--text-on-navy); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.footer-links a { color: var(--muted-on-navy); text-decoration: none; font-size: var(--text-small); }
.footer-links a:hover { color: var(--text-on-navy); }
.footer-disclaimer {
  max-width: 1280px;
  margin: var(--sp-8) auto 0;
  font-size: 0.72rem;
  line-height: 1.7;
  /* WCAG AA — legal/compliance text must be legible (was 0.6 alpha = 3.5:1). */
  color: var(--muted-on-navy);
}
.footer-copy { margin-top: var(--sp-6); text-align: center; color: var(--muted-on-navy); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero { padding-top: calc(var(--sp-16) + 56px); }
  .hero-stage { width: min(100%, 380px); }
  .chat { left: auto; right: -4%; bottom: -10%; }
  .receipt-scene { grid-template-columns: 1fr; }
  .stakes-kicker { padding-top: 0; }
  .report-scene { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .device { position: static; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .chat { position: relative; right: auto; bottom: auto; width: 100%; margin-top: var(--sp-4); }
}

/* ── 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;
  }
}
