/* Go AI. Stay AI.: one dark ground, one paper card, one yellow word, one red button. Inter is the only face,
   self-hosted from /fonts (OFL, the same files as the other sites). No other colours are introduced anywhere. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }

:root {
  --ground: #0f0e0c;
  --ground-2: #1c1b17;
  --ground-line: #3a3830;
  --dim: #a8a295;
  --paper: #f6f4ef;
  --ink: #1b1a17;
  --ink-soft: #4a463d;
  --line: #d9d4c7;
  --yellow: #ffd400;
  --red: #d6341f;
  --red-ink: #ffffff;
  --bad: #d6341f;
  --warn: #b26a00;
  --note: #5d594f;
  --good: #1f7a3a;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--paper); font-family: var(--font); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
main { max-width: 44rem; margin: 0 auto; padding: 0 18px 40px; }
.sr, .nope { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ground-line); max-width: 44rem; margin: 0 auto; }
.brand { text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand .stay, .chant .stay { color: var(--yellow); }
.bar-link { color: var(--dim); font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.bar-link:hover, .bar-link:focus-visible { color: var(--paper); text-decoration: underline; }

/* The hero */
.hero { padding: 40px 0 28px; }
.chant { font-size: clamp(3rem, 15vw, 6.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.88; text-transform: uppercase; margin: 0 0 22px; }
.sub { font-size: 1.1rem; max-width: 34ch; margin-bottom: 20px; }
.fine { color: var(--dim); font-size: 0.9rem; margin-top: 14px; max-width: 48ch; }

/* The roast form */
.roast-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 1.05rem; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--ground-line); background: var(--ground-2); color: var(--paper); }
.row input::placeholder { color: var(--dim); }
.row input:focus-visible, button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
.row button, .button, .fix-form button[type="submit"], .share-btn { border: 2px solid var(--red); background: var(--red); color: var(--red-ink); font-weight: 700; border-radius: 10px; padding: 13px 20px; text-decoration: none; display: inline-block; text-align: center; }
.row button:hover, .button:hover, .fix-form button[type="submit"]:hover { filter: brightness(1.08); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { background: transparent; color: var(--paper); border: 1px solid var(--ground-line); border-radius: 999px; padding: 7px 12px; font-size: 0.88rem; }
.chip:hover { border-color: var(--paper); }
.note { background: var(--yellow); color: var(--ink); font-weight: 700; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }

/* Sections on the dark ground */
.how, .proofs { padding: 28px 0 8px; border-top: 1px solid var(--ground-line); }
.how h2, .proofs h2 { font-size: 1.5rem; margin-bottom: 14px; }
.steps { padding-left: 1.2rem; margin: 0 0 8px; }
.steps li { margin-bottom: 10px; }
.lede { color: var(--dim); }
.proof-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 14px 0 20px; }
.proof { background: var(--ground-2); border: 1px solid var(--ground-line); border-radius: 12px; padding: 16px; min-width: 0; }
.proof h3 { font-size: 1.05rem; margin-bottom: 8px; }
.proof p { font-size: 0.95rem; }
.proof-tag { color: var(--yellow); font-weight: 700; margin: 0; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 18px; }
.button.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.button.ghost:hover { background: var(--ground-2); }

/* The result card, on paper */
.card { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 22px 18px; margin: 24px 0 18px; }
.for { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 4px; word-break: break-all; }
.score { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.num { font-size: 5.2rem; font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: var(--red); font-variant-numeric: tabular-nums; }
.den { font-size: 1.5rem; font-weight: 700; color: var(--ink-soft); }
.verdict { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.explain { color: var(--ink-soft); font-size: 0.95rem; }
.findings { list-style: none; padding: 0; margin: 14px 0 10px; }
.f { display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.f > div { min-width: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--note); }
.f.bad .dot { background: var(--bad); }
.f.warn .dot { background: var(--warn); }
.f.good .dot { background: var(--good); }
.fact { font-weight: 700; }
.roast { color: var(--ink-soft); }
.rubric { margin: 10px 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.rubric summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.share-note { color: var(--ink-soft); font-size: 0.9rem; }
.share[hidden] { display: none; }

/* The fix */
.fix { padding: 8px 0 10px; }
.fix h2, .fix-form h2 { font-size: 1.5rem; margin-bottom: 12px; }
.fixes { padding-left: 1.2rem; margin: 0 0 16px; }
.fixes li { margin-bottom: 6px; }
.prices { border-left: 4px solid var(--yellow); padding: 4px 0 4px 14px; margin: 0 0 14px; }
.price { margin-bottom: 8px; }
.price strong { color: var(--yellow); font-size: 1.15rem; }
.price.small { color: var(--dim); font-size: 0.95rem; }
.price.small strong { font-size: 1rem; }
.tag { font-weight: 700; font-size: 1.15rem; }

/* The fix form */
.fix-form { background: var(--ground-2); border: 1px solid var(--ground-line); border-radius: 14px; padding: 20px 18px; margin: 10px 0 22px; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 12px; border-radius: 10px; border: 1px solid var(--ground-line); background: var(--ground); color: var(--paper); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: 0.95rem; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.tiny { color: var(--dim); font-size: 0.85rem; margin: 12px 0 0; }
.more { margin: 8px 0 0; }
.more a { color: var(--dim); }

/* Small pages */
.plain { padding: 40px 0; max-width: 36rem; }
.plain h1 { font-size: 2rem; margin-bottom: 12px; }

footer { max-width: 44rem; margin: 0 auto; padding: 18px 18px 36px; border-top: 1px solid var(--ground-line); color: var(--dim); font-size: 0.9rem; }
footer p { margin-bottom: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .row button:active, .button:active { transform: translateY(1px); }
}
