/* ==========================================================================
   Breachbeam — "terminal dossier" design language.

   Near-black ground, one acid accent, hairline rules, square corners.
   Monospace carries every label, number and control; sans carries prose.
   No gradients, no glass, no glow, no shadows, no webfonts, no images.
   ========================================================================== */

:root {
  --bg: #08090b;
  --panel: #0d0f13;
  --panel-2: #11141a;
  --panel-3: #161a21;
  --line: #22262e;
  --line-2: #333a45;
  --text: #e7eaee;
  --text-2: #c3c9d2;
  --muted: #8b94a2;
  --muted-2: #737c88; /* 4.7:1 on the page, 4.5:1 on panels — passes AA at 12px */
  --acid: #b6f24a;
  --acid-soft: rgba(182, 242, 74, 0.1);
  --acid-line: rgba(182, 242, 74, 0.32);
  --danger: #ff5c45;
  --danger-soft: rgba(255, 92, 69, 0.1);
  --warn: #ffb020;
  --warn-soft: rgba(255, 176, 32, 0.1);
  --ok: #b6f24a;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --w: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--text);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}

a:hover {
  color: var(--acid);
  text-decoration-color: var(--acid);
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

::selection {
  background: var(--acid);
  color: #08090b;
}

.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;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--acid);
  color: #08090b;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Same left axis as every other section; the inner content stays narrow. */
.wrap--narrow {
  max-width: var(--w);
}

.wrap--narrow .section__head,
.wrap--narrow .faq,
.wrap--narrow .email-card {
  max-width: 820px;
}

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 62px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--acid);
}

.brand__mark path:first-of-type {
  stroke: currentColor;
  fill: none;
}

.brand__mark path:last-of-type {
  fill: currentColor;
}

.brand__word {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--acid);
  border-bottom-color: var(--acid);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav__toggle:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.nav__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 8px;
}

.seal__dot {
  width: 5px;
  height: 5px;
  background: var(--acid);
  box-shadow: 0 0 0 2px var(--acid-soft);
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 11px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s var(--ease), color 0.14s var(--ease),
    border-color 0.14s var(--ease);
}

.btn:hover {
  color: var(--bg);
  background: var(--acid);
  border-color: var(--acid);
  text-decoration: none;
}

.btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn--primary {
  background: var(--acid);
  border-color: var(--acid);
  color: #08090b;
  font-weight: 600;
}

.btn--primary:hover {
  background: #c9ff5e;
  border-color: #c9ff5e;
  color: #08090b;
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--text-2);
}

.btn--ghost:hover {
  background: var(--panel-3);
  border-color: var(--line-2);
  color: var(--text);
}

.btn--sm {
  padding: 8px 13px;
  font-size: 10.5px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 78%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  background: var(--acid);
  flex: none;
  order: -1;
}

.hero__title {
  margin: 20px 0 22px;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 17ch;
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-2);
  line-height: 1.6;
}

.grad {
  color: var(--acid);
  -webkit-text-fill-color: var(--acid);
  background: none;
}



.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.trust a {
  color: var(--text);
}

/* hero spec sheet */
.hero__spec {
  border: 1px solid var(--line);
  background: rgba(13, 15, 19, 0.72);
  padding: 0;
  align-self: start;
}

.spec__title {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--panel-2);
}

.spec {
  margin: 0;
  padding: 4px 14px 10px;
}

.spec > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
}

.spec > div:last-child {
  border-bottom: 0;
}

.spec dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  text-align: right;
}

.spec dd b {
  color: var(--acid);
  font-weight: 600;
}

/* -------------------------------------------------------------- scanner -- */
.scanner {
  padding: clamp(32px, 5vw, 56px) 0 clamp(20px, 3vw, 32px);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.scan-card {
  position: relative;
  border-color: var(--line-2);
}

.scan-card::before,
.scan-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--acid);
  pointer-events: none;
}

.scan-card::before {
  top: -5px;
  left: -5px;
  border-right: 0;
  border-bottom: 0;
}

.scan-card::after {
  bottom: -5px;
  right: -5px;
  border-left: 0;
  border-top: 0;
}

.scan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.scan-card__head h2 {
  margin: 0 0 4px;
  font-size: clamp(20px, 2.1vw, 25px);
}

.scan-card__head p {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 52ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 6px 9px;
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acid);
  white-space: nowrap;
}

.pill svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#input-state,
#scanning-state,
#results-state {
  padding: clamp(16px, 2.6vw, 26px);
}

/* tabs */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.tab {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  margin: 0 24px -1px 0;
  padding: 9px 0;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  color: var(--acid);
  border-bottom-color: var(--acid);
}

/* dropzone */
.dropzone {
  padding: clamp(28px, 5vw, 46px) 20px;
  border: 1px dashed var(--line-2);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--acid-line);
  border-style: solid;
  background: var(--acid-soft);
}

.dropzone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid var(--line-2);
  color: var(--acid);
}

.dropzone__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dropzone__title {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dropzone__sub {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.dropzone__hint {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.dropzone code {
  font-family: var(--mono);
  color: var(--text);
  background: var(--panel-3);
  padding: 1px 5px;
}

.linkish {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* paste */
.paste {
  width: 100%;
  min-height: 210px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  resize: vertical;
}

.paste::placeholder {
  color: var(--muted-2);
}

.paste:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.paste__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.scan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.micro {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* The paste counter turns red before the scan, not after it is refused. */
.micro--warn {
  color: var(--danger);
}

.scan-aside {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--acid);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.scan-aside svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  margin-top: 2px;
}

/* alerts */
.alert {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 92, 69, 0.4);
  border-left: 2px solid var(--danger);
  background: var(--danger-soft);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.7;
}

/* A notice that explains something the results depend on (skipped rows, a
   protected KeePass value) needs air before the verdict, not a wall of text
   pressed against it. */
.alert + .verdict {
  padding-top: 22px;
}

.alert--info {
  border-color: var(--line-2);
  border-left-color: var(--acid);
  background: var(--panel-2);
}

/* progress */
.progress {
  padding-top: 6px;
}

.progress__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.progress__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.progress__pct {
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--acid);
}

.progress__track {
  height: 4px;
  background: var(--panel-3);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0;
  background: var(--acid);
  transition: width 0.12s linear;
}

.progress__note {
  margin: 12px 0 0;
  max-width: 62ch;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.progress__eta {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
}

.progress__actions {
  margin-top: 16px;
}

/* verdict */
.verdict {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.gauge-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex: none;
}

.gauge {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.gauge__track {
  fill: none;
  stroke: var(--panel-3);
  stroke-width: 6;
}

.gauge__arc {
  fill: none;
  stroke: var(--acid);
  stroke-width: 6;
  stroke-linecap: butt;
  transition: stroke-dashoffset 0.55s var(--ease);
}

.gauge-wrap.is-warn .gauge__arc {
  stroke: var(--warn);
}

.gauge-wrap.is-danger .gauge__arc {
  stroke: var(--danger);
}

.gauge__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.gauge__text span {
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.gauge__text small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.verdict__copy {
  flex: 1 1 240px;
  min-width: 0;
}

.verdict__copy h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 23px);
}

.verdict__copy p {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.verdict__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 18px 16px 20px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* "55 of 1,004 entries" — the number a password manager would report. */
.stat__sub {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.stat--danger .stat__num {
  color: var(--danger);
}

.stat--warn .stat__num {
  color: var(--warn);
}

.stat--ok .stat__num {
  color: var(--acid);
}

/* banner */
.banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 13px 15px;
  line-height: 1.65;
  border: 1px solid rgba(255, 176, 32, 0.35);
  background: var(--warn-soft);
  font-size: 13px;
}

.banner p {
  margin: 0;
  flex: 1;
}

.banner svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--warn);
  stroke-width: 2;
  stroke-linecap: round;
  flex: none;
}

/* table controls */
.table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.chip.is-active {
  border-color: var(--acid);
  background: var(--acid-soft);
  color: var(--acid);
}

.chip__count {
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.search {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
}

.search:focus-within {
  border-color: var(--line-2);
}

.search svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  flex: none;
}

.search input {
  width: 180px;
  max-width: 44vw;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px;
  outline: none;
}

.search input::placeholder {
  color: var(--muted-2);
}

/* results table */
.table-wrap {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow-x: auto;
}

.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.results thead th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.results thead th.num {
  text-align: right;
}

.results tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.results tbody tr:last-child td {
  border-bottom: 0;
}

.results tbody tr:hover {
  background: var(--panel-2);
}

.row--critical td:first-child {
  box-shadow: inset 2px 0 0 var(--danger);
}

.row--exposed td:first-child {
  box-shadow: inset 2px 0 0 rgba(255, 92, 69, 0.6);
}

.row--unknown td:first-child {
  box-shadow: inset 2px 0 0 var(--warn);
}

.pw {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw__value {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  word-break: break-all;
}

.pw__value.is-revealed {
  color: var(--text);
  background: var(--panel-3);
  padding: 1px 4px;
}

.pw__len {
  padding: 0 4px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  white-space: nowrap;
}

.icon-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  flex: none;
}

.icon-btn:hover {
  border-color: var(--acid);
  color: var(--acid);
  background: var(--acid-soft);
}

.icon-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.labels {
  max-width: 34ch;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  padding: 2px 6px;
  border: 1px solid currentColor;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge::before {
  content: "[";
  margin-right: 1px;
  opacity: 0.6;
}

.badge::after {
  content: "]";
  margin-left: 1px;
  opacity: 0.6;
}

.badge--danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.badge--warn {
  color: var(--warn);
  background: var(--warn-soft);
}

.badge--ok {
  color: var(--acid);
  background: var(--acid-soft);
}

.badge--muted {
  color: var(--muted-2);
  border-color: var(--line);
}

.count {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.count--danger {
  color: var(--danger);
}

.count--warn {
  color: var(--warn);
}

.count--zero {
  color: var(--muted-2);
}

.strength {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bars {
  display: inline-flex;
  gap: 2px;
}

.bars i {
  width: 4px;
  height: 12px;
  background: var(--panel-3);
  border: 1px solid var(--line);
}

.bars i.on {
  background: var(--muted);
  border-color: var(--muted);
}

.strength--weak .bars i.on {
  background: var(--danger);
  border-color: var(--danger);
}

.strength--fair .bars i.on {
  background: var(--warn);
  border-color: var(--warn);
}

.strength--strong .bars i.on {
  background: var(--acid);
  border-color: var(--acid);
}

.strength__label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
}

.empty {
  margin: 0;
  padding: 24px 14px;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

/* -------------------------------------------------------- email check -- */
.email-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 26px);
}

.email-form {
  display: grid;
  gap: 10px;
}

.email-form__field {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.email-input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
}

.email-input::placeholder {
  color: var(--muted-2);
}

.email-input:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.email-form .micro {
  margin: 0;
}

.breaches {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.breach {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--danger);
  background: var(--panel-2);
}

.breach__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
}

.breach__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.breach__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.breach__classes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.breach__class {
  padding: 1px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* ------------------------------------------------------------- sections -- */
main {
  counter-reset: section;
}

.section {
  padding: clamp(44px, 6.5vw, 80px) 0;
  border-top: 1px solid var(--line);
  counter-increment: section;
}

.section--tight {
  padding: clamp(32px, 4.6vw, 54px) 0;
}

.section__head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.section__head h2 {
  margin: 14px 0 14px;
  font-size: clamp(25px, 3.2vw, 37px);
  letter-spacing: -0.03em;
}

.section .section__head h2::before {
  content: "[" counter(section, decimal-leading-zero) "]";
  display: block;
  margin-bottom: 10px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section__lede {
  max-width: 62ch;
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

/* ---------------------------------------------------------------- steps -- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}

.step {
  padding: 24px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 24px;
}

.step:last-child {
  padding-right: 0;
  border-right: 0;
}

.step__num {
  display: block;
  margin-bottom: 14px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------- split panel -- */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.split-panel__copy {
  padding: clamp(20px, 2.8vw, 32px);
  border-right: 1px solid var(--line);
}

.split-panel__copy h3 {
  margin-top: 0;
  font-size: 20px;
}

.split-panel__copy p {
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 14.5px;
}

.split-panel__demo {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 2.8vw, 28px);
  background: var(--bg);
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px dotted var(--line);
}

.demo-label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.split-panel__demo code {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}

.split-panel__demo mark {
  background: var(--acid);
  color: #08090b;
  padding: 0 3px;
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.demo-col {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
}

.demo-col--sent {
  border-color: var(--acid-line);
  background: var(--acid-soft);
}

.demo-tag {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.demo-sub {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
}

/* The "sent" column sits on a acid-tinted panel (#192011), where --muted-2
   drops to 3.95:1. Lift those two labels back over 4.5:1. */
.demo-col--sent .demo-tag,
.demo-col--sent .demo-sub {
  color: var(--muted);
}

/* ---------------------------------------------------------- privacy duo -- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.list-card {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.list-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.list-card__title svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.list-card__title--ok {
  color: var(--acid);
}

.list-card__title--no {
  color: var(--danger);
}

.ticks,
.crosses {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.ticks li,
.crosses li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.ticks li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 13px;
}

.crosses li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 14px;
}

.honest {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--danger);
  background: var(--panel);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.honest strong {
  display: block;
  margin-bottom: 6px;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- tips -- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tip {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.tip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border: 1px solid var(--line-2);
  color: var(--acid);
}

.tip__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tip h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.tip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ faq -- */
.faq {
  border-top: 1px solid var(--line-2);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 15px 34px 15px 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 13px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq summary:hover {
  color: var(--acid);
}

.faq details p {
  max-width: 74ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------------------------------------------------------- open source -- */
.oss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--acid-line);
  background: var(--panel);
}

.oss__copy {
  display: grid;
  gap: 9px;
  max-width: 56ch;
}

.oss__copy h2 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 29px);
}

.oss__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.oss .btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

/* --------------------------------------------------------------- footer -- */
.footer {
  padding: clamp(32px, 4.6vw, 52px) 0 clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line-2);
  background: var(--bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.footer__brand .brand__mark {
  width: 27px;
  height: 27px;
  color: var(--acid);
}

.footer__word {
  margin: 0 0 2px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  justify-content: flex-end;
}

.footer__nav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__nav a:hover {
  border-bottom-color: var(--acid);
  color: var(--acid);
}

.footer__note {
  grid-column: 1 / -1;
  max-width: 94ch;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.9;
}

.footer__legal {
  display: block;
  margin-top: 8px;
}

/* ------------------------------------------------------------- legal doc -- */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(36px, 5.5vw, 68px) var(--pad) 0;
}

.doc__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 46px);
}

.doc__meta {
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.72;
}

.prose h2 {
  margin: 34px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prose h3 {
  margin: 22px 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

.prose a {
  color: var(--acid);
  text-decoration-color: var(--acid-line);
}

.prose code {
  padding: 1px 4px;
  background: var(--panel-3);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85em;
}

/* A long token — URL, hash, header name — must break rather than widen the
   column and push the whole article sideways on a phone. */
.prose :not(pre) > code {
  overflow-wrap: anywhere;
}

.prose .lead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.doc__foot {
  max-width: 800px;
  margin: 38px auto 0;
  padding: 16px var(--pad) 60px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.9;
}

.ph {
  background: var(--danger-soft);
  border-bottom: 1px solid var(--danger);
}

.table-scroll {
  margin: 0 0 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.prose th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.prose td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

/* -------------------------------------------------------------- contact -- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}

.contact-list li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list a {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 13px;
}

.contact-direct {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > label,
.field__label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  /* 16px is the floor: iOS Safari zooms the page on any control smaller. */
  font-size: 16px;
}

.field textarea {
  min-height: 150px;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.field__hint {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.check input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--acid);
  flex: none;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}

.form-status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.75;
}

.form-status[data-state="ok"] {
  color: var(--acid);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ 404 -- */
.page-404 {
  min-height: 64vh;
  display: grid;
  place-items: center;
}

.notfound {
  max-width: 560px;
  padding: 40px var(--pad);
}

.notfound__mark {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.notfound__title {
  margin: 10px 0 14px;
  font-size: clamp(40px, 7vw, 66px);
  letter-spacing: -0.04em;
}

.notfound__text {
  margin-bottom: 20px;
  color: var(--muted);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- motion -- */
.reveal {
  animation: rise 0.45s var(--ease) both;
}

.hero .reveal:nth-child(2) {
  animation-delay: 0.04s;
}

.hero .reveal:nth-child(3) {
  animation-delay: 0.08s;
}

.hero .reveal:nth-child(4) {
  animation-delay: 0.12s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@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;
  }

  .grad::after {
    content: "";
  }
}

.noscript {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 11px 16px;
  background: var(--danger);
  color: #08090b;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__spec {
    max-width: 460px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--pad) 10px;
    border-bottom: 1px solid var(--line-2);
    background: var(--panel);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .nav__links a:last-child {
    border-bottom: 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-top: 0;
  }

  .steps,
  .trio,
  .duo {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step + .step {
    padding-left: 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .split-panel__copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav__inner {
    height: 56px;
    gap: 12px;
  }

  .seal {
    display: none;
  }

  .brand__word {
    font-size: 13px;
  }

  .hero__title {
    max-width: 15ch;
  }

  .verdict {
    flex-wrap: wrap;
  }

  .verdict__actions {
    width: 100%;
  }

  .scan-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .results thead {
    display: none;
  }

  .results tbody tr {
    display: block;
    padding: 12px 13px;
    border-bottom: 1px solid var(--line);
  }

  .results tbody tr:last-child {
    border-bottom: 0;
  }

  .results tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    border-bottom: 1px dotted var(--line);
  }

  .results tbody td:last-child {
    border-bottom: 0;
  }

  .results tbody td::before {
    content: attr(data-label);
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .results tbody td:first-child {
    display: block;
    padding: 0 0 9px;
    border-bottom: 0;
  }

  .results tbody td:first-child::before {
    display: none;
  }

  .row--critical td:first-child,
  .row--exposed td:first-child,
  .row--unknown td:first-child {
    padding-left: 10px;
  }

  .count {
    text-align: left;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .table-foot {
    flex-direction: column;
    gap: 6px;
  }

  .pill {
    display: none;
  }
}

@media (max-width: 520px) {
  .email-form__field {
    flex-direction: column;
    gap: 8px;
  }

  .email-input {
    flex: 1 1 auto;
    width: 100%;
    border-right: 1px solid var(--line-2);
    border-radius: 2px;
  }

  .email-form__field .btn {
    width: 100%;
  }

  .demo-split {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------------ *
 * Blog index, articles, generator
 * ------------------------------------------------------------------ */

.page-head {
  padding: clamp(38px, 6vw, 76px) 0 26px;
}

.page-head__title {
  margin: 12px 0 16px;
  max-width: 24ch;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.page-head__lede {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.posts {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--line);
}

.post-card {
  background: var(--bg);
}

.post-card__link {
  display: block;
  padding: clamp(20px, 3vw, 30px);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.post-card__link:hover {
  background: var(--panel);
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.post-card__tag {
  color: var(--acid);
}

.post-card__title {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.post-card__link:hover .post-card__title {
  color: var(--acid);
}

.post-card__desc {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.post-card__more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
}

.posts__feed {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--acid);
}

.article {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.article__tag {
  display: inline-block;
  margin: 26px 0 18px;
  padding: 5px 8px;
  border: 1px solid var(--acid-line);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article__title {
  margin: 0 0 16px;
  max-width: 30ch;
  font-size: clamp(28px, 4.1vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.callout {
  margin: 44px 0;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--acid);
  background: var(--panel);
}

.callout__label {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
}

.callout p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0 !important;
}

.related {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related__title {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.related__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.related__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 13px 16px;
  background: var(--bg);
}

.related__list a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.related__list a:hover {
  color: var(--acid);
}

.related__date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
}

.gen {
  margin-bottom: 46px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.gen__output {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.gen__field {
  flex: 1 1 260px;
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(15px, 2.1vw, 20px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--acid);
  word-break: break-all;
  user-select: all;
}

.gen__actions {
  display: flex;
  gap: 8px;
}

.gen__modes {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.gen__mode {
  flex: 1;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.gen__mode:hover {
  color: var(--text);
  border-color: #3a424e;
}

.gen__mode.is-active {
  border-color: var(--acid);
  background: rgba(182, 242, 74, 0.12);
  color: var(--acid);
}

.gen__mode:focus-visible,
.gen__select:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.gen__select {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

.gen [hidden] {
  display: none !important;
}

.gen__controls {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.gen__row {
  display: grid;
  gap: 10px;
}

.gen__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.gen__label span {
  color: var(--acid);
}

.gen__range {
  width: 100%;
  /* The input is the touch target; the 2px track is painted by the pseudo-element. */
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.gen__range::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--line-2);
}

.gen__range::-moz-range-track {
  height: 2px;
  background: var(--line-2);
}

.gen__range:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 8px;
}

.gen__range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 0;
  border-radius: 2px;
  background: var(--acid);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.gen__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 2px;
  background: var(--acid);
  cursor: pointer;
}

.gen__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.gen__options legend {
  margin-bottom: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--acid);
}

.check code {
  font-size: 11px;
  color: var(--muted-2);
}

.gen__meter {
  margin-top: 20px;
}

.gen__meter-head {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gen__bar {
  height: 3px;
  background: var(--line);
}

.gen__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
  transition: width 0.25s var(--ease);
}

.gen__bar span[data-tone="warn"] {
  background: var(--warn);
}

.gen__bar span[data-tone="bad"] {
  background: var(--danger);
}

.gen__note {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-2);
}

.prose sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}

@media (max-width: 620px) {
  .gen__output {
    flex-direction: column;
    align-items: stretch;
  }

  .gen__actions .btn {
    flex: 1;
  }
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.card--link:hover {
  border-color: var(--acid-line);
  background: var(--panel-2);
}

.card--link h3 {
  color: var(--text);
}

.card--link:hover h3 {
  color: var(--acid);
}

.card__more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
}

@media (max-width: 760px) {
  .pair {
    grid-template-columns: 1fr;
  }
}

.prose pre {
  margin: 24px 0;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
  line-height: 1.7;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  white-space: pre;
}

/* Cloudflare Turnstile widget */
.cf-turnstile {
  margin: 18px 0 6px;
  max-width: 100%;
}

.cf-turnstile iframe {
  max-width: 100%;
}

/* A landscape phone (932px) is wider than the breakpoint below, so the 16px
   floor is keyed to touch as well, which is what actually triggers the zoom. */
@media (pointer: coarse) {
  .paste,
  .search input,
  .email-input,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  /* iOS Safari zooms the page when a focused control renders below 16px. */
  .search input {
    font-size: 16px;
    width: 100%;
    max-width: none;
  }
  .paste {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Breach directory: the exposed-data list on a breach page. */
.data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.data-tags li {
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Breach directory: stat strip, filters, and the JS-only hidden state. */
.dir-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.dir-stats > div {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.dir-stats > div:nth-child(-n + 2) {
  border-top: 0;
}

.dir-stats dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dir-stats dd {
  margin: 4px 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

@media (min-width: 720px) {
  .dir-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .dir-stats > div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .dir-stats > div:first-child {
    border-left: 0;
  }
}

.filters {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.filters__toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.filters__toggle .check {
  font-size: 12px;
}

.filters__count {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 760px) {
  .filters {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) auto;
    align-items: end;
  }
  .filters__count {
    grid-column: 1 / -1;
  }
}

.is-hidden {
  display: none !important;
}

/* Latest notes and recent breaches on the homepage — both are filled in by
   scripts/build-blog.mjs between marker comments. */
.latest {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.latest li + li { border-top: 1px solid var(--line); }
.latest a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s var(--ease);
}
.latest a:hover { background: var(--panel-2); }
.latest a:focus-visible { outline: 2px solid var(--acid); outline-offset: -2px; }
.latest__tag {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}
.latest__title { flex: 1; font-size: 15px; line-height: 1.35; }
.latest__date {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.latest__all a {
  justify-content: flex-end;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.latest__all a:hover { color: var(--acid); }

@media (max-width: 560px) {
  .latest a { flex-wrap: wrap; gap: 6px 10px; }
  .latest__title { flex-basis: 100%; order: 3; }
}

/* Touch targets: 44px is the guideline, and these controls sit in rows on a
   phone where a 30px button next to a 30px button is easy to mistap. */
@media (max-width: 720px) {
  .btn--sm {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 11.5px;
  }
  .filter-chips button,
  .chip {
    min-height: 44px;
  }
  .tab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }
  .btn {
    min-height: 44px;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
  .icon-btn svg {
    width: 16px;
    height: 16px;
  }
  .verdict__actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .verdict__actions .btn {
    flex: 0 0 auto;
  }
}

/* --- directory extras: hub links, the yearly chart and its table --------- */
.dir-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 22px;
}
.dir-links a {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
}
.dir-links a:hover {
  color: var(--acid);
  border-bottom-color: var(--acid);
}

.chart {
  margin: 30px 0 10px;
}
.chart__caption {
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.years {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 34px;
  font: 14px/1.5 var(--mono);
}
.years caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  padding-top: 12px;
}
.years th,
.years td {
  text-align: right;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.years th:first-child,
.years td:first-child {
  text-align: left;
}
.years th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.years tbody tr:last-child td {
  border-bottom: none;
}

/* --- email results: the link into the directory -------------------------- */
.breach__more {
  display: inline-block;
  margin-top: 8px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--acid);
  border-bottom: 1px solid var(--acid-line);
  padding-bottom: 4px;
}
.breach__more:hover {
  border-bottom-color: var(--acid);
}

/* ==========================================================================
   Printable report

   A light sheet on a dark backdrop, so the same markup reads well on screen
   and prints to A4 without a second layout. Nothing here takes a password:
   rows carry the masked value and its length.
   ========================================================================== */
/* The page behind the report does not scroll while it is open. */
body.is-reporting {
  overflow: hidden;
}

.report {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow: auto;
  padding: 20px 18px 56px;
  background: rgba(6, 7, 9, 0.97);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.report__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 210mm;
  margin: 0 auto 16px;
  padding: 10px 12px;
  background: rgba(8, 9, 11, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.report__hint {
  flex: 1 1 220px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.report__sheet {
  max-width: 210mm;
  margin: 0 auto;
  padding: 18mm 16mm 16mm;
  background: #ffffff;
  color: #171a1f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
}

.report__sheet .r-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #171a1f;
}

.report__sheet .r-brand {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: #171a1f;
}

.report__sheet .r-kicker {
  margin: 0 0 0 auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6472;
}

.report__sheet .r-meta {
  width: 100%;
  margin: 5px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  color: #5b6472;
}

.report__sheet .r-title {
  margin: 22px 0 10px;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #101318;
}

.report__sheet .r-lede {
  max-width: 64ch;
  margin: 0 0 20px;
  color: #3b434f;
}

.report__sheet .r-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 20px;
  border-top: 1px solid #d7dbe2;
  border-bottom: 1px solid #d7dbe2;
}

.report__sheet .r-stat {
  padding: 13px 12px;
  border-left: 1px solid #eceef2;
}

.report__sheet .r-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.report__sheet .r-stat__value {
  display: block;
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #101318;
}

.report__sheet .r-stat__label {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b6472;
}

.report__sheet .r-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 28px;
  margin: 0 0 22px;
}

.report__sheet .r-ledger__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 6px 0;
  border-bottom: 1px solid #eceef2;
  font-size: 11.5px;
}

.report__sheet .r-ledger__label {
  color: #5b6472;
}

.report__sheet .r-ledger__value {
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
  color: #171a1f;
}

.report__sheet .r-h2 {
  margin: 24px 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #171a1f;
}

.report__sheet .r-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
}

/* Fixed columns keep long labels and the signals text inside the printed
   page instead of widening the sheet past the paper. */
.report__sheet .r-table th:nth-child(1),
.report__sheet .r-table td:nth-child(1) {
  width: 19%;
}
.report__sheet .r-table th:nth-child(2),
.report__sheet .r-table td:nth-child(2) {
  width: 29%;
}
.report__sheet .r-table th:nth-child(3),
.report__sheet .r-table td:nth-child(3) {
  width: 17%;
}

.report__sheet .r-table td {
  overflow-wrap: anywhere;
}

.report__sheet .r-table th {
  padding: 8px 10px 8px 0;
  border-bottom: 1.5px solid #171a1f;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: #5b6472;
}

.report__sheet .r-table th:last-child,
.report__sheet .r-table td:last-child {
  padding-right: 0;
}

.report__sheet .r-table td {
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid #eceef2;
  vertical-align: top;
}

.report__sheet .r-pw {
  font-family: var(--mono);
  white-space: nowrap;
  color: #3b434f;
}

.report__sheet .r-label {
  max-width: 28ch;
  overflow-wrap: anywhere;
}

.report__sheet .r-num {
  font-family: var(--mono);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.report__sheet tr.is-danger .r-num {
  color: #a11d0c;
  font-weight: 600;
}

.report__sheet .r-signals {
  font-size: 10px;
  color: #5b6472;
}

.report__sheet .r-note {
  margin: 9px 0 0;
  font-size: 10.5px;
  color: #5b6472;
}

.report__sheet .r-method {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid #e0e4ea;
  background: #f7f8fa;
}

.report__sheet .r-method p {
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.65;
  color: #3b434f;
}

.report__sheet .r-method p:last-child {
  margin-bottom: 0;
}

.report__sheet .r-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 26px;
  padding-top: 10px;
  border-top: 1px solid #d7dbe2;
  font-size: 10px;
  color: #5b6472;
}

.report__sheet .r-foot p {
  margin: 0;
}

.report__sheet .r-foot__url {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #171a1f;
}

@media screen and (max-width: 720px) {
  .report {
    padding: 12px 10px 40px;
  }
  .report__sheet {
    padding: 26px 20px 30px;
  }
  .report__sheet .r-title {
    font-size: 21px;
  }
  .report__sheet .r-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report__sheet .r-stat {
    padding: 12px 10px;
  }
  .report__sheet .r-stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .report__sheet .r-stat:nth-child(-n + 2) {
    border-bottom: 1px solid #eceef2;
  }
  .report__sheet .r-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Findings stack as labeled rows: four fixed columns cannot fit a phone. */
  .report__sheet .r-table,
  .report__sheet .r-table tbody,
  .report__sheet .r-table tr,
  .report__sheet .r-table td {
    display: block;
    width: auto;
  }

  .report__sheet .r-table thead {
    display: none;
  }

  .report__sheet .r-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #eceef2;
  }

  .report__sheet .r-table tr:last-child {
    border-bottom: 0;
  }

  .report__sheet .r-table td {
    display: flex;
    gap: 10px;
    width: auto !important;
    padding: 2px 0;
    border: 0;
    font-size: 11.5px;
  }

  .report__sheet .r-table td::before {
    content: attr(data-label);
    flex: none;
    width: 72px;
    padding-top: 2px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8492;
  }

  .report__sheet .r-pw {
    white-space: normal;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    background: #ffffff !important;
  }

  /* Only the report prints, and only while it is open. */
  body.is-reporting > *:not(.report) {
    display: none !important;
  }

  body.is-reporting {
    overflow: visible !important;
  }

  body.is-reporting .report {
    position: static;
    overflow: visible;
    padding: 0;
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.is-reporting .report__bar {
    display: none !important;
  }

  body.is-reporting .report__sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    font-size: 11px;
  }

  body.is-reporting .report__sheet .r-title {
    font-size: 21px;
  }

  body.is-reporting .report__sheet .r-table {
    font-size: 9.5px;
  }

  body.is-reporting .report__sheet .r-table td {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  body.is-reporting .report__sheet tr,
  body.is-reporting .report__sheet .r-stats,
  body.is-reporting .report__sheet .r-method,
  body.is-reporting .report__sheet .r-ledger {
    break-inside: avoid;
  }

  body.is-reporting .report__sheet .r-method {
    background: #ffffff;
  }
}
