/* Pwned — one scrolling page, shaped like a premium privacy-SaaS site: DM Sans throughout,
   DM Sans for text, JetBrains Mono for data. Poster orange on black space, with a starfield,
   planet and rocket fixed behind everything (js/scene.js). */
:root {
  --primary: #ff6a00;
  --primary-hot: #ff8a2a;
  --mint: #ffc9a0;
  --on-primary: #140800;
  --bg: #000000;
  --paper: #f6f1ea;
  --ink: #1c120a;
  --card: rgba(20, 20, 21, 0.72);
  --text: #f2efe9;
  --muted: #a59f97;
  --faint: #6b665f;
  --line: rgba(255, 106, 0, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 106, 0, 0.34);
  --grad: linear-gradient(135deg, #ff8a2a 0%, #ff6a00 50%, #e85500 100%);
  --glow: 0 0 40px -8px rgba(255, 106, 0, 0.55);
  --sans: "DM Sans", 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(18px, 5vw, 64px);
  --nav-h: 80px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
::selection { background: rgba(255, 106, 0, 0.5); color: var(--on-primary); }

/* Headlines: the same sans as the body, heavier and tightly tracked */
h1, h2 {
  font-family: var(--sans); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.04; color: #f6f2ec;
}
h1 em, h2 em { font-style: normal; color: var(--primary); }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }

.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(1240px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

main, .nav, .footer { position: relative; z-index: 2; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

/* ---------- Space backdrop (fixed behind the whole page) ---------- */
.space { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(70% 55% at 50% 100%, rgba(255, 106, 0, 0.07), transparent 70%), #000; }
#stars, .space__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The horizon sits at the foot of the hero and sinks away once you scroll on */
.space .planet { transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.space[data-state="away"] .planet { transform: translateY(260px); opacity: 0.5; }

/* ---------- Buttons (pills) ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); background: var(--primary-hot); box-shadow: 0 0 50px -6px rgba(255, 106, 0, 0.85); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, 0.75); }
.btn--ghost:hover { transform: translateY(-2px); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--dark { background: var(--ink); color: var(--primary); border-radius: 12px; }
.btn--dark:hover { transform: translateY(-2px); background: #000; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14.5px; }
.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, .nav__toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ---------- Brand + nav ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; }
.brand__word { font-family: var(--sans); font-size: 26px; font-weight: 700; letter-spacing: -0.055em; line-height: 1; color: #f6f2ec; padding-bottom: 3px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; }
.nav.is-scrolled { background: rgba(0, 0, 0, 0.78); border-color: var(--line-soft); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 28px; }
.nav__links { display: flex; gap: 34px; font-size: 16px; font-weight: 500; color: #d6d1ca; }
.nav__links a { position: relative; transition: color 0.2s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 920px); padding: calc(var(--nav-h) + 30px) 0 70px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { max-width: 620px; }
.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: #cbc6bf; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); } }
.hero__title { margin: 20px 0 26px; font-size: clamp(46px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.05em; }
.hero__title .line { display: block; }
.hero__lede { max-width: 540px; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.6; color: #c9c3bb; }

.console {
  position: relative; display: flex; align-items: center; gap: 10px; max-width: 580px; height: 64px; margin-top: 34px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: rgba(14, 14, 15, 0.88); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.console:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.16); }
.console__icon { flex: none; width: 20px; height: 20px; color: var(--muted); }
.console input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 16px; color: #fff; }
.console input::placeholder { color: #8a847c; }
.console__go { flex: none; --h: 52px; padding: 0 24px; }
.console.is-shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.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: 22px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13.5px; color: #dad5ce; 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); } }

/* Hero right side: the dashboard (intro) or the live results panel (scan) */
.hero__side { position: relative; min-width: 0; align-self: center; }
.hero[data-mode="intro"] .panel { display: none; }
.hero[data-mode="scan"] .dash { 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); } }

/* ---------- Dashboard preview: cream cards on a dark app frame, bleeding off the right edge ---------- */
.dash {
  display: grid; grid-template-columns: 58px 560px 210px; gap: 12px; width: max-content;
  padding: 12px; border-radius: 22px; background: rgba(16, 16, 17, 0.9); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 50px 140px -70px rgba(255, 106, 0, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
}
.dash__rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; border-radius: 14px; background: #1d1d1f; }
.dash__logo { width: 26px; height: 26px; margin-bottom: 8px; }
.dash__rail i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #8d8780; }
.dash__rail i.is-on { background: rgba(255, 106, 0, 0.16); color: var(--primary); }
.dash__rail svg { width: 18px; height: 18px; }
.dash__main { display: grid; gap: 12px; align-content: start; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dcard { padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.dcard__k { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #e4dcd1; font-size: 13.5px; color: #5c544b; }
.dcard__k svg { width: 15px; height: 15px; color: #b5aca1; }
.dcard__v { margin-top: 6px; font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.dash__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dcard header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #e4dcd1; }
.dcard h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.dcard header span { font-size: 12px; color: #9a9187; }
.dbar { position: relative; height: 34px; margin-bottom: 10px; border-radius: 6px; background: #ece4d9; overflow: hidden; }
.dbar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #ffd8b6; transform-origin: left; animation: dbar 1.2s var(--ease) 0.6s both; }
.dbar--mid i { background: var(--primary); }
.dbar--done i { background: var(--ink); }
.dbar span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b4a2c; }
.dbar--done span { color: #fff; }
.dbar--mid span { color: var(--on-primary); }
@keyframes dbar { from { transform: scaleX(0); } }
.dnums { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.dnums b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.dnums span { font-size: 12px; color: #8f867b; }
.dnums--sm { margin: 0 0 8px; }
.dnums--sm b { font-size: 21px; }
.dnums--sm span { font-size: 10.5px; }
.dchart { width: 100%; height: 120px; }
.dcard--chart footer { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: #3b3027; }
.dlegend::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--ink); }
.dash__tasks { padding: 14px; border-radius: 14px; background: var(--paper); }
.dash__tasks h4 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.dash__sub { margin: 10px 0 8px; font-size: 12px; color: #7d7369; }
.dtask { display: grid; gap: 1px; margin-bottom: 8px; padding: 9px 11px; border-radius: 10px; border: 1px solid #e4dcd1; font-size: 11.5px; line-height: 1.35; }
.dtask b { font-size: 12px; color: var(--ink); }
.dtask span { color: #7d7369; }
.dtask em { font-style: normal; color: #7d7369; }
.dtask em::before { content: "●"; margin-right: 5px; color: #e0a24e; }
.dtask em.is-late::before { color: #e0436a; }

/* ---------- Scan panel (lives in the hero) ---------- */
.panel {
  position: relative; width: 100%; max-width: 500px; margin-left: auto; max-height: calc(100svh - var(--nav-h) - 60px); overflow-y: auto; padding: 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 22, 23, 0.95), rgba(10, 10, 11, 0.97));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -40px rgba(255, 106, 0, 0.35);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  scrollbar-width: thin; scrollbar-color: rgba(255, 106, 0, 0.3) transparent;
}
.panel__tag { position: absolute; top: 14px; right: 18px; 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__mark { width: 72px; height: 72px; filter: drop-shadow(0 0 30px rgba(255, 106, 0, 0.35)); }
@keyframes float { 50% { translate: 0 -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(255, 106, 0, 0.14), transparent 70%); }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 106, 0, 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(255, 106, 0, 0.45), rgba(255, 106, 0, 0) 28%); animation: sweep-rot 1.6s linear infinite; }
.radar__mark { position: relative; width: 48px; height: 48px; filter: drop-shadow(0 0 14px rgba(255, 106, 0, 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: #f2eee8; }
.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(255, 106, 0, 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(255, 106, 0, 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(255, 106, 0, 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: #e8e3dc; }
.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(255, 106, 0, 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(255, 106, 0, 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(255, 106, 0, 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: #ddd8d1; }
.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(255, 106, 0, 0.5); }
.row.is-working { background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 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 { 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(255, 106, 0, 0.07); border: 1px solid var(--line); transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.records__toggle:hover { background: rgba(255, 106, 0, 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(255, 106, 0, 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: #ddd8d1; 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(255, 106, 0, 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); }

/* ---------- "Every scan searches" strip ---------- */
.sources { padding: 46px 0 34px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sources__label { margin-bottom: 22px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.sources__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; }
.sources__list li { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; color: #d9d3cb; opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.sources__list li:hover { color: var(--primary); opacity: 1; }
.sources__list svg { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Feature rows: media tile + copy, alternating ---------- */
.feature { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media {
  position: relative; padding: clamp(22px, 3.6vw, 52px); border-radius: 30px; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(130% 120% at 0% 0%, rgba(255, 106, 0, 0.24), rgba(255, 106, 0, 0.06) 55%, rgba(22, 22, 23, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature__media--paper { display: grid; place-items: center; }
.feature__copy h2 { margin: 16px 0 22px; font-size: clamp(36px, 3.8vw, 58px); }
.feature__lede { max-width: 520px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: #bfb9b1; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
.exposed__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.exposed__note svg { width: 16px; height: 16px; flex: none; color: var(--primary); }
.points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 11px; font-size: 16px; color: #ddd8d1; }
.points svg { flex: none; width: 18px; height: 18px; color: var(--primary); }

/* How it works: step list beside the app window; the active step's bar counts down to the next */
.story__steps { position: relative; list-style: none; margin: 30px 0 0; padding: 0 0 0 24px; }
.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(255, 106, 0, 0.8); transition: height 0.6s var(--ease); }
.story__step { position: relative; display: flex; gap: 16px; padding: 12px 0; opacity: 0.4; cursor: pointer; transition: opacity 0.4s var(--ease); }
.story__step:hover { opacity: 0.75; }
.story__step.is-active { opacity: 1; }
.story__num { flex: none; padding-top: 3px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--primary); }
.story__step h3 { font-size: 19px; color: #fff; }
.story__step p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.story__step > div::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 > div::after { animation: countdown 4.8s linear forwards; }
.story__steps.is-playing:hover .story__step.is-active > div::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(22, 22, 23, 0.96), rgba(10, 10, 11, 0.98));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.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, 6, 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: 999px; background: var(--primary); 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: 60px; font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: #fb7185; }
.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: #ddd8d1; 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(255, 106, 0, 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 svg { flex: none; width: 34px; height: 34px; }

/* What we find: the sample case file */
.find__legend { list-style: none; display: flex; gap: 22px; margin: 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--orange { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.dossier {
  position: relative; padding: 30px 26px 16px; border-radius: 18px; font-family: var(--mono);
  background: linear-gradient(180deg, rgba(24, 24, 25, 0.97), rgba(12, 12, 13, 0.98));
  border: 1px solid rgba(251, 113, 133, 0.28);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95);
  transition: border-color 0.6s, box-shadow 0.6s;
}
.dossier.is-clean { border-color: rgba(255, 106, 0, 0.45); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 30px 90px -40px rgba(255, 106, 0, 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; }
.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(--sans); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; 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(--sans); 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(255, 106, 0, 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: #030303; box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 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: the map card */
.geo { position: relative; overflow: hidden; border-radius: 20px; background: radial-gradient(120% 80% at 50% 35%, rgba(90, 38, 8, 0.35), rgba(12, 12, 13, 0.95) 70%); border: 1px solid var(--line-strong); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.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(12, 12, 13, 0.6) 100%), linear-gradient(180deg, rgba(90, 38, 8, 0.14), rgba(12, 12, 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(255, 106, 0, 0.26), rgba(255, 106, 0, 0.1) 65%, rgba(255, 106, 0, 0.04)); border: 1.5px dashed rgba(255, 210, 170, 0.85); box-shadow: 0 0 40px rgba(255, 106, 0, 0.35), inset 0 0 30px rgba(255, 106, 0, 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(255, 160, 90, 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; color: #fff1e6; 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(12, 12, 13, 0.94); 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: #f2eee8; 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 */
.receipt {
  --zig: 14px;
  width: 100%; max-width: 400px; padding: 30px 28px 28px; background: #f3ece2; color: var(--ink); font-family: var(--mono);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  -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;
  transform: rotate(2deg); transition: transform 0.6s var(--ease);
}
.receipt:hover { transform: rotate(0) translateY(-6px); }
.receipt__head { padding-bottom: 14px; text-align: center; border-bottom: 1.5px dashed rgba(18, 10, 4, 0.35); }
.receipt__mark { width: 50px; height: 50px; margin: 0 auto 6px; }
.receipt__brand { font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.receipt__meta { margin-top: 2px; font-size: 11px; letter-spacing: 0.1em; color: rgba(18, 10, 4, 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(18, 10, 4, 0.35); transform: translateY(-4px); }
.receipt__lines b { font-weight: 700; white-space: nowrap; }
.receipt__lines .is-free { color: #e05200; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1.5px dashed rgba(18, 10, 4, 0.35); border-bottom: 1.5px dashed rgba(18, 10, 4, 0.35); }
.receipt__total span { font-size: 12px; letter-spacing: 0.22em; }
.receipt__total b { font-family: var(--sans); font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.receipt__note { margin: 12px 0 14px; text-align: center; font-size: 11.5px; line-height: 1.6; color: rgba(18, 10, 4, 0.6); }
.receipt__barcode { height: 36px; margin: 0 6px 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px, var(--ink) 14px 17px, transparent 17px 19px); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; background: rgba(0, 0, 0, 0.55); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__head h2 { margin: 16px 0 18px; font-size: clamp(36px, 3.8vw, 58px); }
.faq__list { display: grid; gap: 12px; }
details { border-radius: 18px; background: rgba(20, 20, 21, 0.8); 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: 22px 24px; font-weight: 600; font-size: 17px; border-radius: 18px; }
summary::-webkit-details-marker { display: none; }
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 24px 22px; color: #aaa49c; font-size: 15.5px; }

/* ---------- Closing CTA band ---------- */
.cta { padding: 0 0 clamp(80px, 10vw, 130px); background: rgba(0, 0, 0, 0.55); }
.cta__band {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 160% at 0% 0%, rgba(255, 106, 0, 0.26), rgba(255, 106, 0, 0.06) 55%, rgba(22, 22, 23, 0.92));
  border: 1px solid var(--line-strong);
}
.cta__band h2 { font-size: clamp(32px, 3.6vw, 52px); }
.cta__band p { margin-top: 10px; font-size: 18px; color: #cdc7bf; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.92); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--primary); }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 15px; color: #cbc6bf; }
.footer__col p { margin-bottom: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.footer__col a:hover { color: var(--primary); }
.footer__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--faint); }

/* ---------- Reveal animations ---------- */
.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.12s; }
.hero__title.reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; font-size: 15px; }
  .nav__ip { display: none; }
}
@media (max-width: 1000px) {
  /* Hero stacks: copy, then the dashboard (still bleeding off the right edge) */
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .dash { margin-top: 10px; zoom: 0.78; }
  .panel { margin: 0; max-width: 560px; max-height: none; overflow: visible; }
  .feature__grid, .faq__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__copy { max-width: 640px; }
  .faq__head { position: static; }
  .cta__band { grid-template-columns: 1fr; text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  :root { --nav-h: 68px; }
  .nav { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line-soft); }
  .nav__toggle { display: block; }
  .nav__cta .btn--primary { --h: 40px; padding: 0 16px; font-size: 14px; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; display: grid; gap: 0; padding: 8px var(--gutter) 18px;
    background: rgba(0, 0, 0, 0.95); border-bottom: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .brand__mark { width: 26px; height: 26px; }
  .brand__word { font-size: 23px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .dash { zoom: 0.6; }
}
@media (max-width: 600px) {
  .hero__title { font-size: min(12.5vw, 56px); }
  .console { height: auto; flex-wrap: wrap; padding: 12px; border-radius: 24px; gap: 10px; }
  .console__icon { display: none; }
  .console input { flex: 1 1 100%; height: 44px; padding: 0 10px; }
  .console__go { width: 100%; --h: 50px; }
  .dash { zoom: 0.5; }
  .sources__list { justify-content: flex-start; gap: 16px 26px; }
  .sources__list li { font-size: 17px; }
  .feature__media { padding: 16px; border-radius: 22px; }
  .stage { height: 380px; }
  .stage__body { padding: 20px 18px; }
  .stage__input { font-size: 14px; height: 54px; }
  .stage__big b { font-size: 50px; }
  .dossier { padding: 26px 16px 14px; }
  .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; }
  .geo__map { height: 250px; }
  .geo__msg { top: 105px; }
  .geo__coords { top: 214px; }
  .geo__credit { top: 232px; }
  .geo__facts { grid-template-columns: 1fr; }
  .receipt { padding: 30px 20px 26px; }
  .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__mark { width: 42px; height: 42px; }
  .feature__actions .btn, .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::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; }
  .stage__type { width: 18ch; }
}

/* ---- Monero invoice (clean-up payment) ---- */
.panel[data-state="paying"] #cleanBtn,
.panel[data-state="paying"] #payStatus { display: none; }
.invoice { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.invoice__lede { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.invoice__lede b { color: var(--text); }
.invoice__qr { display: flex; justify-content: center; margin: 0 0 14px; min-height: 8px; }
.invoice__qr img { width: 208px; height: 208px; border-radius: 12px; background: #fff; padding: 8px; }
.invoice__field { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.invoice__k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); width: 60px; flex: none; }
.invoice__v { flex: 1; min-width: 0; font-size: 13px; font-family: ui-monospace, "Overpass Mono", monospace; word-break: break-all; color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 10px; }
.invoice__v--addr { font-size: 11px; line-height: 1.4; }
.invoice__copy { flex: none; align-self: stretch; font: inherit; font-size: 12px; font-weight: 700; color: var(--primary); background: rgba(255,106,0,0.12); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; cursor: pointer; transition: background 0.15s; }
.invoice__copy:hover { background: rgba(255,106,0,0.22); }
.invoice__status { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 600; color: #ffb080; margin: 14px 0; text-align: center; }
.invoice__status.ok { color: #34d399; }
.invoice__status.err { color: #fb7185; }
.invoice__spin { width: 14px; height: 14px; flex: none; border: 2px solid rgba(255,106,0,0.3); border-top-color: var(--primary); border-radius: 50%; animation: inv-spin 0.8s linear infinite; }
@keyframes inv-spin { to { transform: rotate(360deg); } }
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-soft); }
.btn--ghost:hover { color: var(--text); border-color: var(--line-strong); }

/* ---- Burn-to-remove (free clean-up by burning our token) ---- */
.panel__alt { display: block; width: 100%; margin-top: 10px; padding: 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--primary); text-align: center; }
.panel__alt:hover { text-decoration: underline; }
.burn { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.burn__lede { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 12px; }
.burn__lede b { color: var(--text); }
.burn__input { width: 100%; box-sizing: border-box; margin: 10px 0 0; font: inherit; font-size: 12.5px; font-family: ui-monospace, "Overpass Mono", monospace; color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 12px; }
.burn__input:focus { outline: none; border-color: var(--line-strong); }
.burn__actions { display: flex; gap: 10px; margin-top: 12px; }
.burn__actions .btn { flex: 1; }
