/* ===================================================================
   THE MANSIO — v2 stylesheet. Custom "Aurora Glass" system, matched 1:1 to
   app.jsx. Light, bold, Linear-grade. Indigo accent (solid, no gradients).
   =================================================================== */

:root {
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ink: #1E1B2E;
  --ink-2: #1E1B2E;
  --body: #4B4860;
  --muted: #8A8699;
  --faint: #B8B3C2;

  --bg: #FAF8F5;
  --bg-2: #F3EFEA;
  --surface: #FFFFFF;
  --line: #ECE7E0;
  --line-2: #F2EDE6;

  --iris: #4F46E5;
  --iris-2: #4F46E5;
  --violet: #4F46E5;
  --sky: #4F46E5;
  --accent: var(--iris);
  --accent-ink: #4338CA;
  --coral: #FB7185;
  --coral-ink: #E11D48;
  --focus: #6366F1;
  --brand-tint: #EEF0FF;
  --grad: #4F46E5;
  --grad-soft: #EEF0FF;

  --glass: #FFFFFF;
  --glass-strong: #FFFFFF;
  --glass-brd: #ECE7E0;
  --blur: none;

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(30,27,46,0.06), 0 4px 14px -8px rgba(30,27,46,0.14);
  --sh-md: inset 0 1px 0 rgba(255,255,255,0.6), 0 10px 30px -12px rgba(30,27,46,0.22), 0 2px 8px -4px rgba(30,27,46,0.10);
  --sh-lg: inset 0 1px 0 rgba(255,255,255,0.7), 0 36px 80px -28px rgba(30,27,46,0.40), 0 10px 28px -14px rgba(30,27,46,0.18);
  --sh-accent: 0 10px 26px -10px rgba(79,70,229,0.6), 0 2px 8px -2px rgba(79,70,229,0.4);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --s20: 80px; --s24: 96px; --s32: 128px;

  --fs-display: clamp(2.85rem, 1.5rem + 4.7vw, 5.1rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 2.6vw, 3.3rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem);
  --fs-h3: clamp(1.16rem, 1.0rem + 0.5vw, 1.38rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.26rem);
  --fs-body: 1.0625rem;
  --fs-caption: 0.875rem;
  --fs-eyebrow: 0.76rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur: 460ms;
}

/* ===================================================================
   Dark theme — set via html[data-theme="dark"]. Deep indigo-black base,
   luminous iris accent, dark frosted glass. Most UI uses tokens, so it
   adapts wholesale; section-specific tweaks follow further down.
   =================================================================== */
html[data-theme="dark"] {
  --ink: #F4F4FC;
  --ink-2: #DEDEEC;
  --body: #A6A6BE;
  --muted: #82829C;
  --faint: #5A5A74;

  --bg: #0B0A12;
  --bg-2: #14131D;
  --surface: #17161F;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.06);

  --iris: #6366F1;
  --iris-2: #818CF8;
  --violet: #6366F1;
  --sky: #6366F1;
  --accent: var(--iris-2);
  --accent-ink: #C7D2FE;
  --coral: #FB7185;
  --coral-ink: #FB7185;
  --focus: #818CF8;
  --brand-tint: rgba(99,102,241,0.14);
  --grad: #6366F1;
  --grad-soft: rgba(99,102,241,0.16);

  --glass: #17161F;
  --glass-strong: #1B1A24;
  --glass-brd: rgba(255, 255, 255, 0.10);

  --sh-sm: 0 1px 2px rgba(0,0,0,0.4), 0 6px 18px -10px rgba(0,0,0,0.6);
  --sh-md: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 36px -14px rgba(0,0,0,0.7), 0 2px 8px -4px rgba(0,0,0,0.5);
  --sh-lg: inset 0 1px 0 rgba(255,255,255,0.08), 0 40px 90px -30px rgba(0,0,0,0.8), 0 12px 30px -16px rgba(0,0,0,0.6);
  --sh-accent: 0 12px 28px -10px rgba(99,102,241,0.6), 0 2px 8px -2px rgba(99,102,241,0.45);
}

/* Theme switch snaps instantly across the whole page. (Per-element color
   transitions on backdrop-filter glass make off-screen layers repaint lazily
   — only updating on scroll — so we intentionally do NOT transition them.) */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Dark: brighten aurora, flip grid lines to light, tune dark-on-dark sections */
html[data-theme="dark"] body::before {
  background: none;
}
html[data-theme="dark"] body::after {
  background: none;
}
html[data-theme="dark"] .hv-opt,
html[data-theme="dark"] .hv-choice { background: rgba(255,255,255,0.03); }
html[data-theme="dark"] .hv-opt--sel { background: rgba(99,102,241,0.14); }
html[data-theme="dark"] .hv-mock__dots span { background: rgba(255,255,255,0.18); }
html[data-theme="dark"] .hv-mock__url { background: rgba(255,255,255,0.06); }
html[data-theme="dark"] .hv-prog { background: rgba(255,255,255,0.10); }
html[data-theme="dark"] .hv-advisor__photo--img { background: var(--bg-2); }
html[data-theme="dark"] .hv-badge--accent { background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.3); }
html[data-theme="dark"] .hv-badge--quiet { background: rgba(255,255,255,0.04); }
html[data-theme="dark"] .hv-instruments .hv-badge { color: var(--ink-2); }
html[data-theme="dark"] .hv-step__num,
html[data-theme="dark"] .hv-advisor__ph-tag { background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.3); }
html[data-theme="dark"] .hv-disclosure { background: rgba(99,102,241,0.10); border-color: rgba(99,102,241,0.24); }
html[data-theme="dark"] .hv-privacy-card { background: var(--surface); }
html[data-theme="dark"] .hv-privacy-card__icon { background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.3); }
/* Safety band + final slab are already dark; just keep their internals readable */
html[data-theme="dark"] .hv-mission__mark { color: rgba(144,141,255,0.20); }

/* ---------- Breathing motif ---------- */
.hv-breathe { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.hv-breathe__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--accent); transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
.hv-breathe__core { position: absolute; left: 50%; top: 50%; border-radius: 50%; background: var(--grad); transform: translate(-50%, -50%); box-shadow: var(--sh-accent); }
@media (prefers-reduced-motion: no-preference) {
  .hv-breathe__ring--1 { animation: hvBreatheRing 6s var(--ease) infinite; }
  .hv-breathe__ring--2 { animation: hvBreatheRing 6s var(--ease) infinite 2s; }
  .hv-breathe__ring--3 { animation: hvBreatheRing 6s var(--ease) infinite 4s; }
  .hv-breathe__core { animation: hvBreatheCore 6s var(--ease) infinite; }
}
@keyframes hvBreatheRing {
  0% { transform: translate(-50%, -50%) scale(0.35); opacity: 0; }
  30% { opacity: 0.55; }
  70% { opacity: 0.12; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes hvBreatheCore {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.65; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
/* divider variant — small, between sections */
.hv-breathe--divider { width: 72px; height: 72px; }
.hv-breathe--divider .hv-breathe__ring { width: 56px; height: 56px; }
.hv-breathe--divider .hv-breathe__core { width: 9px; height: 9px; }
.hv-break { display: flex; align-items: center; justify-content: center; gap: var(--s5); max-width: 1200px; margin: 0 auto; padding-inline: var(--s8); }
.hv-break__line { height: 1px; flex: 1; max-width: 220px; background: var(--line); }
/* ambient variant — large, behind the final CTA */
.hv-breathe--ambient { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 440px; height: 440px; z-index: 0; pointer-events: none; opacity: 0.5; }
.hv-breathe--ambient .hv-breathe__ring { width: 360px; height: 360px; border-color: rgba(199,210,254,0.5); }
.hv-breathe--ambient .hv-breathe__core { width: 60px; height: 60px; filter: blur(8px); }
html[data-theme="dark"] .hv-break__line { background: rgba(255,255,255,0.12); }

/* ---------- Compact trustline (Pricing) ---------- */
.hv-trustline { display: inline-flex; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.hv-trustline--center { justify-content: center; }
.hv-trustline .hv-trust__stars--tp svg { width: 20px; height: 20px; }
.hv-trustline__txt { font-size: var(--fs-caption); color: var(--muted); }
.hv-trustline__txt strong { color: var(--ink); font-weight: 700; }

/* ---------- FAQ footer prompt ---------- */
.hv-faq-foot { max-width: 820px; margin: var(--s8) auto 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding: var(--s6); border-radius: var(--r-lg); background: rgba(79,70,229,0.05); border: 1px solid rgba(79,70,229,0.16); }
.hv-faq-foot > .hv-body { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.hv-faq-foot__actions { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hv-faq-foot__help { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-caption); color: var(--ink-2); text-decoration: none; padding: 13px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); transition: all var(--dur) var(--ease); }
.hv-faq-foot__help:hover { border-color: rgba(79,70,229,0.35); color: var(--accent-ink); }
html[data-theme="dark"] .hv-faq-foot { background: rgba(99,102,241,0.10); border-color: rgba(99,102,241,0.24); }

/* ---------- Sticky mobile CTA ---------- */
.hv-stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-top: 1px solid var(--glass-brd);
  box-shadow: 0 -8px 24px -12px rgba(20,18,60,0.30);
  transform: translateY(110%); transition: transform 360ms var(--ease); pointer-events: none;
}
.hv-stickycta.is-shown { transform: translateY(0); pointer-events: auto; }
.hv-stickycta__help {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-caption);
  color: var(--ink-2); text-decoration: none; padding: 13px 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
}
.hv-stickycta__btn { flex: 1; }
@media (max-width: 720px) { .hv-stickycta { display: flex; } }
@media (prefers-reduced-motion: reduce) { .hv-stickycta { transition: none; } }

/* ---------- Theme toggle ---------- */
.hv-themetoggle { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: none; background: none; cursor: pointer; border-radius: var(--r-pill); }
.hv-themetoggle:focus-visible { outline: 2px solid var(--iris-2); outline-offset: 3px; }
.hv-themetoggle__track { position: relative; width: 50px; height: 28px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); display: inline-flex; align-items: center; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hv-themetoggle__thumb { position: absolute; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-ink); transition: transform 260ms var(--spring), color 200ms var(--ease); }
html[data-theme="dark"] .hv-themetoggle__track { background: rgba(99,102,241,0.18); border-color: rgba(99,102,241,0.3); }
html[data-theme="dark"] .hv-themetoggle__thumb { transform: translateX(22px); }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font-sans); color: var(--body);
  background: var(--bg); position: relative;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* Aurora-lit background */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: none;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: none;
}
#root { position: relative; z-index: 1; }
[id] { scroll-margin-top: 96px; }

/* Consistent keyboard focus for links/controls that don't define their own */
.hv-nav__link:focus-visible, .hv-brand:focus-visible, .hv-help:focus-visible,
.hv-acc__trigger:focus-visible, .hv-footer__col a:focus-visible,
.hv-footer__legal a:focus-visible, .hv-mock__restart:focus-visible,
.hv-choice:focus-visible {
  outline: 2px solid var(--iris-2); outline-offset: 3px; border-radius: var(--r-sm);
}

/* ---------- Layout ---------- */
.hv-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s8); }
.hv-section { position: relative; padding-block: var(--s24); }
.hv-head { max-width: 760px; margin-bottom: var(--s12); display: flex; flex-direction: column; gap: var(--s4); }
.hv-head--center { margin-inline: auto; text-align: center; align-items: center; }
.hv-stack-2 { display: flex; flex-direction: column; gap: var(--s2); }
.hv-stack-3 { display: flex; flex-direction: column; gap: var(--s3); }
.hv-stack-4 { display: flex; flex-direction: column; gap: var(--s4); }

/* ---------- Typography ---------- */
.hv-display { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display); line-height: 1.14; letter-spacing: -0.042em; color: var(--ink); margin: 0; text-wrap: balance; }
.hv-h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.032em; color: var(--ink); margin: 0; text-wrap: balance; }
.hv-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); margin: 0; text-wrap: balance; }
.hv-h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.018em; color: var(--ink-2); margin: 0; }
.hv-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--body); margin: 0; text-wrap: pretty; }
.hv-body { font-size: var(--fs-body); line-height: 1.62; color: var(--body); margin: 0; text-wrap: pretty; }
.hv-caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--muted); margin: 0; }
.hv-grad-text { display: inline-block; vertical-align: baseline; padding-bottom: 0.2em; overflow: visible; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.hv-eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin: 0; white-space: nowrap; }
.hv-eyebrow::before { content: ""; width: 18px; height: 1.5px; border-radius: 2px; background: var(--grad); }
.hv-eyebrow--chip { padding: 7px 14px 7px 12px; border-radius: var(--r-pill); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--line); box-shadow: var(--sh-sm); letter-spacing: 0.06em; max-width: 100%; }
.hv-eyebrow--chip { white-space: normal; }
@media (min-width: 560px) { .hv-eyebrow--chip { white-space: nowrap; } }
.hv-head .hv-eyebrow { align-self: flex-start; }
.hv-head--center .hv-eyebrow { align-self: center; }
.hv-eyebrow--chip::before { display: none; }
.hv-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(79,70,229,0.7); }

/* ---------- Buttons ---------- */
.hv-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-body); line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; border: 1px solid transparent; border-radius: var(--r-pill); padding: 13px 22px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.hv-btn--lg { padding: 16px 28px; font-size: 1.06rem; }
.hv-btn--block { width: 100%; }
.hv-btn--primary { color: #fff; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-btn--primary::after { display: none; }
.hv-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(79,70,229,0.66), 0 4px 10px -3px rgba(79,70,229,0.5); }
.hv-btn--primary:active { transform: translateY(0) scale(0.985); }
.hv-btn[disabled], .hv-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.hv-btn { transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.hv-btn--glass { color: var(--ink-2); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--line); box-shadow: var(--sh-sm); }
.hv-btn--glass:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: rgba(79,70,229,0.32); color: var(--accent-ink); }
.hv-btn--onslab { background: #fff; color: #1E1B4B; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45); }
.hv-btn--onslab:hover { transform: translateY(-2px); background: #fff; filter: brightness(0.98); }
.hv-btn:focus-visible { outline: 2px solid var(--iris-2); outline-offset: 3px; }

/* ---------- Help link ---------- */
.hv-help { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-caption); color: var(--ink-2); text-decoration: none; padding: 10px 15px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255,255,255,0.55); transition: all var(--dur) var(--ease); white-space: nowrap; }
.hv-help:hover { border-color: rgba(79,70,229,0.35); color: var(--accent-ink); background: var(--surface); }
.hv-help__pulse { width: 7px; height: 7px; border-radius: 50%; background: #FB7185; box-shadow: 0 0 0 0 rgba(251,113,133,0.5); flex: none; }
@media (prefers-reduced-motion: no-preference) { .hv-help__pulse { animation: hvPulse 2.4s var(--ease) infinite; } }
@keyframes hvPulse { 0% { box-shadow: 0 0 0 0 rgba(251,113,133,0.5); } 70% { box-shadow: 0 0 0 7px rgba(251,113,133,0); } 100% { box-shadow: 0 0 0 0 rgba(251,113,133,0); } }

/* ---------- Badges ---------- */
.hv-badge { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-caption); font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); white-space: nowrap; }
.hv-badge--accent { color: var(--accent-ink); border-color: rgba(79,70,229,0.26); background: rgba(79,70,229,0.07); }
.hv-badge--accent svg { color: var(--violet); }
.hv-badge--quiet { color: var(--muted); }

/* ---------- Skip link ---------- */
.hv-skip { position: absolute; left: var(--s4); top: -100px; z-index: 200; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; font-weight: 600; box-shadow: var(--sh-md); transition: top var(--dur) var(--ease); }
.hv-skip:focus { top: var(--s4); }

/* ---------- Nav ---------- */
.hv-nav { position: sticky; top: 0; z-index: 80; padding-top: var(--s4); }
.hv-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 14px); background: var(--bg); z-index: -1; pointer-events: none; }
.hv-nav__inner { display: flex; align-items: center; gap: var(--s4); padding: 10px 12px 10px 18px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); border-radius: var(--r-pill); box-shadow: var(--sh-md); }
.hv-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; }
.hv-brand__logo { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-nav__links { display: flex; align-items: center; gap: 2px; margin-left: var(--s4); }
.hv-nav__link { font-size: 0.95rem; font-weight: 500; color: var(--body); text-decoration: none; padding: 8px 13px; border-radius: var(--r-pill); transition: all var(--dur) var(--ease); }
.hv-nav__link:hover { color: var(--ink); background: rgba(30,27,46,0.05); }
.hv-nav__right { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }

/* ---------- Hero ---------- */
.hv-hero { padding-top: var(--s16); padding-bottom: var(--s24); }
.hv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: var(--s16); align-items: center; }
.hv-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s6); }
.hv-hero__lead { max-width: 50ch; }
.hv-hero__cta-row { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s1); }
.hv-microtrust { display: inline-flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hv-microtrust .hv-caption { font-weight: 600; }
.hv-microtrust__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* ---------- Check-in mock ---------- */
.hv-mock { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.hv-mock__glow { position: absolute; inset: -12% -8% -16%; background: var(--grad-soft); filter: blur(30px); border-radius: var(--r-xl); z-index: 0; }
.hv-mock__frame { position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-lg); }
.hv-mock__bar { display: flex; align-items: center; gap: var(--s3); padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.hv-mock__dots { display: flex; gap: 6px; }
.hv-mock__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(30,27,46,0.14); }
.hv-mock__url { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; font-size: 0.8rem; color: var(--muted); padding: 4px 12px; border-radius: var(--r-pill); background: rgba(30,27,46,0.04); }
.hv-mock__body { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s5); }
.hv-mock__q { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.hv-prog { height: 6px; border-radius: var(--r-pill); background: rgba(30,27,46,0.08); overflow: hidden; }
.hv-prog__fill { height: 100%; border-radius: inherit; background: var(--grad); }
.hv-opts { display: flex; flex-direction: column; gap: var(--s3); }
/* Path chooser (step 1 of the hero demo) */
.hv-chooser { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.hv-choice { display: flex; align-items: center; gap: var(--s3); padding: 14px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); animation: hvFade 460ms var(--ease) both; }
.hv-choice:nth-child(2) { animation-delay: 50ms; }
.hv-choice:nth-child(3) { animation-delay: 100ms; }
.hv-choice:nth-child(4) { animation-delay: 150ms; }
.hv-choice__mark { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-choice__mark svg { width: 19px; height: 19px; }
.hv-choice__label { flex: 1; }
.hv-choice > svg { color: var(--faint); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.hv-choice:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: rgba(79,70,229,0.3); }
.hv-choice:hover > svg { color: var(--accent-ink); transform: translateX(3px); }
.hv-choice:active { transform: scale(0.98); }
.hv-opt { display: flex; align-items: center; gap: var(--s3); padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: 0.98rem; color: var(--ink-2); font-weight: 500; }
.hv-opt__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(30,27,46,0.2); flex: none; }
.hv-opt--sel { border-color: var(--iris); background: rgba(79,70,229,0.06); color: var(--ink); }
.hv-opt--sel .hv-opt__radio { border-color: var(--iris); background: var(--iris); box-shadow: inset 0 0 0 3px #fff; }
.hv-mock__foot { text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .hv-mock { animation: hvFloat 7s ease-in-out infinite; }
  @keyframes hvFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* ---------- Paths ---------- */
.hv-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.hv-path { position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); text-decoration: none; height: 100%; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); overflow: hidden; }
.hv-path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity var(--dur) var(--ease); }
.hv-path:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(79,70,229,0.25); }
.hv-path:hover::before { opacity: 1; }
.hv-path:focus-visible { outline: 2px solid var(--iris-2); outline-offset: 3px; }
.hv-path__mark { width: 50px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: #fff; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-path__body { flex: 1; display: flex; flex-direction: column; gap: var(--s3); }
.hv-path__note { margin-top: var(--s1); padding-top: var(--s3); border-top: 1px solid var(--line); }
.hv-path__go { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: 0.95rem; color: var(--accent-ink); margin-top: var(--s1); }
.hv-path__go svg { transition: transform var(--dur) var(--ease); }
.hv-path:hover .hv-path__go svg { transform: translateX(3px); }

/* ---------- How it works ---------- */
.hv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.hv-step { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s8) var(--s6) var(--s6); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); }
.hv-step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-md); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent-ink); background: rgba(79,70,229,0.10); border: 1px solid rgba(79,70,229,0.2); }

/* ---------- Approach ---------- */
.hv-instruments { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s12); }
.hv-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.hv-pillar { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s8); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); }
.hv-pillar__mark { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-placeholder { margin-top: var(--s8); padding: var(--s8); border-radius: var(--r-lg); background: rgba(255,255,255,0.5); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px dashed rgba(79,70,229,0.35); display: flex; flex-direction: column; gap: var(--s3); }
.hv-placeholder__tag { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); padding: 5px 12px; border-radius: var(--r-pill); background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.2); }

/* ---------- Safety band ---------- */
.hv-safety-band { position: relative; }
.hv-safety-band > .hv-container { position: relative; z-index: 1; border-radius: var(--r-xl); padding: var(--s16) var(--s12); background: var(--grad-soft); border: 1px solid var(--glass-brd); box-shadow: var(--sh-md); max-width: 1160px; }
.hv-safety__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s12); align-items: center; }
.hv-safety__note { margin-top: var(--s5); }
.hv-safety__note a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.hv-safety__note a:hover { text-decoration: underline; }

/* ---------- Crisis panel ---------- */
.hv-crisis { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(79,70,229,0.22); box-shadow: var(--sh-lg); }
.hv-crisis__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.hv-crisis__badge { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-caption); font-weight: 700; color: #E11D48; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(251,113,133,0.10); border: 1px solid rgba(251,113,133,0.22); white-space: nowrap; }
.hv-crisis__regions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.hv-region { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; cursor: pointer; transition: all var(--dur) var(--ease); }
.hv-region:hover { border-color: rgba(79,70,229,0.35); color: var(--accent-ink); }
.hv-region[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--sh-accent); }
.hv-region:focus-visible { outline: 2px solid var(--iris-2); outline-offset: 2px; }
.hv-lines { display: flex; flex-direction: column; gap: var(--s3); }
.hv-line { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4); border-radius: var(--r-md); background: rgba(79,70,229,0.05); border: 1px solid var(--line); }
.hv-line__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.hv-line__note { font-size: 0.84rem; color: var(--body); line-height: 1.45; margin-top: 3px; }
.hv-line__value { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent-ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; flex: none; }
a.hv-line__value:hover { color: var(--iris-2); }
.hv-crisis__foot { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---------- Mission (editorial band) ---------- */
.hv-mission__inner { max-width: 960px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--s8); align-items: center; text-align: center; }
.hv-mission__quote { position: relative; margin: 0; max-width: 22ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.9rem); line-height: 1.16; letter-spacing: -0.028em; color: var(--ink); text-wrap: balance; max-width: 26ch; }
.hv-mission__mark { position: absolute; top: -0.5em; left: 50%; transform: translateX(-50%); font-size: 3em; line-height: 1; color: rgba(79,70,229,0.16); pointer-events: none; }
.hv-mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); text-align: left; width: 100%; padding-top: var(--s6); border-top: 1px solid var(--line); }
.hv-mission__col { display: flex; flex-direction: column; gap: var(--s3); }

/* ---------- Advisors ---------- */
.hv-advisors { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.hv-advisor { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease); }
.hv-advisor:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.hv-advisor__photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; }
.hv-advisor__photo::after { display: none; }
.hv-advisor__photo--img::after { display: none; }
.hv-advisor__photo--img { background: var(--bg-2); }
.hv-advisor__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hv-advisor__ph-tag { position: relative; z-index: 1; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,0.7); border: 1px solid rgba(79,70,229,0.2); }
.hv-advisor__body { display: flex; flex-direction: column; gap: var(--s1); }
.hv-advisor__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
.hv-advisor__role { font-size: var(--fs-caption); font-weight: 600; color: var(--accent-ink); }
.hv-advisor__focus { font-size: var(--fs-caption); color: var(--muted); }

/* ---------- Pricing ---------- */
.hv-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); align-items: start; }
.hv-plan { position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s8); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); }
.hv-plan--featured { border-color: rgba(79,70,229,0.4); box-shadow: var(--sh-lg); transform: translateY(-14px); padding-top: var(--s12); }
.hv-plan__pop { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 4; background: var(--grad); color: #fff; font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.02em; padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--sh-accent); }
.hv-plan__head { display: flex; flex-direction: column; gap: var(--s1); min-height: 52px; }
.hv-plan__price { display: flex; flex-direction: column; gap: var(--s1); min-height: 56px; }
.hv-plan__amount { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.hv-plan__fine { min-height: 18px; }
.hv-plan__desc { font-size: var(--fs-body); line-height: 1.5; color: var(--body); margin: 0; }
.hv-plan__includes { display: flex; flex-direction: column; gap: var(--s3); padding-top: var(--s5); border-top: 1px solid var(--line); margin-top: var(--s1); }
.hv-plan__inclabel { font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0; }
.hv-plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.hv-plan__item { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-body); line-height: 1.5; color: var(--body); }
.hv-plan__item svg { flex: none; color: var(--accent); margin-top: 3px; }

.hv-callout { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); margin-top: var(--s10); padding: var(--s6); border-radius: var(--r-lg); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(79,70,229,0.22); box-shadow: var(--sh-sm); flex-wrap: wrap; }
.hv-callout__text { display: flex; align-items: center; gap: var(--s4); }
.hv-callout__lock { width: 46px; height: 46px; flex: none; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); box-shadow: var(--sh-accent); }
.hv-riskstrip { display: flex; align-items: center; justify-content: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s6); }
.hv-riskstrip__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* ---------- Privacy ---------- */
.hv-privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.hv-privacy-card { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hv-privacy-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(79,70,229,0.22); }
.hv-privacy-card__icon { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--accent-ink); background: rgba(79,70,229,0.09); border: 1px solid rgba(79,70,229,0.18); }
.hv-privacy-card__body { display: flex; flex-direction: column; gap: var(--s2); }
.hv-privacy-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.hv-disclosure { display: flex; align-items: flex-start; gap: var(--s3); margin-top: var(--s10); padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: rgba(79,70,229,0.05); border: 1px solid rgba(79,70,229,0.16); }
.hv-disclosure svg { flex: none; color: var(--violet); margin-top: 2px; }

/* ---------- FAQ ---------- */
.hv-faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--s3); }
.hv-acc { border-radius: var(--r-md); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.hv-acc[data-open="true"] { border-color: rgba(79,70,229,0.3); }
.hv-acc__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--s6); background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--ink); }
.hv-acc__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--accent-ink); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.hv-acc[data-open="true"] .hv-acc__icon { transform: rotate(45deg); background: rgba(79,70,229,0.10); border-color: rgba(79,70,229,0.25); }
.hv-acc__panel { overflow: hidden; max-height: 0; transition: max-height var(--dur) var(--ease); }
.hv-acc__panel-inner { padding: 0 var(--s6) var(--s5); }

/* ---------- Final CTA ---------- */
.hv-final { padding-block: var(--s16); }
.hv-final__slab { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s5); padding: var(--s16) var(--s12); border-radius: var(--r-xl); background: #1E1B2E; border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--sh-lg); }
.hv-final__slab::after { display: none; }
.hv-final__slab > * { position: relative; z-index: 1; }
.hv-final__slab > .hv-breathe--ambient { position: absolute; z-index: 0; }
.hv-final__slab .hv-eyebrow { color: #C7D2FE; }
.hv-final__slab .hv-eyebrow::before { background: #C7D2FE; }
.hv-final__slab .hv-h1 { color: #fff; }
.hv-final__lead { color: rgba(255,255,255,0.8); max-width: 54ch; }
.hv-final__slab .hv-microtrust .hv-caption { color: rgba(255,255,255,0.66); }
.hv-final__slab .hv-microtrust__dot { background: rgba(255,255,255,0.4); }

/* ---------- Trust line (neutral text only — no proof UI) ---------- */
.hv-herotrust { display: inline-flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hv-herotrust__note, .hv-footer__proof { color: var(--muted); margin: 0; }
.hv-footer__proof { margin-top: var(--s2); }

/* ---------- Footer ---------- */
.hv-footer { padding-block: var(--s16) var(--s10); margin-top: var(--s8); border-top: 1px solid var(--line); }
.hv-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s8); margin-bottom: var(--s12); }
.hv-footer__brand { display: flex; flex-direction: column; gap: var(--s4); max-width: 34ch; }
.hv-footer__tag { font-size: var(--fs-caption); line-height: 1.55; color: var(--muted); margin: 0; }
.hv-footer__col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 var(--s4); }
.hv-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.hv-footer__col a { font-size: 0.95rem; color: var(--body); text-decoration: none; transition: color var(--dur) var(--ease); }
.hv-footer__col a:hover { color: var(--accent-ink); }
.hv-footer__col--crisis a { color: var(--accent-ink); font-weight: 500; }
.hv-footer__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; padding-top: var(--s6); border-top: 1px solid var(--line); }
.hv-footer__disc { font-size: var(--fs-caption); line-height: 1.55; color: var(--muted); margin: 0; max-width: 62ch; }
.hv-footer__legal { display: flex; gap: var(--s5); flex-wrap: wrap; }
.hv-footer__legal a { font-size: var(--fs-caption); color: var(--muted); text-decoration: none; }
.hv-footer__legal a:hover { color: var(--accent-ink); }

/* ---------- Crisis modal ---------- */
.hv-modal-overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: var(--s6); background: rgba(11,9,24,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hv-modal { position: relative; width: 100%; max-width: 540px; max-height: 88vh; overflow: auto; }
.hv-modal__close { position: absolute; top: var(--s4); right: var(--s4); z-index: 5; width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* ---------- Reveal — uses a keyframe ANIMATION (not transition).
   Animations are a separate system from transitions, so a card's own
   hover `transition` can never clobber the entrance the way it did before.
   Every .hv-reveal element now slides in identically and smoothly. ---------- */
/* Hidden only once JS turns reveals ON (html.reveal-on, set before first paint
   via useLayoutEffect). Until then content is fully visible — no flash. */
html.reveal-on .hv-reveal { opacity: 0; }
html.reveal-on .hv-reveal.is-in { opacity: 1; animation: hvReveal 820ms var(--ease) backwards; }
@keyframes hvReveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* gentle stagger for cards within a grid */
.hv-paths .hv-reveal:nth-child(2), .hv-steps .hv-reveal:nth-child(2), .hv-pillars .hv-reveal:nth-child(2), .hv-plans .hv-reveal:nth-child(2) { animation-delay: 90ms; }
.hv-paths .hv-reveal:nth-child(3), .hv-steps .hv-reveal:nth-child(3), .hv-pillars .hv-reveal:nth-child(3), .hv-plans .hv-reveal:nth-child(3) { animation-delay: 180ms; }
.hv-paths .hv-reveal:nth-child(4) { animation-delay: 270ms; }
html.no-anim .hv-reveal { opacity: 1 !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html.reveal-on .hv-reveal { opacity: 1; animation: none !important; } }

/* ===================================================================
   v3 elevation — interactivity, motion, material, depth
   =================================================================== */

/* Interactive option buttons (hero check-in) */
.hv-opt { width: 100%; text-align: left; font-family: var(--font-sans); appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform 220ms var(--spring), box-shadow var(--dur) var(--ease); }
.hv-opt:hover { border-color: rgba(79,70,229,0.4); background: rgba(79,70,229,0.04); }
.hv-opt:active { transform: scale(0.99); }
.hv-opt:focus-visible { outline: 2px solid var(--iris-2); outline-offset: 2px; }
.hv-opt--sel { box-shadow: 0 6px 18px -8px rgba(79,70,229,0.4); }
.hv-opt__radio { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hv-mock__q { transition: opacity var(--dur) var(--ease); animation: hvFade 420ms var(--ease) both; }
@keyframes hvFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hv-nav__cta { display: inline; white-space: nowrap; }
.hv-nav__cta-mid { display: inline; }
.hv-opt { animation: hvFade 460ms var(--ease) both; }
.hv-opts .hv-opt:nth-child(2) { animation-delay: 55ms; }
.hv-opts .hv-opt:nth-child(3) { animation-delay: 110ms; }
.hv-opts .hv-opt:nth-child(4) { animation-delay: 165ms; }
@media (prefers-reduced-motion: reduce) { .hv-opt, .hv-mock__q, .hv-readout { animation: none !important; } }

/* Read-out teaser */
.hv-readout { animation: hvFade 460ms var(--ease) both; }
.hv-readout__row { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r-md); background: rgba(79,70,229,0.06); border: 1px solid rgba(79,70,229,0.16); }
.hv-readout__row .hv-body { font-size: 0.98rem; }
.hv-readout__dot { width: 9px; height: 9px; flex: none; margin-top: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(79,70,229,0.7); }
.hv-mock__restart { align-self: center; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: var(--fs-caption); font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: var(--r-pill); transition: color var(--dur) var(--ease); }
.hv-mock__restart:hover { color: var(--accent-ink); }

/* Cursor parallax (hero) */
.hv-hero { perspective: 1200px; }
.hv-hero__stage { transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 16px), 0); transition: transform 500ms var(--ease); will-change: transform; }
.hv-hero__content { transform: translate3d(calc(var(--px, 0) * -7px), calc(var(--py, 0) * -7px), 0); transition: transform 600ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .hv-hero__stage, .hv-hero__content { transform: none !important; } }

/* Material: solid hairline edges on hero glass surfaces */
.hv-mock__frame::before,
.hv-plan--featured::before,
.hv-nav__inner::before {
  display: none;
}
.hv-mock__frame { position: relative; }
.hv-nav__inner { position: relative; }
.hv-plan--featured { position: relative; }
/* soft top light line on cards (premium glass edge, never over text) */
.hv-path, .hv-step, .hv-pillar, .hv-plan, .hv-acc { position: relative; }
.hv-step::after, .hv-pillar::after, .hv-plan::after {
  display: none;
}
.hv-plan--featured::after { display: none; }

/* Spring hover lift on cards */
.hv-step, .hv-pillar, .hv-plan { transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hv-step:hover, .hv-pillar:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(79,70,229,0.2); }
.hv-plan:not(.hv-plan--featured):hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.hv-path { transition: transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hv-region { transition: transform 200ms var(--spring), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.hv-region:active { transform: scale(0.96); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hv-paths { grid-template-columns: repeat(2, 1fr); }
  .hv-plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .hv-plan--featured { transform: none; }
  .hv-safety__grid { grid-template-columns: 1fr; gap: var(--s8); }
}
@media (max-width: 980px) {
  .hv-nav__links { display: none; }
}
@media (max-width: 900px) {
  .hv-hero__grid { grid-template-columns: 1fr; gap: var(--s12); }
  .hv-mock { order: -1; }
  .hv-steps, .hv-pillars { grid-template-columns: 1fr; }
  .hv-privacy-grid { grid-template-columns: 1fr 1fr; }
  .hv-footer__top { grid-template-columns: 1fr 1fr; }
  .hv-advisors { grid-template-columns: 1fr 1fr; }
  .hv-mission__grid { grid-template-columns: 1fr; gap: var(--s6); }
}
@media (max-width: 720px) {
  .hv-nav__links { display: none; }
  .hv-nav__cta-mid { display: none; }
  .hv-nav__inner { gap: var(--s2); padding: 7px 7px 7px 14px; min-width: 0; flex-wrap: nowrap; }
  .hv-nav__right { gap: var(--s2); min-width: 0; }
  .hv-brand { font-size: 1.02rem; flex: none; }
  .hv-help { padding: 9px 11px; flex: none; }
  .hv-help__now { display: none; }
  .hv-btn { padding: 11px 15px; font-size: 0.92rem; }
  .hv-themetoggle__track { width: 44px; height: 25px; }
  html[data-theme="dark"] .hv-themetoggle__thumb { transform: translateX(19px); }
  .hv-themetoggle__thumb { width: 19px; height: 19px; }
  .hv-container { padding-inline: var(--s5); }
  .hv-section { padding-block: var(--s16); }
  .hv-safety-band > .hv-container { padding: var(--s10) var(--s6); }
  .hv-final__slab { padding: var(--s16) var(--s6); }
  .hv-callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hv-paths { grid-template-columns: 1fr; }
  .hv-footer__top { grid-template-columns: 1fr; }
  .hv-footer__bottom { flex-direction: column; }
  .hv-line { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .hv-chooser { grid-template-columns: 1fr; }
  .hv-advisors { grid-template-columns: 1fr; }
  .hv-privacy-grid { grid-template-columns: 1fr; }
  .hv-faq-foot { flex-direction: column; align-items: flex-start; }
  .hv-faq-foot__actions { width: 100%; }
  .hv-faq-foot__actions .hv-btn { flex: 1; }
  /* Ultra-compact nav: help becomes an icon-only circle (label kept for a11y),
     brand wordmark hides, leaving logo — so the pill never overflows. */
  .hv-nav__inner { padding: 7px 7px 7px 10px; gap: 6px; }
  .hv-brand__word { display: none; }
  .hv-help { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .hv-help__txt { display: none; }
  .hv-btn { padding: 11px 14px; font-size: 0.9rem; }
}



/* === The Mansio brand mark — clean logo, no container === */
.hv-brand__logo, .ci-brand__logo, .pr-brand__logo, .ac-brand__logo {
  background: url('images/mansio-mark2.png') center/contain no-repeat !important;
  box-shadow: none !important; border-radius: 0 !important; border: none !important;
  width: 26px !important; height: 31px !important;
}
.hv-brand__logo > *, .ci-brand__logo > *, .pr-brand__logo > *, .ac-brand__logo > * { display: none !important; }
html[data-theme="dark"] .hv-brand__logo,
html[data-theme="dark"] .ci-brand__logo,
html[data-theme="dark"] .ac-brand__logo,
html[data-theme="dark"] .pr-brand__logo { background-image: url('images/mansio-mark2-white.png') !important; }
