/* Erased: one design system for every page. Dark security-dashboard look; Geist for text, Geist Mono for numbers.
   Mint = erased / on your device, red = breached or broken promise, amber = asks something of you, blue = cloud. */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #08090d; --bg-2: #0c0e14; --panel: #10131a; --panel-2: #151923; --panel-3: #1b2030;
  --line: rgba(255, 255, 255, 0.07); --line-2: rgba(255, 255, 255, 0.13);
  --fg: #eceef3; --muted: #9098a6; --dim: #5e6676;
  --mint: #6ee7c2; --mint-2: #3fcfa6; --mint-bg: rgba(110, 231, 194, 0.1); --mint-ink: #04241b;
  --red: #ff6166; --red-bg: rgba(255, 97, 102, 0.11);
  --amber: #f6b74b; --amber-bg: rgba(246, 183, 75, 0.11);
  --blue: #86a8ff; --blue-bg: rgba(134, 168, 255, 0.11);
  --green: var(--mint); --green-bg: var(--mint-bg); --chip: var(--panel-2);
  --r: 14px; --r-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
  font-family: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { /* one soft light behind the top of every page */
  content: ""; position: fixed; inset: -20vh -10vw auto; height: 70vh; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 60% at 30% 0%, rgba(110, 231, 194, 0.09), transparent 70%), radial-gradient(50% 50% at 85% 10%, rgba(134, 168, 255, 0.07), transparent 70%);
}
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--mint); }
::selection { background: rgba(110, 231, 194, 0.28); }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; margin: 0; font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.q { color: var(--muted); font-size: 14px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 13, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 210deg, var(--mint), #2bb894, var(--mint)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 6px 18px rgba(110, 231, 194, 0.25);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 5px, #000 5.5px); mask: radial-gradient(circle at 50% 50%, transparent 5px, #000 5.5px); }
nav.links { display: flex; gap: 4px; font-size: 14px; align-items: center; }
nav.links a { text-decoration: none; color: var(--muted); padding: 7px 12px; border-radius: 9px; transition: color 0.2s, background 0.2s; }
nav.links a:hover { color: var(--fg); background: var(--panel-2); }
nav.links a.on { color: var(--fg); background: var(--panel-2); }
nav.links a[href="/judge"] { color: var(--mint-ink); background: var(--mint); font-weight: 600; margin-left: 6px; }
nav.links a[href="/judge"]:hover { background: #8af0d2; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); text-decoration: none; font: inherit; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s; box-shadow: 0 8px 28px rgba(110, 231, 194, 0.22); }
.btn:hover { transform: translateY(-1px); background: #8af0d2; box-shadow: 0 12px 36px rgba(110, 231, 194, 0.32); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--panel-2); }
.btn.small { padding: 7px 13px; font-size: 14px; border-radius: 9px; box-shadow: none; }
button.btn[disabled] { opacity: 0.45; cursor: default; transform: none; }
.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Tags */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.tag.device { background: var(--mint-bg); color: var(--mint); border-color: rgba(110, 231, 194, 0.22); }
.tag.red { background: var(--red-bg); color: var(--red); border-color: rgba(255, 97, 102, 0.22); }
.tag.amber { background: var(--amber-bg); color: var(--amber); border-color: rgba(246, 183, 75, 0.22); }
.tag.cloud { background: var(--blue-bg); color: var(--blue); border-color: rgba(134, 168, 255, 0.22); }
.tag.device::before, .tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(110, 231, 194, 0.18); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* Sections */
section.block { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
section.block:first-of-type { border-top: 0; }
section.block h2 + p, section.block h2 + .lede { margin-top: 14px; }
.lede { color: var(--muted); font-size: 18px; max-width: 680px; }
section.block h3 { margin: 36px 0 12px; }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 14px; }
th, td { text-align: left; padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: top; }
tr:first-child th, thead tr th { border-top: 0; }
th { font-size: 12px; color: var(--dim); font-weight: 600; background: var(--bg-2); letter-spacing: 0.01em; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); margin-top: 28px; background: var(--panel); overflow: hidden; }
.stats > div { padding: 20px 22px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats .num { font-family: var(--mono); font-size: 38px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats .red { color: var(--red); }
.stats .cap { font-size: 13px; color: var(--muted); }
.source { font-size: 13px; color: var(--dim); margin-top: 12px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.steps li { padding-left: 38px; position: relative; color: var(--muted); }
.steps li b { color: var(--fg); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-2); font: 600 13px var(--mono); display: grid; place-items: center; color: var(--mint); }
input.search, select.search, textarea.search { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel); color: var(--fg); margin-bottom: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
input.search:focus, select.search:focus, textarea.search:focus { outline: 0; border-color: rgba(110, 231, 194, 0.5); box-shadow: 0 0 0 4px rgba(110, 231, 194, 0.1); }
textarea.search { display: block; }
footer { padding: 40px 0 56px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

/* Motion: things rise into place once, when they come into view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* /judge */
.score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 22px; }
.score > div { background: var(--panel); padding: 16px 20px; }
.score b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; transition: color 0.4s; }
.score span { font-size: 13px; color: var(--muted); }
.score b.good { color: var(--mint); }
.score b.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 10px 0; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--mint); }
details.you { margin-top: 10px; font-size: 14px; }
details.you summary { cursor: pointer; color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.row > * { flex: 1 1 200px; }
.judge { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
h3.side { display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin: 0 0 12px; }
.inbox { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.inbox li { padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; display: grid; grid-template-columns: 1fr auto; font-size: 14px; transition: background 0.2s; position: relative; }
.inbox li:first-child { border-top: 0; }
.inbox li .q { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox li .mark { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; color: var(--mint); }
.inbox li:hover { background: var(--panel-2); }
.inbox li.on { background: var(--panel-2); }
.inbox li.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--mint); }
.emailbox { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; max-height: 340px; overflow: auto; background: var(--panel); }
.emailbox h3 { margin: 4px 0 8px; font-size: 16px; }
pre { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 14px; margin: 0; color: #c9ced8; }
.result { margin-top: 16px; }
.result > * { animation: rise 0.55s var(--ease) both; }
.result > *:nth-child(2) { animation-delay: 0.06s; } .result > *:nth-child(3) { animation-delay: 0.12s; } .result > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
table.mini { font-size: 14px; margin: 10px 0 14px; }
.advice { border: 1px solid rgba(110, 231, 194, 0.22); border-radius: var(--r); padding: 18px; background: linear-gradient(180deg, rgba(110, 231, 194, 0.05), transparent 60%), var(--panel); }
.advice h3 { margin: 0 0 6px; font-size: 18px; }
.advice p { margin-top: 6px; }
.mail { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; margin-top: 12px; }
.mail pre { margin: 8px 0 12px; }
.reading { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.reading::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--mint); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#runs td[data-label="Time"] { white-space: nowrap; font-family: var(--mono); }

@media (max-width: 860px) {
  .judge { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  header.site .wrap { height: auto; padding-block: 12px; flex-wrap: wrap; gap: 8px 16px; }
  nav.links { flex-wrap: wrap; gap: 2px; font-size: 13px; }
  nav.links a { padding: 6px 9px; }
  table.dir th:nth-child(4), table.dir td:nth-child(4) { display: none; }
  .score { grid-template-columns: 1fr; }
  table.cards thead { display: none; }
  table.cards, table.cards tbody, table.cards tr, table.cards td { display: block; width: 100%; }
  table.cards tr { border-top: 1px solid var(--line); padding: 12px 14px; }
  table.cards td { border: 0; padding: 2px 0; }
  table.cards td[data-label]::before { content: attr(data-label) ": "; color: var(--dim); font-size: 13px; }
}
header.site + section.block { padding-top: 56px; }

button.tag { cursor: pointer; font: inherit; font-size: 12px; }
button.tag.on { background: var(--mint-bg); color: var(--mint); border-color: rgba(110, 231, 194, 0.32); }
.promise + .promise { margin-top: 8px; }
table.cards td { overflow-wrap: anywhere; }
table.cards td .q a { white-space: nowrap; }
.prose { max-width: 820px; }
.prose h3 { margin-top: 32px; }
.prose ul { padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.prose p { color: var(--muted); }
.prose b { color: var(--fg, inherit); }

/* Proof: each company's own words after our request. */
section.proof { border-top: 0; }
.proof h2 { font-size: clamp(34px, 5vw, 60px); margin-top: 14px; }
.proof .lede { margin-top: 14px; }
#proof-noaccount { margin-top: 18px; }
.proof-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.proof-grid > .proof-card { flex: 1 1 300px; }
.proof-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.proof-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--mint); }
.proof-card.accepted::before { background: var(--amber); }
.proof-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.proof-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; font-size: 18px; }
.proof-card blockquote { overflow-wrap: anywhere; margin: 6px 0 0; font-size: 21px; line-height: 1.32; font-weight: 600; letter-spacing: -0.015em; color: var(--fg); }
.proof-card.gone blockquote { color: var(--mint); }
.proof-story { margin: 0; color: var(--muted); font-size: 14px; }
.proof-check { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.proof-check .q { flex-basis: 100%; font-weight: 400; font-size: 13px; }
.proof-check:hover { color: var(--mint); }
.fb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 32px; }
.fb { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
section.block .fb h3 { font-size: 18px; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fb p { margin: 0; color: var(--muted); font-size: 14px; }
.fb .live { margin-top: auto; padding-top: 10px; font-size: 13px; font-family: var(--mono); color: var(--mint); text-decoration: none; }
.fb .live:hover { text-decoration: underline; }
