:root {
  --ink: #1d1b33;
  --muted: #5b5872;
  --line: #e6e3f0;
  --bg: #fbfaf7;
  --card: #ffffff;
  --brand: #4b3fe0;
  --brand-dark: #3428b8;
  --brand-soft: #eeecff;
  --accent: #ff8a3d;
  --accent-soft: #fff1e6;
  --good: #1f9d6b;
  --good-soft: #e5f6ef;
  --warn: #c77700;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(29, 27, 51, .06), 0 8px 24px rgba(29, 27, 51, .07);
  --max: 1120px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Logo */
.logo { font-weight: 800; font-size: 22px; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #8b5cf6 60%, var(--accent)); display: inline-grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.logo .two { color: var(--accent); }
.logo .ready { color: var(--brand); font-weight: 700; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 14px 26px; background: var(--brand); color: #fff; transition: transform .08s ease, background .15s ease, box-shadow .15s; box-shadow: 0 6px 16px rgba(75, 63, 224, .25); }
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 16px; font-size: 15px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--line); }
.btn.ghost:hover { background: #fff; border-color: #cfcbe0; }
.btn.accent { background: var(--accent); box-shadow: 0 6px 16px rgba(255, 138, 61, .3); }
.btn.accent:hover { background: #f07424; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.big { padding: 17px 32px; font-size: 18px; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 36px; } }
.eyebrow { display: inline-flex; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); margin: 18px 0 16px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, #ffd9bd 62%); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Mock report card */
.mock { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); position: relative; }
.mock::before { content: "Sample report"; position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mock .row { display: flex; gap: 18px; align-items: center; }
.dial { --v: 69; width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--brand) calc(var(--v) * 1%), var(--brand-soft) 0); }
.dial > div { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; line-height: 1.05; }
.dial b { font-size: 28px; }
.dial small { font-size: 11px; color: var(--muted); display: block; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--good-soft); color: var(--good); }
.mock h4 { margin: 6px 0 2px; font-size: 18px; }
.mock .muted { color: var(--muted); font-size: 14px; }
.mock ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mock li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.mock li .n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.mock li .h { margin-left: auto; white-space: nowrap; color: var(--good); font-weight: 700; font-size: 13px; }
.mock .prompt { margin-top: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: #1d1b33; color: #e9e7ff; border-radius: 12px; padding: 12px 14px; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.honest { padding: 26px 0; background: var(--ink); color: #fff; }
.honest .wrap { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-weight: 600; font-size: 16px; }
.honest span::before { content: "✓"; color: var(--accent); margin-right: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps, .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.icon { font-size: 26px; }

/* AI -> SI ladder */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ladder > div { padding: 26px; border-right: 1px solid var(--line); position: relative; }
.ladder > div:last-child { border-right: 0; background: linear-gradient(160deg, #f5f3ff, #fff3ea); }
.ladder .stage { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.ladder h3 { margin: 6px 0 8px; }
.ladder p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr; } .ladder > div { border-right: 0; border-bottom: 1px solid var(--line); } }

.price-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.price-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.price-card .price { font-size: 44px; font-weight: 800; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }

.faq { max-width: 780px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; }
.final-cta p { color: var(--muted); margin: 0 0 26px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; }
.quiz-top { background: #fff; border-bottom: 1px solid var(--line); }
.quiz-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.quiz-top .count { font-size: 14px; color: var(--muted); font-weight: 600; }
.progress { height: 6px; background: var(--brand-soft); }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #8b5cf6); transition: width .3s ease; border-radius: 0 6px 6px 0; }
.quiz-main { flex: 1; padding: 36px 0 120px; }
.qcard { max-width: 720px; margin: 0 auto; }
.qcard h1 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; }
.qcard .hint { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.options { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; font: inherit; font-size: 17px; color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.opt:hover { border-color: #c9c3f5; }
.opt .box { flex: none; width: 22px; height: 22px; border: 2px solid #c9c5d9; border-radius: 50%; display: grid; place-items: center; }
.opt.multi .box { border-radius: 6px; }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(75, 63, 224, .12); }
.opt[aria-checked="true"] .box { border-color: var(--brand); background: var(--brand); }
.opt[aria-checked="true"] .box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.opt.multi[aria-checked="true"] .box::after { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opt[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.text-input { width: 100%; font: inherit; font-size: 18px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.text-input:focus, .opt:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 63, 224, .15); }
.charcount { text-align: right; font-size: 13px; color: var(--muted); margin-top: 6px; }
.per-sel { display: grid; gap: 18px; }
.per-sel .item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.per-sel .item b { display: block; margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 560px) { .seg { grid-template-columns: repeat(2, 1fr); } }
.seg button { font: inherit; font-size: 15px; padding: 10px 8px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; color: var(--ink); }
.seg button[aria-checked="true"] { border-color: var(--brand); background: var(--brand); color: #fff; font-weight: 700; }
.error { color: #c0362c; font-weight: 600; font-size: 15px; min-height: 24px; margin-top: 12px; }
.quiz-nav { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 14px 0; }
.quiz-nav .wrap { max-width: 760px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.skip { background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.intro-card { max-width: 640px; margin: 0 auto; text-align: center; }
.intro-card h1 { font-size: clamp(28px, 4vw, 38px); }
.intro-card p { color: var(--muted); font-size: 18px; }
.loading { text-align: center; padding: 80px 0; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Report ---------- */
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding: 32px 0 80px; align-items: start; }
@media (max-width: 980px) { .report-layout { grid-template-columns: 1fr; } }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 26px; }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; text-align: center; } .summary .dial { margin: 0 auto; } }
.summary .verdict { font-size: 22px; font-weight: 800; margin: 6px 0; }
.summary .stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 560px) { .summary .stats { justify-content: center; } }
.stat { background: var(--bg); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.stat b { display: block; font-size: 18px; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px 40px 32px; }
@media (max-width: 640px) { .report { padding: 4px 18px 22px; } }
.report h1 { font-size: 30px; margin-top: 28px; }
.report h2 { font-size: 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.report h3 { font-size: 20px; margin-top: 30px; color: var(--brand-dark); }
.report blockquote { margin: 18px 0; padding: 12px 18px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.report blockquote p { margin: 0; }
.report pre { position: relative; background: #1d1b33; color: #ecebff; padding: 18px 18px 18px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; line-height: 1.55; }
.report pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-btn { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,.22); }
.report pre { padding-top: 44px; }
.report a[href="#get-deep-dive"] { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 24px; border-radius: 999px; }
.report hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0 10px; }
.side { position: sticky; top: 84px; display: grid; gap: 18px; }
@media (max-width: 980px) { .side { position: static; } }
.side .card h3 { margin-top: 0; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field input[type=email], .field input[type=text] { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.field input:focus { outline: none; border-color: var(--brand); }
.check { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; margin-bottom: 14px; }
.ok-msg { background: var(--good-soft); color: var(--good); padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.hp { position: absolute; left: -9999px; }
.deep .price { font-size: 32px; font-weight: 800; }
.deep ul { padding-left: 18px; color: var(--muted); font-size: 15px; }
.modal-bg { position: fixed; inset: 0; background: rgba(29, 27, 51, .5); display: none; place-items: center; z-index: 50; padding: 20px; }
.modal-bg.open { display: grid; }
.modal { background: #fff; border-radius: 20px; padding: 28px; max-width: 460px; width: 100%; box-shadow: var(--shadow); }
.modal h3 { margin-top: 0; }
.dev-note { font-size: 13px; color: var(--muted); background: var(--bg); border: 1px dashed var(--line); padding: 10px 12px; border-radius: 10px; }
@media print { .nav, .side, .quiz-nav, .no-print { display: none !important; } .report-layout { display: block; } .report { border: 0; } .copy-btn { display: none; } }
.nav .btn { white-space: nowrap; }
@media (max-width: 560px) { #print { display: none; } .report h1 { font-size: 24px; } .report h2 { font-size: 21px; } .logo { font-size: 20px; } }

/* SEO/a11y patch: hero mock heading replaced by p (heading order); darker orange for text contrast (WCAG AA) */
.mock .mock-h{margin:6px 0 2px;font-size:18px;font-weight:700}
.kicker{color:#b45309}
.btn.accent{background:#c2410c}
.btn.accent:hover{background:#9a3412}

/* AI Setup Session offer (report page) + thanks-session.html */
.offer-card { margin-top: 24px; border-radius: 22px; padding: 28px 32px; border: 2px solid var(--accent); }
.offer-card h2 { margin: 6px 0 8px; font-size: 26px; }
.offer-card .offer-lead { color: var(--muted); margin: 0 0 12px; }
.offer-card .offer-list { margin: 0 0 18px; padding-left: 20px; color: var(--ink, inherit); }
.offer-card .offer-list li { margin: 6px 0; }
.offer-card .offer-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.offer-card .price { font-size: 34px; font-weight: 800; }
.offer-card .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.offer-card .offer-fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
@media (max-width: 640px) { .offer-card { padding: 22px 18px; } }
@media print { .offer-card { display: none !important; } }
.home-session { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.thanks { max-width: 720px; padding: 48px 20px 80px; }
.thanks ol { padding-left: 22px; } .thanks ol li { margin: 10px 0; }
.thanks .card { margin: 22px 0; }

/* Mobile heading fit (Oct 21, 2026) */
.nowrap { white-space: nowrap; }
.section-head h2, .final-cta h2, h1 { text-wrap: balance; }
@media (max-width: 560px) { .section-head h2 { font-size: 24px; } .final-cta h2 { font-size: 26px; } }
@media (max-width: 360px) { .nowrap { white-space: normal; } }
