/* DRAINER CHECK: a security lab. Graphite, one signal red for danger, one calm cyan for clear. */
@font-face { font-family: 'Archivo'; src: url(../fonts/Archivo-var-latin.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(../fonts/MartianMono-var-latin.woff2) format('woff2'); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --bg: #0b0c0e; --bg-1: #101215; --panel: #14161a; --panel-2: #1a1d22;
  --line: rgba(233, 236, 239, .08); --line-2: rgba(233, 236, 239, .15); --line-3: rgba(233, 236, 239, .26);
  --ink: #eceef0; --ink-2: #a3a9b2; --ink-3: #6c737d;
  --red: #ff3b2f; --red-ink: #ff6b61; --red-bg: rgba(255, 59, 47, .09); --red-line: rgba(255, 59, 47, .45);
  --cyan: #54d2db; --cyan-bg: rgba(84, 210, 219, .08); --cyan-line: rgba(84, 210, 219, .4);
  --beam: var(--cyan);
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
body::before { /* the lab bench: a fine dot grid that fades out downwards */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(rgba(233, 236, 239, .06) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .35) 70vh, transparent 140vh);
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-stretch: 87.5%; letter-spacing: .01em; }
.dim { color: var(--ink-3); }
.small { font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plain { list-style: none; margin: 0; padding: 0; }
code { font-family: var(--mono); font-stretch: 87.5%; font-size: .86em; color: var(--ink-2); word-break: break-all; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease); }
::view-transition-group(verdict), ::view-transition-group(scanurl), ::view-transition-group(brand) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* ---------- CA bar ---------- */
.cabar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px var(--gut); background: var(--panel); border-bottom: 1px solid var(--line); font-size: 12px; min-width: 0; }
.cabar[hidden] { display: none; }
.cabar code { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; word-break: normal; }
.ca-sym { font-family: var(--mono); font-weight: 600; color: var(--cyan); }
.ca-copy, .ca-buy { font: 500 11px var(--mono); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ca-buy { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- top ---------- */
.top { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 18px var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-stretch: 112%; letter-spacing: -.01em; font-size: 17px; }
.mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.brand:hover .mark-scan { animation: scanmark .9s var(--ease-in-out); }
@keyframes scanmark { 0% { transform: translateY(0); } 40% { transform: translateY(-7px); } 80% { transform: translateY(7px); } 100% { transform: translateY(0); } }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 var(--cyan-line); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(84, 210, 219, .45); } 70% { box-shadow: 0 0 0 8px rgba(84, 210, 219, 0); } 100% { box-shadow: 0 0 0 0 rgba(84, 210, 219, 0); } }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.tick { width: 18px; height: 1px; background: var(--red); display: inline-block; }
.h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: .97; letter-spacing: -.035em; font-weight: 640; font-stretch: 108%; margin: 0 0 26px; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -.03em; font-weight: 620; font-stretch: 106%; margin: 0 0 16px; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0 0 34px; line-height: 1.5; }

/* ---------- buttons ---------- */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; height: 52px; border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 600; font-stretch: 104%; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transform: translate3d(var(--mx), var(--my), 0); transition: transform .35s var(--ease), background .2s, box-shadow .3s; }
.btn:hover { box-shadow: 0 10px 40px -10px rgba(236, 238, 240, .35); }
.btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); }
.btn-k { font-size: 12px; opacity: .55; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); height: 42px; font-size: 14px; padding: 0 16px; }
.btn.ghost:hover { border-color: var(--line-3); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-copy { min-width: 0; }
.scan { max-width: 620px; }
.field { display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)), var(--panel); transition: border-color .25s, box-shadow .35s; }
.field:focus-within { border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(84, 210, 219, .08), 0 24px 60px -30px rgba(84, 210, 219, .35); }
.field.err { border-color: var(--red-line); box-shadow: 0 0 0 4px var(--red-bg); animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.field-pre { font-size: 10px; color: var(--ink-3); padding: 0 6px 0 12px; letter-spacing: .12em; }
.field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; outline: none; font-family: var(--mono); font-stretch: 87.5%; font-size: 14px; color: var(--ink); }
.field input::placeholder { color: var(--ink-3); }
.hint { font-size: 11px; color: var(--ink-3); margin: 14px 2px 0; letter-spacing: .02em; }
.form-error { color: var(--red-ink); font-size: 12px; margin: 12px 2px 0; }
.form-error[hidden] { display: none; }
.hero-visual { min-width: 0; position: relative; }
.chamber { display: block; width: 100%; height: auto; overflow: visible; }
.chamber text { font-family: var(--mono); font-stretch: 87.5%; }
.ch-label { font-size: 9px; fill: var(--ink-3); letter-spacing: .14em; }
.ch-n { fill: var(--ink-2); }
.ch-url { font-size: 10px; fill: var(--ink-2); }
.chamber .ch-h { font-family: var(--sans); font-stretch: 104%; font-size: 21px; font-weight: 600; fill: var(--ink); letter-spacing: -.02em; }
.ch-tok { font-size: 11px; fill: var(--ink); }
.chamber .ch-btn-t { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--bg); }
.ch-btn { transform-box: fill-box; transform-origin: center; transition: transform .18s var(--ease); }
.ch-btn.press { transform: scale(.94); }
.ret path { transition: transform .6s var(--ease), stroke .4s; transform-box: fill-box; }
.chamber.lock .ret-a { transform: translate(14px, 14px); } .chamber.lock .ret-b { transform: translate(-14px, 14px); }
.chamber.lock .ret-c { transform: translate(-14px, -14px); } .chamber.lock .ret-d { transform: translate(14px, -14px); }
.chamber.lock .ret path { stroke: var(--beam); }
.beam, .beam-line { animation: beam 2.6s linear infinite; }
@keyframes beam { from { transform: translateY(0); } to { transform: translateY(300px); } }
.cursor { transform: translate(470px, 150px); opacity: 0; transition: transform .9s var(--ease-in-out), opacity .3s; }
.req { opacity: 0; transform: translateX(26px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.req.on { opacity: 1; transform: none; }
.req-h { font-size: 10px; fill: var(--ink-2); letter-spacing: .1em; }
.req-t { font-size: 11px; fill: var(--ink); }
.req-t.hot { fill: var(--red-ink); font-weight: 600; }
.sev-sq { fill: var(--ink-3); }
.sev-sq.hot { fill: var(--red); }
.chamber.clean .req-t.hot { fill: var(--cyan); } .chamber.clean .sev-sq.hot { fill: var(--cyan); }
.req-foot { font-size: 9px; fill: var(--ink-3); letter-spacing: .14em; }
.row { opacity: 0; transform: translateX(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.row.on { opacity: 1; transform: none; }
.stamp { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .5s var(--ease); }
.stamp.on { opacity: 1; transform: none; }
.stamp-box { fill: var(--red-bg); stroke: var(--red-line); }
.stamp-k { font-size: 9px; letter-spacing: .16em; fill: var(--ink-2); }
.chamber .stamp-w { font-family: var(--sans); font-stretch: 118%; font-weight: 700; font-size: 26px; letter-spacing: -.01em; fill: var(--red); }
.stamp-t { font-size: 9px; letter-spacing: .14em; fill: var(--ink-2); }
.chamber.clean .stamp-box { fill: var(--cyan-bg); stroke: var(--cyan-line); }
.chamber.clean .stamp-w { fill: var(--cyan); font-size: 19px; }
.stamp.slam .stamp-w { animation: slam .55s var(--ease); transform-box: fill-box; transform-origin: left center; }
@keyframes slam { 0% { transform: scale(1.35); opacity: 0; } 55% { transform: scale(.97); opacity: 1; } 100% { transform: scale(1); } }
.win { transition: opacity .5s; }

/* ---------- counters ---------- */
.counters { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-1); overflow: hidden; }
.counter { position: relative; padding: 26px 28px 28px; border-right: 1px solid var(--line); min-width: 0; }
.counter:last-of-type { border-right: 0; }
.c-k { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin: 0 0 14px; }
.c-v { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; font-stretch: 110%; letter-spacing: -.03em; margin: 0; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-v.red { color: var(--red); }
.c-u { font-size: .4em; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.demo-note { position: absolute; right: 14px; bottom: 8px; margin: 0; font-size: 9px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.recent .demo-note { position: static; margin-top: 14px; }
/* odometer */
.odo .od-d { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo .od-s { display: flex; flex-direction: column; transition: transform 1.1s var(--ease); will-change: transform; }
.odo .od-s span { height: 1em; line-height: 1; }
/* cursor spotlight on dark panels */
.spot { --sx: 50%; --sy: 50%; }
.spot::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(233, 236, 239, .06), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- story (pinned, scroll-scrubbed) ---------- */
.story { position: relative; margin: clamp(80px, 11vw, 150px) 0 0; }
.story-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-progress { height: 1px; background: var(--line-2); margin: 26px 0 8px; max-width: 460px; overflow: hidden; }
.story-bar { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.steps { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity .45s var(--ease); }
.step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; font-stretch: 106%; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step-n { font-size: 11px; color: var(--ink-3); padding-top: 6px; }
.step-stage-inline { display: none; grid-column: 1 / -1; margin-top: 14px; }
.story-stage { position: relative; min-height: 440px; }
.stage-card { position: relative; }
.spec { position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); padding: 26px 26px 22px; }
.spec::before, .spec::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--ink-3); }
.spec::before { left: -7px; top: -7px; border-right: 0; border-bottom: 0; }
.spec::after { right: -7px; bottom: -7px; border-left: 0; border-top: 0; }
.spec-h { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); margin: 0 0 16px; }
.spec-list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.spec-list li span { color: var(--ink-3); }
.spec-list b { font-weight: 500; text-align: right; }
.spec-list b.c, .spec-log .c { color: var(--cyan); } .spec-list b.r, .spec-log .r { color: var(--red-ink); }
.spec-log { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.spec-log li { padding: 9px 0; border-top: 1px solid var(--line); }
.spec-log i { font-style: normal; color: var(--ink-3); margin-right: 12px; }
.spec-out { margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--red-bg); border: 1px solid var(--red-line); color: var(--red-ink); font-weight: 600; font-size: 15px; }
.verdicts-mini { display: grid; gap: 10px; }
.vm { border-radius: 12px; padding: 16px 18px; font-weight: 650; font-stretch: 112%; font-size: 22px; letter-spacing: -.02em; }
.vm-d { background: var(--red); color: #fff; }
.vm-s { border: 1.5px solid var(--red-line); color: var(--red-ink); background: repeating-linear-gradient(135deg, var(--red-bg) 0 8px, transparent 8px 16px); }
.vm-c { border: 1.5px solid var(--cyan-line); color: var(--cyan); background: var(--cyan-bg); font-size: 18px; }
/* pinned mode (JS on, wide screens): the copy and the stage stick while the page scrolls past */
.story.pinned { height: 320vh; }
.story.pinned .story-pin { position: sticky; top: 0; height: 100vh; }
.story.pinned .step { opacity: .32; }
.story.pinned .step.on { opacity: 1; }
.story.pinned .stage-card { position: absolute; inset: 50% 0 auto 0; transform: translateY(-40%) scale(.97); opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.story.pinned .stage-card.on { opacity: 1; transform: translateY(-50%); }
.story:not(.pinned) .story-stage { display: grid; gap: 18px; }

/* ---------- recent ---------- */
.recent, .verdicts { margin: clamp(80px, 10vw, 140px) 0 0; }
.sec-head { margin-bottom: 30px; max-width: 760px; }
.sec-sub { color: var(--ink-2); margin: 0; }
.flags { border-top: 1px solid var(--line); }
.flag-row { display: grid; grid-template-columns: 116px minmax(0, 260px) minmax(0, 1fr) 90px 20px; gap: 20px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s, padding .35s var(--ease); }
.flag-row:hover { background: var(--bg-1); padding-left: 16px; }
.flag-host { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag-why { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag-at { font-size: 11px; color: var(--ink-3); text-align: right; }
.flag-go { color: var(--ink-3); transition: transform .35s var(--ease), color .2s; }
.flag-row:hover .flag-go { transform: translateX(4px); color: var(--ink); }
.empty { color: var(--ink-3); padding: 22px 0; font-size: 13px; }
.chip { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px; border-radius: 7px; font: 600 10px var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.chip-drainer { background: var(--red); color: #fff; }
.chip-suspicious { border: 1px solid var(--red-line); color: var(--red-ink); background: repeating-linear-gradient(135deg, var(--red-bg) 0 6px, transparent 6px 12px); }
.chip-clear { border: 1px solid var(--cyan-line); color: var(--cyan); background: var(--cyan-bg); }

/* ---------- verdict cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.vcard { position: relative; border: 1px solid var(--line-2); border-radius: 20px; padding: 28px 26px 30px; background: var(--panel); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s; will-change: transform; }
.vcard h3 { font-size: 28px; font-weight: 650; font-stretch: 112%; letter-spacing: -.025em; margin: 18px 0 12px; line-height: 1.05; }
.vcard p { color: var(--ink-2); margin: 0; font-size: 15px; }
.vc-k { font-size: 10px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) !important; }
.vc-d h3 { color: var(--red); } .vc-d { border-color: var(--red-line); }
.vc-s h3 { color: var(--red-ink); } .vc-s { background: repeating-linear-gradient(135deg, rgba(255, 59, 47, .045) 0 10px, transparent 10px 20px), var(--panel); }
.vc-c h3 { color: var(--cyan); }

/* ---------- footer ---------- */
.foot { max-width: var(--max); margin: clamp(90px, 12vw, 160px) auto 0; padding: 40px var(--gut) 34px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 30em; }
.foot-brand strong { color: var(--ink); }
.foot h3 { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 14px; font-weight: 500; }
.foot li { font-size: 14px; color: var(--ink-2); padding: 3px 0; }
.foot li a { text-decoration: none; color: var(--ink); }
.foot li a:hover { text-decoration: underline; }
.foot li .mono { font-size: 10px; }
.foot-legal { margin: 40px 0 0; font-size: 10px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- report ---------- */
.sample-banner { margin: 8px 0 0; padding: 10px 14px; border: 1px dashed var(--line-3); border-radius: 10px; font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.r-head { padding: clamp(28px, 5vw, 56px) 0 26px; }
.r-head .eyebrow { margin-bottom: 14px; }
.r-url { font-size: clamp(16px, 2.2vw, 26px); margin: 0; word-break: break-all; color: var(--ink); line-height: 1.35; }
.r-meta { margin: 12px 0 0; color: var(--ink-3); font-size: 11px; }
.verdict { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 40px; padding: clamp(26px, 4vw, 44px); border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; }
.vr { position: absolute; width: 22px; height: 22px; border: 2px solid var(--ink-3); transition: all .7s var(--ease); }
.vr-a { left: 14px; top: 14px; border-right: 0; border-bottom: 0; } .vr-b { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.vr-c { right: 14px; bottom: 14px; border-left: 0; border-top: 0; } .vr-d { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.v-k { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); margin: 0 0 10px; }
.v-word { margin: 0; font-size: clamp(46px, 7vw, 96px); line-height: .92; font-weight: 700; font-stretch: 116%; letter-spacing: -.035em; }
.v-title { margin: 16px 0 6px; font-size: 18px; font-weight: 600; }
.v-title:empty { display: none; }
.v-sub { margin: 10px 0 0; color: var(--ink-2); max-width: 36em; }
.v-reasons { align-self: center; display: grid; gap: 10px; }
.v-reasons li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--ink); padding: 12px 14px; border-radius: 12px; background: rgba(11, 12, 14, .45); border: 1px solid var(--line); }
.v-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.v-report { position: relative; }
.v-report summary { list-style: none; }
.v-report summary::-webkit-details-marker { display: none; }
.v-report[open] > ul { position: absolute; z-index: 5; top: 50px; left: 0; min-width: 280px; padding: 8px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.v-report ul a { display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-size: 12px; }
.v-report ul a:hover { background: var(--bg-1); }
.v-report ul .note { padding: 8px 10px 4px; color: var(--ink-3); font: 400 11px/1.45 var(--sans); border-top: 1px solid var(--line); margin-top: 4px; }
.v-drainer { background: linear-gradient(135deg, rgba(255, 59, 47, .16), rgba(255, 59, 47, .04) 60%), var(--panel); border-color: var(--red-line); }
.v-drainer .v-word { color: var(--red); }
.v-drainer .vr { border-color: var(--red); }
.v-suspicious { background: repeating-linear-gradient(135deg, rgba(255, 59, 47, .05) 0 12px, transparent 12px 24px), var(--panel); border-color: var(--red-line); }
.v-suspicious .v-word { color: var(--red-ink); }
.v-suspicious .vr { border-color: var(--red-line); }
.v-clear { background: linear-gradient(135deg, rgba(84, 210, 219, .1), rgba(84, 210, 219, .02) 60%), var(--panel); border-color: var(--cyan-line); }
.v-clear .v-word { color: var(--cyan); font-size: clamp(36px, 5vw, 68px); }
.v-clear .vr { border-color: var(--cyan); }
.v-error .v-word { color: var(--ink-2); font-size: clamp(36px, 5vw, 64px); }
.verdict.locking .vr-a { transform: translate(-10px, -10px); } .verdict.locking .vr-b { transform: translate(10px, -10px); }
.verdict.locking .vr-c { transform: translate(10px, 10px); } .verdict.locking .vr-d { transform: translate(-10px, 10px); }
.verdict.locking .v-word { animation: slam .7s var(--ease) both; transform-origin: left center; }
.verdict.locking .v-reasons li { animation: rise .6s var(--ease) both; }
.verdict.locking .v-reasons li:nth-child(2) { animation-delay: .08s; } .verdict.locking .v-reasons li:nth-child(3) { animation-delay: .16s; } .verdict.locking .v-reasons li:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.sev { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-3); margin-right: 10px; transform: translateY(-1px); }
.sev-drain { background: var(--red); box-shadow: 0 0 12px rgba(255, 59, 47, .6); }
.sev-danger { background: var(--red-ink); }
.sev-warn { background: transparent; border: 1.5px solid var(--red-ink); }
.sev-info { background: var(--ink-3); }
.sev-ok { background: var(--cyan); }

.r-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.block { margin-bottom: 40px; }
.b-h { font-size: 22px; font-weight: 620; font-stretch: 106%; letter-spacing: -.02em; margin: 0 0 16px; }
.b-note { font-size: 11px; color: var(--ink-2); margin: 0 0 14px; }
.req-card { position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); padding: 20px 22px; margin-bottom: 14px; }
.req-card.rc-drain { border-color: var(--red-line); box-shadow: inset 3px 0 0 var(--red); }
.req-card.rc-danger { border-color: var(--red-line); }
.req-card header { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--ink-2); margin-bottom: 10px; flex-wrap: wrap; }
.rc-label { text-transform: none; color: var(--ink); }
.rc-text { margin: 0 0 14px; font-size: 18px; font-weight: 560; line-height: 1.35; letter-spacing: -.01em; }
.rc-drain .rc-text { color: var(--red-ink); }
.rc-msg { margin: 0 0 14px; padding: 12px 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; font-size: 11px; white-space: pre-wrap; word-break: break-word; color: var(--ink-2); max-height: 220px; overflow: auto; }
.tx { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
.tx-h { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 8px; }
.tx-err { font-size: 11px; color: var(--red-ink); }
.ixs { list-style: none; margin: 0; padding: 0; }
.ix { display: grid; grid-template-columns: 18px minmax(0, 210px) minmax(0, 1fr); gap: 4px 6px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14px; align-items: baseline; }
.ix:first-child { border-top: 0; }
.ix-p { font-size: 11px; color: var(--ink-2); overflow-wrap: anywhere; }
.ix-t { color: var(--ink); }
.ix-drain .ix-t { color: var(--red-ink); font-weight: 600; }
.ix-ok .ix-t, .ix-info .ix-t { color: var(--ink-2); }
.tx-flag { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); display: flex; align-items: baseline; }
.flag-drain { color: var(--red-ink); }
.panel { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-1); padding: 20px 20px 18px; margin-bottom: 16px; }
.p-h { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; font-weight: 500; }
.p-sub { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 10px; font-weight: 500; }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.facts li:first-child { border-top: 0; }
.facts li span { color: var(--ink-3); }
.facts li b { font-weight: 500; overflow-wrap: anywhere; }
.facts li.r b { color: var(--red-ink); } .facts li.c b { color: var(--cyan); }
.chain { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.chain li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 6px 0; }
.chain-s { color: var(--ink-3); }
.chain-u { word-break: break-all; color: var(--ink-2); }
.behave li { display: flex; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); min-width: 0; }
.behave li:first-child { border-top: 0; }
.behave li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.clicks li { font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-1); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); padding: 10px 12px; }
.tl { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.tl li { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; padding: 7px 0 7px 18px; font-size: 13px; color: var(--ink-2); }
.tl li::before { content: ''; position: absolute; left: -3px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.tl .tl-sev-drain { color: var(--red-ink); } .tl .tl-sev-drain::before { background: var(--red); }
.tl .tl-verdict { color: var(--ink); font-weight: 600; }
.tl-t { font-size: 10px; color: var(--ink-3); padding-top: 3px; }
.tl-x { display: flex; align-items: baseline; min-width: 0; overflow-wrap: anywhere; }

/* live */
.live { padding-bottom: 20px; }
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.phases li { position: relative; padding: 12px 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-3); overflow: hidden; transition: color .4s, border-color .4s, background .4s; }
.phases li::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.phases li.done { color: var(--ink-2); }
.phases li.done::after { transform: scaleX(1); background: var(--line-3); }
.phases li.now { color: var(--ink); border-color: var(--line-2); background: var(--bg-1); }
.phases li.now::after { transform: scaleX(1); animation: phasebar 1.6s var(--ease-in-out) infinite; }
@keyframes phasebar { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.ph-i { display: block; color: var(--ink-3); margin-bottom: 6px; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.live-scope { position: relative; min-height: 340px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); padding: 34px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.scope-beam { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(84, 210, 219, .14)); border-bottom: 1px solid var(--cyan-line); animation: scopebeam 2.4s linear infinite; }
@keyframes scopebeam { from { transform: translateY(-90px); } to { transform: translateY(340px); } }
.scope-k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; position: relative; }
.scope-word { position: relative; margin: 0; font-size: clamp(38px, 4.6vw, 64px); font-weight: 700; font-stretch: 116%; letter-spacing: -.035em; line-height: .95; color: var(--ink-2); }
.scope-sub { position: relative; margin: 14px 0 0; font-size: 11px; color: var(--ink-3); min-height: 1.4em; }
.live-scope.drainer { border-color: var(--red-line); background: linear-gradient(135deg, rgba(255, 59, 47, .16), transparent 60%), var(--panel); }
.live-scope.drainer .scope-word { color: var(--red); }
.live-scope.suspicious .scope-word { color: var(--red-ink); }
.live-scope.clear .scope-word { color: var(--cyan); font-size: clamp(30px, 3.4vw, 46px); }
.live-scope.locked .scope-beam { display: none; }
.live-scope.locked .vr-a { transform: translate(10px, 10px); } .live-scope.locked .vr-b { transform: translate(-10px, 10px); }
.live-scope.locked .vr-c { transform: translate(-10px, -10px); } .live-scope.locked .vr-d { transform: translate(10px, -10px); }
.live-scope.locked .scope-word { animation: slam .7s var(--ease) both; transform-origin: left center; }
.live-scope.drainer .vr { border-color: var(--red); } .live-scope.clear .vr { border-color: var(--cyan); }
.live-tl { max-height: 460px; overflow: auto; }
.live-tl li { animation: rise .45s var(--ease) both; }

.msg { padding: clamp(60px, 10vw, 140px) 0; max-width: 720px; }

/* ---------- share card / OG images (rendered by headless Chrome) ---------- */
.card-img { background: #0b0c0e; }
.card { position: relative; width: 1200px; height: 630px; padding: 56px 64px; overflow: hidden; background: radial-gradient(rgba(233, 236, 239, .07) 1px, transparent 1px) 0 0 / 24px 24px, #0b0c0e; }
.card .vr { width: 34px; height: 34px; border-width: 3px; }
.card .vr-a { left: 26px; top: 26px; } .card .vr-b { right: 26px; top: 26px; } .card .vr-c { right: 26px; bottom: 26px; } .card .vr-d { left: 26px; bottom: 26px; }
.card-top { display: flex; align-items: center; gap: 12px; font-weight: 650; font-stretch: 112%; font-size: 24px; }
.card-top .mark { width: 34px; height: 34px; }
.card-id { margin-left: auto; font-size: 13px; color: #6c737d; letter-spacing: .12em; font-weight: 400; }
.card-host { font-size: 30px; margin: 54px 0 0; color: #eceef0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-k { margin: 30px 0 4px; font-size: 13px; color: #a3a9b2; text-transform: uppercase; letter-spacing: .16em; }
.card-word { margin: 0; font-size: 124px; line-height: .92; font-weight: 700; font-stretch: 116%; letter-spacing: -.04em; color: #a3a9b2; }
.c-drainer .card-word { color: var(--red); } .c-suspicious .card-word { color: var(--red-ink); } .c-clear .card-word { color: var(--cyan); font-size: 84px; }
.c-drainer { background: radial-gradient(rgba(233, 236, 239, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(135deg, rgba(255, 59, 47, .2), transparent 60%), #0b0c0e; }
.c-drainer .vr { border-color: var(--red); } .c-clear .vr { border-color: var(--cyan); }
.card-reasons { margin-top: 26px; display: grid; gap: 8px; max-width: 980px; }
.card-reasons li { display: flex; align-items: baseline; font-size: 21px; color: #eceef0; }
.card-foot { position: absolute; left: 64px; bottom: 50px; font-size: 15px; color: #6c737d; letter-spacing: .06em; }
.og-h { font-size: 88px; line-height: .95; font-weight: 650; font-stretch: 108%; letter-spacing: -.04em; margin: 70px 0 22px; max-width: 980px; }
.og-sub { font-size: 24px; color: #a3a9b2; margin: 0 0 34px; max-width: 900px; }
.og-chips { display: flex; gap: 12px; }
.og-chips .chip { height: 38px; font-size: 14px; padding: 0 16px; border-radius: 10px; }

/* ---------- motion: reveals (only when scripting is on; a CSS fallback shows everything if the JS never runs) ---------- */
@media (scripting: enabled) {
  html:not(.js-ready) .reveal, html:not(.js-ready) .split { animation: fallback-in 0s 2.5s forwards; opacity: 0; }
  @keyframes fallback-in { to { opacity: 1; } }
  .js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js-ready .reveal.in { opacity: 1; transform: none; }
  .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
  .split.in .w > span { transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter:nth-of-type(2) { border-right: 0; }
  .counter:nth-of-type(-n+2) { border-bottom: 1px solid var(--line); }
  .story-pin { grid-template-columns: minmax(0, 1fr); }
  .story-stage { display: none !important; }
  .step-stage-inline { display: block; }
  .story.pinned { height: auto; }
  .story.pinned .story-pin { position: static; height: auto; }
  .story.pinned .step { opacity: 1; }
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .r-grid, .verdict, .live-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .flag-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'chip host at' 'why why why'; gap: 8px 12px; }
  .flag-row .chip { grid-area: chip; } .flag-host { grid-area: host; } .flag-at { grid-area: at; } .flag-why { grid-area: why; white-space: normal; } .flag-go { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .status { margin-left: auto; }
  .top { padding-top: 14px; padding-bottom: 14px; }
  .field { flex-wrap: wrap; padding: 6px; }
  .field-pre { display: none; }
  .field input { flex: 1 1 100%; height: 48px; padding: 0 10px; font-size: 14px; }
  .field .btn { flex: 1 1 100%; }
  .counter { padding: 20px 18px 22px; }
  .phases { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 8px; letter-spacing: .04em; }
  .phases li { padding: 9px 6px 11px; }
  .ix { grid-template-columns: 18px minmax(0, 1fr); }
  .ix-t { grid-column: 2; }
  .facts li { grid-template-columns: 100px minmax(0, 1fr); }
  .live-scope { min-height: 240px; padding: 26px; }
  .spec { padding: 20px 18px 16px; }
  .cabar { justify-content: flex-start; gap: 8px; }
  .v-report[open] > ul { position: static; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .beam, .beam-line, .scope-beam { display: none; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none !important; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12px; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.tx-sim { margin-top: 10px; }
.tx-sim summary { font-size: 10px; color: var(--ink-3); cursor: pointer; text-transform: uppercase; letter-spacing: .08em; }
.tx-sim pre { margin-top: 8px; }
