/* SHROUD.ac — landing (monochrome). Black, titanium, hairlines. One loud thing: the laptop. */

:root {
  --void: #000000;
  --ink: #fafafa;
  --silver: #c7cbd1;
  --titanium: #8b9098;
  --dim: #5d6168;
  --tint: 255 255 255;                /* the colour hairlines and washes are made of */
  --base: 0 0 0;                      /* the page colour, for translucent bars and veils */
  --raise: #060607;                   /* panels that sit on the page */
  --shade: 0 0 0;                     /* shadows: always dark */
  --line: rgb(var(--tint) / .08);
  --line-2: rgb(var(--tint) / .15);
  --panel: rgb(var(--tint) / .028);
  --signal: #ffffff;                 /* theme colour: pure white / monochrome by default */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --key-top: #232427; --key-bot: #0e0f10; --key-line: #2f3134; --key-edge: #050505;
  --frame: 1180px;
  --gut: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--void); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* hairline blueprint grid behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='118'%3E%3Cpath d='M59.5 55v9M55 59.5h9' stroke='%23fff' stroke-opacity='.22'/%3E%3C/svg%3E"),
    linear-gradient(rgb(var(--tint) / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--tint) / .04) 1px, transparent 1px);
  background-size: 118px 118px;
  background-position: calc(50% - 59px) -59px, center top, center top;   /* the + marks sit where the hairlines cross */
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 86%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 86%);
}
html[data-theme^="white-"] body::before, html[data-theme^="light-"] body::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='118'%3E%3Cpath d='M59.5 55v9M55 59.5h9' stroke='%23000' stroke-opacity='.2'/%3E%3C/svg%3E"),
    linear-gradient(rgb(var(--tint) / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--tint) / .04) 1px, transparent 1px);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, pre { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--void); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--ink); color: var(--void); border-radius: 8px; }
.skip:focus { left: 12px; }

/* film grain: kills banding, gives the matte */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- frame + bands: the + marks sit where the frame lines cross the band lines ---------- */
.frame { width: min(var(--frame), 100% - var(--gut) * 2); margin-inline: auto; position: relative; }
main { position: relative; z-index: 1; overflow-x: clip; }
.band { position: relative; padding: 112px 0; border-top: 1px solid var(--line); }
.band > .frame::before, .band > .frame::after {
  content: ""; position: absolute; top: -112px; width: 13px; height: 13px; margin-top: -7px;
  background:
    linear-gradient(var(--titanium), var(--titanium)) center / 13px 1px no-repeat,
    linear-gradient(var(--titanium), var(--titanium)) center / 1px 13px no-repeat;
  opacity: .7;
}
.band > .frame::before { left: -7px; }
.band > .frame::after { right: -7px; }
.hero.band { border-top: 0; padding: 150px 0 72px; }
.hero.band > .frame::before, .hero.band > .frame::after { display: none; }

.band-head { max-width: 56ch; margin-bottom: 52px; }
.band-head h2 { font: 400 clamp(34px, 4.4vw, 54px)/1.04 var(--serif); letter-spacing: -.012em; }
.band-head p { margin-top: 16px; color: var(--titanium); font-size: 17px; max-width: 58ch; }
.band-head .btn { margin-top: 26px; }

/* ---------- keycaps ---------- */
kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 23px; padding: 0 6px;
  font: 500 11.5px/1 var(--mono); color: var(--silver);
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  border: 1px solid var(--key-line); border-bottom-color: var(--key-edge); border-radius: 6px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 2px 0 var(--key-edge), 0 3px 6px rgb(var(--shade) / .45);
  transform: translateY(-1px);
}
kbd + kbd { margin-left: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px; white-space: nowrap;
  font: 500 14px/1 var(--sans); border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .35s var(--ease);
}
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-solid { background: var(--ink); color: var(--void); }
.btn-solid:hover { box-shadow: 0 0 0 4px rgb(var(--tint) / .14); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgb(var(--tint) / .02); }
.btn-line:hover { border-color: rgb(var(--tint) / .34); background: rgb(var(--tint) / .05); }
.btn-quiet { color: var(--titanium); }
.btn-quiet:hover { color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--titanium); border: 1px solid transparent; transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.nav.is-stuck { background: rgb(var(--base) / .72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--sans); letter-spacing: .01em; }
.brand b { font-weight: 400; color: var(--titanium); }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 11px; border-radius: 8px; color: var(--titanium); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.pal-open { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--titanium); font-size: 13.5px; background: rgb(var(--tint) / .02); transition: border-color .2s, color .2s; }
.pal-open:hover { border-color: var(--line-2); color: var(--ink); }
.pal-open span { margin-right: 6px; }

/* ---------- hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 24px; align-items: center; min-height: min(760px, 86vh); }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { font: 400 clamp(46px, 6.4vw, 88px)/.96 var(--serif); letter-spacing: -.02em; max-width: 11ch; }
.lede { margin-top: 26px; color: var(--silver); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-hint { margin-top: 30px; color: var(--dim); font-size: 13.5px; max-width: 46ch; }

.stage { position: relative; height: clamp(440px, 54vw, 700px); margin-right: calc(var(--gut) * -1 - 40px); }
.spot { position: absolute; inset: -18% -12% -8% -12%; pointer-events: none;
  background:
    radial-gradient(46% 38% at 54% 36%, rgb(var(--tint) / .15), rgb(var(--tint) / .04) 46%, transparent 72%),
    conic-gradient(from 180deg at 54% -8%, transparent 0 152deg, rgb(var(--tint) / .07) 172deg 188deg, transparent 208deg);
  filter: blur(22px);
}
.stage-gl, .stage-css { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-gl { display: block; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 92%, transparent), linear-gradient(180deg, #000 78%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 16%, #000 92%, transparent), linear-gradient(180deg, #000 78%, transparent); mask-composite: intersect; }
.stage-css { pointer-events: none; overflow: hidden; }
.stage-css .os { pointer-events: auto; }
/* cover-glass sheen over the live screen: a faint diagonal reflection, never blocks clicks or scrolling */
.stage-css .os::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.028) 26%, rgba(255,255,255,0) 44%, rgba(255,255,255,0) 78%, rgba(255,255,255,.02) 100%); }
.stage-focus { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 4; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--titanium); font-size: 12.5px; background: rgb(var(--base) / .6); transition: color .2s, border-color .2s; }
.stage-focus:hover { color: var(--ink); border-color: var(--line-2); }
.stage.is-flat .stage-gl, .stage.is-flat .stage-css, .stage.is-flat .stage-focus { display: none; }

/* flat fallback (phones, no WebGL, motion off): a plain machined frame around the same report */
.lp-mount { position: absolute; inset: 0; display: grid; place-items: center; }
.stage:not(.is-flat) .lp-mount { visibility: hidden; }
.stage.is-flat { height: auto; margin-right: 0; padding: 22px 0 8px; }
.stage.is-flat .lp-mount { position: relative; inset: auto; }
.stage.is-flat .os-mark { font-size: clamp(54px, 19vw, 104px); }
.stage.is-flat .os { width: 100%; height: 470px; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 0 0 9px var(--raise), 0 0 0 10px var(--key-line), 0 40px 90px -30px rgb(var(--tint) / .12); }

/* ---------- the laptop desktop: two apps, a taskbar, windows that open and close ---------- */
.os { position: relative; width: 760px; height: 475px; overflow: hidden; color: var(--ink); font: 400 13.5px/1.5 var(--sans); text-align: left; user-select: none;
  background:
    radial-gradient(90% 80% at 78% 6%, rgb(var(--tint) / .10), transparent 62%),
    radial-gradient(70% 70% at 6% 100%, rgb(var(--tint) / .06), transparent 60%),
    var(--raise); }
.os::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(var(--tint) / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--tint) / .035) 1px, transparent 1px);
  background-size: 38px 38px; background-position: center;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000, transparent 80%); mask-image: radial-gradient(80% 70% at 50% 45%, #000, transparent 80%); }
.os-mark { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); pointer-events: none;
  font: 400 104px/1 var(--serif); letter-spacing: -.01em; color: rgb(var(--tint) / .055); white-space: nowrap; }
.os-desk { position: absolute; left: 14px; top: 14px; display: grid; gap: 6px; z-index: 1; }
.os-app { width: 86px; padding: 8px 4px 7px; display: grid; justify-items: center; gap: 6px; border-radius: 10px; border: 1px solid transparent; transition: background .18s, border-color .18s; }
.os-app:hover { background: rgb(var(--tint) / .07); border-color: rgb(var(--tint) / .1); }
.os-app:focus-visible { outline-offset: 0; }
.os-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgb(var(--tint) / .09), rgb(var(--tint) / .02)); box-shadow: 0 8px 18px -8px rgb(var(--shade) / .8); }
.os-ico-yt { background: linear-gradient(180deg, #1c1c1f, #0d0d0f); border-color: rgb(255 255 255 / .1); }
.os-label { font-size: 11.5px; line-height: 1.25; color: var(--ink); text-align: center; text-shadow: 0 1px 6px rgb(var(--shade) / .9); }
/* a quiet nudge on the scanner icon until the visitor opens something */
.os-app.is-hint .os-ico { animation: os-hint 2.4s var(--ease) infinite; }
@keyframes os-hint { 0%, 100% { box-shadow: 0 8px 18px -8px rgb(var(--shade) / .8), 0 0 0 0 rgb(var(--tint) / 0); } 50% { box-shadow: 0 8px 18px -8px rgb(var(--shade) / .8), 0 0 0 5px rgb(var(--tint) / .12); } }

.os-task { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 4px;
  background: rgb(var(--base) / .72); border-top: 1px solid var(--line); }
.os-start, .os-tb { position: relative; width: 34px; height: 30px; display: grid; place-items: center; border-radius: 7px; transition: background .18s; }
.os-start:hover, .os-tb:hover { background: rgb(var(--tint) / .08); }
.os-start { margin-right: 6px; opacity: .85; }
.os-tb::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; margin-left: 0; border-radius: 2px; background: var(--ink); opacity: .9; transition: width .2s var(--ease), margin .2s var(--ease); }
.os-tb.is-on::after { width: 14px; margin-left: -7px; }
.os-clock { position: absolute; right: 12px; top: 0; bottom: 0; display: grid; align-content: center; justify-items: end; line-height: 1.15; }
.os-time { font: 500 11.5px/1.2 var(--mono); color: var(--silver); font-variant-numeric: tabular-nums; }
.os-date { font: 400 10px/1.2 var(--mono); color: var(--dim); }

.os-win { position: absolute; inset: 8px 8px 48px; z-index: 3; display: flex; flex-direction: column; overflow: hidden;
  background: var(--raise); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 24px 50px -18px rgb(var(--shade) / .9); }
.os-win[hidden] { display: none; }
.os-win.is-in { animation: os-in .22s var(--ease) both; }
.os-win.is-out { animation: os-out .16s ease-in both; }
@keyframes os-in { from { opacity: 0; transform: translateY(8px) scale(.965); } }
@keyframes os-out { to { opacity: 0; transform: translateY(6px) scale(.975); } }
.os-bar { flex: none; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 12px; border-bottom: 1px solid var(--line); background: rgb(var(--tint) / .025); }
.os-title { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--silver); }
.os-x { width: 30px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--titanium); transition: background .15s, color .15s; }
.os-x:hover { background: #c42b1c; color: #fff; }
.os-win .rp { width: 100%; height: auto; flex: 1; min-height: 0; background: transparent; }
.os-win .rp-top { padding-top: 12px; }
.os-win .rp-verdict { font-size: 34px; }
.os-video { flex: 1; min-height: 0; display: grid; place-items: center; background: #000; }
.os-video iframe { display: block; height: 100%; max-width: 100%; aspect-ratio: 16 / 9; border: 0; }

@media (prefers-reduced-motion: reduce) { .os-win.is-in, .os-win.is-out, .os-app.is-hint .os-ico { animation: none; } }
body.no-fx .os-win.is-in, body.no-fx .os-win.is-out, body.no-fx .os-app.is-hint .os-ico { animation: none; }

/* ---------- the sample report on the screen ---------- */
.rp { width: 760px; height: 475px; background: var(--raise); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; font: 400 13.5px/1.5 var(--sans); text-align: left; }
.rp-top { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 22px 12px; }
.rp-id { display: flex; align-items: baseline; gap: 14px; }
.rp-verdict { font: 400 40px/1 var(--serif); letter-spacing: -.01em; color: var(--signal); }
.rp-risk { white-space: nowrap; font: 500 12px/1 var(--mono); padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--silver); }
.rp-pin { text-align: right; }
.rp-pin small { display: block; font: 500 10px/1 var(--mono); color: var(--dim); margin-bottom: 5px; }
.rp-pin b { font: 500 17px/1 var(--mono); letter-spacing: .16em; }
.rp-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rp-meta div { padding: 10px 0; }
.rp-meta dt { font-size: 11.5px; color: var(--dim); }
.rp-meta dd { font-size: 13px; color: var(--silver); margin-top: 2px; }
.rp-tabs { display: flex; align-items: center; gap: 6px; padding: 10px 22px 8px; }
.rp-tab { white-space: nowrap; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--titanium); border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s; }
.rp-tab.is-on { color: var(--void); background: var(--ink); border-color: var(--ink); }
.rp-full { margin-left: auto; font-size: 12.5px; color: var(--titanium); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.rp-full:hover { color: var(--ink); }
.rp-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 2px 22px 18px; scrollbar-width: thin; scrollbar-color: rgb(var(--tint) / .2) transparent; }
.rp-body::-webkit-scrollbar { width: 8px; }
.rp-body::-webkit-scrollbar-thumb { background: rgb(var(--tint) / .2); border-radius: 8px; }
.rp-group { font-size: 11.5px; color: var(--dim); margin: 12px 0 2px; }
.rp-find { border-bottom: 1px solid var(--line); }
.rp-find-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 2px; text-align: left; }
.rp-kind { flex: none; font: 600 10.5px/1 var(--sans); padding: 5px 8px; border-radius: 6px; }
.rp-kind.k-detect { color: var(--void); background: var(--signal); }
.rp-kind.k-warning { color: var(--silver); border: 1px solid var(--line-2); }
.rp-find-t { flex: 1; font-weight: 500; font-size: 13.5px; }
.rp-when { flex: none; font: 500 11px/1 var(--mono); color: var(--silver); padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font-variant-numeric: tabular-nums; }
.rp-chev { flex: none; width: 18px; height: 18px; display: grid; place-items: center; color: var(--dim); transition: transform .3s var(--ease); }
.rp-find.is-open .rp-chev { transform: rotate(45deg); color: var(--ink); }
.rp-find-b { display: none; padding: 0 2px 13px; }
.rp-find.is-open .rp-find-b { display: block; }
.rp-find-b p { color: var(--silver); font-size: 13px; max-width: 64ch; }
.rp-rel { display: inline-block; margin-bottom: 7px; font: 500 11.5px/1 var(--mono); color: var(--titanium); }
.rp-ev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.rp-ev span { font: 400 11.5px/1.3 var(--mono); color: var(--silver); padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--tint) / .03); }
.rp-tl { position: relative; margin-top: 12px; padding-left: 18px; border-left: 1px solid var(--line-2); }
.rp-tl li { position: relative; padding: 0 0 14px 4px; }
.rp-tl li::before { content: ""; position: absolute; left: -22.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--void); border: 1.5px solid var(--silver); }
.rp-tl li.is-detect::before { border-color: var(--signal); background: var(--signal); }
.rp-tl time { display: block; font: 500 11.5px/1.2 var(--mono); color: var(--titanium); font-variant-numeric: tabular-nums; }
.rp-tl b { font-weight: 500; font-size: 13.5px; }

/* ---------- spear arena ---------- */
.arena { position: relative; height: clamp(300px, 36vw, 440px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(60% 80% at 50% 50%, rgb(var(--tint) / .035), transparent 70%); cursor: crosshair; }
.arena-sparks, .arena-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.arena-layer { pointer-events: none; }
.target { position: absolute; left: 0; top: 0; font: 500 clamp(30px, 5.2vw, 68px)/1 var(--mono); letter-spacing: -.02em; color: var(--silver); white-space: nowrap; will-change: transform, opacity; }
.target .half { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; }
.target .half-a { clip-path: inset(0 0 50% 0); }
.target .half-b { clip-path: inset(50% 0 0 0); }
.target .whole { display: block; }
.spear { position: absolute; left: 0; top: 0; height: 12px; width: 520px; transform-origin: 0 50%; will-change: transform, opacity; pointer-events: none; }
.spear::before { /* the SHROUD spear: the silhouette in /assets/spear.png, given a chrome finish */
  content: ""; position: absolute; right: 0; top: 50%; width: 520px; height: 46px; margin-top: -23px;
  background: linear-gradient(180deg, #ffffff 0%, #c9ccd1 30%, #6d7178 50%, #e4e6e9 68%, #9a9ea5 100%);
  -webkit-mask: url("/assets/spear.png?v=1") center / 100% 100% no-repeat; mask: url("/assets/spear.png?v=1") center / 100% 100% no-repeat;
}
.spear::after { content: none; }
.spear-trail { position: absolute; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, transparent, rgb(var(--tint) / .5)); opacity: 0; pointer-events: none; }
.slash { position: absolute; left: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; opacity: 0; pointer-events: none; box-shadow: 0 0 12px rgb(var(--tint) / .8); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.step { position: relative; padding: 30px 26px 34px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step-n { display: block; font: 400 34px/1 var(--serif); color: var(--dim); margin-bottom: 44px; }
.step h3 { font: 500 17px/1.3 var(--sans); }
.step p { margin-top: 10px; color: var(--titanium); font-size: 14.5px; line-height: 1.62; }

/* cursor-following border light (tight, quiet) */
.glow { position: relative; }
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), rgb(var(--tint) / .55), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.glow:hover::after { opacity: 1; }

/* ---------- API ---------- */
.api-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.api-grid .band-head { margin-bottom: 0; }
.code { border: 1px solid var(--line); border-radius: 16px; background: var(--raise); overflow: hidden; }
.code-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 12px; border-bottom: 1px solid var(--line); }
.code-tabs { display: flex; gap: 4px; }
.code-tab { padding: 7px 11px; border-radius: 8px; font-size: 13px; color: var(--titanium); transition: color .2s, background .2s; }
.code-tab.is-on { color: var(--ink); background: rgb(var(--tint) / .07); }
.code-copy { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 12.5px; color: var(--silver); transition: border-color .2s, color .2s; }
.code-copy:hover { border-color: var(--line-2); color: var(--ink); }
.code pre { font: 400 13.5px/1.75 var(--mono); color: var(--silver); padding: 20px 22px; overflow-x: auto; white-space: pre; }
.code-out { border-top: 1px solid var(--line); background: rgb(var(--tint) / .018); }
.code-out pre { color: var(--titanium); }
.c-k { color: var(--ink); }
.c-s { color: var(--ink); }
.c-p { color: var(--silver); }

/* ---------- faq ---------- */
[hidden] { display: none !important; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 28px; background: var(--raise); }
.faq-item h3 { font: 500 17px/1.35 var(--sans); }
.faq-item p { margin-top: 10px; color: var(--titanium); font-size: 14.5px; line-height: 1.65; }
.faq-links { margin-top: 26px; font-size: 15px; }
.faq-links a { color: var(--titanium); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.faq-links a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- inner landing pages ---------- */
.page-hero { border-top: 0; padding: 150px 0 72px; }
.page-hero > .frame::before, .page-hero > .frame::after { display: none; }
.page-hero h1 { font: 400 clamp(40px, 5.4vw, 68px)/1.04 var(--serif); letter-spacing: -.016em; max-width: 22ch; }
.page-hero p { margin-top: 22px; color: var(--titanium); font-size: 17.5px; line-height: 1.6; max-width: 64ch; }
.page-hero .hero-cta { margin-top: 34px; }

/* ---------- changelog ---------- */
.log { border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.log-when { display: flex; flex-direction: column; gap: 6px; }
.log-when b { font: 500 14px/1 var(--mono); }
.log-when time { font-size: 13.5px; color: var(--dim); }
.log-what h3 { font: 500 18px/1.3 var(--sans); }
.log-what p { margin-top: 8px; color: var(--titanium); max-width: 68ch; font-size: 15px; }

/* ---------- close + footer ---------- */
.band-end { padding: 96px 0; }
.end-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.end-row h2 { font: 400 clamp(40px, 5.6vw, 76px)/1 var(--serif); letter-spacing: -.016em; }
.end-row .hero-cta { margin-top: 0; }
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--titanium); font-size: 14px; transition: color .2s; }
.foot nav a:hover { color: var(--ink); }
.foot small { margin-left: auto; color: var(--dim); font-size: 13px; }

/* ---------- drawer ---------- */
.veil { position: fixed; inset: 0; z-index: 60; background: rgb(var(--base) / .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(380px, 92vw); background: var(--raise); border-left: 1px solid var(--line-2); transform: translateX(102%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font: 400 26px/1 var(--serif); }
.drawer-body { padding: 8px 22px 28px; overflow-y: auto; }
.set-grp { padding: 20px 0; border-bottom: 1px solid var(--line); }
.set-grp h4 { font: 500 14px/1 var(--sans); }
.set-note { margin-top: 8px; color: var(--dim); font-size: 13px; }
.theme-mode-seg {
  display: inline-flex !important;
  align-items: center !important;
  background: #141416 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9999px !important;
  padding: 3px !important;
  gap: 3px !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.mode-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 30px !important;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mode-btn img {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  opacity: 0.45 !important;
  filter: none !important;
  transition: opacity 0.18s ease, filter 0.18s ease !important;
}
.mode-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}
.mode-btn:hover img {
  opacity: 0.75 !important;
}
.mode-btn.is-active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}
.mode-btn.is-active img {
  opacity: 1 !important;
  filter: brightness(0) !important;
}

/* Light mode overrides for segmented control */
html[data-color-mode="light"] .theme-mode-seg,
html[data-theme^="white-"] .theme-mode-seg,
html[data-theme^="light-"] .theme-mode-seg,
html[data-theme="white-black"] .theme-mode-seg {
  background: #e4e4e7 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}
html[data-color-mode="light"] .mode-btn img,
html[data-theme^="white-"] .mode-btn img,
html[data-theme^="light-"] .mode-btn img,
html[data-theme="white-black"] .mode-btn img {
  filter: brightness(0) !important;
  opacity: 0.45 !important;
}
html[data-color-mode="light"] .mode-btn:hover,
html[data-theme^="white-"] .mode-btn:hover,
html[data-theme^="light-"] .mode-btn:hover,
html[data-theme="white-black"] .mode-btn:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}
html[data-color-mode="light"] .mode-btn:hover img,
html[data-theme^="white-"] .mode-btn:hover img,
html[data-theme^="light-"] .mode-btn:hover img,
html[data-theme="white-black"] .mode-btn:hover img {
  opacity: 0.8 !important;
}
html[data-color-mode="light"] .mode-btn.is-active,
html[data-theme^="white-"] .mode-btn.is-active,
html[data-theme^="light-"] .mode-btn.is-active,
html[data-theme="white-black"] .mode-btn.is-active {
  background: #000000 !important;
  border-color: #000000 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
html[data-color-mode="light"] .mode-btn.is-active img,
html[data-theme^="white-"] .mode-btn.is-active img,
html[data-theme^="light-"] .mode-btn.is-active img,
html[data-theme="white-black"] .mode-btn.is-active img {
  opacity: 1 !important;
  filter: brightness(0) invert(1) !important;
}
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.theme-btn { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: 400 13px/1 var(--mono); color: var(--titanium); transition: border-color .2s, color .2s; }
.theme-btn i { width: 12px; height: 12px; border-radius: 50%; }
.theme-btn.is-on { border-color: var(--ink); color: var(--ink); }
.switch { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--silver); font-size: 14px; cursor: pointer; }
.switch input { width: 16px; height: 16px; accent-color: var(--ink); }
.drawer-body select { margin-top: 10px; width: 100%; height: 38px; background: var(--raise); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; font: inherit; }

/* ---------- command palette ---------- */
.pal { position: fixed; inset: 0; z-index: 70; display: grid; justify-items: center; align-content: start; padding-top: 16vh; background: rgb(var(--base) / .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pal[hidden] { display: none; }
.pal-box { width: min(560px, 92vw); background: var(--raise); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 120px -20px rgb(var(--shade) / .55); }
#pal-input { width: 100%; height: 56px; padding: 0 20px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 16px var(--sans); outline: none; }
#pal-input::placeholder { color: var(--dim); }
.pal-list { max-height: 320px; overflow-y: auto; padding: 6px; }
.pal-item { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; text-align: left; color: var(--silver); font-size: 14.5px; }
.pal-item.is-active { background: rgb(var(--tint) / .07); color: var(--ink); }
.pal-item small { color: var(--dim); font: 400 12px var(--mono); }
.pal-empty { padding: 18px 14px; color: var(--dim); font-size: 14px; }
.pal-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.pal-foot span { display: inline-flex; align-items: center; gap: 6px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--void); font: 500 13.5px/1 var(--sans); transition: opacity .25s, transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- magnetic dot cursor (fine pointers only) ---------- */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 999999; pointer-events: none; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .arena, html.has-cursor label, html.has-cursor input, html.has-cursor [role="button"] { cursor: none !important; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; pointer-events: none; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgb(var(--tint) / .5); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-radius .25s var(--ease), border-color .2s, background .2s, opacity .2s; }
.cursor.is-snap .cursor-ring { border-color: rgb(var(--tint) / .95) !important; background: rgb(var(--tint) / .12) !important; box-shadow: 0 0 16px rgb(var(--tint) / .28) !important; }
.cursor.is-hide .cursor-ring, .cursor.is-hide .cursor-dot { opacity: 0; }

/* ---------- motion off ---------- */
body.no-fx .spear, body.no-fx .slash, body.no-fx .spear-trail { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero h1 { max-width: 14ch; }
  .stage { margin-right: 0; height: clamp(380px, 68vw, 600px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .api-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  :root { --gut: 18px; }
  .band { padding: 76px 0; }
  .band > .frame::before, .band > .frame::after { top: -76px; }
  .hero.band { padding: 112px 0 48px; }
  .page-hero { padding: 112px 0 48px; }
  .pal-open kbd, .nav-end .btn-quiet { display: none; }
  .pal-open { padding: 0 11px; }
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step-n { margin-bottom: 22px; }
  .log li { grid-template-columns: 1fr; gap: 10px; }
  .log-when { flex-direction: row; align-items: baseline; gap: 12px; }
  .rp { font-size: 13px; }
  .rp-meta { grid-template-columns: 1fr 1fr; }
  .rp-verdict { font-size: 32px; }
  .rp-when { display: none; }
  .rp-full { display: none; }
  .rp-top { padding: 16px 16px 10px; }
  .rp-id { flex-wrap: wrap; gap: 8px 10px; }
  .rp-meta { margin: 0 16px; }
  .rp-tabs { padding: 10px 16px 8px; }
  .rp-body { padding: 2px 16px 16px; }
  .foot small { margin-left: 0; width: 100%; }
  .code pre { font-size: 12.5px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* spear arena with motion off: the list stands still, already cut */
.arena.is-still { height: auto; cursor: default; }
.arena.is-still .arena-sparks { display: none; }
.arena.is-still .arena-layer { position: static; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 34px 30px; }
.still-name { font: 500 clamp(18px, 2.2vw, 26px)/1.2 var(--mono); color: var(--dim); text-decoration: line-through; text-decoration-color: var(--silver); text-decoration-thickness: 1px; }

/* ============================== light themes (white-*, light-*) ==============================
   Same page, inverted: white paper, black ink. The laptop stays dark metal; its screen follows the theme. */
html[data-theme^="white-"], html[data-theme^="light-"] {
  color-scheme: light;
  --void: #ffffff;
  --ink: #0a0a0b;
  --silver: #34373c;
  --titanium: #666a72;
  --dim: #9da1a8;
  --tint: 0 0 0;
  --base: 255 255 255;
  --raise: #fafafa;
  --line: rgb(0 0 0 / .1);
  --line-2: rgb(0 0 0 / .2);
  --panel: rgb(0 0 0 / .03);
  --key-top: #ffffff; --key-bot: #ececee; --key-line: #cfd1d5; --key-edge: #b4b7bc;
}
html[data-theme^="white-"] .grain, html[data-theme^="light-"] .grain { filter: invert(1); opacity: .03; }
html[data-theme^="white-"] .brand img, html[data-theme^="light-"] .brand img { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15)); }
html[data-theme^="white-"] .spot, html[data-theme^="light-"] .spot {
  background: radial-gradient(46% 30% at 54% 74%, rgb(0 0 0 / .16), rgb(0 0 0 / .05) 46%, transparent 72%);
}
html[data-theme^="white-"] kbd, html[data-theme^="light-"] kbd { color: var(--silver); box-shadow: inset 0 1px 0 #fff, 0 2px 0 var(--key-edge), 0 3px 6px rgb(0 0 0 / .12); }
html[data-theme^="white-"] .veil, html[data-theme^="light-"] .veil,
html[data-theme^="white-"] .pal, html[data-theme^="light-"] .pal { background: rgb(0 0 0 / .28); }
html[data-theme^="white-"] .spear::before, html[data-theme^="light-"] .spear::before { background: linear-gradient(180deg, #6a6e75 0%, #222326 38%, #000 55%, #45484e 78%, #17181a 100%); }
html[data-theme^="white-"] .spear-trail, html[data-theme^="light-"] .spear-trail { background: linear-gradient(90deg, transparent, rgb(0 0 0 / .45)); }

.themes-label { grid-column: 1 / -1; margin-top: 6px; font-size: 12px; color: var(--dim); }

/* ============================== inner pages: page head + changelog ============================== */
.page-head.band { border-top: 0; padding: 156px 0 64px; }
.page-head.band > .frame::before, .page-head.band > .frame::after { display: none; }
.page-head h1 { font: 400 clamp(46px, 6vw, 84px)/.98 var(--serif); letter-spacing: -.02em; }
.page-head .lede { margin-top: 20px; }
.band-tight { padding-top: 0; border-top: 0; }
.band-tight > .frame::before, .band-tight > .frame::after { display: none; }
.nav-links a[aria-current="page"] { color: var(--ink); }

.rels { border-top: 1px solid var(--line); }
.rel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 52px 0 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.rel-when { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; align-self: start; }
.rel-when b { font: 400 44px/1 var(--serif); letter-spacing: -.01em; }
.rel-when time { font-size: 14px; color: var(--titanium); }
.rel-what { max-width: 68ch; }
.rel-what h3 { font: 500 22px/1.25 var(--sans); }
.rel-lead { margin-top: 10px; color: var(--silver); font-size: 16.5px; }
.rel-what h4 { margin-top: 34px; font: 500 14px/1 var(--sans); color: var(--titanium); }
.rel-what ul { margin-top: 12px; display: grid; gap: 10px; }
.rel-what li { position: relative; padding-left: 20px; color: var(--silver); font-size: 15.5px; line-height: 1.62; }
.rel-what li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 1px; background: var(--titanium); }
@media (max-width: 680px) {
  .page-head.band { padding: 118px 0 44px; }
  .rel { grid-template-columns: 1fr; gap: 14px; padding: 38px 0 42px; }
  .rel-when { position: static; flex-direction: row; align-items: baseline; gap: 14px; }
  .rel-when b { font-size: 34px; }
}

/* ---------- navbar logo: the shield file has a clear margin around it, so it is drawn larger and pulled in ---------- */
.nav .brand { gap: 8px; font-size: 16px; }
.nav .brand-mark, .nav .brand img { width: 34px; height: 34px; margin: -6px -3px -6px -5px; }
/* ---------- motion off: the system cursor returns ---------- */
body.no-fx .cursor { display: none !important; }
.foot .brand img { width: 28px; height: 28px; margin: -5px -3px -5px -4px; }

/* ============================== home: scanner window, privacy, verdicts, timeline, Discord, releases ============================== */

/* ---------- "How a scan runs": heading left, the scanner window right, steps below ---------- */
#how .frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 56px; align-items: end; }
#how .band-head, #how .scanwin { grid-row: 1; }
#how .steps { grid-column: 1 / -1; }
.scanwin { margin-bottom: 52px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--raise); overflow: hidden; box-shadow: 0 30px 80px -40px rgb(var(--shade) / .9), 0 0 0 1px rgb(var(--tint) / .02) inset; }
.sw-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--titanium); }
.sw-dots { display: flex; gap: 6px; }
.sw-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--tint) / .12); }
.sw-brand { color: var(--silver); font-weight: 500; }
.sw-pin { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--dim); }
.sw-pin b { color: var(--silver); font-weight: 500; letter-spacing: .12em; margin-left: 4px; }
.sw-body { display: flex; flex-direction: column; align-items: center; padding: 30px 28px 26px; }
.sw-mark { position: relative; width: 124px; height: 124px; display: grid; place-items: center; }
.sw-mark img { width: 78px; height: 78px; transition: opacity .4s, transform .5s var(--ease); }
.sw-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sw-ring circle { fill: none; stroke-width: 2; }
.sw-ring-track { stroke: rgb(var(--tint) / .08); }
.sw-ring-arc { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 534.07; stroke-dashoffset: 534.07; }
.sw-check { position: absolute; width: 72px; height: 72px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.sw-check circle { stroke: rgb(var(--tint) / .22); stroke-width: 1.5; }
.sw-check path { stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset .55s var(--ease) .1s; }
.scanwin.is-done .sw-mark img { opacity: 0; transform: scale(.82); }
.scanwin.is-done .sw-check { opacity: 1; }
.scanwin.is-done .sw-check path { stroke-dashoffset: 0; }
.sw-pct { margin-top: 18px; font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.sw-track { width: min(240px, 100%); height: 2px; margin-top: 14px; border-radius: 2px; background: rgb(var(--tint) / .08); overflow: hidden; }
.sw-fill { width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.sw-msg { margin-top: 14px; font-size: 14px; color: var(--silver); min-height: 1.6em; }
.sw-time { margin-top: 2px; font: 500 12px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.step::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.step.is-now::before { transform: scaleX(1); }
.step .step-n { transition: color .4s; }
.step.is-now .step-n { color: var(--ink); }

/* ---------- privacy: what is read, what is sent, what never is ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; }
.flow-card { border: 1px solid var(--line); border-radius: 16px; background: var(--raise); padding: 26px 28px 24px; display: flex; flex-direction: column; }
.flow-h { display: flex; align-items: center; gap: 12px; font: 500 17px/1.3 var(--sans); }
.flow-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; }
.flow-ic svg, .never-list svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-list { margin-top: 20px; display: grid; gap: 11px; }
.flow-list li { position: relative; padding-left: 20px; color: var(--silver); font-size: 15px; line-height: 1.55; }
.flow-list li::before { content: ""; position: absolute; left: 2px; top: .74em; width: 7px; height: 1px; background: var(--titanium); }
.flow-note { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--dim); }
.flow-pipe { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.flow-line { position: relative; width: 100%; height: 1px; background: linear-gradient(90deg, var(--line-2), rgb(var(--tint) / .3), var(--line-2)); }
.flow-line::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid rgb(var(--tint) / .45); border-right: 1px solid rgb(var(--tint) / .45); transform: rotate(45deg); }
.flow-packet { position: absolute; top: -3px; left: 0; width: 22px; height: 7px; border-radius: 3px; background: var(--ink); box-shadow: 0 0 14px rgb(var(--tint) / .5); animation: flow-go 2.8s var(--ease) infinite; }
@keyframes flow-go { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }
@keyframes flow-down { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }
.flow-tag { font: 500 11.5px/1 var(--mono); color: var(--titanium); padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--void); white-space: nowrap; }
.never { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 20px 26px; border: 1px dashed var(--line-2); border-radius: 16px; }
.never-h { font: 500 14px/1.3 var(--sans); color: var(--ink); }
.never-list { display: flex; flex-wrap: wrap; gap: 8px; }
.never-list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--silver); }
.never-list svg { width: 14px; height: 14px; color: var(--titanium); }

/* ---------- four verdicts (shape, not colour, tells them apart) ---------- */
.verdicts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vd { border: 1px solid var(--line); border-radius: 16px; background: var(--raise); padding: 24px 22px 22px; display: flex; flex-direction: column; }
.vd-mark { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); }
.vd-cheat { background: var(--ink); }
.vd-susp { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.vd-inc { border-style: dashed; border-color: var(--titanium); }
.vd h3 { margin-top: 22px; font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.vd p { margin: 12px 0 20px; color: var(--titanium); font-size: 14px; line-height: 1.6; }
.vd blockquote { margin: auto 0 0; padding: 0 0 0 12px; border-left: 1px solid var(--line-2); font-size: 13px; line-height: 1.55; color: var(--silver); }

/* ---------- evidence timeline ---------- */
.tl { border: 1px solid var(--line); border-radius: 18px; background: var(--raise); padding: 26px 34px 30px; }
.tl-tag { font: 500 11.5px/1 var(--mono); color: var(--dim); }
.tl-track { position: relative; height: 104px; margin: 22px 8px 8px; }
.tl-rail { position: absolute; left: 0; right: 0; top: 44px; height: 1px; background: var(--line-2); }
.tl-rail-fill { position: absolute; left: 0; top: 0; height: 1px; width: var(--sel, 15%); background: var(--ink); transition: width .5s var(--ease); }
.tl-pt { position: absolute; top: 0; left: var(--x); width: 0; height: 100%; display: block; }
.tl-pt::before { content: ""; position: absolute; left: -7px; top: 37px; width: 14px; height: 14px; border-radius: 50%; background: var(--raise); border: 1.5px solid var(--titanium); transition: transform .3s var(--ease), border-color .2s, background .2s, box-shadow .2s; }
.tl-pt.is-detect::before { border-color: var(--ink); background: var(--ink); }
.tl-pt::after { content: ""; position: absolute; left: -24px; top: 20px; width: 48px; height: 76px; }
.tl-pt span { position: absolute; top: 64px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; color: var(--titanium); transition: color .2s; }
.tl-pt:hover span, .tl-pt.is-on span { color: var(--ink); }
.tl-pt.is-on::before { transform: scale(1.3); box-shadow: 0 0 0 5px rgb(var(--tint) / .08); border-color: var(--ink); }
.tl-pt:first-of-type span { left: -7px; transform: none; }
.tl-pt:focus-visible { outline: 0; }
.tl-pt:focus-visible::before { box-shadow: 0 0 0 2px var(--raise), 0 0 0 3px var(--ink); }
.tl-scan { position: absolute; top: 18px; left: var(--x); width: 1px; height: 52px; background: var(--ink); }
.tl-scan span { position: absolute; bottom: calc(100% + 6px); right: 0; font: 500 11px/1 var(--mono); color: var(--ink); }
.tl-card { margin-top: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgb(var(--tint) / .02); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 2px 20px; }
.tl-card time { grid-row: span 2; font: 500 12.5px/1.6 var(--mono); color: var(--titanium); }
.tl-card b { font-weight: 500; font-size: 15.5px; }
.tl-card p { color: var(--silver); font-size: 14.5px; line-height: 1.6; max-width: 70ch; }
.tl-card.is-swap { animation: tl-in .45s var(--ease); }
@keyframes tl-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Discord: a real Discord look inside the site frame (stays dark in every theme) ---------- */
.dc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.dc-grid .band-head { margin-bottom: 0; }
.dc { border-radius: 16px; background: #313338; border: 1px solid rgb(255 255 255 / .08); color: #dbdee1; font: 400 15px/1.375 "gg sans", "Noto Sans", var(--sans); overflow: hidden; box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9); }
.dc-head { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid rgb(0 0 0 / .28); font-weight: 600; color: #f2f3f5; font-size: 15px; }
.dc-hash { font-size: 22px; font-weight: 400; color: #80848e; }
.dc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 8px 18px 4px 16px; }
.dc-av { width: 40px; height: 40px; border-radius: 50%; background: #111214; object-fit: contain; }
.dc-av-u { display: grid; place-items: center; background: #5865f2; color: #fff; font-weight: 600; }
.dc-who { display: flex; align-items: center; gap: 8px; }
.dc-who b { font-weight: 500; color: #f2f3f5; }
.dc-who time { font-size: 12px; color: #949ba4; }
.dc-app { font-size: 10px; font-weight: 600; line-height: 15px; padding: 0 4px; border-radius: 3px; background: #5865f2; color: #fff; }
.dc-msg p { color: #dbdee1; }
.dc-embed { margin-top: 6px; max-width: 520px; padding: 10px 16px 14px 14px; border-radius: 4px; background: #2b2d31; border-left: 4px solid #ff2d46; display: grid; gap: 8px; font-size: 14px; }
.dc-title { font-weight: 600; color: #00a8fc; font-size: 15.5px; }
.dc-title:hover { text-decoration: underline; }
.dc-desc { color: #dbdee1; line-height: 1.45; }
.dc-desc b { color: #f2f3f5; }
.dc-field b { display: block; font-size: 14px; font-weight: 600; color: #f2f3f5; margin-bottom: 2px; }
.dc-field a { color: #00a8fc; word-break: break-all; }
.dc-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #b5bac1; }
.dc-foot img { width: 18px; height: 18px; border-radius: 50%; }
.dc-typing { display: flex; align-items: center; gap: 6px; height: 0; padding: 0 16px; font-size: 13px; color: #b5bac1; overflow: hidden; opacity: 0; transition: opacity .25s, height .25s; }
.dc-typing b { color: #dbdee1; font-weight: 600; }
.dc-dots { display: inline-flex; gap: 3px; margin-right: 2px; }
.dc-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b5bac1; animation: dc-dot 1.2s infinite ease-in-out; }
.dc-dots i:nth-child(2) { animation-delay: .15s; }
.dc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dc-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* ---------- latest releases ---------- */
#releases .band-head { margin-bottom: 40px; }
.ships { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ship { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--raise); padding: 22px 22px 24px; transition: border-color .25s, transform .35s var(--ease); }
.ship:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ship-v { font: 400 38px/1 var(--serif); letter-spacing: -.01em; }
.ship time { margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--dim); }
.ship b { margin-top: 26px; font-weight: 500; font-size: 16.5px; line-height: 1.35; }
.ship-l { margin-top: 8px; color: var(--titanium); font-size: 14px; line-height: 1.6; }

@media (max-width: 1080px) {
  #how .frame { grid-template-columns: 1fr; }
  #how .scanwin { grid-row: auto; width: min(460px, 100%); margin-bottom: 36px; }
  #how .band-head { margin-bottom: 32px; }
  .verdicts { grid-template-columns: 1fr 1fr; }
  .dc-grid { grid-template-columns: 1fr; gap: 36px; }
  .flow { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); }
  .flow-tag { font-size: 10.5px; padding: 5px 7px; }
}
@media (max-width: 680px) {
  .flow { grid-template-columns: 1fr; }
  .flow-pipe { height: 92px; flex-direction: row; gap: 14px; }
  .flow-line { width: 1px; height: 100%; background: linear-gradient(180deg, var(--line-2), rgb(var(--tint) / .3), var(--line-2)); }
  .flow-line::after { right: auto; left: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .flow-packet { left: -3px; top: 0; width: 7px; height: 18px; animation-name: flow-down; }
  .flow-card { padding: 22px 20px 20px; }
  .never { padding: 18px; }
  .verdicts { grid-template-columns: 1fr; }
  .tl { padding: 22px 18px 20px; }
  .tl-track { height: auto; margin: 16px 0 14px; display: grid; gap: 2px; padding-left: 26px; }
  .tl-rail { left: 7px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .tl-rail-fill { display: none; }
  .tl-pt { position: relative; left: auto; top: auto; width: 100%; height: auto; padding: 9px 0; text-align: left; }
  .tl-pt::before { left: -26px; top: 50%; margin-top: -7px; }
  .tl-pt::after { display: none; }
  .tl-pt span, .tl-pt:first-of-type span { position: static; transform: none; font-size: 14px; }
  .tl-scan { position: relative; left: auto; top: auto; width: auto; height: auto; background: none; padding: 9px 0; }
  .tl-scan::before { content: ""; position: absolute; left: -26px; top: 50%; width: 15px; height: 1px; background: var(--ink); }
  .tl-scan span { position: static; font-size: 12px; }
  .tl-card { grid-template-columns: 1fr; padding: 16px; }
  .tl-card time { grid-row: auto; }
  .dc-msg { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 8px 12px 4px; }
  .dc-av { width: 32px; height: 32px; }
  .dc-embed { padding: 10px 12px 12px; }
  .ships { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-packet { animation: none; left: calc(50% - 11px); opacity: 1; }
}
body.no-fx .flow-packet { animation: none; left: calc(50% - 11px); opacity: 1; }

html[data-theme^="white-"] .scanwin, html[data-theme^="light-"] .scanwin { box-shadow: 0 30px 70px -40px rgb(0 0 0 / .35); }
html[data-theme^="white-"] .dc, html[data-theme^="light-"] .dc { box-shadow: 0 30px 70px -40px rgb(0 0 0 / .45); }
html[data-theme^="white-"] .flow-packet, html[data-theme^="light-"] .flow-packet { box-shadow: 0 0 10px rgb(0 0 0 / .25); }

/* ---------- signed report demo (end of the privacy band) ---------- */
.seal { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.seal-copy h3 { font: 400 clamp(28px, 3vw, 38px)/1.08 var(--serif); letter-spacing: -.01em; }
.seal-copy p { margin-top: 14px; color: var(--titanium); font-size: 16px; max-width: 46ch; }
.seal-copy .seal-try { margin-top: 18px; font-size: 14px; color: var(--silver); }
.seal-card { border: 1px solid var(--line); border-radius: 16px; background: var(--raise); overflow: hidden; }
.seal-rows { display: grid; grid-template-columns: 1fr 1fr; }
.seal-row { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--line); cursor: text; }
.seal-row:nth-child(odd) { border-right: 1px solid var(--line); }
.seal-row > span { font-size: 12px; color: var(--dim); }
.seal-row input, .seal-row select {
  width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px;
  background: rgb(var(--tint) / .025); color: var(--ink); font: 500 14.5px/1 var(--sans); outline: 0;
  transition: border-color .2s, background .2s;
}
.seal-row select { cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
.seal-row select option { background: var(--raise); color: var(--ink); }
.seal-row input:focus, .seal-row select:focus { border-color: var(--ink); }
.seal-row input.is-changed, .seal-row select.is-changed { border-style: dashed; border-color: var(--ink); }
#seal-pin, #seal-player { font-family: var(--mono); letter-spacing: .02em; }
.seal-sig { display: grid; gap: 14px; padding: 18px 20px; }
.seal-sig small { display: block; font-size: 12px; color: var(--dim); margin-bottom: 5px; }
.seal-sig code { display: block; font: 500 13px/1.4 var(--mono); color: var(--silver); letter-spacing: .04em; word-break: break-all; }
.seal-sig mark { background: var(--ink); color: var(--void); border-radius: 2px; }
.seal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: rgb(var(--tint) / .015); }
.seal-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.seal-state::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--void); font-size: 10px; font-weight: 700; line-height: 1; }
.seal-card.is-bad .seal-state::before { content: "!"; background: transparent; color: var(--ink); border: 1.5px dashed var(--ink); }
.seal-undo { font-size: 13px; color: var(--titanium); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.seal-undo:hover { color: var(--ink); }

/* ---------- story: PIN on SHROUD, link in Discord, verdict back in Discord ---------- */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: center; }
.st-app { border: 1px solid var(--line-2); border-radius: 14px; background: var(--raise); overflow: hidden; box-shadow: 0 30px 80px -40px rgb(var(--shade) / .9); }
.st-body { display: grid; padding: 22px; }
.st-form, .st-done { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.st-done { opacity: 0; transform: translateY(8px); visibility: hidden; }
.story.is-made .st-form { opacity: 0; transform: translateY(-8px); visibility: hidden; }
.story.is-made .st-done { opacity: 1; transform: none; visibility: visible; }
.st-h { font: 500 15px/1.3 var(--sans); }
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field > span:first-child { font-size: 12px; color: var(--dim); }
.st-input { display: flex; align-items: center; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 14px; color: var(--silver); }
.st-btn { display: grid; place-items: center; height: 40px; margin-top: 4px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); transition: transform .12s, background .2s, color .2s, border-color .2s; }
.st-btn-solid { background: var(--ink); color: var(--void); border-color: var(--ink); }
.st-btn.is-press { transform: scale(.96); }
.st-btn.is-ok { background: var(--ink); color: var(--void); border-color: var(--ink); }
.st-pin { display: grid; place-items: center; height: 64px; border: 1px dashed var(--line-2); border-radius: 12px; font: 500 26px/1 var(--mono); letter-spacing: .14em; }
.st-link { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font: 400 12px/1.45 var(--mono); color: var(--silver); word-break: break-all; transition: background .3s; }
.st-link.is-sel { background: rgb(var(--tint) / .12); }

.st-dc .dc-head { font-size: 15px; }
.st-dc .dc-feed { padding: 8px 0 6px; display: flex; flex-direction: column; justify-content: flex-end; }
.st-dc .dc-feed { height: 410px; min-height: 0; overflow: hidden; padding-bottom: 6px; }
.dc-start { padding: 0 16px 14px; display: grid; gap: 4px; }
.dc-start b { font-size: 22px; font-weight: 700; color: #f2f3f5; }
.dc-start span { font-size: 14px; color: #b5bac1; }
.dc-msg p a { color: #00a8fc; word-break: break-all; }
.dc-av-p { display: grid; place-items: center; background: #eb459e; color: #fff; font-weight: 600; }
.story.is-live .st-m { display: none; }
.story.is-live .st-m.is-in { display: grid; animation: st-in .4s var(--ease); }
@keyframes st-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-dc .dc-typing { height: 22px; padding: 0 16px; opacity: 0; }
.st-dc.is-typing .dc-typing { height: 22px; opacity: 1; }
.dc-compose { padding: 2px 16px 16px; }
.dc-input { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; background: #383a40; font-size: 14.5px; color: #dbdee1; overflow: hidden; white-space: nowrap; }
#dc-draft { overflow: hidden; text-overflow: clip; direction: ltr; }
.dc-ph { color: #6d6f78; }
.dc-caret { display: none; width: 1px; height: 18px; margin-left: 1px; background: #dbdee1; animation: dc-blink 1s steps(1) infinite; flex: none; }
.dc-input.is-focus .dc-caret { display: block; }
.dc-input.is-focus .dc-ph, .dc-input.has-text .dc-ph { display: none; }
@keyframes dc-blink { 50% { opacity: 0; } }

.st-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .3s, transform var(--d, .7s) cubic-bezier(.45, 0, .2, 1); will-change: transform; }
.story.is-live .st-cursor { opacity: 1; }
.st-cursor svg { width: 22px; height: 22px; fill: #fff; stroke: #000; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); transition: transform .12s; transform-origin: 5px 3px; }
.st-cursor.is-click svg { transform: scale(.84); }
.st-cursor::after { content: ""; position: absolute; left: -9px; top: -11px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgb(var(--tint) / .7); opacity: 0; transform: scale(.3); }
.st-cursor.is-click::after { animation: st-ripple .5s var(--ease); }
@keyframes st-ripple { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.3); } }

/* ---------- section dots (wide screens only) ---------- */
.secnav { position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%); display: none; flex-direction: column; align-items: flex-end; gap: 4px; }
.secnav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 20px; padding-left: 8px; }
.secnav a::after { content: ""; width: 6px; height: 6px; border-radius: 6px; background: rgb(var(--tint) / .22); transition: height .35s var(--ease), background .25s; }
.secnav a:hover::after { background: rgb(var(--tint) / .6); }
.secnav a.is-on::after { height: 18px; background: var(--ink); }
.secnav span { font-size: 12px; color: var(--titanium); white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: rgb(var(--base) / .85); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.secnav:hover span { opacity: .7; transform: none; }
.secnav a:hover span, .secnav a:focus-visible span { opacity: 1; color: var(--ink); transform: none; }
.secnav a:focus-visible { outline: 0; }
.secnav a:focus-visible::after { box-shadow: 0 0 0 2px var(--void), 0 0 0 3px var(--ink); }
@media (min-width: 1360px) { .secnav { display: flex; } }

@media (max-width: 1080px) {
  .seal { grid-template-columns: 1fr; gap: 28px; }
  .story { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .st-app { width: min(380px, 100%); }
  .st-cursor { display: none; }
}
@media (max-width: 680px) {
  .seal { margin-top: 40px; }
  .seal-rows { grid-template-columns: 1fr; }
  .seal-row:nth-child(odd) { border-right: 0; }
  .seal-row, .seal-sig, .seal-foot { padding-left: 16px; padding-right: 16px; }
  .st-dc .dc-feed { height: auto; min-height: 0; }
  .dc-start b { font-size: 18px; }
  .dc-compose { padding: 2px 12px 12px; }
}

/* ---------- verdict picker: the site's drop-down (same feel as the report menu in the scanner page) ---------- */
.seal-card { overflow: visible; }
.seal-foot { border-radius: 0 0 16px 16px; }
.seal-row-pick { cursor: default; }
.seal-pick { position: relative; }
.seal-pick-btn {
  width: 100%; height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 10px; text-align: left;
  border: 1px solid var(--line-2); border-radius: 8px; background: rgb(var(--tint) / .025); color: var(--ink);
  font: 500 14.5px/1 var(--sans); transition: border-color .2s, background .2s;
}
.seal-pick-btn:hover { border-color: rgb(var(--tint) / .32); background: rgb(var(--tint) / .05); }
.seal-pick-btn[aria-expanded="true"] { border-color: var(--ink); }
.seal-pick-btn.is-changed { border-style: dashed; border-color: var(--ink); }
.seal-pick-btn .vd-mark, .seal-opt .vd-mark { flex: none; width: 10px; height: 10px; border-width: 1.5px; }
.seal-pick-btn svg { margin-left: auto; width: 14px; height: 14px; fill: none; stroke: var(--titanium); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.seal-pick-btn[aria-expanded="true"] svg { transform: rotate(180deg); stroke: var(--ink); }
.seal-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 6px; outline: 0;
  background: rgb(var(--base) / .94); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 26px 60px -20px rgb(var(--shade) / .9), 0 0 0 1px rgb(var(--tint) / .03) inset;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform-origin: top center; animation: pick-in .28s var(--ease);
}
.seal-menu.is-closing { animation: pick-out .17s ease forwards; }
@keyframes pick-in { 0% { opacity: 0; transform: translateY(-6px) scale(.92); } 70% { opacity: 1; transform: translateY(0) scale(1.015); } 100% { opacity: 1; transform: none; } }
@keyframes pick-out { to { opacity: 0; transform: translateY(-4px) scale(.95); } }
.seal-opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--silver);
  transition: background .15s, color .15s, padding-left .15s, transform .15s, box-shadow .2s;
}
.seal-opt.is-act { background: rgb(var(--tint) / .07); color: var(--ink); padding-left: 14px; transform: translateX(2px); box-shadow: inset 0 0 0 1px rgb(var(--tint) / .1); }
.seal-opt[aria-selected="true"] { color: var(--ink); }
.seal-opt[aria-selected="true"]::after { content: "\2713"; margin-left: auto; font-size: 12px; color: var(--ink); }
.seal-menu:focus-visible .seal-opt.is-act { box-shadow: inset 0 0 0 1px var(--ink); }
html[data-theme^="white-"] .seal-menu, html[data-theme^="light-"] .seal-menu { box-shadow: 0 22px 50px -22px rgb(0 0 0 / .3); }

/* 1.0.9: nav labels stay on one line; the search button folds away before the links wrap (Ctrl+K still opens it) */
.nav-links a { white-space: nowrap; }
@media (max-width: 1360px) { .pal-open span { display: none; } .pal-open { padding: 0 8px; } }
@media (max-width: 1240px) and (min-width: 1081px) { .pal-open { display: none; } }
