/* Debreach dark site. Palette, logo and type from docs/brand. */
/* Inter for reading and controls, Cormorant Garamond for large headings. Atkinson Hyperlegible Bold is kept for the wordmark only. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 300 700; font-display: swap;
  src: url("/static/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap;
  src: url("/static/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
/* Fallbacks sized to match, so the page doesn't jump when the real fonts arrive. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Serif Fallback"; src: local("Georgia"); size-adjust: 86%; }

:root {
  --ink: #0E1C28; --ink-deep: #09141D; --surface: #152838; --line: #263F54; --mist: #A8B9C6;
  --parchment: #FAF6EE; --lamp: #D98A2B; --link: #EDAC5A; --alert: #F7A891;
  --ok: var(--lamp);  /* reassurance ticks and "good news" text (aqua dropped 2026-11-11 at Finn's request) */
  --ember: #F2503A;  /* warm red: the second accent colour (icons, markers, accent lines, hovers) */
  --text-dark: #14222d;
  --sans: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Serif Fallback", Georgia, "Times New Roman", serif;
  --brand: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --wide: 70rem; --narrow: 44rem; --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -18px rgba(8, 20, 28, 0.55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--parchment); font: 400 1.0625rem/1.65 var(--sans); font-feature-settings: "cv05", "cv08", "ss03"; -webkit-font-smoothing: antialiased;
  background: radial-gradient(64rem 34rem at 88% -10rem, rgba(217, 138, 43, 0.14), transparent 70%) no-repeat,
    radial-gradient(46rem 30rem at -12% 34rem, rgba(242, 80, 58, 0.10), transparent 70%) no-repeat, var(--ink); }
::selection { background: var(--ember); color: var(--text-dark); }
img, svg { max-width: 100%; }

/* Layout */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
main { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
section + section, .trust + section { margin-top: clamp(64px, 9vw, 120px); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
nav a { border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--ember); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
  padding-top: 18px; padding-bottom: 18px; }
.wordmark { display: inline-flex; align-items: baseline; font: 700 1.6rem/1 var(--brand);
  letter-spacing: 0.03em; color: var(--parchment); text-decoration: none; }
/* Logo (Finn, 11 November 2026): warm red DE and tower, parchment BREACH */
.wordmark, a.wordmark { color: var(--parchment); }
.wordmark .de, .wordmark svg { color: var(--ember); }
.wordmark svg { height: 0.668em; height: 1cap; width: auto; fill: currentColor; margin-left: 0.14em; }
nav { display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; }
nav a { color: var(--parchment); text-decoration: none; font-size: 1rem; padding: 6px 0; }
nav a:hover { color: var(--parchment); }
nav a.nav-cta { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; }
nav a.nav-cta:hover { border-color: var(--ember); }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums; line-height: 1.04; margin: 0 0 0.45em; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font: 600 1.15rem/1.3 var(--sans); letter-spacing: -0.012em; margin: 0 0 0.5em; }
.narrow h1 { font-size: clamp(2.6rem, 5.2vw, 3.8rem); }
.narrow h2 { font-size: clamp(1.85rem, 3vw, 2.35rem); margin-top: 1.8em; line-height: 1.1; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
.lamp { color: var(--lamp); }
.ok { color: var(--ok); }
.alert { color: var(--alert); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--mist); max-width: 36em; }
.small { font-size: 0.9rem; line-height: 1.55; color: var(--mist); }
.eyebrow { font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lamp); margin: 0 0 14px; }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--mist); }

:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
button, .button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font: 600 1rem/1.2 var(--sans); letter-spacing: -0.005em;
  color: var(--text-dark); background: var(--lamp); border: 0; border-radius: 10px; text-decoration: none; cursor: pointer;
  overflow-wrap: anywhere; transition: background-color 0.15s, transform 0.15s; box-shadow: 0 10px 24px -12px rgba(217, 138, 43, 0.7); }
button:hover, .button:hover { background: var(--link); transform: translateY(-1px); }
button:active, .button:active { transform: none; }
.button svg { width: 18px; height: 18px; flex: none; }
button.quiet, .button.quiet { background: transparent; color: var(--parchment); box-shadow: none; border: 1.5px solid var(--line); }
button.quiet:hover, .button.quiet:hover { border-color: var(--mist); background: rgba(255, 255, 255, 0.04); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 28px 0 0; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Cards */
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 60%) var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); margin: 24px 0; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.note { background: rgba(217, 138, 43, 0.09); border: 1px solid rgba(217, 138, 43, 0.4); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 28px; font-size: 1rem; }
.note.warn { background: rgba(247, 168, 145, 0.08); border-color: rgba(247, 168, 145, 0.45); }
.badge { display: inline-block; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--mist); white-space: nowrap; }
.badge.now { color: var(--ember); border-color: rgba(242, 80, 58, 0.55); background: rgba(242, 80, 58, 0.1); }
.badge.soon { color: var(--link); border-color: rgba(237, 172, 90, 0.45); background: rgba(237, 172, 90, 0.07); }

/* Hero */
.hero { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--mist); font-size: 0.95rem; }
.hero-note .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
@media (min-width: 60rem) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.preview { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 55%) var(--ink-deep); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(22px, 3vw, 30px); box-shadow: 0 40px 80px -30px rgba(5, 14, 20, 0.8), 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.preview { position: relative; overflow: hidden; }
.preview::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--lamp), var(--ember)); }
.preview li strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); margin-right: 12px; vertical-align: 0.08em; box-shadow: 0 0 0 4px rgba(242, 80, 58, 0.15); }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.preview-top .eyebrow { margin: 0; color: var(--mist); }
.preview-count { font: 600 1.9rem/1.1 var(--serif); font-variant-numeric: lining-nums; margin: 0 0 18px; }
.preview-count span { color: var(--lamp); font-size: 3.2rem; margin-right: 10px; }
.preview ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.preview li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.preview li span { color: var(--mist); font-size: 0.9rem; text-align: right; }
.preview-step { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 0.98rem; }
.preview-step .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }

/* Scan form in the hero */
.scan-form { margin-top: 28px; max-width: 34rem; }
.scan-row { display: flex; flex-wrap: wrap; gap: 10px; }
.scan-row input { flex: 1 1 16rem; }

/* Trust strip, grids */
.trust { display: grid; gap: 14px 32px; margin-top: clamp(40px, 6vw, 72px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust p { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 1rem; color: var(--parchment); }
.trust .icon { color: var(--ember); }
@media (min-width: 48rem) { .trust { grid-template-columns: repeat(3, 1fr); } }

.grid { display: grid; gap: 20px; }
@media (min-width: 40rem) { .grid.two, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.grid .card { margin: 0; display: flex; flex-direction: column; }
.feature .icon { width: 28px; height: 28px; color: var(--ember); margin-bottom: 18px; }
.feature p { color: var(--mist); font-size: 1rem; flex: 1; }
.feature .badge { align-self: flex-start; margin-top: 6px; }
.feature a.more { font-weight: 600; margin-top: 6px; }

.numbered { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 52rem) { .numbered { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.numbered li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 20px;
  background: linear-gradient(90deg, var(--ember), rgba(242, 80, 58, 0)) top left / 72px 2px no-repeat; }
.numbered li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 1.6rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--lamp); margin-bottom: 14px; }
.numbered h3 { margin-bottom: 8px; }
.numbered p { color: var(--mist); font-size: 1rem; margin: 0; }

.promise { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 60rem) { .promise { grid-template-columns: 0.9fr 1.1fr; } }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .icon { color: var(--ember); margin-top: 3px; }
.facts strong { display: block; }
.facts span { color: var(--mist); font-size: 1rem; }

.cta-band { text-align: center; background: linear-gradient(120deg, rgba(217, 138, 43, 0.13), rgba(242, 80, 58, 0.09)); border: 1px solid rgba(242, 80, 58, 0.3);
  border-radius: 24px; padding: clamp(40px, 6vw, 64px) var(--gutter); }
.cta-band p { color: var(--mist); max-width: 34em; margin-left: auto; margin-right: auto; }
.cta-band .actions { justify-content: center; }
.cta-band .eyebrow { color: var(--ember); }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band > p { margin-bottom: 0; }
.list-form { max-width: 32rem; margin: 28px auto 16px; }
.list-form input::placeholder { color: #5b6b78; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Forms */
label { display: block; font-weight: 600; margin: 20px 0 8px; }
label:first-of-type { margin-top: 0; }
label .small { font-weight: 400; }
input, textarea { width: 100%; padding: 14px 16px; font: inherit; color: var(--text-dark); background: var(--parchment);
  border: 2px solid transparent; border-radius: 10px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
form .small { margin-top: 14px; }
form button { margin-top: 20px; }
.scan-row button { margin-top: 0; }

/* Results */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font: 600 0.9rem/1 var(--sans); color: var(--lamp); border: 1.5px solid rgba(217, 138, 43, 0.6); }
.breach h3 { margin-bottom: 4px; font-size: 1.25rem; }
.breach .small { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.chips li { font-size: 0.88rem; line-height: 1; padding: 8px 12px; border-radius: 999px; background: rgba(242, 80, 58, 0.08); border: 1px solid rgba(242, 80, 58, 0.3); }
summary { cursor: pointer; color: var(--link); font-size: 1rem; }
details p { margin-top: 10px; color: var(--mist); font-size: 1rem; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: 10px; }
.plain-list li::marker { color: var(--ember); }

/* Deletion pack */
pre.letter { white-space: pre-wrap; overflow-wrap: anywhere; font: 0.85rem/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--mist);
  background: var(--ink-deep); border: 1px solid var(--line); border-radius: 10px; padding: 16px; max-height: 15rem; overflow: auto; margin: 0 0 18px; }
#letter-list .button, #letter-list button { margin: 0 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-deep); color: var(--mist); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding-top: 36px; padding-bottom: 44px; }
.site-footer .wordmark { font-size: 1.15rem; margin-bottom: 10px; }
.site-footer p { margin: 0 0 6px; max-width: 26em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: flex-start; }
.site-footer a { color: var(--parchment); text-decoration: none; }
.site-footer a:hover { color: var(--link); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { body { background: #fff; color: #000; } .site-header, .site-footer, form, button, .button { display: none; }
  pre.letter { max-height: none; border: 0; color: #000; background: #fff; } }

/* Stakes, threats, family (pitch sections) */
.stats { display: grid; gap: 28px 48px; }
@media (min-width: 52rem) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats > div { border-top: 1px solid var(--line); padding-top: 22px;
  background: linear-gradient(90deg, var(--lamp), rgba(217, 138, 43, 0)) top left / 72px 2px no-repeat; }
.stat { font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--parchment); margin: 0 0 12px; letter-spacing: -0.01em; }
.stats p { margin: 0 0 8px; }
.sources { margin-top: 28px; }
.threats .card { padding: 24px; }
.threats .card p { color: var(--mist); font-size: 1rem; flex: 1; }
.threats .tool { flex: none; display: flex; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--parchment); font-weight: 600; font-size: 0.95rem; }
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.split .section-head { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--parchment); }
.ticks .icon { color: var(--ember); width: 20px; height: 20px; margin-top: 4px; }
.alert-title { font: 600 1.25rem/1.3 var(--sans); margin: 0 0 14px; }
.quote { margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid var(--alert); background: rgba(247, 168, 145, 0.07); border-radius: 0 10px 10px 0; color: var(--mist); font-size: 1rem; }
.preview-more { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.98rem; font-weight: 600; }
.preview-more a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.preview-more a:hover { text-decoration: underline; }
.preview-more .icon { width: 18px; height: 18px; }

/* Short home page: hero form, "more" buttons and pop-ups */
.hero .list-form { margin: 30px 0 14px; max-width: 34rem; }
.hero .quote { font-size: 1.05rem; color: var(--parchment); }
.more-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 5vw, 60px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-row button { background: transparent; color: var(--parchment); box-shadow: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 20px; font-weight: 500; }
.more-row button:hover { border-color: var(--ember); background: rgba(242, 80, 58, 0.06); transform: none; }
.more-row .icon { width: 20px; height: 20px; color: var(--ember); }
.more-row + section { margin-top: clamp(40px, 6vw, 72px); }
.feature p a { font-weight: 600; }
.narrow-block { max-width: 40rem; }
.pop { width: min(46rem, calc(100vw - 32px)); max-height: min(88vh, 60rem); overflow: auto; margin: auto; padding: clamp(24px, 4vw, 44px);
  color: var(--parchment); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8); }
.pop::backdrop { background: rgba(5, 12, 18, 0.72); backdrop-filter: blur(3px); }
.pop h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); padding-right: 40px; }
.pop h2 + .numbered, .pop .facts { margin-bottom: 32px; }
.pop .numbered + h2 { margin-top: 0.4em; }
.pop > p { color: var(--mist); }
.pop .stats { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
.pop .stat { font-size: 2.6rem; }
.pop .numbered { grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 44rem) { .pop .stats, .pop .numbered { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pop-close { position: sticky; top: 0; float: right; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 1.5rem; line-height: 1;
  background: var(--ink); color: var(--parchment); border: 1px solid var(--line); border-radius: 50%; box-shadow: none; margin: -8px -8px 0 12px; }
.pop-close:hover { background: var(--ink-deep); border-color: var(--mist); transform: none; }
/* Browsers without pop-ups show the panels as ordinary sections. */
@supports not selector(:popover-open) { .pop { margin: 40px auto; max-height: none; } .pop-close { display: none; } }

/* Guides: password page and breach scan page */
.mono { font: 500 0.95em/1 ui-monospace, Menlo, Consolas, monospace; background: rgba(255, 255, 255, 0.07); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.toc a { font-size: 0.92rem; color: var(--parchment); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.toc a:hover { border-color: var(--ember); }
select { width: 100%; padding: 14px 16px; font: inherit; color: var(--text-dark); background: var(--parchment); border: 2px solid transparent; border-radius: 10px; }
h3.sub { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.rolls { list-style: none; padding: 0; margin: 24px 0 18px; display: grid; gap: 8px; }
.rolls li { display: flex; align-items: center; gap: 16px; }
.rolls .dice { font: 600 1rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.12em; color: var(--ember); background: var(--ink-deep); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.rolls .word { font-weight: 600; font-size: 1.1rem; }
.phrase { font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.4 var(--sans); color: var(--lamp); background: var(--ink-deep); border: 1px solid rgba(217, 138, 43, 0.4); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; overflow-wrap: anywhere; }
.small-phrase { font-size: 1.1rem; padding: 12px 16px; margin-top: 12px; }
.small-phrase:empty, .phrase:empty { display: none; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); font-weight: 600; background: var(--ink-deep); }
tbody tr:last-child td { border-bottom: 0; }
tr.pick td { background: rgba(242, 80, 58, 0.09); font-weight: 600; }
tr.pick td:first-child { box-shadow: inset 3px 0 0 var(--ember); }
.narrow .grid.three { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .narrow .grid.three { grid-template-columns: repeat(3, 1fr); } }
h2[id], section[id] { scroll-margin-top: 24px; }
#roller button { margin-top: 16px; }

/* Grid code */
.grid-code { max-width: 26rem; }
.grid-code table { text-align: center; }
.grid-code caption { caption-side: bottom; padding: 10px 12px; font-size: 0.85rem; color: var(--mist); }
.grid-code th, .grid-code td { text-align: center; padding: 11px 0; width: 14.28%; }
.grid-code tbody td { font: 600 1.1rem/1 ui-monospace, Menlo, Consolas, monospace; }
.grid-code tbody th, .grid-code thead th { color: var(--ember); background: var(--ink-deep); font-size: 0.95rem; letter-spacing: 0; }
.grid-code thead td { background: var(--ink-deep); }
.rolls .pair { margin-left: auto; font: 600 1rem/1 ui-monospace, Menlo, Consolas, monospace; color: var(--lamp); letter-spacing: 0.1em; }
.mono-line { font: 600 1rem/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--parchment); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; }
.mono-line:empty { display: none; }
.card button + .phrase { margin-top: 16px; }
.card input + button { margin-top: 16px; }

/* Accounts */
.list-form.left { margin-left: 0; }
.code-input { font: 600 1.6rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.3em; max-width: 14rem; }
.person { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 18px 24px; margin: 12px 0; }
.person h3 { margin: 0; }
.person .small { flex: 1 1 100%; margin: 0; order: 3; }
.person form button { margin: 0; padding: 8px 16px; font-size: 0.92rem; }
button.danger { background: var(--alert); box-shadow: none; }
button.danger:hover { background: #ffc2b0; }
#passkey-sign-in, #passkey-add { margin: 0; }

/* Scam checker verdicts */
.verdict h2 { margin-top: 0; }
.verdict.likely_scam { border-color: var(--ember); box-shadow: inset 4px 0 0 var(--ember), var(--shadow); }
.verdict.be_careful { border-color: var(--lamp); box-shadow: inset 4px 0 0 var(--lamp), var(--shadow); }
.verdict.no_signs { box-shadow: inset 4px 0 0 var(--mist), var(--shadow); }
.verdict h3 { margin-top: 18px; }

/* Scam checker taster */
.taster .eyebrow { margin-bottom: 10px; }
.taster .quote { margin-bottom: 16px; }
.verdict-mini { border-left: 4px solid var(--mist); padding: 4px 0 2px 18px; }
.verdict-mini.likely_scam { border-color: var(--ember); }
.verdict-mini.be_careful { border-color: var(--lamp); }
.verdict-mini h3 { margin-bottom: 10px; }
.verdict-mini .plain-list { margin-bottom: 10px; }
.verdict-mini .plain-list li { margin-bottom: 6px; font-size: 1rem; }
.narrow .cta-band { margin-top: 48px; }

/* Feature cards: the title is the link, and the whole card is its click area */
.feature { position: relative; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card-link { color: var(--parchment); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }  /* stretch the click area over the card */
.feature:hover, .feature:focus-within { transform: translateY(-3px); border-color: rgba(217, 138, 43, 0.55);
  box-shadow: 0 24px 48px -20px rgba(8, 20, 28, 0.8), 0 0 0 1px rgba(217, 138, 43, 0.25); }
.feature:hover .card-link, .feature:focus-within .card-link { color: var(--lamp); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--lamp); outline-offset: 3px; }

/* Family plan taster: the cards here aren't links */
.grid.two .feature:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow); }
.after-band { margin-top: 20px; }

/* Kinds of scam (scam checker taster) */
.kinds { display: grid; gap: 4px 36px; margin-bottom: 8px; }
@media (min-width: 44rem) { .kinds { grid-template-columns: 1fr 1fr; } }
.kinds > div { border-top: 1px solid var(--line); padding: 18px 0 6px;
  background: linear-gradient(90deg, var(--ember), rgba(242, 80, 58, 0)) top left / 56px 2px no-repeat; }
.kinds h3 { font-size: 1.05rem; margin-bottom: 6px; }
.kinds p { font-size: 0.98rem; color: var(--mist); margin-bottom: 10px; }
.kinds strong { color: var(--parchment); }
.cta-band h2, .narrow .cta-band h2 { margin-top: 0; }

/* Members' broker list on the data removal page */
.broker-list { list-style: none; padding: 0; margin: 20px auto 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 40rem; }
.broker-list li { font-size: 0.9rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.broker-list li:last-child { color: var(--mist); border-style: dashed; }

/* Warm red on the inner pages (Finn, 11 November 2026). The home page keeps gold as its lead. */
.narrow > .eyebrow:first-child { color: var(--ember); }
.narrow > h2 { position: relative; padding-top: 18px; }
.narrow > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember) 40%, rgba(242, 80, 58, 0)); }
.narrow .steps li::before { color: var(--ember); border-color: rgba(242, 80, 58, 0.65); }
.narrow .card h3 { position: relative; }
button.quiet:hover, .button.quiet:hover { border-color: var(--ember); background: rgba(242, 80, 58, 0.06); }
.narrow .card:not(.verdict):not(.taster):not(.person) { border-top: 3px solid var(--ember); }

/* Hero photo, with the three service cards overlapping its bottom edge */
.hero-visual { position: relative; margin: 0; }
.hero-visual .frame { position: relative; }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 1000; object-fit: cover; object-position: 30% 30%;
  border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(5, 14, 20, 0.85); }
.hero-visual .frame::after { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 28, 40, 0) 60%, rgba(14, 28, 40, 0.55)); }
.hero-visual .cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -48px 12px 0; }
.float { padding: 11px 13px; border-radius: 14px; font-size: 0.8rem; line-height: 1.38; color: var(--parchment);
  background: rgba(21, 40, 56, 0.96); border: 1px solid var(--line); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.7); }
.float p { margin: 0; }
.float strong { font-weight: 600; }
.float-label { display: flex; align-items: center; gap: 6px; font-size: 0.66rem !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); margin-bottom: 4px !important; }
.float-label .icon { width: 14px; height: 14px; color: var(--ember); }
.float.f1 { border-top: 3px solid var(--ember); }
.float.f2, .float.f3 { border-top: 3px solid var(--lamp); }
@media (max-width: 40rem) { .hero-visual .cards { grid-template-columns: 1fr; margin: -40px 10px 0; } }

/* Bridge photo: cards float over the sky on the left */
.hero-visual { position: relative; }
.hero-visual img { aspect-ratio: 1200 / 1350; object-position: 50% 50%; }
.hero-visual .cards { position: absolute; z-index: 1; top: 8%; right: -28px; margin: 0; display: flex; flex-direction: column; gap: 14px; width: 13rem; }
.hero-visual .float.f2 { margin-left: -22px; }
@media (max-width: 40rem) { .hero-visual .cards { position: relative; top: auto; left: auto; width: auto; margin: -40px 10px 0; } .hero-visual .float.f2 { margin-left: 0; } }

/* Hero cards placed individually around her (Finn, 12 November 2026):
   scam check top left, breach check middle right, data removal bottom right */
.hero-visual .cards { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: auto; margin: 0; display: block; pointer-events: none; }
.hero-visual .cards .float { position: absolute; width: 12.5rem; margin: 0; pointer-events: auto; }
.hero-visual .float.f1 { top: 7%; left: -28px; }
.hero-visual .float.f3 { top: 52%; right: -28px; }
.hero-visual .float.f2 { bottom: 3%; right: 9%; margin-left: 0; }
@media (max-width: 40rem) {
  .hero-visual .cards { position: relative; inset: auto; margin: -40px 10px 0; }
  .hero-visual .cards .float { position: static; width: auto; margin-top: 10px; }
}
.float.f1, .float.f2, .float.f3 { border-top-color: var(--ember); }  /* all hero cards edged in warm red (Finn, 12 November 2026) */
