/* ════════════════════════════════════════════════════════════════════
   Qoyla marketing. PRODUCT PROOF visual system
   Real Qoyla UI renders built in HTML/CSS (no fake stock): device frames,
   region proof, evidence cards, dashboard cockpit, plan compare.
   Grounded in marketing.css tokens. Inter + JetBrains Mono only.
   ════════════════════════════════════════════════════════════════════ */

/* ───────── shared device chrome ───────── */
.dvc { position: relative; }
.dvc-glow { position: absolute; inset: -10% -6% -14%; z-index: -1;
  background: radial-gradient(60% 60% at 30% 10%, var(--primary-tint), transparent 70%),
              radial-gradient(50% 50% at 100% 100%, oklch(0.78 0.13 228 / 0.12), transparent 70%);
  filter: blur(10px); }

/* desktop window */
.dvc-desktop { border-radius: 16px; overflow: hidden; background: var(--surface-card);
  border: 1px solid var(--border-strong); box-shadow: var(--elev-pop); }
.dvc-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: var(--surface-inset); border-bottom: 1px solid var(--border-hairline); }
.dvc-bar .d { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dvc-url { margin-left: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-subtle);
  background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--r-pill);
  padding: 4px 14px; }
.dvc-body { display: grid; grid-template-columns: 56px 1fr; min-height: 420px; }

/* nav rail */
.dvc-rail { background: var(--navy-2); display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 0; }
.dvc-rail .ri { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  color: var(--on-dark-muted); }
.dvc-rail .ri svg { width: 19px; height: 19px; }
.dvc-rail .ri.on { background: oklch(1 0 0 / 0.10); color: var(--cyan-bright); }
.dvc-rail .ri.logo { margin-bottom: 10px; }
.dvc-rail .ri.logo img { width: 30px; height: 30px; }

/* cockpit main */
.dvc-main { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 18px;
  background: linear-gradient(180deg, var(--bg-app), var(--surface-card)); }
.ck-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ck-greet { font-size: 13px; color: var(--ink-muted); }
.ck-greet b { display: block; font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }
.ck-pill { font-family: var(--font-mono); font-size: 11px; color: var(--success-text);
  background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.2);
  border-radius: var(--r-pill); padding: 5px 11px; white-space: nowrap; }
.ck-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
.ck-card { background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: 14px; padding: 18px; box-shadow: var(--elev-1); }
.ck-label { font-size: 12px; color: var(--ink-muted); }
.ck-figure { font-family: var(--font-mono); font-size: clamp(28px, 3vw, 38px); font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; line-height: 1.1; margin-top: 4px; }
/* money map stacked bar */
.ck-map { display: flex; height: 12px; border-radius: var(--r-pill); overflow: hidden; margin-top: 16px; gap: 2px; }
.ck-map i { display: block; }
.ck-map .ob { background: var(--alloc-obligations, oklch(0.66 0.055 55)); flex: 42; }
.ck-map .go { background: var(--alloc-goals, oklch(0.62 0.058 168)); flex: 26; }
.ck-map .fx { background: var(--alloc-flexible, oklch(0.60 0.062 255)); flex: 32; }
.ck-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.ck-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-muted); }
.ck-legend i { width: 9px; height: 9px; border-radius: 3px; }
.ck-rows { display: flex; flex-direction: column; }
.ck-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--border-hairline); font-size: 13px; color: var(--ink); }
.ck-row:first-child { border-top: 0; }
.ck-row .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-inset); color: var(--ink-muted); display: grid; place-items: center; flex: none; }
.ck-row .ic svg { width: 16px; height: 16px; }
.ck-row .amt { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ck-row .due { font-size: 11px; color: var(--ink-subtle); }
.ck-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ck-h { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
/* evidence mini proof */
.ck-proof { display: flex; flex-direction: column; }
.ck-proof .pr { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-hairline); }
.ck-proof .pr:first-child { border-top: 0; }
.ck-proof .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); width: 52px; flex: none; padding-top: 2px; }
.ck-proof .v { font-size: 11.5px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 560px) { .ck-hero, .ck-grid2 { grid-template-columns: 1fr; } .dvc-body { grid-template-columns: 44px 1fr; } }

/* ───────── phone frame ───────── */
.dvc-phone { width: 300px; max-width: 100%; aspect-ratio: 300 / 620; background: var(--navy-2);
  border-radius: 42px; padding: 11px; box-shadow: var(--elev-pop); position: relative; }
.dvc-screen { position: relative; height: 100%; background: var(--bg-app); border-radius: 32px;
  overflow: hidden; display: flex; flex-direction: column; }
.dvc-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 26px;
  background: var(--navy-2); border-radius: 0 0 16px 16px; z-index: 3; }
.ph-top { padding: 30px 18px 12px; display: flex; align-items: center; gap: 9px; }
.ph-av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--on-dark);
  display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; }
.ph-top .nm { font-size: 12px; color: var(--ink-muted); }
.ph-top .nm b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.ph-body { flex: 1; overflow: hidden; padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.ph-card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 16px; padding: 16px; box-shadow: var(--elev-1); }
.ph-ask { background: var(--navy-2); color: var(--on-dark); border-color: transparent; }
.ph-ask .q { font-size: 13px; font-weight: 500; line-height: 1.4; }
.ph-ask .step { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--on-dark-muted); margin-top: 10px; }
.ph-ask .step .tk { width: 15px; height: 15px; border-radius: 50%; background: oklch(0.62 0.15 152 / 0.25); color: var(--cyan-bright); display: grid; place-items: center; font-size: 9px; flex: none; }
.ph-safe .l { font-size: 11px; color: var(--ink-muted); }
.ph-safe .f { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; line-height: 1.1; }
.ph-safe .seal { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--success-text); }
.ph-safe .seal svg { width: 14px; height: 14px; }
.ph-approve { display: flex; gap: 8px; margin-top: 4px; }
.ph-approve .b { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 11px; border-radius: var(--r-pill); }
.ph-approve .y { background: var(--primary); color: var(--on-dark); }
.ph-approve .n { background: var(--surface-inset); color: var(--ink-muted); border: 1px solid var(--border-hairline); }

/* ───────── render section layout ───────── */
.render-stage { display: grid; grid-template-columns: 1.55fr 0.95fr; gap: clamp(20px, 3vw, 36px); align-items: center; margin-top: clamp(36px, 5vw, 52px); }
@media (max-width: 920px) { .render-stage { grid-template-columns: 1fr; justify-items: center; } .render-stage .dvc-phone { margin-top: 8px; } }

/* ───────── balance vs intelligence split ───────── */
.split-proof { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2.5vw, 28px); align-items: center; margin-top: clamp(32px, 4vw, 44px); }
.split-screen { border-radius: 16px; border: 1px solid var(--border-hairline); padding: 22px; background: var(--surface-card); box-shadow: var(--elev-1); min-height: 210px; }
.split-screen.dim { background: var(--surface-inset); box-shadow: none; }
.split-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.split-screen.dim .split-tag { color: var(--ink-subtle); }
.split-screen.bright .split-tag { color: var(--primary); }
.split-balfig { font-family: var(--font-mono); font-size: 34px; font-weight: 600; color: var(--ink-muted); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.split-screen.dim .muted-note { font-size: 12.5px; color: var(--ink-subtle); margin-top: 8px; }
.split-arrow { display: grid; place-items: center; color: var(--primary); }
.split-arrow svg { width: 30px; height: 30px; }
@media (max-width: 720px) { .split-proof { grid-template-columns: 1fr; } .split-arrow { transform: rotate(90deg); } }

/* ───────── region proof panel ───────── */
.region-proof { margin-top: clamp(30px, 4vw, 44px); border: 1px solid var(--border-hairline); border-radius: 20px; overflow: hidden; box-shadow: var(--elev-2); background: var(--surface-card); }
.rp-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; background: var(--surface-inset); border-bottom: 1px solid var(--border-hairline); }
.rp-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; font-size: 13px; font-weight: 500; color: var(--ink-muted); cursor: pointer; transition: all 140ms var(--ease); }
.rp-tab .cur { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.rp-tab[aria-selected="true"] { background: var(--navy); color: var(--on-dark); }
.rp-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); align-items: center; }
.rp-copy .rp-loc { font-size: 13px; color: var(--ink-muted); }
.rp-copy h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 8px 0 12px; }
.rp-meta { display: flex; flex-direction: column; gap: 0; margin-top: 18px; }
.rp-meta .m { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--border-hairline); font-size: 13px; }
.rp-meta .m .lbl { color: var(--ink-muted); }
.rp-meta .m .val { color: var(--ink); font-weight: 500; text-align: right; white-space: nowrap; }
.rp-meta .m .val.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.rp-card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 16px; padding: 22px; box-shadow: var(--elev-2); }
.rp-card .l { font-size: 12px; color: var(--ink-muted); }
.rp-card .f { font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; line-height: 1.1; margin-top: 2px; }
.rp-card .mathrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border-hairline); font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.rp-card .mathrow:nth-child(2) { margin-top: 14px; }
.rp-card .mathrow .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-muted); }
.rp-card .seal { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12px; color: var(--success-text); background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.2); border-radius: 10px; padding: 9px 12px; }
.rp-card .seal svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 760px) { .rp-stage { grid-template-columns: 1fr; } }

/* ───────── product match / plan compare ───────── */
.plan-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-16); margin-top: clamp(32px, 4vw, 44px); }
.plan-c { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 16px; padding: 22px; box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 14px; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.plan-c.best { border: 1.5px solid var(--primary); box-shadow: var(--elev-pop); }
.plan-c:hover { transform: translateY(-3px); box-shadow: var(--elev-pop); }
.plan-c .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-c .pc-name { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.plan-c .pc-best { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); background: var(--primary-tint); border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap; }
.plan-c .pc-fig { font-family: var(--font-mono); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plan-c .pc-fig small { font-size: 12px; color: var(--ink-muted); font-weight: 400; }
.plan-bars { display: flex; flex-direction: column; gap: 9px; }
.plan-bar { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; font-size: 11.5px; color: var(--ink-muted); }
.plan-bar .track { height: 7px; border-radius: var(--r-pill); background: var(--surface-inset); overflow: hidden; }
.plan-bar .fill { height: 100%; border-radius: var(--r-pill); background: var(--primary); }
.plan-bar .fill.green { background: var(--success); }
.plan-bar .fill.gold { background: var(--gold); }
@media (max-width: 760px) { .plan-compare { grid-template-columns: 1fr; } }

/* ───────── human context photo band ───────── */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-16); margin-top: clamp(30px, 4vw, 44px); }
.photo-slot { position: relative; height: clamp(300px, 30vw, 400px); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-hairline); box-shadow: var(--elev-1); background: var(--surface-inset); }
.photo-slot image-slot { display: block; width: 100%; height: 100%; }
.photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(180deg, transparent, oklch(0.16 0.04 262 / 0.78)); color: var(--on-dark); pointer-events: none; }
.photo-cap b { display: block; font-size: 14px; font-weight: 600; }
.photo-cap span { font-size: 12px; color: var(--on-dark-muted); }
@media (max-width: 760px) { .photo-band { grid-template-columns: 1fr; } .photo-slot { height: 260px; } }

/* section closer CTA */
.sec-cta { margin-top: clamp(26px, 3vw, 36px); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ───────── pricing teaser ───────── */
.price-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-16); margin-top: clamp(32px, 4vw, 44px); align-items: stretch; }
.pt-card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 18px; padding: 26px; box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 8px; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.pt-card:hover { transform: translateY(-3px); box-shadow: var(--elev-pop); }
.pt-card.feat { border: 1.5px solid var(--primary); box-shadow: var(--elev-pop); }
.pt-chip { align-self: flex-start; }
.pt-name { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.pt-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pt-price .amt { font-family: var(--font-mono); font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pt-price .per { font-size: 13px; color: var(--ink-muted); }
.pt-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.pt-feats { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; margin: 6px 0 14px; }
.pt-feats li { position: relative; padding-left: 24px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.pt-feats li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--success-subtle); }
.pt-feats li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 3px; border-left: 1.6px solid var(--success-text); border-bottom: 1.6px solid var(--success-text); transform: rotate(-45deg); }
.pt-card .btn { margin-top: auto; justify-content: center; width: 100%; }
@media (max-width: 760px) { .price-teaser { grid-template-columns: 1fr; } }

/* ───────── operator consoles (institution / merchant / enterprise) ───────── */
.op-stage { max-width: 940px; margin: clamp(32px, 4vw, 48px) auto 0; }
.op-main { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, var(--bg-app), var(--surface-card)); }
.op-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.op-tile { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 12px; padding: 14px 16px; box-shadow: var(--elev-1); }
.op-tile .lab { font-size: 11.5px; color: var(--ink-muted); }
.op-tile .val { font-family: var(--font-mono); font-size: 23px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums slashed-zero; margin-top: 3px; }
.op-tile .val.up { color: var(--success-text); }
.op-offer { background: var(--surface-inset); border: 1px solid var(--border-hairline); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.st-chip { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; flex: none; }
.st-chip.ok { background: var(--success-subtle); color: var(--success-text); }
.st-chip.wait { background: var(--gold-subtle); color: var(--gold-text); }
.st-chip.live { background: var(--primary-tint); color: var(--primary); }
.ck-row .st-chip { margin-left: auto; }
@media (max-width: 560px) { .op-tiles { grid-template-columns: 1fr; } }

/* ───────── wide human-context slot (operator pages) ───────── */
.photo-wide { position: relative; height: clamp(260px, 34vw, 380px); border-radius: 18px; overflow: hidden; border: 1px solid var(--border-hairline); box-shadow: var(--elev-2); background: var(--surface-inset); margin-top: clamp(28px, 4vw, 40px); }
.photo-wide image-slot { display: block; width: 100%; height: 100%; }

/* ════════════════════════════════════════════════════════════════════
   HERO, two-column lede + Qoyla Decision Engine render
   ════════════════════════════════════════════════════════════════════ */
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(10px, 1.4vw, 22px); }
/* fix: transition discrete props (not the `background` shorthand) so the pill doesn't lag a click behind */
.hero-section .tabs .tab { transition: color 160ms var(--ease), box-shadow 160ms var(--ease); }
.hero-section .tabs .tab[aria-selected="true"] { background: none; background-color: var(--surface-card); }
.hero-lede-block .hero-title { margin: 12px 0 0; font-size: clamp(34px, 3.7vw, 54px); line-height: 0.98; }
.hero-lede-block .hero-sub { margin-top: clamp(13px, 1.4vw, 18px); max-width: 32ch; font-size: clamp(16px, 1.25vw, 18.5px); }
.hero-cta-row { margin-top: clamp(18px, 2vw, 24px); }
.hero-trust { list-style: none; padding: 0; margin: clamp(16px, 1.9vw, 22px) 0 0; display: flex; flex-direction: column; gap: 9px; }
.hero-trust li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.hero-trust svg { width: 19px; height: 19px; flex: none; color: var(--success-text); background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.2); border-radius: 50%; padding: 3.5px; box-sizing: border-box; }

/* ───────── Decision Engine stage ───────── */
.de-stage { position: relative; min-height: 0; isolation: isolate; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.de-glow { position: absolute; inset: -8% -3% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 46% at 74% 16%, oklch(0.575 0.205 255 / 0.07), transparent 70%),
              radial-gradient(42% 44% at 14% 90%, oklch(0.78 0.13 228 / 0.07), transparent 72%); }

/* back layer, desktop console (infrastructure) */
.de-desktop { position: absolute; top: 0; right: 0; width: 88%; z-index: 1; opacity: 0.6;
  background: var(--surface-card); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; box-shadow: var(--elev-1); }
.de-bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; background: var(--surface-inset); border-bottom: 1px solid var(--border-hairline); }
.de-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.de-url { margin-left: 11px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-subtle); background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--r-pill); padding: 3px 12px; }
.de-deskbody { padding: clamp(14px, 1.6vw, 20px); display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--bg-app), var(--surface-card)); }
.de-deskhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.de-mini-label { display: block; font-size: 11px; color: var(--ink-muted); }
.de-mini-fig { display: block; font-family: var(--font-mono); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; line-height: 1.1; margin-top: 3px; }
.de-mini-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--success-text); background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.2); border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap; }
.de-mini-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--success-text); }
.de-map { display: flex; height: 9px; border-radius: var(--r-pill); overflow: hidden; gap: 2px; }
.de-map i { display: block; }
.de-map .ob { background: var(--alloc-obligations, oklch(0.66 0.055 55)); flex: 42; }
.de-map .go { background: var(--alloc-goals, oklch(0.62 0.058 168)); flex: 26; }
.de-map .fx { background: var(--alloc-flexible, oklch(0.60 0.062 255)); flex: 32; }
.de-deskgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.de-deskcell { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--elev-1); }
.de-cell-h { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1px; }
.de-cell-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-muted); }
.de-cell-row b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.de-cell-pr { font-size: 10.5px; color: var(--ink-2); line-height: 1.35; }
.de-cell-pr em { font-family: var(--font-mono); font-style: normal; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-right: 6px; }
.de-deskseal { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--success-text); background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.2); border-radius: 9px; padding: 8px 11px; }
.de-deskseal svg { width: 13px; height: 13px; flex: none; }

/* front layer, mobile advisor */
.de-phone { position: relative; width: 262px; flex: none; z-index: 3; background: var(--navy-2); border-radius: 40px; padding: 10px; box-shadow: var(--elev-pop); }
.de-screen { position: relative; background: var(--bg-app); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; padding-bottom: 12px; }
.de-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 19px; background: var(--navy-2); border-radius: 0 0 12px 12px; z-index: 4; }
.de-ph-top { padding: 22px 13px 6px; display: flex; align-items: center; gap: 8px; }
.de-av { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--on-dark); display: grid; place-items: center; font-size: 10px; font-weight: 600; flex: none; }
.de-nm { font-size: 10.5px; color: var(--ink-muted); }
.de-nm b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.de-ask { margin: 2px 11px 0; background: var(--navy-2); color: var(--on-dark); border-radius: 14px; padding: 12px; }
.de-ask .q { font-size: 12px; font-weight: 500; line-height: 1.4; }
.de-step { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--on-dark-muted); margin-top: 9px; }
.de-ask .de-tk { color: var(--cyan-bright); background: oklch(1 0 0 / 0.14); }
.de-tk { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: oklch(0.62 0.15 152 / 0.22); color: var(--success-text); font-size: 8px; flex: none; }
.de-safe { margin: 8px 11px 0; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 14px; padding: 12px; box-shadow: var(--elev-1); display: flex; flex-direction: column; }
.de-safe .l { font-size: 10.5px; color: var(--ink-muted); }
.de-safe .f { font-family: var(--font-mono); font-size: 25px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; line-height: 1.1; margin-top: 2px; }
.de-safe-note { font-size: 9.5px; color: var(--ink-subtle); margin-top: 4px; }
.de-safe .seal { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10px; color: var(--success-text); }
.de-safe .seal svg { width: 12px; height: 12px; flex: none; }
.de-propose { margin: 8px 11px 0; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 14px; padding: 11px; box-shadow: var(--elev-1); }
.de-propose .pl { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary); }
.de-propose .pc { display: block; font-size: 11.5px; color: var(--ink); line-height: 1.4; margin-top: 5px; }
.de-propose .pc b { font-family: var(--font-mono); font-weight: 600; }
.de-approve { display: flex; gap: 8px; margin: 10px 0 0; }
.de-approve .b { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 9px; border-radius: var(--r-pill); }
.de-approve .y { background: var(--primary); color: var(--on-dark); }
.de-approve .n { background: var(--surface-inset); color: var(--ink-muted); border: 1px solid var(--border-hairline); }
.de-approve-note { display: block; font-size: 9px; color: var(--ink-subtle); text-align: center; margin-top: 7px; }

/* floating intelligence cards */
.de-cards { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 13px; z-index: 4; }
.de-float { position: relative; z-index: 4; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 16px; box-shadow: var(--elev-pop); padding: 13px 14px; }
.de-float-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.de-float-h svg { width: 14px; height: 14px; color: var(--success-text); flex: none; }
.de-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; box-shadow: 0 0 0 3px var(--primary-tint); }
.de-changed { width: auto; }
.de-clist { list-style: none; padding: 0; margin: 11px 0 0; display: flex; flex-direction: column; gap: 8px; }
.de-clist li { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--ink-2); line-height: 1.2; }
.de-clist .m { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.de-clist .m.up { background: var(--primary); }
.de-clist .m.ok { background: var(--success-text); }
.de-clist .m.warn { background: var(--gold-text); }
/* best path, decision comparison module (cards, not tabs) */
.de-bestpath { width: auto; }
.de-bp-sub { font-size: 11px; color: var(--ink-muted); line-height: 1.4; margin-top: 5px; }
.de-bp-opts { display: flex; flex-direction: column; gap: 7px; margin-top: 11px; }
.de-bp { position: relative; display: block; width: 100%; text-align: left; background: var(--surface-inset); border: 1px solid var(--border-hairline); border-radius: 11px; padding: 9px 11px; cursor: pointer; transition: border-color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.de-bp:hover { border-color: var(--border-strong); background: var(--surface-card); }
.de-bp-nm { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.de-bp-pts { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 2px; }
.de-bp-pts li { position: relative; padding-left: 11px; font-size: 10px; color: var(--ink-muted); line-height: 1.45; }
.de-bp-pts li::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
/* recommended: the intentional pick, stronger border, soft blue glow, badge */
.de-bp.is-rec { background: var(--surface-card); border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 6px 18px oklch(0.575 0.205 255 / 0.16); }
.de-bp.is-rec .de-bp-pts li::before { background: var(--success-text); }
.de-bp-rec { font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); background: var(--primary-tint); border-radius: var(--r-pill); padding: 3px 7px; flex: none; }
.de-bp-why { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--border-hairline); font-size: 9.5px; color: var(--primary); line-height: 1.4; }
/* selected ring (separate from recommended) */
.de-bp.sel:not(.is-rec) { border-color: var(--border-strong); background: var(--surface-card); box-shadow: var(--elev-1); }
.de-bp:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* clear record, the calm proof card that closes the loop */
.de-evidence { width: auto; }
.de-evi-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.de-evi-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--success-text); background: var(--success-subtle); border: 1px solid oklch(0.62 0.15 152 / 0.24); border-radius: var(--r-pill); padding: 3px 7px 3px 5px; flex: none; }
.de-evi-badge svg { width: 10px; height: 10px; flex: none; }
.de-evi-rows { list-style: none; padding: 0; margin: 11px 0 0; display: flex; flex-direction: column; }
.de-evi-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border-hairline); }
.de-evi-rows li:first-child { border-top: 0; }
.de-evi-rows em { font-family: var(--font-mono); font-style: normal; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.de-evi-rows span { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums slashed-zero; }
.de-evi-foot { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-hairline); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-subtle); }
.de-evi-foot svg { width: 12px; height: 12px; flex: none; color: var(--primary); }

/* calm staged reveal, replays every ~9s, never on reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .de-stage.is-playing .de-anim { animation: deRise 760ms cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: var(--d, 0ms); }
}
@keyframes deRise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }

/* subtle ambient liveliness */
@media (prefers-reduced-motion: no-preference) {
  .de-dot, .de-mini-pill i { animation: dePulse 2.6s ease-in-out infinite; }
  @keyframes dePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
}

/* responsive, stack the phone above the three cards */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-lede-block .hero-sub { max-width: 52ch; }
  .de-stage { min-height: 0; max-width: 380px; margin: 6px auto 0; flex-direction: column; align-items: stretch; gap: 14px; }
  .de-glow { display: none; }
  .de-phone { width: 264px; align-self: center; }
  .de-cards { width: 100%; }
}

/* ───────── decision path (6 product tiles) ───────── */
.path-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-16); }
.path-tile { position: relative; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 16px; padding: 24px; box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 7px; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.path-tile:hover { transform: translateY(-2px); box-shadow: var(--elev-2); }
.path-tile .pt-step { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-subtle); }
.path-tile b { font-size: 16px; font-family: var(--font-display); color: var(--ink); letter-spacing: -0.01em; margin-top: 6px; line-height: 1.25; }
.path-tile span:not(.pt-step) { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 820px) { .path-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .path-grid { grid-template-columns: 1fr; } }

/* ───────── real money questions (scenario cards) ───────── */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); margin-top: clamp(30px, 4vw, 44px); }
.scn { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: 18px; padding: clamp(20px, 2.4vw, 26px); box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 15px; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.scn:hover { transform: translateY(-3px); box-shadow: var(--elev-pop); }
.scn-top { display: flex; align-items: center; gap: 12px; }
.scn-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); }
.scn-q { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.scn-rows { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; }
.scn-rows li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.scn-rows .tk { width: 18px; height: 18px; border-radius: 50%; background: var(--success-subtle); color: var(--success-text); display: grid; place-items: center; font-size: 10px; flex: none; }
.scn-action { margin-top: auto; display: flex; align-items: center; gap: 12px; background: var(--primary-tint); border: 1px solid oklch(0.575 0.205 255 / 0.22); border-radius: 12px; padding: 12px 14px; }
.scn-action .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); flex: none; }
.scn-action .v { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 760px) { .scenario-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .scn-rows { grid-template-columns: 1fr; } }
.scn { cursor: pointer; }
.scn .scn-arrow { margin-left: auto; color: var(--primary); opacity: 0; transform: translateX(-4px); transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.scn .scn-arrow svg { width: 18px; height: 18px; }
.scn:hover .scn-arrow, .scn:focus-visible .scn-arrow { opacity: 1; transform: none; }

/* The decision sequence speaks through its content (the number tells the story);
   no traveling outline. Highlight rings read as cheap chrome and are banned. */

/* crisp focus rings on the new interactive surfaces */
.scn:focus-visible, .path-tile:focus-visible, .de-plan:focus-visible, .de-chip:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 12px;
}

/* small laptops, trim hero chrome so the whole render still clears the fold */
@media (min-width: 981px) and (max-height: 820px) {
  .hero-section { padding-block: 12px 24px !important; }
  .hero-grid { margin-top: 8px; }
  .hero-lede-block .hero-title { font-size: clamp(32px, 3.2vw, 48px); }
}
