/* Privacy Frog — scanner-console art direction. Frog green on charcoal, Sora + JetBrains Mono.
   The site is a set of full-screen pages (.view) that slide sideways; see js/router.js. */
:root {
  --primary: #39ff14;
  --mint: #b4f7a3;
  --accent: #8b5cf6;
  --on-primary: #06110a;
  --bg: #080b09;
  --card: rgba(18, 24, 18, 0.72);
  --text: #e8ece7;
  --muted: #9aa69b;
  --faint: #6a776c;
  --line: rgba(57, 255, 20, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(57, 255, 20, 0.32);
  --grad: linear-gradient(135deg, #6bff4a 0%, #39ff14 50%, #2bd90c 100%);
  --grad-text: linear-gradient(100deg, #39ff14 0%, #9dff82 55%, #39ff14 100%);
  --glow: 0 0 40px -8px rgba(57, 255, 20, 0.55);
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(16px, 4vw, 44px);
  --nav-h: 74px;
  color-scheme: dark;
}
/* Room for the side arrows on desktop */
@media (min-width: 881px) { :root { --gutter: clamp(84px, 7vw, 104px); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(57, 255, 20, 0.5); color: var(--on-primary); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Layered background: WebGL frog, then a faint dot grid with a top glow */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.grid-bg {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(rgba(57, 255, 20, 0.07) 1px, transparent 1px),
    radial-gradient(1200px 600px at 78% -5%, rgba(57, 255, 20, 0.1), transparent 60%);
  background-size: 34px 34px, 100% 100%;
}

.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }

/* Buttons */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad); color: var(--on-primary); box-shadow: 0 0 0 1px rgba(200, 255, 185, 0.35) inset, var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(200, 255, 185, 0.5) inset, 0 0 50px -6px rgba(57, 255, 20, 0.85); }
.btn--dark { background: #0b120d; color: var(--primary); }
.btn--dark:hover { transform: translateY(-2px); background: #000; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn:focus-visible, .console input:focus-visible, summary:focus-visible, .story__step:focus-visible, .edge:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { height: 32px; width: auto; filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.45)); }
.brand__word { font-weight: 800; font-size: 20px; letter-spacing: -0.035em; line-height: 1; color: #fff; white-space: nowrap; }
.brand__word span { color: var(--primary); }

/* Nav + page progress */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, rgba(8, 11, 9, 0.95) 0%, rgba(8, 11, 9, 0.7) 75%, rgba(8, 11, 9, 0)); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; color: #c9cfca; }
.nav__links a { position: relative; transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--primary); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px; background: var(--primary); transition: right 0.25s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { right: 0; }
.progress { display: flex; gap: 6px; margin-top: -6px; }
.progress i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); transition: background 0.5s var(--ease), box-shadow 0.5s; }
.progress i.is-past { background: rgba(57, 255, 20, 0.35); }
.progress i.is-on { background: var(--primary); box-shadow: 0 0 10px rgba(57, 255, 20, 0.8); }

/* ---------- Pages ---------- */
.views { position: fixed; inset: 0; z-index: 2; }
.view {
  position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(57, 255, 20, 0.3) transparent;
  opacity: 0; visibility: hidden; transform: translateX(14vw);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease), visibility 0s linear 0.8s;
}
.view.is-before { transform: translateX(-14vw); }
.view.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--ease) 0.1s, transform 0.8s var(--ease), visibility 0s; }
.view > .section, .view > .hero { min-height: 100%; }
.section { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 30px) 0 44px; }
.section__head { max-width: 720px; margin: 0 0 36px; }
.section h2 { font-size: clamp(32px, 4.2vw, 54px); color: #f3f7f4; }
.section__head h2 { margin-top: 12px; }
.view__foot { margin-top: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); }

/* Side arrows (desktop) */
.edge { position: fixed; top: 50%; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(-50%); transition: opacity 0.3s; }
.edge--prev { left: 22px; }
.edge--next { right: 22px; flex-direction: row-reverse; }
.edge.is-off { opacity: 0; pointer-events: none; }
.edge__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8, 11, 9, 0.75); color: var(--primary); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.edge__ico svg { width: 20px; height: 20px; }
.edge--prev .edge__ico svg { transform: rotate(180deg); }
.edge:hover .edge__ico { background: var(--primary); color: var(--on-primary); box-shadow: var(--glow); transform: scale(1.06); }
.edge__label { padding: 6px 10px; border-radius: 8px; background: rgba(8, 11, 9, 0.9); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s var(--ease); pointer-events: none; }
.edge--next .edge__label { transform: translateX(6px); }
.edge:hover .edge__label, .edge:focus-visible .edge__label { opacity: 1; transform: none; }

/* Bottom pager (phones only) */
.pager { display: none; }

/* Status line */
.status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #c7cdc8; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(57, 255, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); } }

/* ---------- Home ---------- */
.hero { position: relative; display: flex; flex-direction: column; padding-top: var(--nav-h); }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { max-width: 640px; padding: 12px 0 16px; }
.hero__title { font-size: clamp(44px, min(6.2vw, 10vh), 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; margin: 16px 0 20px; color: #fff; }
.hero__title .line { display: block; }
.hero__title .grad { filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.3)); }
.hero__lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: #c3cac4; max-width: 540px; }
.hero__side { position: relative; align-self: stretch; display: flex; align-items: center; min-height: 440px; }
.hero__fallback { display: none; }

/* Home has two moods: the frog (intro) and the results panel (scan) */
.hero[data-mode="intro"] .panel { display: none; }
.hero[data-mode="scan"] .leaks, .hero[data-mode="scan"] .hero__fallback { display: none; }
.hero[data-mode="scan"] .panel { animation: panel-in 0.7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(40px) scale(0.97); } }

/* Console search */
.console {
  position: relative; display: flex; align-items: center; gap: 12px; margin-top: 26px; max-width: 620px; height: 66px;
  padding: 8px 8px 8px 20px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 20, 15, 0.9), rgba(10, 14, 11, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 40px -20px rgba(57, 255, 20, 0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.console::before, .console::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--primary); opacity: 0.6; }
.console::before { left: 7px; top: 7px; border-right: 0; border-bottom: 0; }
.console::after { right: 7px; bottom: 7px; border-left: 0; border-top: 0; }
.console:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.14), inset 0 0 40px -16px rgba(57, 255, 20, 0.6); }
.console__prompt { flex: none; font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--primary); }
.console input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-family: var(--mono); font-size: 15px; color: #fff; }
.console input::placeholder { color: #7f8a80; }
.console__go { flex: none; height: 50px; padding: 0 22px; }
.console.is-shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--primary); }

.ip-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 16px; padding: 7px 14px 7px 12px;
  border-radius: 999px; font-size: 13px; color: #d5dbd7;
  background: rgba(244, 63, 94, 0.08); border: 1px solid rgba(244, 63, 94, 0.28);
  transition: background 0.25s, border-color 0.25s;
}
.ip-pill[hidden] { display: none; }
.ip-pill:hover { background: rgba(244, 63, 94, 0.14); border-color: rgba(244, 63, 94, 0.45); }
.ip-pill b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; }
.ip-pill > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-pill svg { width: 14px; height: 14px; flex: none; color: #fb7185; }
.ip-pill__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fb7185; animation: pulse-red 2s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(251, 113, 133, 0); } }

/* Leak chips: sample data around the frog, each redacted in turn */
.leaks { position: absolute; inset: 0; pointer-events: none; }
.leak {
  position: absolute; left: var(--x); top: calc(var(--y) + 20px);
  display: grid; grid-template-columns: auto auto; align-items: center; gap: 5px 14px;
  padding: 10px 13px; border-radius: 10px;
  background: rgba(9, 13, 10, 0.86); border: 1px solid rgba(251, 113, 133, 0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9);
  opacity: 0; animation: leak 8s var(--ease) var(--d) infinite;
}
.leak__k { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.leak__tag { justify-self: end; display: grid; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.leak__tag i { grid-area: 1 / 1; font-style: normal; text-align: right; }
.leak__tag .is-bad { color: #fb7185; animation: leak-bad 8s var(--d) infinite; }
.leak__tag .is-good { color: var(--primary); opacity: 0; animation: leak-good 8s var(--d) infinite; }
.leak__v { grid-column: 1 / -1; position: relative; font-size: 13px; color: #fff; white-space: nowrap; }
.leak__v::after { content: ""; position: absolute; inset: -1px -4px; border-radius: 3px; background: #030503; box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.55), 0 0 12px rgba(57, 255, 20, 0.35); transform: scaleX(0); transform-origin: left; animation: leak-bar 8s var(--ease) var(--d) infinite; }
@keyframes leak {
  0% { opacity: 0; transform: translateY(10px); border-color: rgba(251, 113, 133, 0.5); }
  6% { opacity: 1; transform: none; }
  50% { border-color: rgba(251, 113, 133, 0.5); }
  56% { border-color: rgba(57, 255, 20, 0.55); }
  86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); border-color: rgba(57, 255, 20, 0.55); }
}
@keyframes leak-bar { 0%, 44% { transform: scaleX(0); } 54%, 100% { transform: scaleX(1); } }
@keyframes leak-bad { 0%, 50% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes leak-good { 0%, 50% { opacity: 0; } 55%, 100% { opacity: 1; } }

/* Ticker along the foot of Home */
.ticker { position: relative; margin-top: 12px; padding: 12px 0; border-top: 1px solid var(--line); overflow: hidden; background: rgba(8, 11, 9, 0.55); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--muted); animation: marquee 34s linear infinite; }
.ticker__group { display: inline-flex; flex: none; align-items: center; gap: 16px; padding-right: 16px; }
.ticker__item b { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker__sep { color: var(--faint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scan panel (lives on Home) ---------- */
.panel {
  position: relative; width: 100%; max-height: calc(100svh - var(--nav-h) - 110px); overflow-y: auto; padding: 26px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 27, 20, 0.94), rgba(10, 14, 11, 0.96));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -40px rgba(57, 255, 20, 0.35), inset 0 0 60px -40px rgba(57, 255, 20, 0.5);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  scrollbar-width: thin; scrollbar-color: rgba(57, 255, 20, 0.3) transparent;
}
.panel__tag { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--faint); }
.panel > div { display: none; }
.panel[data-state="idle"] .panel__idle,
.panel[data-state="scanning"] .panel__scanning,
.panel[data-state="results"] .panel__results,
.panel[data-state="paying"] .panel__results,
.panel[data-state="removing"] .panel__results,
.panel[data-state="removed"] .panel__results { display: flex; flex-direction: column; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel__idle { align-items: center; justify-content: center; text-align: center; gap: 18px; min-height: 380px; color: var(--muted); }
.panel__idle p { max-width: 300px; }
.panel__mascot { width: 170px; height: auto; filter: drop-shadow(0 0 34px rgba(57, 255, 20, 0.35)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.panel__scanning { justify-content: center; gap: 16px; min-height: 380px; }
.scanhead { display: flex; align-items: center; gap: 18px; }
.scanhead__text { min-width: 0; }
.scanhead__query { margin-top: 4px; font-family: var(--mono); font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scanhead__query b { color: var(--mint); font-weight: 500; }
.radar { position: relative; flex: none; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(57, 255, 20, 0.14), transparent 70%); }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(57, 255, 20, 0.45); animation: ring 2.1s var(--ease) infinite; opacity: 0; }
.radar span:nth-child(2) { animation-delay: 0.7s; }
.radar span:nth-child(3) { animation-delay: 1.4s; }
.radar__sweep { position: absolute; inset: 4px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(57, 255, 20, 0.45), rgba(57, 255, 20, 0) 28%); animation: sweep-rot 1.6s linear infinite; }
.radar img { position: relative; width: 54px; height: auto; filter: drop-shadow(0 0 14px rgba(57, 255, 20, 0.55)); }
@keyframes ring { from { transform: scale(0.45); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@keyframes sweep-rot { to { transform: rotate(360deg); } }
.panel__status { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #eef3ef; }
.bar { position: relative; width: 100%; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar i { position: relative; display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; box-shadow: 0 0 14px rgba(57, 255, 20, 0.8); overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.scanmeta { display: flex; justify-content: space-between; margin-top: -8px; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.scanmeta b { color: #fff; font-weight: 500; }

.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.check { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 13px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.4s, border-color 0.4s, opacity 0.4s; }
.check[data-state="pending"] { opacity: 0.45; }
.check[data-state="active"] { background: rgba(57, 255, 20, 0.08); border-color: var(--line-strong); }
.check__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(57, 255, 20, 0.12); color: var(--primary); }
.check__ico svg { width: 16px; height: 16px; }
.check__label { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: #e3e8e5; }
.check__val { font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.check[data-state="done"] .check__val { color: #fb7185; font-weight: 500; }
.check__mark { position: relative; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); }
.check__mark svg { width: 13px; height: 13px; color: var(--on-primary); opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.4s var(--ease); }
.check[data-state="active"] .check__mark { border-color: rgba(57, 255, 20, 0.22); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }
.check[data-state="done"] .check__mark { border-color: transparent; background: var(--grad); box-shadow: 0 0 12px rgba(57, 255, 20, 0.6); }
.check[data-state="done"] .check__mark svg { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel__q { color: var(--mint) !important; word-break: break-all; }

.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 70px; }
.panel__head h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.badge svg { width: 15px; height: 15px; }
.badge--risk { background: rgba(244, 63, 94, 0.16); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.badge--safe { background: rgba(57, 255, 20, 0.12); color: var(--primary); border: 1px solid var(--line-strong); }
.panel__sub { margin: 8px 0 14px; font-size: 14px; color: var(--muted); }
.panel__sub b { color: #fff; font-variant-numeric: tabular-nums; }

.rows { list-style: none; margin: 0 0 18px; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); opacity: 0; transform: translateY(6px); animation: rowIn 0.45s var(--ease) forwards; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.row__ico { width: 21px; height: 21px; color: var(--primary); flex: none; }
.row__label { flex: 1; font-size: 14px; color: #d9dfdb; }
.row__count { font-weight: 700; font-size: 17px; color: #fb7185; font-variant-numeric: tabular-nums; }
.row.is-clean .row__count { color: var(--primary); }
.row.is-clean .row__label { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(57, 255, 20, 0.5); }
.row.is-working { background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent); background-size: 200% 100%; animation: sweep 0.8s linear infinite; opacity: 1; transform: none; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.panel__foot { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--faint); }
.panel__foot a { color: var(--primary); text-decoration: underline; }
.panel__foot.is-error { color: #fb7185; }

/* Records drill-down */
.records { margin: 0 0 16px; }
.records__toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 14px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--mint); background: rgba(57, 255, 20, 0.07); border: 1px solid var(--line); transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.records__toggle:hover { background: rgba(57, 255, 20, 0.12); border-color: var(--line-strong); }
.records__chev { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.records__toggle[aria-expanded="true"] .records__chev { transform: rotate(90deg); }
.records__body { margin-top: 12px; max-height: 320px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 14px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(57, 255, 20, 0.3) transparent; }
.records__body[hidden] { display: none; }
.recgrp__head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.recgrp__name { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: #d9dfdb; word-break: break-word; }
.recgrp__count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; flex: none; }
.recgrp__list { display: flex; flex-direction: column; gap: 8px; }
.rec { border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.rec__k { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); white-space: nowrap; }
.rec__v { font-size: 13px; color: #e5e7eb; word-break: break-all; font-variant-numeric: tabular-nums; }
.rec__v.is-secret { color: #fb7185; font-weight: 700; font-family: var(--mono); word-break: break-all; }
.rec__v.is-cracked { color: var(--primary); }
.rec__plain { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.rec__plain::before { content: "→"; color: var(--faint); font-weight: 400; }
.records__more { font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-align: center; padding: 4px 0 2px; }
.records__crack { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.crackbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--on-primary); background: var(--grad); border: 0; box-shadow: 0 4px 14px rgba(57, 255, 20, 0.25); transition: filter 0.2s var(--ease), opacity 0.2s var(--ease); }
.crackbtn:hover { filter: brightness(1.08); }
.crackbtn:disabled { opacity: 0.55; cursor: default; filter: none; }
.crackbtn svg { width: 15px; height: 15px; }
.records__crack-note { font-size: 12px; color: var(--faint); }
.records__crack-note.is-done { color: var(--primary); }

/* ---------- How it works: a little app window acts out each step ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; }
.story__steps::before, .story__steps::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; border-radius: 2px; }
.story__steps::before { bottom: 0; background: var(--line-soft); }
.story__steps::after { height: var(--progress, 33%); background: var(--primary); box-shadow: 0 0 14px rgba(57, 255, 20, 0.8); transition: height 0.6s var(--ease); }
.story .section__head { margin-bottom: 22px; }
.story__step { position: relative; padding: 11px 0; opacity: 0.35; cursor: pointer; transition: opacity 0.4s var(--ease); }
.story__step:hover { opacity: 0.7; }
.story__step.is-active { opacity: 1; }
.story__num { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.story__step h3 { font-size: clamp(21px, 2.1vw, 28px); margin: 6px 0 5px; color: #fff; }
.story__step p { font-size: 15px; color: var(--muted); max-width: 440px; }
/* countdown bar under the active step; when it fills, the next step plays */
.story__step::after { content: ""; display: block; width: 0; height: 2px; margin-top: 10px; border-radius: 2px; background: var(--primary); opacity: 0.7; }
.story__steps.is-playing .story__step.is-active::after { animation: countdown 4.8s linear forwards; }
.story__steps.is-playing:hover .story__step.is-active::after { animation-play-state: paused; }
@keyframes countdown { to { width: 100%; } }

.stage {
  position: relative; height: 420px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 27, 20, 0.95), rgba(9, 13, 10, 0.97));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -40px rgba(57, 255, 20, 0.4), inset 0 0 60px -40px rgba(57, 255, 20, 0.5);
}
.stage__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02); }
.stage__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.stage__bar i:first-child { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.stage__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.stage__body { height: calc(100% - 42px); padding: 26px 28px; }
.stage__s { display: none; height: 100%; flex-direction: column; animation: fadeUp 0.5s var(--ease); }
.stage[data-step="1"] .stage__s1, .stage[data-step="2"] .stage__s2, .stage[data-step="3"] .stage__s3 { display: flex; }
.stage__label { margin-bottom: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.stage__input { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(6, 9, 7, 0.85); font-family: var(--mono); font-size: 16px; color: #fff; }
.stage__p { color: var(--primary); font-weight: 700; }
.stage__type { display: inline-block; width: 0; overflow: hidden; white-space: nowrap; animation: type 1.5s steps(18) 0.4s forwards; }
@keyframes type { to { width: 18ch; } }
.stage__caret { width: 9px; height: 20px; margin-left: -8px; background: var(--primary); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stage__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 46px; margin-top: 16px; padding: 0 22px; border-radius: 10px; background: var(--grad); color: var(--on-primary); font-weight: 700; font-size: 14.5px; box-shadow: var(--glow); animation: press 0.5s var(--ease) 2.1s both; }
.stage__btn svg { width: 16px; height: 16px; }
@keyframes press { 40% { transform: scale(0.92); filter: brightness(1.3); } }
.stage__hints { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding: 0; }
.stage__hints li { padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-soft); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.stage__hints b { color: var(--primary); }
.stage__big { margin-bottom: 18px; font-size: 14.5px; color: var(--muted); }
.stage__big b { display: block; margin-bottom: 4px; font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #fb7185; text-shadow: 0 0 30px rgba(251, 113, 133, 0.35); }
.stage__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.stage__rows li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; font-size: 14.5px; color: #d9dfdb; opacity: 0; animation: rowIn 0.45s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + 150ms); }
.stage__rows li b { font-family: var(--mono); font-weight: 700; color: #fb7185; }
.stage__rows li::before, .stage__rows li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; }
.stage__rows li::before { right: 0; background: rgba(255, 255, 255, 0.06); }
.stage__rows li::after { width: var(--w, 100%); background: linear-gradient(90deg, #fb7185, rgba(251, 113, 133, 0.25)); transform: scaleX(0); transform-origin: left; animation: grow 0.8s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + 400ms); }
@keyframes grow { to { transform: scaleX(1); } }
.stage__s3 .stage__rows li span { position: relative; }
.stage__s3 .stage__rows li span::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: var(--primary); transform: scaleX(0); transform-origin: left; animation: grow 0.45s var(--ease) forwards; animation-delay: calc(var(--i) * 260ms + 450ms); }
.stage__s3 .stage__rows li b { color: var(--primary); font-weight: 500; font-size: 12.5px; }
.stage__s3 .stage__rows li::after { background: var(--primary); animation-delay: calc(var(--i) * 260ms + 450ms); }
.stage__done { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 16px; border-radius: 12px; background: rgba(57, 255, 20, 0.08); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: #fff; opacity: 0; animation: fadeUp 0.5s var(--ease) 1.7s forwards; }
.stage__done img { width: 40px; height: auto; }

/* ---------- What we find: a sample case file the frog redacts ---------- */
.find__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 590px); gap: clamp(36px, 6vw, 90px); align-items: center; }
.find__copy h2 { margin: 12px 0 16px; }
.find__copy > p:not(.eyebrow) { color: #aab2ac; font-size: 16.5px; max-width: 460px; margin-bottom: 26px; }
.find__legend { list-style: none; display: flex; gap: 22px; margin: 20px 0 0; padding: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.find__legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 3px; }
.dot--red { background: #fb7185; }
.dot--green { background: var(--primary); box-shadow: 0 0 8px var(--primary); }

.dossier-wrap { perspective: 1400px; }
.dossier {
  position: relative; padding: 28px 26px 16px; border-radius: 18px; font-family: var(--mono);
  background: linear-gradient(180deg, rgba(23, 29, 23, 0.97), rgba(11, 15, 12, 0.98));
  border: 1px solid rgba(251, 113, 133, 0.28);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 30px 90px -50px rgba(251, 113, 133, 0.35);
  transform: rotate(-1.4deg) rotateY(-4deg); transition: transform 0.6s var(--ease), border-color 0.6s, box-shadow 0.6s;
}
.dossier:hover { transform: none; }
.dossier.is-clean { border-color: rgba(57, 255, 20, 0.4); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 30px 90px -40px rgba(57, 255, 20, 0.45); }
.dossier::before { content: "CONFIDENTIAL"; position: absolute; top: -12px; left: 26px; padding: 4px 10px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; background: #fb7185; color: #1c0509; transition: background 0.4s; }
.dossier.is-clean::before { content: "SCRUBBED"; background: var(--primary); color: var(--on-primary); }
.dossier__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 0 130px 16px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.dossier__avatar { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line-soft); color: var(--faint); background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 6px, transparent 6px 12px), rgba(255, 255, 255, 0.03); }
.dossier__avatar svg { width: 26px; height: 26px; }
.dossier__kicker { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.dossier__head h3 { margin: 4px 0 2px; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; color: #fff; }
.dossier__meta { font-size: 11.5px; color: var(--muted); }
.dossier__stamp { position: absolute; top: 0; right: 0; display: grid; transform: rotate(9deg); }
.dossier__stamp span { grid-area: 1 / 1; padding: 6px 12px; border: 2.5px solid currentColor; border-radius: 6px; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
.dossier__stamp .is-bad { color: #fb7185; opacity: 0.9; }
.dossier__stamp .is-good { color: var(--primary); opacity: 0; transform: scale(1.8); text-shadow: 0 0 12px rgba(57, 255, 20, 0.6); }
.dossier.is-clean .dossier__stamp .is-bad { opacity: 0; transform: scale(0.8); }
.dossier.is-clean .dossier__stamp .is-good { opacity: 1; transform: none; }
.dossier__rows { margin: 4px 0 0; }
.drow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.drow dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.drow dd { margin: 0; min-width: 0; }
.drow__v { position: relative; display: inline-block; max-width: 100%; overflow: hidden; vertical-align: middle; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; color: #f1f3f1; transition: color 0.2s 0.2s; }
.drow__v::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: #030503; box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.5); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.drow.is-redacted .drow__v { color: transparent; }
.drow.is-redacted .drow__v::after { transform: scaleX(1); }
.drow__src { display: grid; justify-items: end; font-size: 11px; white-space: nowrap; }
.drow__src span { grid-area: 1 / 1; transition: opacity 0.3s; }
.drow__src .is-bad { color: #fb7185; }
.drow__src .is-good { color: var(--primary); opacity: 0; }
.drow.is-redacted .drow__src .is-bad { opacity: 0; }
.drow.is-redacted .drow__src .is-good { opacity: 1; }
.dossier__foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 11px; color: var(--faint); }
#dossierCount { color: var(--muted); }

/* ---------- Your connection ---------- */
.exposed__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.exposed__copy h2 { margin: 12px 0 16px; }
.exposed__copy > p:not(.eyebrow):not(.exposed__note) { color: #aab2ac; font-size: 17px; max-width: 460px; margin-bottom: 28px; }
.exposed__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--faint); }
.exposed__note svg { width: 16px; height: 16px; flex: none; color: var(--primary); }

.geo { position: relative; overflow: hidden; border-radius: 22px; background: radial-gradient(120% 80% at 50% 35%, rgba(20, 83, 45, 0.35), rgba(11, 15, 13, 0.95) 70%); border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -40px rgba(57, 255, 20, 0.32); }
.geo__map { position: relative; height: 320px; overflow: hidden; }
.geo__sat { position: absolute; inset: 0; opacity: 0; transform: scale(1.6); filter: saturate(1.05) brightness(1.05) contrast(1.05); }
.geo[data-state="ready"] .geo__sat { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 2.8s cubic-bezier(0.16, 1, 0.3, 1); }
.geo__tile { position: absolute; display: block; max-width: none; user-select: none; }
.geo__full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.geo__tint { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 0 40%, rgba(11, 15, 13, 0.6) 100%), linear-gradient(180deg, rgba(20, 83, 45, 0.14), rgba(11, 15, 13, 0.22)); }
.geo__area { position: absolute; left: 50%; top: 50%; width: var(--area, 160px); height: var(--area, 160px); border-radius: 50%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; background: radial-gradient(circle, rgba(57, 255, 20, 0.26), rgba(57, 255, 20, 0.1) 65%, rgba(57, 255, 20, 0.04)); border: 1.5px dashed rgba(200, 255, 185, 0.85); box-shadow: 0 0 40px rgba(57, 255, 20, 0.35), inset 0 0 30px rgba(57, 255, 20, 0.25); transition: opacity 0.7s var(--ease) 1.6s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.6s; }
.geo[data-state="ready"] .geo__area { opacity: 1; transform: translate(-50%, -50%); }
.geo__area span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(140, 255, 115, 0.6); animation: geo-ping 3s var(--ease) infinite; }
.geo__coords { position: absolute; left: 18px; top: 282px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; color: #e8ffe0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); white-space: nowrap; opacity: 0; transition: opacity 0.6s 2s; }
.geo__credit { position: absolute; right: 12px; top: 300px; font-size: 10px; color: rgba(255, 255, 255, 0.45); }
.geo[data-state="ready"] .geo__coords { opacity: 1; }
@keyframes geo-ping { from { transform: scale(0.15); opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
.geo__badge { position: absolute; top: 18px; left: 18px; opacity: 0; transition: opacity 0.5s; }
.geo[data-state="ready"] .geo__badge, .geo[data-state="nomap"] .geo__badge { opacity: 1; }
.geo__msg { position: absolute; left: 0; right: 0; top: 140px; text-align: center; font-size: 14px; color: var(--muted); }
.geo[data-state="loading"] .geo__msg { animation: blink-soft 1.4s ease-in-out infinite; }
.geo[data-state="ready"] .geo__msg, .geo[data-state="loaded"] .geo__msg, .geo[data-state="nomap"] .geo__msg { display: none; }
@keyframes blink-soft { 50% { opacity: 0.4; } }
.geo__facts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.geo__facts div { padding: 14px 20px; background: rgba(11, 15, 13, 0.92); min-width: 0; }
.geo__facts dt { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.geo__facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: #eef3ef; overflow-wrap: anywhere; }
.geo[data-state="loading"] .geo__facts dd { color: transparent; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05)); background-size: 200% 100%; border-radius: 6px; animation: skel 1.2s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.geo[data-state="error"] .geo__facts { display: none; }

/* ---------- Pricing: a torn paper receipt ---------- */
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 6vw, 110px); align-items: center; }
.pricing__copy h2 { margin: 12px 0 16px; }
.pricing__copy > p:not(.eyebrow) { color: #aab2ac; font-size: 17px; max-width: 460px; }
.points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: #d9dfdb; }
.points svg { flex: none; width: 18px; height: 18px; color: var(--primary); }
.receipt-wrap { filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 50px rgba(57, 255, 20, 0.16)); transform: rotate(2deg); transition: transform 0.6s var(--ease); }
.receipt-wrap:hover { transform: rotate(0) translateY(-6px); }
.receipt {
  --zig: 14px;
  padding: 30px 28px 28px; background: #eef5ea; color: #0b120d; font-family: var(--mono);
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zig) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zig) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zig) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zig) 51% repeat-x;
}
.receipt__head { padding-bottom: 14px; text-align: center; border-bottom: 1.5px dashed rgba(11, 18, 13, 0.35); }
.receipt__head img { width: 52px; height: auto; margin: 0 auto 4px; }
.receipt__brand { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.receipt__brand span { color: #179e0a; }
.receipt__meta { margin-top: 2px; font-size: 11px; letter-spacing: 0.1em; color: rgba(11, 18, 13, 0.55); }
.receipt__lines { list-style: none; display: grid; gap: 9px; margin: 16px 0; padding: 0; font-size: 13px; }
.receipt__lines li { display: flex; align-items: baseline; gap: 8px; }
.receipt__lines i { flex: 1; min-width: 12px; border-bottom: 1.5px dotted rgba(11, 18, 13, 0.35); transform: translateY(-4px); }
.receipt__lines b { font-weight: 700; white-space: nowrap; }
.receipt__lines .is-free { color: #179e0a; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1.5px dashed rgba(11, 18, 13, 0.35); border-bottom: 1.5px dashed rgba(11, 18, 13, 0.35); }
.receipt__total span { font-size: 12px; letter-spacing: 0.22em; }
.receipt__total b { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.receipt__note { margin: 12px 0 14px; text-align: center; font-size: 11.5px; line-height: 1.6; color: rgba(11, 18, 13, 0.6); }
.receipt__barcode { height: 36px; margin: 0 6px 16px; background: repeating-linear-gradient(90deg, #0b120d 0 2px, transparent 2px 4px, #0b120d 4px 7px, transparent 7px 9px, #0b120d 9px 10px, transparent 10px 14px, #0b120d 14px 17px, transparent 17px 19px); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.faq__head h2 { margin-top: 12px; }
.faq__cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 18px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(57, 255, 20, 0.12), rgba(18, 24, 18, 0.6) 60%); border: 1px solid var(--line-strong); }
.faq__frog { flex: none; width: 104px; height: auto; filter: drop-shadow(0 0 24px rgba(57, 255, 20, 0.35)); animation: float 5s ease-in-out infinite; }
.faq__cta-title { margin-bottom: 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: #fff; }
.dissolve { display: inline-block; color: var(--primary); text-shadow: 0 0 24px rgba(57, 255, 20, 0.45); }
.dissolve span { display: inline-block; animation: dissolve 5.5s var(--ease) infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes dissolve {
  0%, 42% { opacity: 1; filter: none; transform: none; }
  58% { opacity: 0; filter: blur(10px); transform: translateY(-12px) scale(1.25); }
  74% { opacity: 0; filter: blur(10px); transform: translateY(10px) scale(0.9); }
  90%, 100% { opacity: 1; filter: none; transform: none; }
}
.faq__list { display: grid; gap: 12px; }
details { border-radius: 16px; background: var(--card); border: 1px solid var(--line-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
details[open] { border-color: var(--line-strong); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 600; font-size: 16px; border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; font-family: var(--mono); font-size: 13px; color: var(--primary); }
summary svg { width: 18px; height: 18px; margin-left: auto; color: var(--primary); flex: none; transition: transform 0.3s var(--ease); }
details[open] summary svg { transform: rotate(90deg); }
details p { padding: 0 22px 20px 52px; color: #a3abb3; font-size: 15px; }

/* ---------- Reveal animations (replayed each time a page opens) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.hero__title .line { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__title.in .line { opacity: 1; transform: none; }
.hero__title.in .line:nth-child(2) { transition-delay: 0.1s; }
.hero__title.in .line:nth-child(3) { transition-delay: 0.2s; }
.hero__title.reveal { opacity: 1; transform: none; }

/* No-WebGL fallback: the frog as a plain image on Home */
.no-webgl .hero[data-mode="intro"] .hero__fallback { display: grid; place-items: center; width: 100%; }
.no-webgl .hero__fallback img { width: min(110%, 600px); height: auto; filter: drop-shadow(0 0 60px rgba(57, 255, 20, 0.3)); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; font-size: 14px; }
  .leaks { display: none; }
}
@media (max-width: 1040px) {
  .nav__links a[data-nav="faq"] { display: none; }
}
@media (max-width: 880px) {
  :root { --nav-h: 64px; }
  .nav__links, .edge, .progress { display: none; }
  .nav__inner { height: var(--nav-h); }
  .brand__mark { height: 27px; }
  .brand__word { font-size: 18px; }

  /* Pages scroll on their own here; leave room for the bottom pager */
  .section { justify-content: flex-start; padding: calc(var(--nav-h) + 24px) 0 100px; }
  .hero { padding-bottom: 84px; }
  .pager {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 8px;
    border-radius: 16px; background: rgba(8, 11, 9, 0.9); border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .pager button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(57, 255, 20, 0.1); color: var(--primary); cursor: pointer; }
  .pager button:first-child svg { transform: rotate(180deg); }
  .pager button svg { width: 20px; height: 20px; }
  .pager button:disabled { opacity: 0.25; cursor: default; }
  .pager__label { display: grid; justify-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); line-height: 1.3; }
  .pager__label b { color: var(--primary); }
  .pager__title { font-family: var(--display); font-size: 14.5px; font-weight: 600; letter-spacing: 0; color: #fff; }

  /* Home: frog sits above the text; in scan mode the panel drops under the search */
  .hero__grid { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .hero__copy { padding-top: 32svh; }
  .hero[data-mode="scan"] .hero__copy { padding-top: 16px; }
  .hero__side { min-height: 0; }
  .panel { max-height: none; overflow: visible; }
  .no-webgl .hero__copy { padding-top: 16px; }
  .no-webgl .hero[data-mode="intro"] .hero__side { order: -1; }
  .no-webgl .hero__fallback img { width: 260px; }
  .ticker { margin-top: 24px; }

  .story__grid { grid-template-columns: 1fr; gap: 22px; }
  .story__stage { order: -1; }
  .stage { height: 370px; }
  .story__step { padding: 12px 0; }
  .find__grid, .exposed__grid, .pricing__grid, .faq__grid { grid-template-columns: 1fr; }
  .dossier-wrap, .receipt-wrap { max-width: 520px; }
  .geo__map { height: 250px; }
  .geo__msg { top: 105px; }
  .geo__coords { top: 214px; }
  .geo__credit { top: 232px; }
}
@media (max-width: 600px) {
  .geo__facts { grid-template-columns: 1fr; }
  .exposed__copy .btn { width: 100%; white-space: normal; text-align: center; }
  .console { height: auto; flex-wrap: wrap; padding: 14px; gap: 10px; }
  .console__prompt { display: none; }
  .console input { flex: 1 1 100%; height: 44px; padding: 0 6px; border-bottom: 1px solid var(--line); }
  .console__go { width: 100%; height: 48px; }
  .panel { padding: 20px; }
  .panel__idle, .panel__scanning { min-height: 0; }
  .panel__head { padding-right: 0; }
  .panel__tag { display: none; }
  .check__ico { display: none; }
  .radar { width: 72px; height: 72px; }
  .radar img { width: 44px; }
  .stage__body { padding: 20px 18px; }
  .stage__input { font-size: 14px; height: 54px; }
  .stage__big b { font-size: 46px; }
  .dossier { padding: 26px 16px 14px; transform: none; }
  .dossier__head { padding-right: 0; }
  .dossier__stamp { top: -4px; transform: rotate(9deg) scale(0.75); transform-origin: top right; }
  .drow { grid-template-columns: 70px minmax(0, 1fr); gap: 2px 12px; }
  .drow__src { grid-column: 2; justify-items: start; }
  .receipt { padding: 30px 20px 26px; }
  .faq__cta { flex-direction: column; align-items: flex-start; }
  details p { padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-stagger > *, .hero__title .line { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .leak { opacity: 1; }
  .stage__type { width: 18ch; }
}
