/* Streamer Sidekick base look (design-direction.md, 2026-10-16): navy #1F3A6B brand, white + warm gray, Archivo.
   Each color has one job. No purple, no gradients, no pure black, no blur shadows. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #1F3A6B;      /* brand: buttons, headings, links */
  --navy-deep: #152A4F; /* footer, pressed button */
  --ink: #1E2430;       /* body text */
  --muted: #5C6370;     /* secondary text */
  --paper: #FFFFFF;     /* page */
  --stone: #F3F1EC;     /* warm gray panels */
  --line: #DEDAD2;      /* rules and borders */
  --live: #D6453D;      /* the live dot, nothing else */
  --discord: #313338;   /* the Discord preview only */
  --radius: 10px;
  --wrap: 68rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Archivo", "Atkinson Hyperlegible", system-ui, sans-serif; color: var(--ink);
  background: var(--paper); line-height: 1.55; font-size: 1.0625rem;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--navy); text-underline-offset: .18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; max-width: 16ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--navy); display: inline-block; position: relative; }
.brand-mark::after { content: ""; position: absolute; left: .45rem; top: .45rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--paper); }
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.top nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }

/* buttons */
.button { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; padding: .8rem 1.3rem;
  border-radius: var(--radius); border: 2px solid var(--navy); background: var(--navy); color: var(--paper); }
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.button.quiet { background: transparent; color: var(--navy); }
.button.quiet:hover { background: var(--stone); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0 .5rem; }
.fine { color: var(--muted); font-size: .9rem; }

/* hero: words left, the real alert on the right */
.hero { padding: 3.5rem 0 3rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.lede { font-size: 1.2rem; color: var(--muted); }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; gap: 2rem; } }

/* Discord message preview (what the bot actually posts) */
.discord { background: var(--discord); color: #DBDEE1; border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem;
  font-family: system-ui, sans-serif; font-size: .95rem; border: 1px solid #1E1F22; }
.discord .chan { color: #949BA4; font-size: .85rem; margin-bottom: .8rem; border-bottom: 1px solid #3F4147; padding-bottom: .6rem; }
.discord .msg { display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; }
.discord .avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); position: relative; }
.discord .avatar::after { content: ""; position: absolute; left: .85rem; top: .85rem; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; }
.discord .who { color: #F2F3F5; font-weight: 600; }
.discord .tag { background: #5865F2; color: #fff; font-size: .65rem; font-weight: 700; border-radius: 3px; padding: 0 .3rem; margin-left: .3rem; vertical-align: 1px; }
.discord .when { color: #949BA4; font-size: .75rem; margin-left: .4rem; }
.discord p { margin: .15rem 0; }
.discord blockquote { margin: .25rem 0; padding-left: .6rem; border-left: 4px solid #4E5058; }
.discord .link { color: #00A8FC; }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--live); margin-right: .3rem; }

/* sections */
section.band { padding: 3rem 0; border-top: 1px solid var(--line); }
section.band.stone { background: var(--stone); border-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; gap: 1rem; } }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { padding-top: 0; }
.checklist strong { color: var(--navy); display: block; }
.steps { margin: 0; padding-left: 1.3rem; }
.steps li { margin-bottom: .8rem; padding-left: .3rem; }
.steps li::marker { color: var(--navy); font-weight: 800; }

/* pricing */
.plan { border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.6rem; max-width: 34rem; background: var(--paper); }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin: .4rem 0 1rem; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.later { border-left: 4px solid var(--line); padding-left: 1rem; max-width: 34rem; margin-top: 2rem; }

/* legal + plain pages */
.doc { padding: 2.5rem 0 3rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; }
.doc li { margin-bottom: .4rem; max-width: 62ch; }
.note { background: var(--stone); border-radius: var(--radius); padding: 1rem 1.2rem; max-width: 62ch; }

/* footer */
footer { background: var(--navy-deep); color: #D9DEE8; padding: 2rem 0; font-size: .95rem; }
footer a { color: #FFFFFF; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .discord { animation: arrive .5s ease-out both; }   /* the one motion moment on the page */
  @keyframes arrive { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Affiliate checker */
.checker { max-width: 34rem; margin: 1.5rem 0; }
.checker label { display: block; font-weight: 600; margin-bottom: .4rem; }
.checker .row { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.checker input { flex: 1 1 14rem; font: inherit; padding: .75rem .9rem; border: 2px solid var(--line); border-radius: var(--radius); }
.checker input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.result { list-style: none; padding: 0; margin: 1.5rem 0; max-width: 40rem; }
.result li { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.result progress { grid-column: 1 / -1; width: 100%; height: .6rem; accent-color: var(--navy); }
.result .num { font-weight: 800; color: var(--navy); }
.result .met .num::after { content: " ✓"; }
