/* ============================================================
   NOCAP marketing site — design system
   Premium forensic technology. Near-black graphite, NOCAP blue,
   restrained verdict colours. System font stack (no external
   requests). Palette mirrors app_flutter/lib/theme/colors.dart.
   ============================================================ */

:root {
  /* Brand (from the NOCAP app theme) */
  --blue: #1A7BFF;
  --cyan: #00CFEA;
  --ice: #A7D8FF;

  /* Verdict colours — accents only */
  --v-real: #22C55E;
  --v-mixed: #FACC15;
  --v-cap: #EF4444;
  --v-uncertain: #9CA3AF;

  /* Surfaces */
  --bg: #05070A;
  --surface-1: #0C1118;
  --surface-2: #111822;
  --text: #F5F7FA;
  --muted: #98A2B3;
  --faint: rgba(245, 247, 250, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --nav-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient graphite atmosphere: faint grid + two restrained glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(26, 123, 255, 0.09), transparent 65%),
    radial-gradient(700px 420px at 8% 30%, rgba(0, 207, 234, 0.05), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

img, video { max-width: 100%; height: auto; display: block; }

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

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ── Type ────────────────────────────────────────────────── */

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 800;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  max-width: 22ch;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 14px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 62ch;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ── Nav ─────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav-brand img { border-radius: 7px; }
.nav-brand .tm { font-size: 0.55em; vertical-align: super; opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links > a { color: var(--muted); }
.nav-links > a:hover,
.nav-links > a[aria-current="page"] { color: var(--text); }

.nav-ctas { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 11px;
  font: inherit;
  cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.12); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(167, 216, 255, 0.5); color: var(--text); }

.btn-sm { padding: 9px 16px; border-radius: 10px; font-size: 13.5px; }

/* ── Sections ────────────────────────────────────────────── */

.section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { margin-bottom: 44px; }
.section-head .lede { margin-top: 14px; }

.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Scroll reveal (motion-gated in JS; default visible) */
.reveal { opacity: 1; transform: none; }
.reveal-armed {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-armed.reveal-in { opacity: 1; transform: none; }

/* ── Hero ────────────────────────────────────────────────── */

.hero { padding: 84px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(26, 123, 255, 0.09);
  border: 1px solid rgba(26, 123, 255, 0.3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 1px rgba(0, 207, 234, 0.65);
}

.hero .lede { margin: 22px 0 34px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

.trust-line {
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

/* ── Phone mockup + evidence composition ─────────────────── */

.hero-visual { position: relative; min-height: 560px; }

.phone {
  width: min(300px, 78vw);
  margin: 0 auto;
  background: #0A0E14;
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 40px 80px -32px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 90px -40px rgba(26, 123, 255, 0.5);
}
.phone-screen {
  background: linear-gradient(180deg, #070A0D 0%, #0A101A 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.phone-notch {
  width: 86px; height: 22px;
  margin: 8px auto 4px;
  background: #05070A;
  border-radius: 999px;
}
.phone-body { padding: 14px 16px 22px; }

.app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}
.app-title img { width: 18px; height: 18px; border-radius: 5px; }

/* Verdict badge (mirrors the app's result screen) */
.verdict-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  margin-bottom: 14px;
}
.verdict-badge .mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
}
.verdict-badge .label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.verdict-badge .conf { font-size: 12.5px; color: var(--muted); }

.v-real   { color: var(--v-real); }
.v-mixed  { color: var(--v-mixed); }
.v-cap    { color: var(--v-cap); }
.v-uncertain { color: var(--v-uncertain); }

.mark-real      { background: rgba(34, 197, 94, 0.14);  color: var(--v-real); }
.mark-mixed     { background: rgba(250, 204, 21, 0.14); color: var(--v-mixed); }
.mark-cap       { background: rgba(239, 68, 68, 0.14);  color: var(--v-cap); }
.mark-uncertain { background: rgba(156, 163, 175, 0.14); color: var(--v-uncertain); }

/* Signal rows inside the phone */
.signal-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.signal-row b { color: var(--text); font-weight: 650; display: block; font-size: 11.5px; }
.signal-dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
}
.dot-supporting { background: var(--v-real); }
.dot-suspicious { background: var(--v-cap); }
.dot-neutral    { background: var(--v-uncertain); }
.dot-inconclusive { background: var(--v-mixed); }

/* Floating evidence cards around the phone */
.float-card {
  position: absolute;
  background: rgba(12, 17, 24, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 210px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}
.float-card b { color: var(--text); display: block; font-size: 12px; margin-bottom: 2px; }
.fc-1 { top: 6%; left: -4%; }
.fc-2 { bottom: 18%; left: -9%; }
.fc-3 { top: 30%; right: -6%; }
.fc-4 { bottom: 4%; right: -2%; }

@media (max-width: 1080px) {
  .fc-1 { left: 0; } .fc-2 { left: 0; } .fc-3 { right: 0; } .fc-4 { right: 0; }
}

/* ── Cards & grids ───────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(167, 216, 255, 0.28); transform: translateY(-2px); }
.card h3 { font-size: 16.5px; font-weight: 750; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(26, 123, 255, 0.1);
  border: 1px solid rgba(26, 123, 255, 0.3);
  margin-bottom: 16px;
  font-size: 19px;
}

/* ── Split panel (why detection is difficult) ────────────── */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.split-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
}
.split-panel.expected { background: var(--surface-1); }
.split-panel.reality {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border-color: rgba(26, 123, 255, 0.28);
}
.split-panel h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.split-panel.reality h3 { color: var(--ice); }
.split-panel ul { margin: 0; padding: 0; list-style: none; }
.split-panel li {
  padding: 11px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
.split-panel li:first-child { border-top: 0; }
.split-panel li b { color: var(--text); font-weight: 650; }

.closing-line {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 650;
  color: var(--text);
  max-width: 46ch;
}

/* ── Verdict philosophy ──────────────────────────────────── */

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.verdict-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  padding: 20px 18px;
}
.verdict-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
}
.tag-real      { background: rgba(34, 197, 94, 0.12);  color: var(--v-real);      border: 1px solid rgba(34,197,94,0.3); }
.tag-mixed     { background: rgba(250, 204, 21, 0.1);  color: var(--v-mixed);     border: 1px solid rgba(250,204,21,0.3); }
.tag-cap       { background: rgba(239, 68, 68, 0.12);  color: var(--v-cap);       border: 1px solid rgba(239,68,68,0.3); }
.tag-uncertain { background: rgba(156, 163, 175, 0.1); color: var(--v-uncertain); border: 1px solid rgba(156,163,175,0.3); }
.tag-unknown   { background: rgba(152, 162, 179, 0.08); color: var(--muted);      border: 1px solid rgba(152,162,179,0.25); }
.verdict-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

.abstention-note {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  background: rgba(26, 123, 255, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-weight: 600;
  max-width: 60ch;
}

/* ── Sample analyzer ─────────────────────────────────────── */

.analyzer {
  border: 1px solid var(--border-strong);
  background: var(--surface-1);
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 36px);
}

.analyzer-disclosure {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(167, 216, 255, 0.2);
  background: rgba(26, 123, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--muted);
}
.analyzer-disclosure b { color: var(--text); display: block; margin-bottom: 3px; font-size: 14px; }

.sample-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) {
  .sample-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sample-card {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sample-card:hover { border-color: rgba(167, 216, 255, 0.4); transform: translateY(-2px); }
.sample-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0A0E14; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sample-provenance {
  position: absolute;
  left: 10px; bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.82);
  border: 1px solid var(--border-strong);
  color: var(--ice);
  backdrop-filter: blur(6px);
}
.sample-info { padding: 16px; }
.sample-info h3 { font-size: 15px; margin-bottom: 4px; }
.sample-info .modality {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--faint);
}
.sample-info p { margin: 8px 0 14px; font-size: 13px; color: var(--muted); }
.sample-info .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ice);
}

/* Loading transition */
.analyzer-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  color: var(--muted);
  font-weight: 600;
}
.spinner {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--blue);
}
@media (prefers-reduced-motion: no-preference) {
  .spinner { animation: spin 0.8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Result card */
.result-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; }
.result-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0A0E14;
  align-self: start;
}
.result-media img, .result-media video { width: 100%; }

.saved-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(26, 123, 255, 0.1);
  border: 1px solid rgba(26, 123, 255, 0.35);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.result-verdict-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 16px;
}
.result-verdict-row .mark {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 800;
}
.result-verdict-row .label { font-size: 24px; font-weight: 800; letter-spacing: 0.04em; }
.result-verdict-row .conf { font-size: 13.5px; color: var(--muted); }

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.meta-chip {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

.evidence-list { margin: 0 0 18px; padding: 0; list-style: none; }
.evidence-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.evidence-list li:first-child { border-top: 0; }
.evidence-list .signal-dot { margin-top: 7px; }
.evidence-list b { color: var(--text); font-weight: 650; }

.result-block { margin-bottom: 16px; }
.result-block h4 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.result-block p { margin: 0; font-size: 14px; color: var(--muted); }

.result-limitation {
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(250, 204, 21, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pending {
  color: var(--faint);
  font-style: italic;
}

/* ── How it works ────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 14px;
  padding: 26px 22px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.step h3 { font-size: 15.5px; margin-bottom: 7px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ── Gallery ─────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.gallery-crops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.crop {
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 14px;
  padding: 18px;
}
.crop h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--faint);
}
.gallery-note { margin-top: 20px; font-size: 12.5px; color: var(--faint); max-width: 70ch; }

/* Modality tiles used in home-screen recreation */
.modality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.modality-tile {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 10px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--muted);
}
.modality-tile span { display: block; font-size: 17px; margin-bottom: 5px; }

.analyzing-pulse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}
.pulse-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(26, 123, 255, 0.35);
  border-top-color: var(--blue);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-ring { animation: spin 1.1s linear infinite; }
}

.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}
.history-row:first-of-type { border-top: 0; }
.history-chip {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ── Trust principles ────────────────────────────────────── */

.trust-card { border-top: 2px solid rgba(26, 123, 255, 0.5); }

/* ── Vision & roadmap ────────────────────────────────────── */

.vision-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
}
.vision-stage {
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text);
}
.vision-stage.future { color: var(--muted); border-style: dashed; }
.vision-stage .stage-note {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.vision-arrow { color: var(--faint); font-size: 15px; }

.roadmap-col h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.roadmap-col.now h3 { color: var(--v-real); }
.roadmap-col.next h3 { color: var(--ice); }
.roadmap-col.future h3 { color: var(--muted); }
.roadmap-col ul { margin: 0; padding: 0; list-style: none; }
.roadmap-col li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--muted);
}
.roadmap-col li:first-child { border-top: 0; }
.roadmap-note { margin-top: 24px; font-size: 12.5px; color: var(--faint); }

/* ── Founder ─────────────────────────────────────────────── */

.founder-card {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1) 60%);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.founder-mark {
  width: 88px; height: 88px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  flex: none;
}
.founder-card blockquote {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.founder-card .attribution { font-size: 13.5px; color: var(--muted); }
.founder-card .attribution b { color: var(--text); }

/* ── Final CTA ───────────────────────────────────────────── */

.final-cta {
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: clamp(44px, 6vw, 72px) 24px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(26, 123, 255, 0.12), transparent 70%),
    var(--surface-1);
}
.final-cta .section-title { margin: 0 auto 14px; }
.final-cta .cta-row { justify-content: center; margin-top: 28px; }

/* ── Legal & content pages ───────────────────────────────── */

.page-hero { padding: 72px 0 34px; }
.page-hero .lede { margin-top: 14px; }

.legal { padding: 8px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h2 {
  font-size: 1.12rem;
  font-weight: 750;
  margin: 38px 0 12px;
  color: var(--ice);
  letter-spacing: 0;
}
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--faint); font-size: 13.5px; margin: 10px 0 30px; }

.callout {
  border: 1px solid rgba(250, 204, 21, 0.25);
  background: rgba(250, 204, 21, 0.05);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--muted);
  margin: 28px 0;
}
.callout strong { color: var(--text); }
.callout.info {
  border-color: rgba(26, 123, 255, 0.3);
  background: rgba(26, 123, 255, 0.06);
}

.kv-stack { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14.5px;
}
.kv .k { color: var(--faint); flex: none; }
.kv .v { font-weight: 600; text-align: right; }

.address-note { font-size: 12.5px; color: var(--faint); margin-top: 18px; }

details.tech-notes {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-1);
  padding: 0;
  margin-top: 30px;
}
details.tech-notes summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.tech-notes summary::-webkit-details-marker { display: none; }
details.tech-notes summary::after { content: "+"; color: var(--faint); font-size: 19px; }
details.tech-notes[open] summary::after { content: "–"; }
details.tech-notes .tech-body { padding: 0 22px 22px; }
details.tech-notes li { padding: 6px 0; color: var(--muted); font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--border); padding: 52px 0 40px; margin-top: 40px; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
}
.footer-brand-name img { width: 24px; height: 24px; border-radius: 6px; }
.footer-tag { margin: 10px 0 2px; font-size: 13.5px; color: var(--muted); }
.footer-op { margin: 0; font-size: 12.5px; color: var(--faint); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
  font-weight: 600;
  align-items: center;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-disclaimer {
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin: 0 0 8px;
  max-width: 78ch;
}
.footer-meta { font-size: 12.5px; color: var(--faint); margin: 0; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .verdict-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 0; padding: 0 0 12px; }
  .float-card { position: static; max-width: none; margin: 12px auto 0; width: min(320px, 100%); }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .split, .sample-picker, .result-card { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 24px;
    background: rgba(5, 7, 10, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 10px 0; font-size: 15px; }
  .nav-ctas { flex-direction: column; align-items: stretch; margin: 12px 0 0; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 520px) {
  .grid-4, .verdict-grid, .steps, .gallery-crops { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
