/* ModelKit shared styles — Stripe-inspired financial-infrastructure identity.
   Deep-navy ink (#0d253d), electric indigo primary (#533afd), gradient-mesh hero,
   Inter thin (300) display with negative tracking + ss01, tabular figures on money,
   pill buttons, near-white surfaces, deep-navy featured tier. Mobile single-column. */
:root {
  /* surfaces */
  --bg: #ffffff; --soft: #f6f9fc; --card: #ffffff; --cream: #f5e9d4;
  /* text */
  --ink: #0d253d; --body: #273951; --muted: #64748d; --line: #e3e8ee; --line-input: #a8c3de;
  /* brand */
  --blue: #533afd; --blue-d: #4434d4; --blue-press: #2e2b8c; --blue-soft-txt: #665efd;
  --blue-soft: #f1f0ff; --blue-line: #d9d6ff; --blue-subdued: #b9b9f9;
  --navy: #1c1e54;
  /* accents (gradient / status only — never buttons) */
  --graphite: #1c1e54; --amber: #9b6829; --red: #ea2261;
  --pos: #15803d; --neg: #ea2261;
  --shadow-blue: rgba(0,55,112,.08);
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "SF Pro Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.55;
  font-weight: 300; font-feature-settings: "ss01"; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px 88px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); z-index: 20; }
header.site .hwrap { max-width: var(--max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 400; font-size: 21px; color: var(--ink); letter-spacing: -.03em; }
.logo span { color: var(--blue); }
nav a { color: var(--ink); font-size: 15px; margin-left: 22px; font-weight: 400; }
nav a:hover { text-decoration: none; color: var(--blue); }
nav a.order { background: var(--blue); color: #fff; padding: 8px 16px; border-radius: 9999px; font-weight: 400; }
nav a.order:hover { background: var(--blue-press); color: #fff; }
@media (max-width: 700px){ nav a.min { display:none; } }

/* ── Headings & text ───────────────────────────────────────────── */
.eyebrow { font-size: 10px; font-weight: 400; letter-spacing: .1em; color: var(--blue-d); text-transform: uppercase; margin: 0 0 14px; }
h1 { font-weight: 300; font-size: clamp(34px, 5vw, 56px); line-height: 1.03; letter-spacing: -.028em; margin-bottom: 20px; color: var(--ink); }
h1 .hl { color: var(--blue); }
h1 .nowrap, .nowrap { white-space: nowrap; }
h2 { font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 8px 0 12px; letter-spacing: -.02em; color: var(--ink); }
h3 { font-size: 18px; font-weight: 400; margin: 20px 0 8px; color: var(--ink); letter-spacing: -.01em; }
p, li { color: var(--body); font-size: 16px; font-weight: 300; }
p { margin-bottom: 15px; }
ul, ol { padding-left: 22px; margin-bottom: 15px; }
li { margin-bottom: 7px; }
.lede { font-size: 19px; color: var(--body); max-width: 62ch; line-height: 1.45; }
strong, b { color: var(--ink); font-weight: 500; }
.sec-head { margin-top: 72px; padding-top: 8px; }
.sec-sub { color: var(--muted); font-size: 16px; max-width: 68ch; margin-top: -2px; }

/* ── Hero + calculator ─────────────────────────────────────────── */
.hero { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); overflow: hidden; }
/* Gradient mesh backdrop — cream → sherbet → lavender → indigo → ruby, upper third */
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 62%;
  background:
    radial-gradient(60% 120% at 8% 0%, rgba(245,233,212,.9) 0%, rgba(245,233,212,0) 55%),
    radial-gradient(55% 120% at 30% 6%, rgba(249,107,238,.30) 0%, rgba(249,107,238,0) 55%),
    radial-gradient(60% 130% at 55% 0%, rgba(102,94,253,.34) 0%, rgba(102,94,253,0) 58%),
    radial-gradient(70% 130% at 82% 4%, rgba(83,58,253,.30) 0%, rgba(83,58,253,0) 60%),
    radial-gradient(50% 120% at 98% 0%, rgba(234,34,97,.24) 0%, rgba(234,34,97,0) 55%),
    linear-gradient(180deg, #f6f4ff 0%, rgba(246,249,252,0) 100%);
  pointer-events: none; z-index: 0;
}
.hero-wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 60px 24px 34px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hero-copy { padding-top: 10px; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-badges li { font-size: 13px; color: var(--muted); margin: 0; }
.hero-badges b { color: var(--blue-d); font-weight: 500; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.cta-note { font-size: 13.5px; color: var(--ink); margin: 14px 0 0; line-height: 1.55; max-width: 44ch; }
.cta-note b { color: var(--blue-d); }
.hero-fulfil { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.hero-disc { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px 26px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px){ .hero-wrap { grid-template-columns: 1fr; gap: 32px; } .hero::before { height: 48%; } }

.calc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: 0 8px 24px var(--shadow-blue), 0 2px 6px rgba(0,55,112,.04); }
.calc-head h2 { font-size: 21px; margin: 0 0 6px; letter-spacing: -.02em; }
.calc-head p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.calc-field { margin-bottom: 18px; }
.calc-field > label { display: block; font-size: 14px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.calc-field .hint { font-weight: 300; color: var(--muted); font-size: 12px; }
.calc-val { float: right; color: var(--blue-d); font-weight: 500; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -.02em; }
.calc-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; font-feature-settings: "tnum"; }
.calc select { width: 100%; padding: 9px 12px; border: 1px solid var(--line-input); border-radius: 6px; font-size: 15px; font-family: inherit; font-weight: 300; background: #fff; color: var(--ink); }
.calc select:focus { outline: none; border-color: var(--blue); }
.calc-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-radios label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--body); border: 1px solid var(--line); border-radius: 8px; padding: 8px 9px; cursor: pointer; }
.calc-radios input { accent-color: var(--blue); }

/* native range slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--blue-subdued); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(13,37,61,.25); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; cursor: pointer; }

.calc-out { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 8px; padding: 16px; margin: 4px 0 12px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; }
.calc-label { font-size: 13px; color: var(--body); }
.calc-num { font-weight: 500; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 16px; color: var(--ink); letter-spacing: -.03em; }
.calc-num.baseline { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 400; }
.calc-row.improved .calc-num { color: var(--blue-d); font-size: 18px; }
.calc-numwrap { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.calc-badge { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); background: #fff; border: 1px solid var(--blue-line); border-radius: 999px; padding: 2px 7px; line-height: 1.4; }
.calc-method-inline { font-size: 12px; color: var(--body); line-height: 1.5; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--blue-line); }
.calc-method-inline b { color: var(--ink); font-weight: 600; }
.calc-gap { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--blue-line); margin-top: 8px; padding-top: 10px; font-size: 12.5px; color: var(--muted); }
.calc-gap b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -.03em; }
.calc-roi { background: var(--navy); color: #fff; border-radius: 8px; padding: 13px 15px; font-size: 13.5px; line-height: 1.5; margin-top: 12px; font-weight: 300; }
.calc-roi b { color: #fff; font-weight: 500; font-feature-settings: "tnum"; }
.calc-basis { font-size: 11.5px; color: var(--muted); margin: 12px 0 14px; line-height: 1.5; }
.calc-untied { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; background: var(--soft); }
.calc-untied > summary { cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--body); }
.calc-untied[open] > summary { margin-bottom: 8px; }
.calc-untied .calc-gap { border-top: none; margin-top: 4px; padding-top: 6px; }

/* Optional email-capture lead magnet (calculator result) */
.calc-email { position: relative; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 15px; margin: 4px 0 12px; }
.calc-email > label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.calc-email-sub { font-size: 11.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.calc-email-row { display: flex; gap: 8px; }
.calc-email-row input { flex: 1 1 auto; padding: 9px 12px; border: 1px solid var(--line-input); border-radius: 6px; font-size: 14px; font-family: inherit; font-weight: 300; background: #fff; color: var(--ink); }
.calc-email-row input:focus { outline: none; border-color: var(--blue); }
.calc-email-row button { flex: 0 0 auto; background: var(--blue); color: #fff; border: none; padding: 9px 18px; border-radius: 9999px; font-weight: 400; font-size: 14px; cursor: pointer; transition: background .12s; }
.calc-email-row button:hover { background: var(--blue-press); }
.calc-email-row button:disabled { opacity: .55; cursor: not-allowed; }
.calc-email-msg { font-size: 12px; margin: 8px 0 0; color: var(--muted); min-height: 1px; }

/* ── Cards & grids ─────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin: 18px 0; box-shadow: 0 1px 3px var(--shadow-blue); }
.card.accent { border-color: var(--cream); background: var(--cream); margin-top: 44px; box-shadow: none; }
.card.table-card { padding: 6px 10px; overflow-x: auto; }

/* ── How it works — steps ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 8px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 1px 3px var(--shadow-blue); }
.step-n { width: 36px; height: 36px; border-radius: 9999px; background: var(--blue); color: #fff; font-weight: 400; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-feature-settings: "tnum"; }
.step h3 { margin-top: 0; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }

/* ── Comparison table ──────────────────────────────────────────── */
table.cmp { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 640px; }
table.cmp th, table.cmp td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-size: 13px; color: var(--muted); font-weight: 400; }
table.cmp thead th.col-us, table.cmp td.col-us { background: var(--blue-soft); color: var(--ink); }
table.cmp thead th.col-us { color: var(--blue-d); font-weight: 500; }
table.cmp td.col-us { font-weight: 400; }
table.cmp td:first-child { color: var(--ink); font-weight: 400; }

/* ── Deliverable preview carousel ──────────────────────────────── */
.carousel { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.mini { flex: 0 0 268px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px var(--shadow-blue), 0 2px 6px rgba(0,55,112,.04); overflow: hidden; display: flex; flex-direction: column; }
.mini-tab { background: var(--navy); color: #fff; font-size: 12px; font-weight: 400; padding: 10px 14px; letter-spacing: -.01em; }
.mini-body { padding: 14px; font-size: 11.5px; color: var(--body); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-chips span { background: var(--blue-soft); color: var(--blue-d); border-radius: 9999px; padding: 3px 9px; font-size: 10.5px; font-weight: 400; font-feature-settings: "tnum"; }
.mini-note { font-size: 10.5px; color: var(--muted); font-style: italic; margin: 10px 0 0; }
table.mini-t { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
table.mini-t td { padding: 4px 3px; border-bottom: 1px solid var(--line); font-size: 11px; text-align: right; color: var(--body); }
table.mini-t td:first-child { text-align: left; color: var(--ink); }
table.mini-t tr.mt td { font-weight: 500; }
table.mini-t tr.mtot td { font-weight: 500; color: var(--ink); border-top: 1.5px solid var(--navy); }
table.mini-t tr.mcheck td { font-weight: 500; color: var(--blue-d); background: var(--blue-soft); }
table.mini-t td.mini-inline-note { text-align: left; color: var(--blue-d); background: var(--blue-soft); font-size: 9.5px; font-style: italic; line-height: 1.35; padding: 5px 6px; }
table.mini-t td.mini-inline-note b { font-style: normal; font-weight: 600; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { font-size: 11px; padding: 4px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.carousel-cta { text-align: center; margin: 6px 0 0; }

/* ── "Your report will look like this" walkthrough ─────────────── */
.walk { margin: 24px 0 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.walk-row { display: grid; grid-template-columns: 1fr 40px 1.4fr; gap: 12px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.walk-row:last-child { border-bottom: none; }
.walk-row:nth-child(odd) { background: var(--soft); }
.walk-in { font-size: 13.5px; color: var(--body); }
.walk-field { display: inline-block; background: var(--blue-soft); color: var(--blue-d); border: 1px solid var(--blue-line); border-radius: 9999px; padding: 2px 10px; font-size: 12.5px; font-weight: 400; margin: 2px 0; }
.walk-arrow { color: var(--blue); font-weight: 500; font-size: 20px; text-align: center; }
.walk-out { font-size: 14px; color: var(--ink); }
.walk-out b { color: var(--blue-d); }
@media (max-width: 700px){ .walk-row { grid-template-columns: 1fr; gap: 8px; } .walk-arrow { text-align: left; } }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 400; padding: 10px 20px; border-radius: 9999px; text-align: center; font-size: 16px; letter-spacing: 0; transition: background .12s; }
.btn:hover { background: var(--blue-press); color: #fff; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); color: var(--blue); }
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost.light:hover { background: rgba(255,255,255,.08); }
.btn.block { display: block; width: 100%; margin-top: 10px; }

/* ── Pricing ───────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
@media (max-width: 860px){ .price-grid { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; position: relative; box-shadow: 0 1px 3px var(--shadow-blue); }
.plan.feat { background: var(--navy); border: 1px solid var(--navy); box-shadow: 0 8px 24px var(--shadow-blue), 0 2px 6px rgba(0,55,112,.04); }
.plan.feat h3, .plan.feat .amt { color: #fff; }
.plan.feat .plan-sub { color: #b9b9f9; }
.plan.feat .plan-icon { color: var(--blue-soft-txt); }
.plan.feat ul li { color: #d9d6ff; }
.plan.feat ul li b { color: #fff; }
.plan.feat ul li::before { color: var(--blue-soft-txt); }
.plan.feat ul li.no { color: #8b8fb8; }
.plan.feat ul li.no::before { color: #8b8fb8; }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 9999px; white-space: nowrap; }
.plan-icon { color: var(--blue); font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; }
.plan .amt { font-size: 40px; font-weight: 300; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.plan h3 { font-size: 22px; margin: 0 0 4px; font-weight: 300; letter-spacing: -.02em; }
.plan-sub { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; }
.plan ul li { position: relative; padding-left: 24px; font-size: 14px; margin-bottom: 10px; color: var(--body); }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 500; }
.plan ul li.no { color: var(--muted); }
.plan ul li.no::before { content: "—"; color: var(--muted); }
.grid-head { margin-top: 38px; }

/* ── Self-qualify + trust ──────────────────────────────────────── */
table.qual { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 620px; }
table.qual th, table.qual td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.qual thead th { font-size: 12.5px; color: var(--muted); font-weight: 400; }
table.qual td:first-child { color: var(--ink); font-weight: 400; }
table.qual td:nth-child(2) { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
table.qual td:last-child { color: var(--blue-d); font-weight: 400; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0 8px; }
@media (max-width: 860px){ .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .trust-grid { grid-template-columns: 1fr; } }
.trust { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 1px 3px var(--shadow-blue); }
.trust b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; font-weight: 500; }
.trust span { font-size: 12.5px; color: var(--body); }

.cap { font-size: 12.5px; color: var(--muted); margin: 6px 0 22px; max-width: 78ch; }

/* ── FAQ (chevron) ─────────────────────────────────────────────── */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { font-weight: 400; cursor: pointer; color: var(--ink); font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; letter-spacing: -.01em; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "⌄"; color: var(--blue); font-weight: 500; font-size: 20px; line-height: 1; transition: transform .18s; }
details.faq[open] summary::after { transform: rotate(180deg); }
details.faq p { margin: 12px 0 2px; }

/* ── CTA box ───────────────────────────────────────────────────── */
.cta-box { background: var(--navy); border-radius: 12px; padding: 40px; margin: 56px 0 0; color: #d9d6ff; }
.cta-box b { color: #fff; font-size: 22px; font-weight: 300; letter-spacing: -.02em; }
.cta-box p { color: #b9b9f9; font-size: 15px; margin: 10px 0 20px; }
.cta-box .btn { margin-right: 10px; }

/* ── Sample-report page tables (existing markup) ───────────────── */
table { border-collapse: collapse; width: 100%; font-size: 13.5px; background: #fff; margin: 14px 0 26px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
thead th { text-align: left; padding: 10px 9px; border-bottom: 2px solid var(--navy); font-size: 12.5px; color: var(--ink); font-weight: 500; }
thead th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
td { padding: 8px 9px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
tbody td:first-child { color: var(--ink); }
tr.sub td { font-weight: 500; background: var(--soft); }
tr.total td { font-weight: 500; color: var(--ink); border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); background: var(--blue-soft); }
tr.check td { font-weight: 500; color: var(--blue-d); background: var(--blue-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 9999px; padding: 5px 12px; font-size: 12.5px; color: var(--body); }
.fiction { background: var(--cream); border: 1px solid #e6d3a8; border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #6b5220; margin: 18px 0; }
.disc { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 12px; color: var(--muted); margin: 18px 0; }
.defend { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 16px 0; }
.defend h3 { margin-top: 0; }
.defend li { font-size: 14.5px; }

/* ── Order form ────────────────────────────────────────────────── */
form label { display: block; font-size: 14px; font-weight: 400; color: var(--ink); margin: 16px 0 5px; }
form .hint { font-weight: 300; color: var(--muted); font-size: 12px; }
input, select { width: 100%; padding: 9px 12px; border: 1px solid var(--line-input); border-radius: 6px; font-size: 15px; font-family: inherit; font-weight: 300; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--blue); }
button.submit { background: var(--blue); color: #fff; border: none; padding: 12px 24px; border-radius: 9999px; font-weight: 400; font-size: 16px; cursor: pointer; margin-top: 20px; width: 100%; transition: background .12s; }
button.submit:hover { background: var(--blue-press); }
button.submit:disabled { opacity: .55; cursor: not-allowed; }
#msg { font-size: 13.5px; margin-top: 12px; }

.crumb { font-size: 13px; color: var(--muted); margin-top: 38px; }
.crumb a { color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 13px; color: var(--muted); background: var(--bg); }
footer.site .fwrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
footer.site a { color: var(--muted); }
footer.site .discf { margin-top: 12px; max-width: 90ch; line-height: 1.6; }

/* legacy classes kept for sample/order pages */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px){ .grid2 { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────
   PAGINATED REPORT (sample-report.html) — US-Letter "page" blocks.
   Screen: stacked pages with numbers + running footer. Print: one
   page each. All numbers inside come from the engine.
   ───────────────────────────────────────────────────────────────── */
.report-shell { background: var(--soft); padding: 32px 0 72px; }
.report-toolbar { max-width: 850px; margin: 0 auto 24px; padding: 0 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.report-toolbar .rt-note { font-size: 12.5px; color: var(--muted); }
.report-toolbar .btn { padding: 8px 18px; font-size: 14px; }
.report-jump { position: sticky; top: 0; z-index: 20; max-width: 850px; margin: 0 auto 24px; padding: 9px 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(6px); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 6px rgba(13,37,61,.06); }
.report-jump .rj-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.report-jump a { font-size: 12.5px; color: var(--blue-d); text-decoration: none; white-space: nowrap; }
.report-jump a:hover { text-decoration: underline; }

.page {
  position: relative;
  background: #fff;
  width: 850px;
  max-width: calc(100vw - 24px);
  min-height: 1100px;
  margin: 0 auto 26px;
  padding: 64px 72px 80px;
  box-shadow: 0 8px 24px var(--shadow-blue), 0 2px 6px rgba(0,55,112,.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}
@media (max-width: 900px){ .page { padding: 40px 26px 66px; min-height: 0; } }
.page .pg-head { position: absolute; top: 22px; left: 72px; right: 72px; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
@media (max-width: 900px){ .page .pg-head { left: 26px; right: 26px; } }
.page .pg-head .pg-brand b { color: var(--blue); }
.page .pg-foot { position: absolute; bottom: 22px; left: 72px; right: 72px; display: flex; justify-content: space-between; gap: 16px; font-size: 9.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; line-height: 1.4; }
@media (max-width: 900px){ .page .pg-foot { left: 26px; right: 26px; position: static; margin-top: 30px; } }
.page .pg-foot .pg-no { white-space: nowrap; font-weight: 500; color: var(--muted); font-feature-settings: "tnum"; }

.page h2.sec { font-size: 28px; font-weight: 300; margin: 4px 0 4px; letter-spacing: -.024em; }
.page .phase { font-size: 10px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 8px; }
.page .sec-kicker { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.page h3 { font-size: 17px; font-weight: 500; margin: 22px 0 7px; }
.page h4 { font-size: 13.5px; margin: 16px 0 5px; color: var(--ink); font-weight: 500; }
.page p { font-size: 14px; line-height: 1.62; font-weight: 300; }
.page li { font-size: 14px; font-weight: 300; }
.page table { font-size: 12.5px; margin: 12px 0 16px; }
.page .cap { font-size: 11.5px; }

/* Cover */
.page.cover { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(155deg, #1c1e54 0%, #2e2b8c 52%, #533afd 100%); color: #fff; border: none; }
.page.cover .pg-head, .page.cover .pg-foot { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.18); }
.page.cover .pg-head .pg-brand b { color: #fff; }
.page.cover .cv-logo { font-weight: 400; font-size: 25px; letter-spacing: -.03em; }
.page.cover .cv-logo span { color: #b9b9f9; }
.page.cover .cv-kicker { margin-top: 42px; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #b9b9f9; }
.page.cover h1 { color: #fff; font-size: 44px; font-weight: 300; line-height: 1.05; letter-spacing: -.028em; margin: 16px 0 18px; }
.page.cover .cv-sub { font-size: 18px; font-weight: 300; color: #dcd9ff; max-width: 52ch; line-height: 1.45; }
.page.cover .cv-meta { margin-top: 42px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; max-width: 560px; }
.page.cover .cv-meta div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 8px; }
.page.cover .cv-meta .k { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #b9b9f9; }
.page.cover .cv-meta .v { font-size: 15px; font-weight: 500; color: #fff; font-feature-settings: "tnum"; }
.page.cover .cv-fiction { margin-top: 42px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 12px 16px; font-size: 12px; color: #eef; }

/* Big diagnostic number (Attention) */
.bignum { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 20px; }
.bignum .bn { flex: 1 1 150px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 8px; padding: 16px 18px; }
.bignum .bn .n { font-size: 30px; font-weight: 300; color: var(--blue-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.bignum .bn .l { font-size: 11.5px; color: var(--body); margin-top: 2px; }
.bignum .bn.warn { background: #fdf6e9; border-color: #e6d3a8; }
.bignum .bn.warn .n { color: var(--amber); }
.bignum .bn.good { background: #ecfdf5; border-color: #a7f3d0; }
.bignum .bn.good .n { color: var(--pos); }

/* INPUT → OUTPUT mapping box (required in every major section) */
.iobox { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 16px 0; }
.iobox .io-h { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 8px; }
.iobox table { margin: 0; font-size: 12px; }
.iobox td { padding: 5px 8px; border-bottom: 1px solid var(--line); }
.iobox td.io-in { color: var(--body); width: 46%; }
.iobox td.io-arrow { color: var(--blue); text-align: center; width: 8%; font-weight: 500; }
.iobox td.io-out { color: var(--ink); font-weight: 400; }

/* "Why this matters to YOU now" callout */
.matters { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 8px; padding: 14px 18px; margin: 14px 0 18px; }
.matters .m-h { font-size: 12px; font-weight: 500; color: var(--blue-d); margin-bottom: 5px; letter-spacing: .01em; }
.matters p { margin: 0; font-size: 13.5px; color: var(--body); }

/* flags / scenario chips / roadmap */
.flag { border-radius: 8px; padding: 11px 15px; margin: 10px 0; font-size: 13px; border: 1px solid; }
.flag.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.flag.watch { background: #fdf6e9; border-color: #e6d3a8; color: #6b5220; }
.flag.risk { background: #fef2f2; border-color: #f7c9d6; color: #991b34; }
.flag b { color: inherit; }

.timeline { list-style: none; padding: 0; margin: 14px 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; border-left: 2px solid var(--blue-line); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.timeline li b { display: block; color: var(--ink); font-size: 13.5px; }
.timeline li span { font-size: 12.5px; color: var(--body); }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
@media (max-width: 640px){ .ba { grid-template-columns: 1fr; } }
.ba .col { border-radius: 8px; padding: 16px; font-size: 13px; }
.ba .before { background: #fef2f2; border: 1px solid #f7c9d6; }
.ba .after { background: #ecfdf5; border: 1px solid #a7f3d0; }
.ba h4 { margin-top: 0; }

.checklist { list-style: none; padding: 0; margin: 12px 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.checklist li::before { content: "☐"; position: absolute; left: 0; top: 6px; color: var(--blue); font-size: 16px; }
.checklist li b { color: var(--ink); }

.script { background: var(--navy); color: #e0e0ff; border-radius: 8px; padding: 16px 18px; margin: 12px 0; font-size: 13px; line-height: 1.6; }
.script .who { color: #b9b9f9; font-weight: 500; }
.script .you { color: #86efac; font-weight: 500; }

.toc { list-style: none; padding: 0; margin: 14px 0; }
.toc li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: 13.5px; }
.toc li .t-ph { color: var(--blue-d); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.toc li .t-pg { color: var(--muted); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.toc .toc-phase { margin: 18px 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }

@media print {
  .report-shell { background: #fff; padding: 0; }
  .report-toolbar, .report-jump, header.site, footer.site { display: none; }
  .page { box-shadow: none; border: none; border-radius: 0; margin: 0; width: 100%; min-height: 100vh; page-break-after: always; }
}
