/* Strangerproof — the landing page.
   Brand tokens come from marketing/strangerproof-identity.md. Coral only ever
   means a finding, mint only ever means a fix that held, hat yellow is the
   brand. No third-party requests, no JavaScript, no cookies. */

@font-face {
  font-family: "Archivo Black";
  src: url("fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter var";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #12161c;
  --lift: #1a2029;
  --line: rgba(255, 255, 255, 0.09);
  --chalk: #eaedf2;
  --soft: #9aa2b0;
  --dim: #79808d;
  --hat: #e4ba3e;
  --hat-lit: #f3cc51;
  --body: #da7757;
  --fail: #ff6b57;
  --pass: #4fd69c;
  --count: #f2c14e;
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --text: "Inter var", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hat); }
a:hover { color: var(--hat-lit); }

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

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 22, 28, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 34px; }
.brand b { font-family: var(--display); font-size: 21px; letter-spacing: -0.6px; font-weight: 400; }
.brand b span { color: var(--hat); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-price { color: var(--soft); font-size: 16px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--text);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  border: 2px solid var(--hat);
  background: var(--hat);
  color: #17140f;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--hat-lit); color: #17140f; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(228, 186, 62, 0.22); }
.btn-ghost { background: transparent; color: var(--chalk); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); color: var(--chalk); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -180px;
  width: 1100px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(228, 186, 62, 0.10) 0%, rgba(228, 186, 62, 0.02) 45%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 7.4vw, 68px);
  line-height: 1.04;
  overflow-wrap: break-word;
  letter-spacing: -2px;
  margin: 0 0 20px;
}
.lede { font-size: 20px; color: var(--soft); margin: 0 0 26px; max-width: 34em; }
.lede b { color: var(--chalk); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.chip {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid currentColor;
}
.chip-fail { color: var(--fail); }
.chip-count { color: var(--count); }
.chip-pass { color: var(--pass); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-size: 15px; color: var(--dim); margin-top: 16px; }

/* ---------- the report card ---------- */
.report {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.report h2 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.4px; margin: 0 0 4px; }
.report .cmd { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 14px; color: var(--dim); margin-bottom: 14px; }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 16px; color: var(--soft); }
.report li:first-child { border-top: 0; }
.tag { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: 0.5px; padding: 4px 9px 3px; border-radius: 5px; background: rgba(0, 0, 0, 0.4); }
.tag-fail { color: var(--fail); }
.tag-pass { color: var(--pass); }
.tag-warn { color: var(--count); }
.report .exit { margin-top: 16px; font-family: ui-monospace, Consolas, monospace; font-size: 15px; color: var(--pass); }

/* ---------- sections ---------- */
section { padding: 76px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; color: var(--soft); margin: 0 0 14px; }
h2.sec { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 5.2vw, 44px); overflow-wrap: break-word; line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 18px; }
h3 { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -0.5px; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.prose { max-width: 62ch; color: var(--soft); }
.prose b, .prose strong { color: var(--chalk); font-weight: 600; }

pre {
  background: #0b0e13;
  border: 1px solid var(--line);
  border-left: 3px solid var(--fail);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 15px;
  line-height: 1.65;
  color: #cfd6e2;
  margin: 0 0 18px;
}
pre .c { color: var(--dim); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.card { background: var(--lift); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card .k { font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.card ul { margin: 0; padding-left: 20px; color: var(--soft); font-size: 16.5px; }
.card li { margin-bottom: 7px; }
.card li::marker { color: var(--dim); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; counter-reset: s; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  color: var(--hat);
}
.step p { color: var(--soft); font-size: 16.5px; margin: 0; }

.honest { background: var(--lift); border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; }
.honest h3 { margin-top: 0; }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.honest ul { margin: 0; padding-left: 20px; color: var(--soft); font-size: 16.5px; }
.honest li { margin-bottom: 8px; }
.yes li::marker { color: var(--pass); }
.no li::marker { color: var(--fail); }

details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--hat); font-family: var(--display); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--soft); margin: 12px 0 0; max-width: 66ch; }

.buy { text-align: center; }
.buy .price { font-family: var(--display); font-size: clamp(44px, 6vw, 68px); letter-spacing: -2px; margin: 6px 0 4px; }
.buy .price small { font-family: var(--text); font-size: 17px; font-weight: 500; color: var(--soft); letter-spacing: 0; margin-left: 8px; }
.buy .mascot { width: 190px; margin: 0 auto 6px; }

footer { border-top: 1px solid var(--line); padding: 46px 0 60px; color: var(--dim); font-size: 15.5px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot-in > div { flex: 1 1 300px; max-width: 480px; }
footer p { max-width: 56ch; margin: 0 0 10px; }

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .nav-in { height: 60px; }
  .brand b { font-size: 17px; }
  .brand img { width: 28px; }
  .btn { padding: 13px 18px; font-size: 16px; }
  .btn-sm { padding: 9px 14px; font-size: 15px; }
  .cta-row { display: grid; grid-template-columns: 1fr; }
  .cta-row .btn { justify-content: center; }
  .lede { font-size: 18px; }
  .report { padding: 18px; }
  .report li { font-size: 15px; }
  .buy .price small { display: block; margin: 6px 0 0; }
  pre { font-size: 13.5px; padding: 14px 16px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .cards, .steps, .honest-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 60px 0; }
  body { font-size: 17px; }
  .nav-price { display: none; }
}
