/* ============================================================
   AI Compass by DIS — Premium minimal design system
   Professional tech type (Poppins / IBM Plex Sans), soft borders, calm space
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-subtitle: 'IBM Plex Sans', system-ui, sans-serif;

  /* Neutrals — cool, premium */
  --bg:        #FAFAFC;
  --bg-soft:   #F1F3F8;
  --surface:   #FFFFFF;
  --ink:       #0C1222;
  --ink-2:     #3B4255;
  --ink-3:     #6A7185;
  --line:      rgba(12, 18, 34, 0.08);
  --line-2:    rgba(12, 18, 34, 0.14);

  /* Accent — refined royal periwinkle, derived from the hero gradient */
  --accent:        #3E5BE0;
  --accent-strong: color-mix(in srgb, var(--accent) 80%, #000);
  --accent-ink:    #1B2A6B;
  --accent-soft:   color-mix(in srgb, var(--accent) 12%, #fff);
  --accent-tint:   color-mix(in srgb, var(--accent) 6%, #fff);

  /* Dark sections */
  --dark:      #0B1020;
  --dark-2:    #11182E;
  --dark-line: rgba(255, 255, 255, 0.1);
  --on-dark:   #EEF1F8;
  --on-dark-2: #A4ADC4;

  /* Shape & motion */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 34, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(12, 18, 34, 0.18);
  --shadow-lg: 0 30px 70px -24px rgba(12, 18, 34, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --site-x: clamp(18px, 3vw, 42px);
  --maxw: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--site-x); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---- Legal pages ---- */
.legal-page {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 8vw, 96px);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 30rem),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, var(--bg) 100%);
}
.legal-page::before {
  content: "";
  position: absolute;
  inset: auto var(--site-x) 0;
  height: 1px;
  background: var(--line);
}
.legal-wrap {
  position: relative;
  width: min(100% - calc(var(--site-x) * 2), 920px);
  margin-inline: auto;
}
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 56px);
}
.legal-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--font-subtitle);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.legal-doc {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.8;
}
.legal-doc h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.05rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
}
.legal-doc h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.legal-doc p {
  margin-top: 12px;
  color: var(--ink-2);
}
.legal-doc a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-doc ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-left: 1.25rem;
  color: var(--ink-2);
  list-style: disc;
}
.legal-doc li {
  padding-left: 4px;
}
.legal-doc strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.legal-doc table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.55;
}
.legal-doc th {
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-weight: 700;
  text-align: left;
}
.legal-doc th,
.legal-doc td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  vertical-align: top;
}
.legal-doc tr:last-child td {
  border-bottom: 0;
}

/* ---- Type ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }

.display {
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.h3 { font-size: clamp(1.15rem, 1.35vw, 1.3rem); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--ink-3); }

.lead {
  font-family: var(--font-subtitle);
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
}
.muted { color: var(--ink-3); }
.balance { text-wrap: balance; }

/* ---- Pill / eyebrow chip ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-subtitle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding-inline: 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { height: 58px; padding-inline: 32px; font-size: 1.02rem; }
.btn-sm { height: 44px; padding-inline: 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(62, 91, 224, 0.7); }
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 14px 30px -10px rgba(62, 91, 224, 0.65); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-on-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: var(--dark-line); }
.btn-on-dark:hover { background: rgba(255,255,255,0.16); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 11px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 250, 252, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; letter-spacing: 0; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.brand-logo-img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 290px;
  object-fit: contain;
}
.brand-logo-img--light { height: 38px; max-width: 196px; }
.brand .by { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-family: var(--font-subtitle);
  font-size: 0.94rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(12,18,34,0.04); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .sign { font-family: var(--font-subtitle); font-size: 0.94rem; font-weight: 500; color: var(--ink-2); padding: 9px 8px; transition: color .2s; }
.nav-actions .sign:hover { color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--ink-3); max-width: 320px; font-size: 0.96rem; }
.footer-col h5 { font-family: var(--font-subtitle); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { color: var(--ink-2); font-size: 0.96rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a { color: var(--ink-3); font-size: 0.88rem; transition: color .2s; }
.footer-bottom .legal a:hover { color: var(--ink); }
.footer-bottom .copy { color: var(--ink-3); font-size: 0.84rem; }

/* ============================================================
   CARDS / GRID PRIMITIVES
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.section-head .lead { margin-top: 18px; }

/* ============================================================
   SCROLL REVEAL
   Visible by default. The hidden-then-animate state is applied
   ONLY when JS confirms the paint loop is live (html.reveal-on),
   so throttled/non-painting contexts always show content.
   ============================================================ */
html.reveal-on [data-reveal] {
  transform: translateY(20px);
  opacity: 1;
  will-change: transform;
}
html.reveal-on [data-reveal].in {
  transform: none;
  transition: transform .75s var(--ease), opacity .75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
/* fade layer: applied as an inner effect that can't blank content if frozen */
html.reveal-on [data-reveal] > * { }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   DARK BLOCK
   ============================================================ */
.dark-block { background: var(--dark); color: var(--on-dark); }
.dark-block h1, .dark-block h2, .dark-block h3 { color: #fff; }
.dark-block .lead { color: var(--on-dark-2); }
.dark-block .eyebrow { color: #93A6F5; }

/* ============================================================
   FANCY: numbered steps, feature list, faq
   ============================================================ */
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.9;
}
.feature-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-row:hover { transform: translateX(4px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.feature-row .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.feature-row .tick svg { width: 15px; height: 15px; }

/* check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .tick { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.check-list .tick svg { width: 13px; height: 13px; }

/* faq */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item + .faq-item { margin-top: 14px; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: none; border: none; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item.open .faq-q .ic { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-2); max-width: 900px; }

/* form fields */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-subtitle); font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.input, .textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.textarea:-webkit-autofill,
.textarea:-webkit-autofill:hover,
.textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  box-shadow: 0 0 0 1000px var(--bg) inset;
  border: 1px solid var(--line-2);
  transition: background-color 9999s ease-out 0s;
}
.textarea { resize: vertical; min-height: 110px; }
.checkrow { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.checkrow input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.checkrow a { color: var(--accent); font-weight: 600; }

/* tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag { padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: transform .3s var(--ease), border-color .3s, color .3s; }
.tag:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-actions .sign { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .brand-logo-img { height: 44px; max-width: 210px; }
  .nav-actions .btn { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

/* ---- home: discovery bars ---- */
.bar { width: 26px; height: 4px; border-radius: 3px; background: var(--accent); }
.discovery-grid { grid-template-columns:0.95fr 1.05fr; gap:64px; align-items:center; }
.included-grid { grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center; }

/* ---- home: benefit cards ---- */
.benic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); margin-bottom: 16px; }
.benic::after { content: ''; width: 13px; height: 8px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg) translate(1px,-2px); }
.ben { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.35; }

/* ---- final CTA dark block ---- */
.final-cta { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); }
.final-cta-bg { position: absolute; inset: 0; background:
    radial-gradient(120% 140% at 12% 0%, rgba(62,91,224,0.55) 0%, rgba(62,91,224,0) 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(45,69,196,0.5) 0%, rgba(11,16,32,0) 60%); }
.final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.final-cta-inner > div { flex: 1 1 420px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 20px 50px -24px rgba(62,91,224,0.45); position: relative; }
.price-card .badge { position: absolute; top: 18px; right: 18px; white-space: nowrap; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em; padding: 6px 12px; border-radius: var(--r-pill); }
.price-card.featured .plan { padding-right: 96px; }
.price-card .plan { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; min-height: 2.4em; }
.price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.04em; margin: 6px 0 4px; }
.price-card .price small { font-size: 0.92rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-card .price-note { color: var(--ink-3); font-size: 0.86rem; margin-bottom: 22px; }
.price-card .check-list { margin-bottom: 26px; flex: 1; }
.price-card .check-list li { font-size: 0.92rem; }
.price-card .btn { margin-top: auto; }

/* included */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.incl-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease), border-color .3s; }
.incl-item:hover { transform: translateY(-3px); border-color: var(--line-2); }
.incl-item .num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; }
.incl-item p { font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 12, 30, 0.42);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; opacity: 0;
  transition: opacity .25s var(--ease);
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 440px;
  padding: 34px;
  transform: translateY(8px) scale(0.98);
  transition: transform .3s var(--ease);
}
.modal-overlay.show .modal { transform: none; }
.modal .eyebrow { display: block; margin-bottom: 10px; }
.modal h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal .modal-sub { color: var(--ink-3); font-size: 0.94rem; margin-bottom: 24px; }
.modal-close { position: absolute; }
.modal-x { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); transition: background .2s, transform .2s; }
.modal-x:hover { background: var(--bg-soft); transform: rotate(90deg); }
.modal-wrap { position: relative; }
.modal-success { text-align: center; padding: 20px 0; display: none; }
.modal-success.show { display: block; }
.modal-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.modal-success .ok svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; }
  .incl-grid { grid-template-columns: 1fr; }
  .discovery-grid { grid-template-columns: 1fr; gap:40px; }
  .included-grid { grid-template-columns: 1fr; gap:40px; }
}

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; z-index: 55;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 20px 28px 28px;
  display: none; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 6px; font-weight: 500; color: var(--ink-2); border-radius: 10px; }
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 12px; }

/* Homepage immersive hero: wider floating panel */
.home-immersive-wrap {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: 28px var(--site-x) 0;
}
.home-immersive-wrap .v3-frame {
  min-height: min(700px, calc(100svh - 110px));
  border-radius: 36px;
}
.home-scroll-cue {
  display: flex;
  justify-content: center;
  margin: 18px 0 -18px;
  position: relative;
  z-index: 2;
}
.home-scroll-cue a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.home-scroll-cue svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: home-scroll-cue 1.8s var(--ease) infinite;
}
.home-scroll-cue a:hover {
  color: var(--accent);
  transform: translateY(1px);
}
@keyframes home-scroll-cue {
  0%, 100% { transform: translateY(0); opacity: .72; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* Public diagnostic page */
.diagnostic-page--public {
  min-height: calc(100svh - 74px);
  background:
    radial-gradient(circle at 10% 18%, rgba(14, 165, 233, 0.09), transparent 26rem),
    radial-gradient(circle at 92% 26%, rgba(62, 91, 224, 0.10), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #F7F8FA 100%);
}
.diagnostic-page .diagnostic-container {
  width: min(calc(100% - 48px), 928px);
  margin: 0 auto;
  padding: 38px 0 80px;
}
.diagnostic-back-row { margin-bottom: 18px; }
.diagnostic-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 700;
}
.diagnostic-back-link:hover { color: var(--accent); }
.diagnostic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
  padding: 8px 4px 0;
}
.diagnostic-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-family: var(--font-subtitle);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.diagnostic-hero h1 {
  max-width: 688px;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.diagnostic-hero-copy > p:last-child {
  max-width: 640px;
  margin-top: 14px;
  color: var(--ink-2);
  font-family: var(--font-subtitle);
  font-size: 1rem;
  line-height: 1.65;
}
.diagnostic-estimate {
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--line);
}
.diagnostic-estimate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 700;
}
.diagnostic-estimate-head strong {
  color: var(--accent);
  white-space: nowrap;
}
.diagnostic-progress {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  margin-top: 16px;
}
.diagnostic-progress span {
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--accent);
}
.diagnostic-estimate p {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.55;
}
.diagnostic-form {
  display: grid;
  gap: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(12, 18, 34, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px -40px rgba(12, 18, 34, 0.34);
}
.diagnostic-form [hidden] {
  display: none !important;
}
.diagnostic-stepper {
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(12, 18, 34, 0.10);
}
.diagnostic-stepper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.diagnostic-stepper-head span,
.diagnostic-step-actions span {
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}
.diagnostic-stepper-head strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 400 !important;
  line-height: 1.25;
}
.diagnostic-stepper-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.diagnostic-stepper-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 4px 8px;
  background: transparent;
  color: var(--ink-3);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.diagnostic-stepper-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  top: 50%;
  height: 1px;
  background: #E2E8F0;
  transform: translateY(-50%);
}
.diagnostic-stepper-list li span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(12, 18, 34, 0.06);
}
.diagnostic-stepper-list li strong {
  display: none;
}
.diagnostic-stepper-list li.is-complete {
  color: var(--accent);
}
.diagnostic-stepper-list li.is-complete::after {
  background: #93C5FD;
}
.diagnostic-stepper-list li.is-complete span,
.diagnostic-stepper-list li.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.diagnostic-stepper-list li.is-active {
  color: var(--accent);
}
.diagnostic-step-card {
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.diagnostic-step-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 26px 0 4px;
}
.diagnostic-step-number {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 14px 30px -14px rgba(62, 91, 224, 0.85);
}
.diagnostic-step-content {
  min-width: 0;
}
.diagnostic-step-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.diagnostic-step-copy {
  margin-top: 8px;
  color: var(--ink-3);
  font-family: var(--font-subtitle);
  font-size: 1rem;
  line-height: 1.55;
}
.diagnostic-field-grid,
.diagnostic-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 22px;
}
.diagnostic-group,
.diagnostic-inline-field {
  margin-top: 24px;
}
.diagnostic-inline-field {
  max-width: 440px;
}
.diagnostic-page fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.diagnostic-page label.block > span:first-child,
.diagnostic-page fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
}
.diagnostic-field-label {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}
.diagnostic-page input:not([type="checkbox"]):not([type="radio"]),
.diagnostic-page select,
.diagnostic-page textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(12, 18, 34, 0.13);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(12, 18, 34, 0.04);
}
.diagnostic-page input:not([type="checkbox"]):not([type="radio"]):focus,
.diagnostic-page select:focus,
.diagnostic-page textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(62, 91, 224, 0.12);
}
.diagnostic-page label.block > span:not(:first-child) {
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.35;
}
.diagnostic-page .diagnostic-validation-error,
.diagnostic-page [data-inline-error],
.diagnostic-page [data-validation-error] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 12px;
  padding: 16px 20px !important;
  border: 1px solid #fecaca;
  border-radius: 16px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 400 !important;
  line-height: 1.45;
}
.diagnostic-page fieldset > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.diagnostic-page fieldset > div[class*="lg:grid-cols-3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.diagnostic-page fieldset label.group,
.diagnostic-page .diagnostic-check-grid label.group {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(12, 18, 34, 0.11);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(12, 18, 34, 0.035);
  transform: none;
}
.diagnostic-page .diagnostic-checkbox-option {
  min-height: 52px;
  gap: 12px;
  padding: 13px 15px;
  border-color: rgba(203, 213, 225, 0.88);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(12, 18, 34, 0.035);
  transform: none;
}
.diagnostic-page fieldset label.group:hover,
.diagnostic-page .diagnostic-check-grid label.group:hover {
  border-color: rgba(62, 91, 224, 0.30);
  background: #F8FAFC;
  box-shadow: 0 2px 8px rgba(12, 18, 34, 0.045);
  transform: none;
}
.diagnostic-page fieldset label.group:has(input:checked),
.diagnostic-page .diagnostic-check-grid label.group:has(input:checked) {
  border-color: rgba(62, 91, 224, 0.45);
  background: rgba(239, 246, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(62, 91, 224, 0.08);
}
.diagnostic-page fieldset label.group > span:first-of-type,
.diagnostic-page .diagnostic-check-grid label.group > span:first-of-type {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: transparent;
}
.diagnostic-page fieldset label.group:has(input:checked) > span:first-of-type,
.diagnostic-page .diagnostic-check-grid label.group:has(input:checked) > span:first-of-type {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.diagnostic-page .diagnostic-checkbox-icon {
  opacity: 0;
  color: #fff;
  line-height: 1;
  transform: scale(0.72);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.diagnostic-page .diagnostic-checkbox-option:has(input:checked) .diagnostic-checkbox-icon {
  opacity: 1;
  transform: scale(1);
}
.diagnostic-page .diagnostic-checkbox-option:has(input:checked) .diagnostic-checkbox-label {
  color: var(--ink);
  font-weight: 700;
}
.diagnostic-support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.diagnostic-support-choice {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(12, 18, 34, 0.035);
  cursor: pointer;
}
.diagnostic-support-choice:hover {
  border-color: rgba(147, 197, 253, 0.95);
  background: #F8FAFC;
}
.diagnostic-support-choice:has(input:checked) {
  border-color: rgba(62, 91, 224, 0.45);
  background: rgba(239, 246, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
}
.diagnostic-page .diagnostic-support-choice input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border-radius: 999px;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
  box-shadow: none;
}
.diagnostic-submit-card {
  padding: 26px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.diagnostic-submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.diagnostic-consents {
  display: grid;
  gap: 12px;
}
.diagnostic-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-3);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}
.diagnostic-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}
.diagnostic-consent a {
  color: var(--accent);
  font-weight: 800;
}
.diagnostic-submit-action {
  display: flex;
  justify-content: flex-end;
}
.diagnostic-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 18, 34, 0.10);
}
.diagnostic-step-button {
  display: inline-flex;
  min-width: 140px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.diagnostic-step-button:hover {
  transform: translateY(-1px);
}
.diagnostic-step-button--primary {
  border: 0;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(62, 91, 224, 0.85);
}
.diagnostic-step-button--primary:hover {
  background: var(--accent-strong);
}
.diagnostic-step-button--secondary {
  border: 1px solid rgba(12, 18, 34, 0.10);
  background: #fff;
  color: var(--ink-2);
}
.diagnostic-step-button--secondary:hover {
  border-color: rgba(62, 91, 224, 0.30);
  color: var(--accent);
}
.diagnostic-submit-action button {
  min-height: 52px;
  min-width: 210px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 16px 34px -18px rgba(62, 91, 224, 0.85);
}
.diagnostic-submit-action button:hover {
  background: var(--accent-strong);
}

@media (max-width: 980px) {
  .diagnostic-page .diagnostic-container {
    width: min(calc(100% - 32px), 760px);
    padding-block: 28px 60px;
  }
  .diagnostic-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .diagnostic-estimate {
    max-width: 420px;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .diagnostic-page fieldset > div,
  .diagnostic-page fieldset > div[class*="lg:grid-cols-3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .diagnostic-page .diagnostic-container {
    width: min(calc(100% - 24px), 100%);
  }
  .diagnostic-stepper-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 12px;
  }
  .diagnostic-stepper-list {
    gap: 4px;
  }
  .diagnostic-stepper-list li {
    padding: 6px;
  }
  .diagnostic-stepper-list li:not(:last-child)::after {
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
  }
  .diagnostic-stepper-list li span {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .diagnostic-support-options {
    grid-template-columns: 1fr;
  }
  .diagnostic-hero {
    padding: 0;
  }
  .diagnostic-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }
  .diagnostic-step-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px 0 0;
  }
  .diagnostic-form {
    padding: 18px;
    border-radius: 22px;
  }
  .diagnostic-field-grid,
  .diagnostic-check-grid,
  .diagnostic-page fieldset > div,
  .diagnostic-page fieldset > div[class*="lg:grid-cols-3"],
  .diagnostic-submit-grid {
    grid-template-columns: 1fr;
  }
  .diagnostic-submit-action,
  .diagnostic-submit-action button {
    width: 100%;
  }
  .diagnostic-step-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .diagnostic-step-actions span {
    order: -1;
    text-align: center;
  }
  .diagnostic-step-button {
    width: 100%;
  }
}

/* Public diagnostic result page */
.result-page--public {
  min-height: calc(100svh - 74px);
  background:
    radial-gradient(circle at 10% 18%, rgba(14, 165, 233, 0.08), transparent 26rem),
    radial-gradient(circle at 92% 20%, rgba(62, 91, 224, 0.11), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #F7F8FA 100%);
}
.result-container {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 42px 0 86px;
}
.result-hero,
.result-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px -38px rgba(12, 18, 34, 0.32);
}
.result-hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
}
.result-hero::after {
  content: "";
  position: absolute;
  top: -70px;
  right: 80px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(62, 91, 224, 0.09);
  filter: blur(18px);
}
.result-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(62, 91, 224, 0.16);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}
.result-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-top: 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.result-hero > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-top: 18px;
  color: var(--ink-2);
  font-family: var(--font-subtitle);
  font-size: 1.1rem;
  line-height: 1.7;
}
.result-card {
  margin-top: 26px;
  padding: 30px;
}
.result-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: end;
}
.result-eyebrow {
  color: var(--accent);
  font-family: var(--font-subtitle);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.result-card h2,
.result-card h3,
.result-reading-copy h2 {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: 0;
}
.result-card p:not(.result-eyebrow),
.result-reading-copy p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}
.result-dark-callout,
.result-card--dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(62, 91, 224, 0.35), transparent 20rem),
    linear-gradient(135deg, #071226 0%, #0B1C3F 100%);
  color: #fff;
}
.result-dark-callout {
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 20px 44px -24px rgba(7, 18, 38, 0.70);
}
.result-dark-callout p,
.result-card--dark .result-eyebrow {
  margin: 0;
  color: #BFD1FF;
  font-size: 0.86rem;
  font-weight: 800;
}
.result-dark-callout strong {
  display: block;
  margin-top: 12px;
  color: #EAF0FF;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
}
.result-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.result-score-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #F8FAFC;
}
.result-score-card p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.result-score-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1;
}
.result-score-card--risk {
  border-color: rgba(220, 38, 38, 0.13);
  background: #FEF2F2;
}
.result-score-card--risk p,
.result-score-card--risk strong {
  color: #991B1B;
}
.result-score-card--opportunity {
  border-color: rgba(37, 99, 235, 0.13);
  background: #EFF6FF;
}
.result-score-card--opportunity p,
.result-score-card--opportunity strong {
  color: #1E3A8A;
}
.result-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.result-card--blue {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(239, 246, 255, 0.86);
}
.result-card--warning {
  border-color: rgba(234, 88, 12, 0.14);
  background: rgba(255, 247, 237, 0.88);
}
.result-card--warning .result-eyebrow {
  color: #C2410C;
}
.result-card--success {
  border-color: rgba(22, 163, 74, 0.14);
  background: rgba(240, 253, 244, 0.88);
}
.result-card--success .result-eyebrow {
  color: #15803D;
}
.result-card--dark h2,
.result-card--dark h3,
.result-card--dark p:not(.result-eyebrow) {
  color: #fff;
}
.result-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.result-list > div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}
.result-list > div > span:first-child {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: currentColor;
}
.result-full-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}
.result-complete-groups {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.result-complete-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #F8FAFC;
}
.result-complete-group h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.result-complete-group > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.result-complete-group span {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
}
.result-next-step {
  margin-top: 0;
}
.result-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.result-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}
.result-button--light {
  background: #fff;
  color: var(--ink);
}
.result-button--outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.result-card.result-card--dark,
.result-dark-callout {
  background-color: #071226 !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(62, 91, 224, 0.35), transparent 20rem),
    linear-gradient(135deg, #071226 0%, #0B1C3F 100%) !important;
  color: #fff;
}
.result-card.result-card--dark h2,
.result-card.result-card--dark h3,
.result-card.result-card--dark p:not(.result-eyebrow) {
  color: #fff;
}

@media (max-width: 980px) {
  .result-container {
    width: min(calc(100% - 32px), 760px);
  }
  .result-reading-grid,
  .result-full-grid,
  .result-two-col {
    grid-template-columns: 1fr;
  }
  .result-score-grid,
  .result-complete-group > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }
  .result-container {
    width: min(calc(100% - 24px), 100%);
    padding-block: 28px 60px;
  }
  .result-hero,
  .result-card {
    border-radius: 22px;
    padding: 22px;
  }
  .result-hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.45rem);
    overflow-wrap: anywhere;
  }
  .result-card h2,
  .result-card h3,
  .result-reading-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 920px) {
  .home-immersive-wrap {
    padding-inline: 20px;
  }
  .home-immersive-wrap .v3-frame {
    min-height: auto;
    border-radius: 30px;
  }
}
@media (max-width: 560px) {
  .home-immersive-wrap {
    padding-inline: 20px;
  }
  .home-immersive-wrap .v3-frame {
    border-radius: 26px;
  }
  .home-scroll-cue {
    margin-top: 14px;
  }
}

/* Result page refinement. Keep after the legacy result block because this file is loaded after Vite on public pages. */
.result-page--public {
  min-height: calc(100svh - 74px);
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff 0%, #F7F8FA 100%);
}
.result-container {
  box-sizing: border-box;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 32px 0 72px;
}
.result-hero,
.result-card,
.result-cta-band {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px -36px rgba(12, 18, 34, 0.34);
}
.result-hero {
  padding: 28px;
}
.result-hero::after {
  display: none;
}
.result-pill {
  min-height: 32px;
  max-width: 100%;
  border-color: rgba(191, 219, 254, 0.9);
  background: #EFF6FF;
  color: var(--accent);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.result-hero h1 {
  max-width: 736px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}
.result-hero > p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--ink-2);
  font-family: var(--font-subtitle);
  font-size: 1rem;
  line-height: 1.65;
}
.result-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.result-meta-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  padding: 0 14px;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 700;
}
.result-card {
  margin-top: 20px;
  padding: 24px;
}
.result-reading-grid {
  grid-template-columns: minmax(0, 1fr) minmax(272px, 352px);
  gap: 24px;
  align-items: start;
}
.result-eyebrow {
  font-size: 0.74rem;
}
.result-card h2,
.result-card h3,
.result-cta-band h2,
.result-reading-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.result-card p:not(.result-eyebrow),
.result-reading-copy p,
.result-cta-band p:not(.result-eyebrow) {
  margin-top: 14px;
  font-size: 0.97rem;
  line-height: 1.7;
}
.result-dark-callout,
.result-cta-band {
  background:
    radial-gradient(circle at 18% 0%, rgba(62, 91, 224, 0.24), transparent 18rem),
    linear-gradient(135deg, #071226 0%, #0B1C3F 100%) !important;
  color: #fff;
}
.result-dark-callout {
  padding: 18px;
  border-radius: 16px;
}
.result-dark-callout p,
.result-cta-band .result-eyebrow {
  margin: 0;
  color: #BFD1FF !important;
  font-size: 0.78rem;
}
.result-dark-callout strong {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.6;
}
.result-score-grid {
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.result-score-card {
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
}
.result-score-card p {
  font-size: 0.7rem;
}
.result-score-card strong {
  margin-top: 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.result-score-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.86rem;
  font-weight: 800;
}
.result-score-card--risk span,
.result-score-card--risk p,
.result-score-card--risk strong {
  color: #991B1B;
}
.result-score-card--opportunity span,
.result-score-card--opportunity p,
.result-score-card--opportunity strong {
  color: #1E3A8A;
}
.result-score-card--priority {
  border-color: rgba(22, 163, 74, 0.16);
  background: #F0FDF4;
}
.result-score-card--priority span,
.result-score-card--priority p,
.result-score-card--priority strong {
  color: #166534;
}
.result-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.result-section {
  margin-top: 20px;
}
.result-section .result-card {
  margin-top: 0;
}
.result-list {
  gap: 10px;
  margin-top: 16px;
}
.result-list > div {
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  font-size: 0.93rem;
}
.result-complete-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.result-complete-group {
  padding: 16px;
  border-radius: 16px;
}
.result-complete-group h3 {
  font-size: 1rem;
}
.result-complete-group ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 16px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  list-style: disc;
}
.result-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(256px, 352px);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 24px;
}
.result-cta-band h2,
.result-cta-band p:not(.result-eyebrow) {
  color: #fff;
}
.result-actions {
  gap: 12px;
  margin-top: 0;
}
.result-button {
  min-height: 48px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.result-button--outline {
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 980px) {
  .result-container {
    width: min(calc(100% - 32px), 760px);
  }
  .result-reading-grid,
  .result-two-col,
  .result-complete-groups,
  .result-cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .result-container {
    width: min(22rem, calc(100vw - 24px));
    margin-left: 12px;
    margin-right: 0;
    padding-inline: 0;
    padding-block: 24px 56px;
  }
  .result-hero,
  .result-card,
  .result-cta-band {
    border-radius: 16px;
    padding: 18px;
  }
  .result-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }
  .result-card h2,
  .result-card h3,
  .result-cta-band h2,
  .result-reading-copy h2 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }
  .result-score-grid {
    grid-template-columns: 1fr;
  }
}
