/* Thumbnl: cutting-room luxury. Near-black, warm paper type, one yellow. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg2: #111114;
  --panel: #151518;
  --line: #232328;
  --line2: #2e2e35;
  --ink: #f3efe6;
  --ink2: #b9b4aa;
  --mute: #7c7871;
  --acc: #ffd600;
  --acc2: #ffb700;
  --bad: #ff6b6b;
  --ok: #7ee0a0;
  --r: 18px;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, sans-serif;
  --body: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--body); letter-spacing: 0.005em;
  padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
  min-height: 100vh;
}
body::before {
  /* grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body::after {
  /* warm glow, top center */
  content: ""; position: fixed; left: 50%; top: -30vh; width: 90vw; height: 70vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,214,0,.10), rgba(255,214,0,0)); pointer-events: none; z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 96px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; text-align: center; }
.mark { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: 26px; }
.mark b { color: var(--acc); font-weight: 800; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink2); max-width: 640px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink);
  font: 600 15px var(--body); text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: #3a3a42; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.btn.acc { background: var(--acc); color: #000; border-color: var(--acc); }
.btn.acc:hover { background: #ffe14a; }
.btn.ghost { background: transparent; }
.btn svg { width: 18px; height: 18px; }

.card { background: linear-gradient(180deg, #17171b, #121215); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.status { color: var(--mute); min-height: 24px; font-size: 14px; }
.status.bad { color: var(--bad); }
.status.ok { color: var(--ok); }

/* staged reveal */
.up { opacity: 0; transform: translateY(14px); animation: up .8s cubic-bezier(.2,.7,.2,1) forwards; }
.up.d1 { animation-delay: .08s } .up.d2 { animation-delay: .18s } .up.d3 { animation-delay: .3s } .up.d4 { animation-delay: .45s } .up.d5 { animation-delay: .6s }
@keyframes up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .up { animation: none; opacity: 1; transform: none; } }
