/* Attestable Research — shared shell.
   Same palette as the lab so the two halves read as one house. */
:root{
  --bg:#0b0e14; --panel:#141a24; --ink:#e6edf3; --muted:#8b98a9;
  --accent:#5ad1c5; --accent2:#f6ad55; --line:#232c3a; --good:#7ee081; --warn:#f6ad55;
}
@media (prefers-reduced-motion: no-preference){
  a.card{ transition:transform .15s, border-color .15s; }
}
*{ box-sizing:border-box; }
body{ margin:0; background:radial-gradient(1200px 600px at 50% -10%, #16202e 0%, var(--bg) 60%);
  color:var(--ink); font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; line-height:1.55; }

nav{ display:flex; align-items:center; gap:1rem; padding:.9rem 1.4rem; border-bottom:1px solid var(--line);
  position:sticky; top:0; background:rgba(11,14,20,.86); backdrop-filter:blur(8px); z-index:5; flex-wrap:wrap; }
nav .brand{ font-weight:700; letter-spacing:.01em; color:var(--ink); text-decoration:none; }
nav .brand span{ color:var(--accent); }
nav a{ color:var(--muted); text-decoration:none; font-size:.95rem; }
nav a:hover, nav a:focus-visible{ color:var(--ink); }
nav a[aria-current="page"]{ color:var(--accent); }
nav .sp{ flex:1; }

header.hero{ text-align:center; padding:4.5rem 1.5rem 2rem; }
.kicker{ letter-spacing:.28em; text-transform:uppercase; font-size:.72rem; color:var(--accent); margin:0 0 .9rem; }
h1{ font-size:clamp(2.1rem,5.5vw,3.4rem); margin:0 0 .7rem; }
.sub{ color:var(--muted); max-width:56ch; margin:0 auto; font-size:1.12rem; }
.promise{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin:1.6rem auto 0; max-width:760px; }
.promise span{ font-size:.82rem; color:var(--ink); background:var(--panel); border:1px solid var(--line);
  border-radius:999px; padding:.4rem .9rem; }

.cta-row{ display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:1.6rem; }
.cta-row a{ display:inline-block; text-decoration:none; border-radius:999px; padding:.6rem 1.3rem;
  font-size:.95rem; font-weight:600; background:var(--accent); color:var(--bg); border:1px solid var(--accent); }
.cta-row a.ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.cta-row a:hover, .cta-row a:focus-visible{ filter:brightness(1.1); }
.cta-row a.ghost:hover, .cta-row a.ghost:focus-visible{ border-color:var(--accent); filter:none; }

main{ max-width:1000px; margin:0 auto; padding:1.5rem 1.5rem 5rem; }
.wing{ margin:2.6rem 0 1rem; color:var(--accent); letter-spacing:.1em; text-transform:uppercase; font-size:.8rem; }
.grid{ display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
a.card{ display:block; text-decoration:none; color:inherit; background:var(--panel);
  border:1px solid var(--line); border-radius:16px; padding:1.5rem; }
a.card:hover, a.card:focus-visible{ transform:translateY(-4px); border-color:var(--accent); }
a.card.hero-card{ grid-column:1/-1; border-color:var(--accent); }
.tag{ display:inline-block; font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent2); border:1px solid var(--line); border-radius:999px; padding:.2rem .6rem; margin-bottom:.9rem; }
.card h2{ margin:0 0 .5rem; font-size:1.3rem; }
.card p{ margin:0; color:var(--muted); font-size:.95rem; }
.glyph{ font-size:2rem; margin-bottom:.6rem; }

.why{ background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:1.8rem; margin-top:3rem; }
.why h3{ margin:0 0 .6rem; }
.why p{ color:var(--muted); margin:.5rem 0; }

/* ── product + legal pages ─────────────────────────────────────── */
.panel{ background:var(--panel); border:1px solid var(--line); border-radius:18px;
  padding:1.6rem 1.7rem; margin:1.25rem 0; }
.panel.edge{ border-left:3px solid var(--accent); }
.panel.warn{ border-left:3px solid var(--warn); }
.panel h2{ margin:0 0 .7rem; font-size:1.25rem; }
.panel h3{ margin:1.4rem 0 .5rem; font-size:1rem; color:var(--accent); }
.panel h3:first-of-type{ margin-top:0; }
.panel p, .panel li{ color:var(--muted); font-size:.94rem; }
.panel p:last-child{ margin-bottom:0; }
.panel a{ color:var(--accent); }
.panel ul{ padding-left:1.15rem; }
.panel li{ margin:.3rem 0; }
.lede{ color:var(--ink) !important; font-size:1rem !important; }

table{ width:100%; border-collapse:collapse; margin:.6rem 0 0; font-size:.9rem; }
th, td{ text-align:left; padding:.5rem .6rem; border-bottom:1px solid var(--line); vertical-align:top; color:var(--muted); }
th{ color:var(--ink); font-weight:600; white-space:nowrap; }
.scroll{ overflow-x:auto; }

code, .mono{ font-family:ui-monospace,'SF Mono',Menlo,monospace; font-size:.82rem; }
code{ background:var(--bg); border:1px solid var(--line); border-radius:5px; padding:.1rem .35rem; color:var(--ink); }
pre{ background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:.9rem 1rem;
  overflow-x:auto; font-size:.78rem; line-height:1.5; }
pre code{ background:none; border:none; padding:0; }

.verdict{ display:inline-block; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  border-radius:999px; padding:.15rem .55rem; border:1px solid var(--line); }
.v-dangerous{ color:#ff8f8f; border-color:#5b2b2b; }
.v-safe{ color:var(--good); border-color:#2b5b33; }
.v-unassessable{ color:var(--accent2); border-color:#5b482b; }

.legal{ font-size:.88rem; }
.legal p, .legal li{ color:var(--muted); }
.legal h3{ color:var(--accent); }

/* ── contact form ──────────────────────────────────────────────── */
.field{ margin:0 0 1rem; }
.field label{ display:block; font-size:.85rem; color:var(--ink); margin-bottom:.35rem; }
.field .req{ color:var(--accent2); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; margin-left:.4rem; }
.field .opt{ color:var(--muted); font-size:.78rem; margin-left:.4rem; }
.field input, .field select, .field textarea{ width:100%; background:var(--bg); color:var(--ink);
  border:1px solid var(--line); border-radius:8px; padding:.6rem .7rem; font:inherit; font-size:.95rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  outline:none; border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:8rem; }
.hp-label, .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
button[type="submit"]{ background:var(--accent); color:var(--bg); border:none; border-radius:8px;
  padding:.65rem 1.6rem; font:inherit; font-weight:700; cursor:pointer; }
button[type="submit"]:hover, button[type="submit"]:focus-visible{ filter:brightness(1.1); }
button[type="submit"]:disabled{ opacity:.55; cursor:default; }
.form-status{ margin:.8rem 0 0; font-size:.9rem; color:var(--muted); min-height:1.3em; }
.form-status.ok{ color:var(--good); }
.form-status.err{ color:#ff8f8f; }

footer{ text-align:center; color:var(--muted); font-size:.82rem; padding:2rem 1.5rem 4rem;
  border-top:1px solid var(--line); margin-top:3rem; }
footer a{ color:var(--muted); }
footer p{ margin:.35rem 0; }
