/* Style C: "Test Certificate". Same layout as the prototype; this file only restyles it.
   An independent test lab: cool paper, navy ink, a red inspection stamp for the grade,
   serif headings, mono for what machines read, black redaction bars for values the public copy withholds. */
:root {
  --ground: #EEF0F2; --panel: #F6F7F8; --raised: #FFFFFF; --ink: #0F1B2D; --ink2: #3C4757; --ink3: #55606E; --rule: #D3D8DE;
  --tag: #FFFFFF; --tagink: #0F1B2D; --stamp: #C8321E;
  --gA: #1F6B4A; --gB: #3D6B1F; --gC: #9A6200; --gD: #B4500F; --gF: #C8321E; --gU: #55606E;
  --s1: #1E4E8C; --s2: #0E6E69; --s3: #8A2F67;
  --stage: #FFFFFF; --stage2: #F3F5F7; --stageink: #0F1B2D; --stage3: #55606E; --stagerule: #D3D8DE;
  --rc: #FFFFFF; --rcink: #0F1B2D;
  --redact: #0F1B2D;
  --font: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --paper-shadow: 0 24px 50px -28px rgba(15, 27, 45, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0C121C; --panel: #131B27; --raised: #18212E; --ink: #E9EDF2; --ink2: #B7C0CB; --ink3: #8D97A3; --rule: #26303D;
    --tag: #18212E; --tagink: #E9EDF2; --stamp: #FF6B57;
    --gA: #4CC38A; --gB: #8CCB4A; --gC: #E3A33B; --gD: #F08A45; --gF: #FF6B57; --gU: #8D97A3;
    --s1: #8DB0FF;
    --stage: #131B27; --stage2: #18212E; --stageink: #E9EDF2; --stage3: #8D97A3; --stagerule: #26303D;
    --rc: #18212E; --rcink: #E9EDF2; --redact: #D5DBE2;
    --paper-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0C121C; --panel: #131B27; --raised: #18212E; --ink: #E9EDF2; --ink2: #B7C0CB; --ink3: #8D97A3; --rule: #26303D;
  --tag: #18212E; --tagink: #E9EDF2; --stamp: #FF6B57;
  --gA: #4CC38A; --gB: #8CCB4A; --gC: #E3A33B; --gD: #F08A45; --gF: #FF6B57; --gU: #8D97A3;
  --s1: #8DB0FF;
  --stage: #131B27; --stage2: #18212E; --stageink: #E9EDF2; --stage3: #8D97A3; --stagerule: #26303D;
  --rc: #18212E; --rcink: #E9EDF2; --redact: #D5DBE2;
  --paper-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

body { margin: 0; }
[hidden] { display: none !important; }

/* type */
h1, h2, h3, .mark, .cat h3, .checks-h h3, .verdict b, .of h3, .pl h3, .card h3, .m-title { font-family: var(--display); font-stretch: 100%; }
h1 { font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
h2 { font-weight: 600; letter-spacing: -.01em; }
.mark { font-weight: 700; font-size: 1.35rem; letter-spacing: 0; }
.mark i { font-family: var(--mono); font-size: .8rem; }
.bar-t { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }

/* prototype strip: a filing note, not a warning */
.proto { background: var(--panel); color: var(--ink2); border-block: 1px solid var(--rule); font: 500 .82rem/1.5 var(--mono); }

/* hero intake */
.flow li { border-top-width: 2px; }
.flow li:nth-child(2) { border-top-color: var(--stamp); }
.scan2 input { border-width: 1.5px; border-radius: 3px; }
.scan2 button { background: var(--ink); color: var(--ground); border: 1.5px solid var(--ink); border-radius: 3px; }
.scan2 button:hover { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.chip { border-radius: 3px; }
.chip b { font-family: var(--display); font-stretch: 100%; }

/* the grade tag becomes a test certificate with an inspection stamp */
.tag { background: var(--raised); color: var(--ink); border: 1px solid var(--rule); clip-path: none; filter: none; box-shadow: var(--paper-shadow); padding: 22px 24px 0; transform: rotate(-1deg); }
.tag-hole { display: none; }
.tag-top { padding: 0 0 10px; border-bottom: 2px solid var(--ink); font: 600 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.tag-letter { font-family: var(--display); font-stretch: 100%; font-weight: 700; color: var(--stamp); font-size: min(7.5rem, 34vw); line-height: 1; letter-spacing: 0;
  width: 1.5em; height: 1.5em; margin: 22px auto 10px; border: 4px solid var(--stamp); border-radius: 50%; display: grid; place-items: center; transform: rotate(-10deg); transform-origin: 50% 50%; }
.tag-letter.stamp { animation: stampc .5s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes stampc { 0% { transform: scale(1.6) rotate(-22deg); opacity: 0 } 60% { transform: scale(.95) rotate(-8deg); opacity: 1 } 100% { transform: rotate(-10deg) } }
.tag-score { text-align: center; font: 600 1.2rem/1.2 var(--mono); }
.tag-band { margin: 14px -24px 0; text-align: center; font: 600 .75rem/1.2 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; background: transparent !important; color: var(--g) !important; border-top: 1px solid var(--rule); padding-block: 10px; }
.tag-code { height: 16px; opacity: .35; margin-block: 0 14px; }
.tag-prog { background: var(--panel); }
.tag-prog i { background: var(--ink); }
.scanning .tag-letter { opacity: .2; }

/* report */
.stat { font-size: .95rem; }
.cat { border-width: 1px; border-radius: 0; }
.cat[aria-pressed="true"] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.cat .sc b { font-family: var(--display); font-stretch: 100%; font-weight: 700; }
.meter { height: 8px; background: var(--panel); border: 1px solid var(--rule); }
.meter u { background: var(--stamp); }
.legend u { background: var(--stamp); }
.cat.lock { background: repeating-linear-gradient(135deg, var(--panel) 0 10px, var(--raised) 10px 20px); }
.checks { border-width: 1px; }
.ck h4 { font-weight: 600; }
.ck .w { font-family: var(--mono); }
.lockbtn { border-radius: 3px; }

/* replay: a light sheet in the report, not a dark stage */
.replay { border-block: 1px solid var(--rule); }
.btn { border-width: 1.5px; border-radius: 3px; }
.btn.solid { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn.solid:hover { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.btn:hover { background: var(--ink); color: var(--ground); }
.screen { box-shadow: var(--paper-shadow); }
.sn .d { background: var(--raised); font-family: var(--mono); }
.sn.cur .d { box-shadow: 0 0 0 4px color-mix(in srgb, var(--stamp) 35%, transparent); }
.lg h4 { font-weight: 600; }
.lg p { font-family: var(--mono); font-style: normal; font-size: .86rem; }
.verdict { border-width: 1.5px; }
[data-r].hl { outline-color: var(--stamp); }
.cursor::before { background: var(--stamp); filter: drop-shadow(1px 1px 0 #0F1B2D); }

/* compare */
.wipe { border-width: 1.5px; box-shadow: var(--paper-shadow); }
.wl.agent { background: #0F1B2D; color: #D5DCE5; }
.handle { background: var(--stamp); }
.handle::after { background: var(--stamp); color: #fff; content: "drag"; font-family: var(--mono); }

/* fixes: the receipt is kept, set in mono on white */
.receipt { font-family: var(--mono); }
.fxi h4 { font-family: var(--font); font-weight: 600; }
.fxi pre { background: #0F1B2D; }
.mini { background: transparent; color: var(--stamp); border: 3px solid var(--stamp); border-radius: 50%; font-family: var(--display); font-stretch: 100%; font-weight: 700; }
.proj { border-width: 1.5px; }
.btn2 { border-width: 1.5px; border-radius: 3px; }

/* benchmark */
.fn { border-block: 1px solid var(--rule); }
.fn-big { font-family: var(--display); font-stretch: 100%; font-weight: 600; }
.fn-sw .btn[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.fn-note { border-left-color: var(--stamp); }
.fr.you .fr-n::after { color: var(--stamp); }

/* share card: certificate stub */
.card { background: var(--raised); color: var(--ink); border: 1px solid var(--rule); box-shadow: var(--paper-shadow); }
.card p, .card small { color: var(--ink3); }
.cb2 i { background: var(--ink); }
.post { border-width: 1px; font-family: var(--mono); font-size: .9rem; }

/* plans + rubric */
.pl { border-width: 1px; }
.pl.hi { border-color: var(--ink); box-shadow: 6px 6px 0 var(--stamp); }
.pl .pr { font-family: var(--display); font-weight: 600; }
.rub { border-width: 1px; }

/* ---------- redaction: values withheld from the public copy; names stay readable ---------- */
.rd { display: inline-block; height: .95em; min-width: 2.5em; background: var(--redact); vertical-align: -.12em; border-radius: 1px; }
.rd.sm { height: .8em; }
.rd-block { display: grid; gap: 7px; padding-top: 4px; }
.rd-tag { font: 600 .7rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.st-x { background: transparent; border: 2px solid var(--redact); }
.ag-l .rd { background: #D5DCE5; }
.fxi input:disabled { opacity: .35; cursor: not-allowed; }
.mini.rd-mini { border-style: dashed; color: transparent; position: relative; }
.mini.rd-mini::after { content: ""; position: absolute; inset: 30% 22%; background: var(--redact); }

/* unlock (inside the report) */
.unlock { margin-top: 22px; border: 1.5px solid var(--ink); background: var(--raised); padding: 22px; display: grid; gap: 12px; box-shadow: var(--paper-shadow); }
.unlock h3 { font-size: 1.5rem; font-weight: 600; }
.unlock p { color: var(--ink2); max-width: 64ch; }
.unlock form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; max-width: 640px; }
.unlock label { display: grid; gap: 5px; font: 600 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.unlock input { font: 400 1rem var(--font); padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--raised); color: var(--ink); min-width: 0; width: 100%; text-transform: none; letter-spacing: 0; }
.unlock button { font: 700 1rem var(--font); padding: 13px 18px; border: 1.5px solid var(--stamp); border-radius: 3px; background: var(--stamp); color: #fff; cursor: pointer; white-space: nowrap; }
.unlock .err { color: var(--gF); min-height: 1.3em; font-size: .92rem; }
.mail { border: 1px solid var(--rule); background: var(--panel); padding: 16px; display: grid; gap: 8px; max-width: 640px; }
.mail .from { font: 500 .78rem/1.4 var(--mono); color: var(--ink3); }
.mail b { font-size: 1.02rem; }
.mail p { font-size: .95rem; }
.unlocked-mark { font: 600 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gA); }

/* sticky reminder while the copy is redacted */
.rbar { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 15; margin: 0 auto 12px; max-width: 760px; background: var(--ink); color: var(--ground);
  display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; box-shadow: var(--paper-shadow); flex-wrap: wrap; }
.rbar span { font: 500 .88rem/1.4 var(--mono); }
.rbar button { font: 700 .92rem var(--font); background: var(--stamp); color: #fff; border: 0; border-radius: 3px; padding: 9px 14px; cursor: pointer; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); background: var(--gA); color: #fff; font-weight: 600; padding: 12px 16px; z-index: 30; box-shadow: var(--paper-shadow); }

@media (max-width: 560px) {
  .unlock form { grid-template-columns: minmax(0, 1fr); }
  .tag { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .tag-letter.stamp { animation: none; } }

/* ---------- the report is one sheet; everything outside it is the landing page ---------- */
.result { margin-inline: -16px; padding: 12px 16px 48px; background: var(--ground); }
.result-in { max-width: 1180px; margin-inline: auto; background: var(--raised); border: 1px solid var(--rule); border-top: 6px solid var(--ink);
  box-shadow: var(--paper-shadow); padding: 0 clamp(16px, 3.2vw, 44px); counter-reset: rs; }
.result-h { display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 28px 24px; border-bottom: 2px solid var(--ink); }
.result-h .lbl { font: 600 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stamp); }
.result-h h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.05; margin: 8px 0 6px; overflow-wrap: anywhere; }
.result-h .meta { font: 500 .85rem/1.5 var(--mono); color: var(--ink3); overflow-wrap: anywhere; }
.result-g { display: flex; gap: 14px; align-items: center; }
.result-g .mini { width: 74px; height: 74px; font-size: 2.6rem; transform: rotate(-10deg); }
.result-g div { display: grid; gap: 2px; }
.result-g b { font: 600 1.35rem/1.1 var(--mono); }
.result-g span { font: 600 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g); }
.result-in > section { padding-block: 44px; border-bottom: 1px solid var(--rule); }
.result-in > section > h2::before { counter-increment: rs; content: counter(rs, decimal-leading-zero); display: block; font: 600 .78rem/1 var(--mono); letter-spacing: .08em; color: var(--stamp); margin-bottom: 10px; }
.result .replay { margin-inline: 0; padding-inline: 0; background: transparent; border-block: 0; border-bottom: 1px solid var(--rule); }
.result-end { text-align: center; font: 600 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 22px 0 26px; }
.about { padding-top: 8px; }
.note.err { color: var(--gF); }
.bar nav a[hidden] { display: none; }

/* hero tag before any scan */
.tag.empty .tag-letter { color: var(--rule); border-color: var(--rule); border-style: dashed; }
.tag.empty .tag-band { color: var(--ink3) !important; }

/* ---------- replay + compare: real screenshots of the scanned store ---------- */
.screen.shot { min-height: 0; background: var(--panel); }
.shot-vp { position: relative; aspect-ratio: 1366 / 900; overflow: hidden; background: #fff; }
.shot-pane { position: absolute; left: 0; top: 0; width: 100%; transition: transform .5s cubic-bezier(.3, .8, .3, 1); }
.shot-pane img { display: block; width: 100%; height: auto; }
.hlbox { position: absolute; border: 3px solid var(--c, var(--stamp)); border-radius: 4px; box-shadow: 0 0 0 9999px rgba(15, 27, 45, .22); pointer-events: none; z-index: 2; }
.hlbox.ok { --c: #1F9A5F; } .hlbox.warn { --c: #D9A21B; } .hlbox.fail { --c: #E5484D; } .hlbox.none { --c: #8D97A3; }
.wl.human .hlbox { display: none; }
.shot-vp.hl-ok { box-shadow: inset 0 0 0 4px #1F9A5F; } .shot-vp.hl-warn { box-shadow: inset 0 0 0 4px #D9A21B; } .shot-vp.hl-fail { box-shadow: inset 0 0 0 4px #E5484D; }
.shot-vp::after { content: ""; position: absolute; inset: 0; box-shadow: inherit; pointer-events: none; z-index: 3; }
.shot-note { position: absolute; left: 12px; bottom: 12px; z-index: 4; background: var(--ink); color: #fff; font: 600 .75rem/1.3 var(--mono); padding: 6px 9px; max-width: calc(100% - 24px); }
.shot-over { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; gap: 6px; text-align: center; padding: 20px; background: rgba(238, 240, 242, .86); color: #0F1B2D; }
.shot-over b { font-family: var(--display); font-size: 1.4rem; }
.shot-none { display: grid; place-items: center; height: 100%; min-height: 220px; padding: 20px; text-align: center; color: var(--ink3); font: 500 .9rem/1.4 var(--mono); }
.sn.u .d { border-style: dashed; background: var(--panel); color: var(--ink3); }
.wl.human.shotw { position: relative; min-height: 400px; aspect-ratio: 1366 / 900; overflow: hidden; background: #fff; padding: 0; }
.ag-c { color: #7f93a8; margin: -6px 0 12px; }
.ag-l .gap { color: #FF8A7A; }

/* ---------- share: the card is an image people can save ---------- */
.shr .card { aspect-ratio: auto; padding: 0; display: block; background: none; border: 0; box-shadow: var(--paper-shadow); }
.shr .card img { display: block; width: 100%; height: auto; }
.shr .btn2 { text-decoration: none; display: inline-flex; align-items: center; }

@media (max-width: 720px) {
  .result-in { border-inline: 0; }
  .result-h { padding-block: 22px 18px; }
  .result-in > section { padding-block: 34px; }
  .wl.human.shotw { min-height: 300px; aspect-ratio: auto; }
}
#result, #replay, .result-in, .result-in > section, #funnel, #keep { scroll-margin-top: 72px; }
@media (max-width: 720px) { #result, #replay, .result-in, .result-in > section, #funnel, #keep { scroll-margin-top: 140px; } }
@media (max-width: 720px) { .shot-vp { aspect-ratio: 4 / 3.4; } }

/* replay starts on step 1 behind a play overlay */
.screen.shot { position: relative; }
.play-over { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; border: 0; cursor: pointer;
  background: rgba(15, 27, 45, .58); color: #fff; font: inherit; text-align: center; }
.play-over .po-btn { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--stamp); color: #fff; font-size: 2rem; padding-left: 6px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); transition: transform .15s ease; }
.play-over:hover .po-btn, .play-over:focus-visible .po-btn { transform: scale(1.07); }
.play-over b { font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; }
.play-over .po-sub { font: 500 .82rem/1.4 var(--mono); opacity: .85; }
.btn.big { font-size: 1.02rem; padding: 11px 22px; }
.lg.ahead { opacity: .38; }
/* the agent text starts clear of the drag handle even with the slider at the far left */
.wl.agent { padding-left: 56px; }
@media (max-width: 720px) { .wl.agent { padding-left: 40px; font-size: .84rem; } .ag-l { grid-template-columns: 6.2em minmax(0, 1fr); } }

/* ---------- skeleton while the scan runs ---------- */
.sk { display: block; border-radius: 3px; background: linear-gradient(90deg, var(--panel) 0%, var(--rule) 45%, var(--panel) 90%); background-size: 260% 100%; animation: skm 1.5s ease-in-out infinite; }
@keyframes skm { 0% { background-position: 100% 0 } 100% { background-position: -60% 0 } }
.sk-line { height: .78em; margin: 7px 0; }
.ck .sk-line, .fxi .sk-line { margin: 6px 0 0; }
.sk-num { width: 3.2em; height: 2.2rem; margin: 6px 0 10px; }
.sk-bar { width: 100%; height: 8px; margin-bottom: 10px; }
.sk-fill { position: absolute; inset: 0; border-radius: 0; }
.sk-cardimg { aspect-ratio: 1200 / 630; border-radius: 0; }
.sk-dark { background: linear-gradient(90deg, #1B2A3D 0%, #2B3D55 45%, #1B2A3D 90%); background-size: 260% 100%; height: .8em; margin: 4px 0; }
.st.sk-dot { background: var(--panel); border: 2px dashed var(--rule); color: transparent; }
.st.sk-spin { background: transparent; border: 3px solid var(--rule); border-top-color: var(--stamp); border-radius: 50%; animation: spin .9s linear infinite; color: transparent; }
@keyframes spin { to { transform: rotate(360deg) } }
.mini.sk-mini { border-style: dashed; border-color: var(--rule); color: var(--rule); }
.result.pending .verdict { border-style: dashed; }
.lg.live h4 { font-family: var(--font); font-weight: 500; }
.lg.live.cur h4 { font-weight: 700; }
.live-cap { position: absolute; left: 12px; bottom: 12px; z-index: 6; display: flex; gap: 8px; align-items: center; max-width: calc(100% - 24px);
  background: var(--ink); color: #fff; font: 600 .78rem/1.3 var(--mono); padding: 7px 10px; box-shadow: var(--paper-shadow); }
.live-cap i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25 } }
.fadein { animation: fadein .6s ease both; }
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }
.result.revealed .result-in > section, .result.revealed .result-h { animation: rise .55s cubic-bezier(.2, .8, .3, 1) both; }
.result.revealed .result-in > section:nth-of-type(2) { animation-delay: .06s; }
.result.revealed .result-in > section:nth-of-type(3) { animation-delay: .12s; }
.result.revealed .result-in > section:nth-of-type(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.btn:disabled, .btn2:disabled { opacity: .45; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .sk, .sk-dark, .st.sk-spin, .live-cap i { animation: none; }
  .fadein, .result.revealed .result-in > section, .result.revealed .result-h { animation: none; }
}

/* ---------- the replay is its own sheet above the report: live while the scan runs ---------- */
.result .replay.sheet { max-width: 1180px; margin: 0 auto 18px; background: var(--raised); border: 1px solid var(--rule); border-top: 6px solid var(--ink);
  box-shadow: var(--paper-shadow); padding: 0 clamp(16px, 3.2vw, 44px) 32px; border-bottom: 1px solid var(--rule); }
.sheet-h { padding-block: 28px 4px; }
.sheet-h .lbl { font: 600 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stamp); display: inline-flex; gap: 8px; align-items: center; }
.sheet-h h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 8px 0 6px; }
.result.pending .sheet-h .lbl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; animation: blink 1.1s ease-in-out infinite; }
.shot-pane, .hlbox { transition: transform .7s cubic-bezier(.3, .8, .3, 1), left .7s cubic-bezier(.3, .8, .3, 1), top .7s cubic-bezier(.3, .8, .3, 1), width .7s cubic-bezier(.3, .8, .3, 1), height .7s cubic-bezier(.3, .8, .3, 1); }
@media (max-width: 720px) { .result .replay.sheet { border-inline: 0; } }
@media (prefers-reduced-motion: reduce) { .result.pending .sheet-h .lbl::before { animation: none; } .shot-pane, .hlbox { transition: none; } }

/* =====================================================================
   Landing: hero intake, proof band, benchmark, plans (style C)
   ===================================================================== */
.kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font: 600 .74rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 0 0 14px; }
.kicker span:first-child { color: var(--stamp); display: inline-flex; gap: 8px; align-items: center; }
.kicker span:first-child::before { content: ""; width: 8px; height: 8px; background: var(--stamp); }
.kicker span + span::before { content: "·"; margin-right: 14px; color: var(--rule); }

/* hero: the intake form is the point of the page */
.hero { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; padding-block: 64px 48px; }
.hero::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 32px 32px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 45%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 78% 45%, #000 0%, transparent 70%); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.025em; max-width: 13ch; }
.hero .lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); margin-top: 20px; max-width: 54ch; }
.intake { margin-top: 30px; max-width: 620px; }
.intake label { display: block; font: 600 .74rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.intake-row { display: flex; background: var(--raised); border: 1.5px solid var(--ink); box-shadow: var(--paper-shadow); }
.intake-row:focus-within { outline: 3px solid color-mix(in srgb, var(--stamp) 45%, transparent); outline-offset: 2px; }
.intake input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 1.12rem var(--font); padding: 18px 18px; outline: none; }
.intake input::placeholder { color: var(--ink3); opacity: .8; }
.intake button { border: 0; background: var(--stamp); color: #fff; font: 700 1.05rem var(--font); padding: 0 26px; cursor: pointer; white-space: nowrap; }
.intake button:hover { background: var(--ink); }
.intake button:disabled { opacity: .55; cursor: wait; }
.assure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 500 .78rem/1.4 var(--mono); color: var(--ink3); }
.assure span::before { content: "✓"; color: var(--gA); margin-right: 6px; font-weight: 700; }
.hero .note { min-height: 0; margin-top: 8px; }
.hero .note:empty { display: none; }
.hero .flow { margin-top: 34px; max-width: 620px; gap: 0 22px; }
.hero .flow li, .hero .flow li:nth-child(2) { border-top: 1px solid var(--rule); padding: 12px 0 0; gap: 3px; }
.hero .flow i { font: 600 .74rem/1 var(--mono); font-style: normal; color: var(--stamp); letter-spacing: .06em; margin-bottom: 4px; }
.hero .flow b { font-size: .95rem; }
.hero .flow span { color: var(--ink3); line-height: 1.45; }
.tag-store { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 14px 0 4px; padding-bottom: 8px; border-bottom: 1px dashed var(--rule); font-family: var(--mono); }
.tag-store span { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.tag-store b { font-size: .92rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag.empty .tag-letter { margin-top: 16px; }

/* proof band */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); padding-block: 30px 22px; margin-top: 8px; }
.kpi { padding: 0 26px; border-left: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.kpi:first-child { padding-left: 0; border-left: 0; }
.kpi b { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.kpi.us b { color: var(--stamp); }
.kpi span { color: var(--ink2); font-size: .93rem; line-height: 1.45; max-width: 32ch; }
.kpi-src { grid-column: 1 / -1; margin-top: 20px; font: 500 .74rem/1.4 var(--mono); color: var(--ink3); }
.kpi-src a { color: inherit; }

/* benchmark */
.fn { border-block: 1px solid var(--rule); padding-block: 64px; }
.fn-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.fn-intro h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; }
.fn-intro .sub { max-width: 58ch; }
.fn-big { text-align: right; font: inherit; }
.fb-n { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.fb-n b { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.fb-n span { font: 600 1.25rem var(--mono); color: var(--ink3); }
.fn-big small { display: block; margin: 8px 0 0 auto; max-width: 18ch; font: 600 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.fn-key { margin-top: 34px; font: 500 .78rem/1.3 var(--mono); color: var(--ink3); gap: 8px 20px; }
.fn-key span::before { width: 11px; height: 11px; vertical-align: -1px; }
.fn-key .nt::before { background: repeating-linear-gradient(135deg, var(--rule) 0 3px, transparent 3px 6px); border: 1px solid var(--rule); }
.fn-rows { margin-top: 14px; gap: 0; border-top: 1px solid var(--rule); }
.fr { grid-template-columns: 30px minmax(150px, 230px) minmax(0, 1fr) 112px; gap: 16px; padding: 12px 10px; border-bottom: 1px solid var(--rule); align-items: center; }
.fr-i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; font: 600 .74rem var(--mono); color: var(--ink3); }
.fr-n { font-weight: 600; font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.fr.kill .fr-n, .fr.you .fr-n { color: var(--ink); }
.fr.you .fr-n::after { content: none; }
.fr-tag { font: 600 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--stamp); color: #fff; padding: 4px 6px; }
.fr-tag.you { background: var(--ink); color: var(--ground); }
.fr-bar { height: 22px; background: var(--panel); border: 0; border-radius: 2px; overflow: hidden; }
.fr-bar .nt { background: repeating-linear-gradient(135deg, var(--rule) 0 4px, transparent 4px 8px); }
.fr-x { display: flex; align-items: baseline; gap: 6px; justify-content: flex-end; font-size: .8rem; color: var(--ink3); }
.fr-x b { font: 600 1.1rem var(--mono); color: var(--gF); }
.fr-x .na { font: 500 .76rem/1.3 var(--mono); text-align: right; }
.fr.kill { background: color-mix(in srgb, var(--stamp) 7%, transparent); box-shadow: inset 3px 0 0 var(--stamp); }
.fr.kill .fr-i { border-color: var(--stamp); color: var(--stamp); }
.fn-note { margin-top: 22px; border-left: 4px solid var(--stamp); background: var(--panel); padding: 14px 18px; color: var(--ink2); max-width: 72ch; }
.fn-note b { color: var(--ink); }
.fn-note:empty { display: none; }

/* plans */
.keep-h h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; }
#keep { padding-block: 64px 40px; }
.plans { margin-top: 30px; gap: 16px; align-items: stretch; }
.pl { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; border: 1px solid var(--rule); background: var(--raised); }
.pl-tag { font: 600 .66rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.pl h3 { font-size: 1.35rem; font-weight: 600; margin-top: 2px; }
.pl .pr { font: 600 .82rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stamp); }
.pl p { color: var(--ink2); font-size: .92rem; min-height: 2.8em; }
.pl ul { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px dashed var(--rule); display: grid; gap: 8px; flex: 1; align-content: start; color: var(--ink2); font-size: .9rem; }
.pl li { display: grid; grid-template-columns: 18px minmax(0, 1fr); }
.pl li::before { content: "✓"; color: var(--gA); font-weight: 700; }
.pl-cta { margin-top: 16px; display: block; text-align: center; text-decoration: none; padding: 12px 14px; border: 1.5px solid var(--ink); color: var(--ink); font: 700 .95rem var(--font); border-radius: 3px; }
a.pl-cta:hover { background: var(--ink); color: var(--ground); }
.pl-cta.solid { background: var(--stamp); border-color: var(--stamp); color: #fff; }
a.pl-cta.solid:hover { background: var(--ink); border-color: var(--ink); }
.pl-cta.soon { border-style: dashed; border-color: var(--rule); color: var(--ink3); font: 600 .78rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: default; }
.pl.hi { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.pl.hi h3 { color: var(--ground); }
.pl.hi .pl-tag { color: var(--ground); opacity: .7; }
.pl.hi p, .pl.hi ul { color: color-mix(in srgb, var(--ground) 78%, transparent); }
.pl.hi ul { border-top-color: color-mix(in srgb, var(--ground) 25%, transparent); }
.pl.hi li::before { color: #34B477; }
.pl.hi .pl-cta.soon { border-color: color-mix(in srgb, var(--ground) 35%, transparent); color: color-mix(in srgb, var(--ground) 70%, transparent); }
#keep .rub { margin-top: 30px; border: 1px solid var(--rule); }
#keep .rub summary { font: 600 .9rem var(--mono); letter-spacing: .04em; padding: 18px 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
#keep .rub summary::-webkit-details-marker { display: none; }
#keep .rub summary::after { content: "+"; font: 600 1.3rem var(--mono); color: var(--stamp); }
#keep .rub[open] summary::after { content: "−"; }

@media (max-width: 980px) {
  .hero { gap: 36px; padding-block: 44px 32px; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 0%, transparent 75%); }
  .tagwrap.is-empty { display: none; }
  .fn-top { grid-template-columns: minmax(0, 1fr); }
  .fn-big { text-align: left; }
  .fb-n { justify-content: flex-start; }
  .fn-big small { margin-left: 0; }
}
@media (max-width: 720px) {
  .intake-row { flex-direction: column; }
  .intake input { padding: 16px; }
  .intake button { padding: 15px; }
  .hero .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero .flow li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 0; padding: 10px 0; }
  .hero .flow li i { grid-row: span 2; margin-top: 3px; }
  .kpis { grid-template-columns: minmax(0, 1fr); padding-block: 8px 18px; }
  .kpi { padding: 18px 0; border-left: 0; border-top: 1px solid var(--rule); grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: 14px; }
  .kpi:first-child { border-top: 0; }
  .kpi b { font-size: 2.2rem; }
  .kpi-src { margin-top: 6px; }
  .fr { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "i n x" "b b b"; gap: 8px 12px; padding: 12px 6px; }
  .fr-i { grid-area: i; } .fr-n { grid-area: n; } .fr-x { grid-area: x; } .fr-bar { grid-area: b; height: 16px; }
  .fn, #keep { padding-block: 44px; }
}
.fr-x .na { white-space: nowrap; }
@media (min-width: 721px) { .fr { grid-template-columns: 30px minmax(150px, 230px) minmax(0, 1fr) 132px; } }
@media (max-width: 980px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: none; } }

/* ---------- the scan stopped: the replay stays open on the step that failed ---------- */
.result.failed .shot-vp { aspect-ratio: auto; min-height: 380px; }
.shot-over.err { position: relative; inset: auto; min-height: 380px; z-index: 7; display: grid; align-content: center; justify-items: start; gap: 12px; text-align: left;
  padding: clamp(18px, 4vw, 40px); background: color-mix(in srgb, var(--raised) 94%, transparent); color: var(--ink); }
.err-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--gF); color: #fff; font-weight: 800; font-size: 1.1rem; }
.shot-over.err b { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.15; }
.shot-over.err p { color: var(--ink2); max-width: 60ch; font-size: .95rem; line-height: 1.5; }
.err-list { list-style: none; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--rule); display: grid; gap: 6px; font: 500 .78rem/1.45 var(--mono); color: var(--ink3); max-width: 64ch; }
.err-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); }
.err-list li::before { content: "–"; color: var(--gF); }
.err-form { display: flex; width: 100%; max-width: 560px; margin-top: 6px; border: 1.5px solid var(--ink); background: var(--raised); }
.err-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 1rem var(--font); padding: 13px 14px; outline: none; }
.err-form button { border: 0; background: var(--stamp); color: #fff; font: 700 .95rem var(--font); padding: 0 18px; cursor: pointer; white-space: nowrap; }
.err-form button:hover { background: var(--ink); }
.err-form:focus-within { outline: 3px solid color-mix(in srgb, var(--stamp) 45%, transparent); outline-offset: 2px; }
.lg.stop h4 { color: var(--gF); }
.lg.stop p { font-family: var(--font); font-size: .88rem; color: var(--ink2); }
.result.failed .sheet-h .lbl { color: var(--gF); }
.result.failed .sheet-h .lbl::before { content: ""; width: 8px; height: 8px; background: var(--gF); }
@media (max-width: 720px) { .err-form { flex-direction: column; } .err-form button { padding: 13px; } }

/* ---------- lead: "don't know how to fix this?" ---------- */
.lead { margin-top: 18px; }
.lead-in { border: 1.5px solid var(--ink); background: var(--raised); padding: 20px; display: grid; gap: 10px; box-shadow: var(--paper-shadow); }
.lead-h { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.lead-in > p { color: var(--ink2); font-size: .92rem; line-height: 1.5; }
.lead-f { display: grid; gap: 10px; margin-top: 4px; }
.lead-f label { display: grid; gap: 5px; font: 600 .7rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.lead-f input, .lead-f textarea { font: 400 .98rem var(--font); text-transform: none; letter-spacing: 0; padding: 11px 12px; border: 1.5px solid var(--rule); border-radius: 3px;
  background: var(--raised); color: var(--ink); width: 100%; min-width: 0; resize: vertical; }
.lead-f input:focus, .lead-f textarea:focus { outline: none; border-color: var(--ink); }
.lead-f button { font: 700 1rem var(--font); padding: 13px 16px; border: 0; border-radius: 3px; background: var(--stamp); color: #fff; cursor: pointer; }
.lead-f button:hover { background: var(--ink); }
.lead-f button:disabled { opacity: .6; cursor: wait; }
.lead-f .err { color: var(--gF); font-size: .88rem; min-height: 0; }
.lead-f .err:empty { display: none; }
.lead-note { font: 500 .74rem/1.4 var(--mono); color: var(--ink3); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.lead-in.in-card { margin-top: 14px; padding: 16px; box-shadow: none; }
.lead-in.in-card .lead-h { font-size: 1.1rem; }
.pl .lead-in.in-card { color: var(--ink); }
button.pl-cta { width: 100%; background: transparent; cursor: pointer; }
button.pl-cta:hover { background: var(--ink); color: var(--ground); }
/* the highlighted plan is the one people can buy now: its action is the primary one */
.pl.hi .pl-tag { opacity: 1; color: #fff; background: var(--stamp); padding: 4px 7px; justify-self: start; align-self: flex-start; }
.pl.hi button.pl-cta.solid { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.pl.hi button.pl-cta.solid:hover { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.pl.hi .lead-in.in-card { border-color: var(--ground); }
