:root {
  --paper: #ffffff;
  --mist: #eef2f6;
  --surface: #ffffff;
  --ink: #0c1b33;
  --ink-2: #3a4a63;
  --muted: #5f6d82;
  --line: #d9e0e8;
  --pass: #417c6b;
  --pass-bg: #e9f2ee;
  --flag: #a36c52;
  --flag-bg: #f6ede7;
  --sil: #c3ccd7;
  --sil-face: #8d99aa;
  --band: #0c1b33;
  --band-ink: #eef2f6;
  --band-muted: #9fb0c6;
  --shadow: 0 1px 2px rgba(12, 27, 51, .06), 0 12px 32px -8px rgba(12, 27, 51, .16);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1626;
    --mist: #131f33;
    --surface: #182740;
    --ink: #e9eef5;
    --ink-2: #c2ccda;
    --muted: #93a2b7;
    --line: #2a3a55;
    --pass: #8cc3b1;
    --pass-bg: #1b2f2a;
    --flag: #d8a88d;
    --flag-bg: #33261f;
    --sil: #3c4d69;
    --sil-face: #5f7291;
    --band: #07101d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (max-width: 760px) { html { scroll-padding-top: 84px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.mono { font-family: var(--mono); font-size: .9em; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 60; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.logo svg { width: 24px; height: 24px; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.links a:hover { color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; }
.header-cta { margin-left: auto; padding: 8px 18px; border-radius: 999px; background: #0c1b33; color: #ffffff; font-size: 15px; font-weight: 500; text-decoration: none; }
.header-cta:hover { background: #22324d; }
@media (max-width: 760px) {
  .site .wrap { justify-content: space-between; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
  .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--ink); }
  .links { display: none; order: 3; flex-basis: 100%; flex-direction: column; margin-left: 0; gap: 0; font-size: 16px; }
  .links.open { display: flex; }
  .links .on-page { display: none; }
  .links a { padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.035em; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.eyebrow { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }

/* Sections: separated by tone, not lines */
section { padding: clamp(72px, 10vw, 128px) 0; }
.band-mist { background: var(--mist); }
.band-ink { background: var(--band); color: var(--band-ink); }
.band-ink .muted, .band-ink p { color: var(--band-muted); }
.section-intro { max-width: 52ch; margin-bottom: 40px; color: var(--ink-2); font-size: 18px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 18px; }

/* Hero case card */
.cases { display: grid; gap: 20px; }
.cases .proof { margin: 0; }
@media (min-width: 760px) { .cases { grid-template-columns: 1fr 1fr; } }

/* Proof card (home + sample page) */
.proof { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 0; font-size: 14px; color: var(--muted); }
.proof-head .mono { color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 20px 0; position: relative; }
.shot { background: var(--mist); border-radius: 12px; padding: 18px 12px 12px; display: grid; justify-items: center; gap: 2px; }
.shot { padding: 8px 8px 12px; }
.shot-img { position: relative; width: 100%; container-type: inline-size; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.shot-img img { display: block; width: 100%; height: auto; }
.shot .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.shot .when { font: 12px/1.4 var(--mono); color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 18px 20px 6px; display: grid; gap: 10px; }
.checks:last-child { padding-bottom: 20px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.tick {
  display: inline-grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: var(--pass-bg); color: var(--pass); font-size: 12px; font-weight: 700;
}
.tick.flag { background: var(--flag-bg); color: var(--flag); }
figcaption { font-size: 13px; color: var(--muted); padding: 10px 20px 18px; }
.stamp { position: absolute; right: 28px; bottom: 8px; width: 140px; line-height: 0; border-radius: 6px; filter: drop-shadow(0 2px 6px rgba(12, 27, 51, .25)); }
.stamp svg { width: 100%; height: auto; display: block; }
.stamp-id { margin: 0; padding: 12px 20px 0; font-size: 13px; color: var(--muted); }
.status-pass { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--pass-bg); color: var(--pass); font-weight: 600; font-size: 14px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 40px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.steps .num { display: block; font: 400 clamp(56px, 7vw, 88px)/1 var(--sans); letter-spacing: -.05em; color: var(--band-muted); opacity: .45; margin-bottom: 20px; }
.steps h3 { font-size: 22px; }
.steps p { margin: 0; max-width: 32ch; }


/* What it shows */
.limits { display: grid; gap: 40px; margin-top: 32px; }
@media (min-width: 820px) { .limits { grid-template-columns: 1fr 1fr; gap: 64px; } }
.limits h3 { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--pass-bg); color: var(--pass); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; }
.plain li { padding: 16px 0 16px 32px; position: relative; }
.plain li:first-child { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .plain li { min-height: 106px; } }
.plain li b { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.plain li span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.plain li::before { content: ""; position: absolute; left: 2px; top: calc(16px + .2em); }
.plain.yes li::before { content: "✓"; background: var(--pass-bg); color: var(--pass); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; left: 0; top: 18px; }
.fine { margin: 48px 0 0; max-width: 72ch; }


/* Sign-up */
.signup { display: grid; gap: 48px; }
@media (min-width: 900px) { .signup { grid-template-columns: 1fr 1fr; gap: 72px; } }
.aside p { color: var(--ink-2); margin-bottom: 20px; }
form { display: grid; gap: 16px; background: var(--mist); border-radius: 20px; padding: clamp(20px, 4vw, 32px); }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input, select {
  font: 16px/1.3 var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); width: 100%; min-height: 48px;
}
input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
button.btn { width: 100%; }
button:disabled { opacity: .6; cursor: default; }
#msg { min-height: 1.5em; margin: 0; font-weight: 500; font-size: 15px; }

/* Sub-pages: sample, verify, privacy */
.page { padding: 48px 0 96px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -.04em; margin-bottom: 16px; }
.page h2 { font-size: clamp(22px, 3.4vw, 28px); letter-spacing: -.02em; margin: 48px 0 12px; }
.page .lede { max-width: 60ch; }
.page section, .page .block { padding: 0; }
.kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; margin: 0; }
.kv dt, .kv dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dt { color: var(--muted); padding-right: 12px; }
.kv dd { min-width: 0; }
.note { background: var(--mist); border-radius: 16px; padding: 20px 24px; }
.note p:last-child { margin-bottom: 0; }
.prose p, .prose li { max-width: 66ch; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* Footer */
.foot { background: var(--mist); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
@media (max-width: 600px) { main > section { padding-block: 56px; } .hero { padding-top: 32px; } .hero .wrap { gap: 32px; } .steps { margin-top: 28px; } }
.pair:has(.stamp) .shot { padding-bottom: 64px; }

/* Target marker: three concentric rings, monochrome */
.dash li::before, .plain:not(.yes) li::before {
  width: 15px; height: 15px; border-radius: 50%; color: var(--muted);
  background: radial-gradient(circle, currentColor 0 1.8px, transparent 2.2px 3.6px, currentColor 3.9px 5px, transparent 5.4px 6.1px, currentColor 6.4px 7.5px, transparent 7.6px);
}

/* Hero card: planned checks use the target marker instead of a tick */
.checks.planned li { display: block; position: relative; padding-left: 32px; color: var(--ink-2); }
.checks.planned li::before {
  content: ""; position: absolute; left: 3px; top: .25em; width: 15px; height: 15px; border-radius: 50%; color: var(--muted);
  background: radial-gradient(circle, currentColor 0 1.8px, transparent 2.2px 3.6px, currentColor 3.9px 5px, transparent 5.4px 6.1px, currentColor 6.4px 7.5px, transparent 7.6px);
}
.proof-head { align-items: center; color: var(--ink); font-weight: 500; }
.proof-head .tag { margin: 0; background: var(--mist); }

/* Problem */
.problem { display: grid; gap: 40px; }
@media (min-width: 900px) { .problem { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; } .problem .section-intro { margin-bottom: 0; } }
.facts { display: grid; gap: 16px; }
.fact { background: var(--surface); border-radius: 20px; padding: 24px 28px; margin: 0; color: var(--ink-2); font-size: 15px; }
.fact .fig { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.fact a { color: var(--muted); }


/* Dash list */
.dash { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash li { padding-left: 28px; position: relative; }
.dash li::before { content: ""; position: absolute; left: 0; top: .32em; }

/* Result badges */
.status-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--flag-bg); color: var(--flag); font-weight: 600; font-size: 14px; }

/* Case steps (dark band) */
.case-meta { font: 14px/1.5 var(--mono); color: var(--band-muted); margin: 0; }
.steps .out { margin-top: 14px; font: 13px/1.5 var(--mono); color: var(--band-ink); }

/* Public page preview (home) */
.public { display: grid; gap: 40px; }
@media (min-width: 900px) { .public { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }

/* Mock address bar */
.addr { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 13px/1.3 var(--mono); color: var(--muted); }
.addr b { color: var(--ink); font-weight: 500; }

/* Video mock */
.video { margin: 0; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; background: var(--band); aspect-ratio: 16 / 10; }
.video-frame.photo { aspect-ratio: 3 / 2; container-type: inline-size; overflow: hidden; }
.video-frame.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame .redact { position: absolute; font: 500 11px/1 var(--sans); color: #fff; background: rgba(7, 16, 29, .72); padding: 5px 8px; border-radius: 999px; }
.video-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--band); color: var(--band-ink); font: 12px/1 var(--mono); }
.video-bar .play { width: 0; height: 0; border-left: 10px solid var(--band-ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; flex: none; }
.video-bar .track { flex: 1; height: 4px; border-radius: 2px; background: #2a3a55; position: relative; }
.video-bar .track i { position: absolute; top: -3px; width: 2px; height: 10px; background: var(--band-muted); }
.video .audio { color: var(--band-muted); }
.video .cap { margin: 0; padding: 14px 20px 0; font-size: 14px; }
.video .cap:last-child { padding-bottom: 18px; }
.chapters { list-style: none; margin: 0; padding: 14px 20px 18px; display: grid; gap: 6px; font-size: 14px; }
.chapters li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.chapters .t { font: 13px/1.55 var(--mono); color: var(--muted); }
.redactions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.redactions li { background: var(--mist); border-radius: 999px; padding: 6px 12px; font-size: 14px; }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.cmp tbody th { font-weight: 400; color: var(--muted); width: 38%; }
.cmp .diff { color: var(--flag); font-weight: 600; }
.cmp td.mono { white-space: nowrap; }
.cmp thead th { line-height: 1.45; }
.cmp thead th a { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .cmp { font-size: 14px; } .cmp tbody th { width: 30%; } .cmp th, .cmp td { padding-right: 8px; } }
.table-wrap { overflow-x: auto; }
.hero .wrap > .proof { max-width: 640px; width: 100%; margin: 0 auto; }

/* Two-way trust (home) */
.two-way { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 820px) { .two-way { grid-template-columns: 1fr 1fr; gap: 24px; } }
.side { background: var(--surface); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.side h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; margin-bottom: 12px; }
.side p:last-child { margin: 0; color: var(--ink-2); }
.side .eyebrow { display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: var(--pass-bg); color: var(--pass); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.steps.simple { margin-top: 40px; }
@media (min-width: 820px) { .steps.simple { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
@media (min-width: 600px) and (max-width: 819px) { .steps.simple { grid-template-columns: repeat(2, 1fr); } }
.steps.simple .num { color: var(--muted); opacity: .5; }
.steps.simple p { color: var(--ink-2); }

/* How a certification works (home): three steps on one rail, then the
   product ID's ledger of certifications. */
.how-head .section-intro { margin-bottom: 56px; }
.flow { --node: 44px; --gap: 48px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); counter-reset: none; }
.step { position: relative; padding-top: calc(var(--node) + 28px); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; max-width: 34ch; color: var(--ink-2); font-size: 16px; }
.node {
  position: absolute; top: 0; left: 0; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--muted);
  font: 500 17px/1 var(--sans); color: var(--muted); z-index: 1;
}
.node.done { background: var(--pass-bg); border-color: var(--pass-bg); color: var(--pass); }
.node svg { width: 20px; height: 20px; }
/* Connector from this node to the next one, with an arrowhead */
.step:not(:last-child)::before {
  content: ""; position: absolute; top: calc(var(--node) / 2 - .5px); height: 1px;
  left: calc(var(--node) + 10px); right: calc(-1 * var(--gap) + 12px); background: var(--muted);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--node) / 2 - 5px); right: calc(-1 * var(--gap) + 12px);
  width: 7px; height: 7px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg);
}
/* Step 2 -> 3 is the verification time: dashed, labelled */
.step:nth-child(2)::before { background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 10px); }
.wait { position: absolute; top: calc(var(--node) / 2); left: calc(var(--node) + 10px); right: calc(-1 * var(--gap) + 12px); display: flex; justify-content: center; transform: translateY(-50%); pointer-events: none; }
.wait span { background: var(--paper); padding: 2px 10px; font-size: 14px; color: var(--muted); white-space: nowrap; }

.repeat { display: grid; gap: 40px; margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .repeat { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }
.repeat-copy h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin-bottom: 16px; }
.repeat-copy p { color: var(--ink-2); max-width: 46ch; }
.repeat-copy p.muted { color: var(--muted); font-size: 16px; margin: 0; }

.ledger { margin: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ledger-head p { margin: 0; font-weight: 500; }
.ledger-head .mono { margin-right: 8px; font-weight: 500; }
.ledger-head .tag { margin: 0; white-space: nowrap; }
.ledger-cols, .cert { display: grid; grid-template-columns: 16px minmax(0, .85fr) 96px minmax(0, 1.5fr); column-gap: 16px; align-items: baseline; }
.ledger-cols { padding: 14px 24px 4px; font-size: 13px; color: var(--muted); }
.certs { list-style: none; margin: 0; padding: 4px 0 8px; position: relative; }
.certs::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 34px; width: 2px; background: var(--line); }
.cert { padding: 13px 24px; font-size: 15px; position: relative; }
.cert + .cert { border-top: 1px solid var(--line); }
.cert .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-2); align-self: center; position: relative; }
.cert.ok .dot { background: var(--pass); border-color: var(--pass); }
.cert.flag .dot { background: var(--flag); border-color: var(--flag); }
.c-id b { font-weight: 600; margin-right: 6px; }
.c-who { color: var(--muted); margin-left: 8px; }
.c-imei .mono { font-size: 14px; }
.cert.flag .c-imei .mono { color: var(--flag); font-weight: 500; }
.c-res { color: var(--ink-2); }
.cert.ok .c-res { color: var(--pass); font-weight: 500; }
.cert.flag .c-res { color: var(--flag); font-weight: 500; }
.ledger figcaption { padding: 14px 24px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ledger figcaption a { color: var(--ink); font-weight: 500; white-space: nowrap; }

@media (min-width: 760px) and (max-width: 1023px) { .flow { --gap: 32px; } .wait span { font-size: 13px; padding: 2px 6px; } }

/* Narrow: the three steps run top to bottom along a rail on the left */
@media (max-width: 759px) {
  .how-head .section-intro { margin-bottom: 36px; }
  .flow { --node: 40px; grid-template-columns: none; row-gap: 40px; }
  .step { padding: 0 0 0 calc(var(--node) + 20px); min-height: var(--node); }
  .step h3 { font-size: 20px; margin-bottom: 6px; padding-top: 8px; }
  .step:not(:last-child)::before { top: calc(var(--node) + 8px); bottom: -32px; left: calc(var(--node) / 2 - .5px); right: auto; width: 1px; height: auto; }
  .step:not(:last-child)::after { top: auto; bottom: -32px; right: auto; left: calc(var(--node) / 2 - 3.5px); transform: rotate(135deg); }
  .step:nth-child(2)::before { background: repeating-linear-gradient(180deg, var(--muted) 0 5px, transparent 5px 10px); }
  .wait { display: none; }
  .ledger-cols { display: none; }
  .cert { grid-template-columns: 16px minmax(0, 1fr) auto; grid-template-areas: "dot id imei" ". res res"; row-gap: 2px; padding: 12px 18px; }
  .cert .dot { grid-area: dot; }
  .c-id { grid-area: id; }
  .c-imei { grid-area: imei; }
  .c-res { grid-area: res; font-size: 14px; }
  .certs::before { left: 25px; }
  .ledger-head, .ledger figcaption { padding-left: 18px; padding-right: 18px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Certificate card (home hero + sample page): one video, then a row of photos */
.cert-card .proof-head { align-items: center; padding-bottom: 14px; }
.cert-video { margin: 0 20px; border-radius: 12px; overflow: hidden; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 20px 0; }
.video .trio { padding-top: 20px; }
.trio .shot-img { aspect-ratio: 3 / 4; }
.trio .shot-img img { height: 100%; object-fit: cover; }
.trio .label { text-align: center; }
.shot.extra { background: var(--pass-bg); }
.shot.extra .when { color: var(--pass); }
.carousel-head { display: flex; justify-content: space-between; gap: 12px; margin: 14px 20px 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.carousel-head span { font-weight: 400; color: var(--muted); }
.trio.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; padding-top: 10px; }
.trio.carousel::-webkit-scrollbar { display: none; }
.trio.carousel .shot { flex: 0 0 calc((100% - 20px) / 3.3); scroll-snap-align: start; }

/* Seal: a check inside a slowly turning ring */
.seal { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--pass); font-weight: 600; font-size: 14px; }
.seal svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--pass-bg); }
.seal .ring { position: absolute; left: -5px; top: 50%; width: 36px; height: 36px; margin-top: -18px; }
.seal-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--pass); }
.seal-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--pass); animation: halo 2.4s ease-out infinite; }

/* The turning ring, shared by the seal and the steps' nodes */
.ring, .node::after {
  border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--pass) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 3.2s linear infinite;
}
.node::after { content: ""; position: absolute; inset: -8px; }
.step:nth-child(2) .node::after { animation-delay: -1.1s; }
.step:nth-child(3) .node::after { animation-delay: -2.2s; }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ring, .node::after, .seal-dot::after { animation: none; } }

/* Certificate set-up (home) */
.config { display: grid; gap: 40px; }
@media (min-width: 900px) { .config { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.config-copy p { color: var(--ink-2); max-width: 46ch; font-size: 18px; }
.builder { margin: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 0 0 12px; overflow: hidden; }
.builder-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.builder-head p { margin: 0; font-weight: 500; }
.builder-group { margin: 16px 24px 6px; font-size: 13px; color: var(--muted); }
.shots { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 4px; }
.shots li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.shots li.locked { background: var(--mist); }
.shots .i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.shots .state { font-size: 13px; color: var(--muted); }
.shots .state.on { color: var(--pass); font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--pass-bg); }
.shots li.add { color: var(--muted); border: 1.5px dashed var(--line); }
.shots li.add .i { border-style: dashed; }
@media (max-width: 600px) { .trio { gap: 6px; padding-left: 14px; padding-right: 14px; } .carousel-head { margin: 12px 14px 0; } .trio.carousel { scroll-padding-inline: 14px; } .trio.carousel .shot { flex-basis: calc((100% - 12px) / 2.4); } .cert-video { margin: 0 14px; } .trio .label { font-size: 12px; } }

/* Hero headline: light green full stops */
h1 .nw, h2 .nw { white-space: nowrap; }
h1 .dot, h2 .dot { display: inline-block; width: .16em; height: .16em; margin-left: .05em; border-radius: 50%; background: #6dbb9f; color: transparent; overflow: hidden; }

/* "For sellers" label as a dark pill */
.eyebrow.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #0c1b33; color: #ffffff; font-weight: 500; }

/* Seal: keep the check and its ring from shrinking on narrow cards */
.seal, .seal svg { flex: none; }
.seal { white-space: nowrap; }

/* Hero: two short paragraphs, one block in the grid */
.lede-wrap .lede { margin: 0; }
.lede-wrap .lede + .lede { margin-top: 14px; }
.hero .lede-wrap { margin-bottom: 32px; }

/* Hero: centred headline, then seller and buyer cards */
@media (min-width: 760px) { .hero-copy h1 .line { display: block; } }
.hero-copy h1 { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
/* Seller message: before and after the sale, pivoting on the sale itself */
.sale { display: grid; gap: 28px; max-width: 940px; margin: 0 auto; }
.sale-when { display: inline-block; margin: 0 0 12px; padding: 6px 10px; border-radius: 999px; background: var(--pass-bg); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pass); }
.sale h2 { font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -.02em; margin: 0 0 10px; }
.sale-side p:last-child { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.sale-pivot { position: relative; display: grid; place-items: center; }
.sale-pivot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line); }
.sale-pivot span { position: relative; padding: 7px 16px; border-radius: 999px; background: #0c1b33; color: #ffffff; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.sale-pivot span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #6dbb9f; vertical-align: 1px; }
@media (min-width: 760px) {
  .sale { grid-template-columns: 1fr auto 1fr; gap: 0 48px; align-items: start; }
  .sale-side:first-child { text-align: right; }
  .sale-side:first-child p:last-child { margin-left: auto; }
  .sale-side p:last-child { max-width: 38ch; }
  .sale-pivot { align-self: stretch; }
  .sale-pivot::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--line); }
}
