/* Quick Start Quiz — one stylesheet for every page.
   Colors live ONLY in the token blocks below. Nothing else in this file names a color. */

/* ===== TOKENS — the one place a color is typed =====================================
   Block A (active): a Teddy property — navy #1B1E53 / red #D92027.
   Block B (commented out): the Good Guys orange/blue dark set. To swap the brand,
   comment out block A, uncomment block B. Nothing else changes.                        */

/* --- Block A: Teddy property (navy / red), light first, dark below ----------------- */
:root {
  color-scheme: light dark;
  --brand-a: #1B1E53;           /* navy */
  --brand-b: #D92027;           /* red  */

  --bg: #F5F4EE;                /* warm paper */
  --panel: #FFFFFF;
  --panel-2: #EEEDE5;
  --ink: #1B1E53;               /* headings and body text */
  --muted: #5C5F80;
  --line: #D8D7CF;
  --accent: #D92027;            /* slabs, rules, the stamp border */
  --accent-label: #B4171D;      /* small text and thin marks: lifted for contrast */
  --mark: #1B1E53;              /* main color of every code-drawn mark */
  --court: #1B1E53;             /* the backdrop lines (opacity set separately) */
  --court-alpha: .11;
  --slab: #1B1E53;              /* the offset slab behind the report card */
  --slab-alpha: .10;
  --shadow: rgba(27, 30, 83, .18);
  --focus: #1B1E53;
  --on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1033;
    --panel: #181B4B;
    --panel-2: #121542;
    --ink: #F3F3F8;
    --muted: #B3B6D4;
    --line: #2E3270;
    --accent: #FF6E73;
    --accent-label: #FF8A8E;
    --mark: #F3F3F8;
    --court: #FFFFFF;
    --court-alpha: .075;
    --slab: #000000;
    --slab-alpha: .35;
    --shadow: rgba(0, 0, 0, .55);
    --focus: #FFFFFF;
    --on-accent: #0E1033;
  }
}

/* --- Block B: Good Guys AI Academy (orange / blue, dark always) ---------------------
   Values are the placeholder set; confirm against the GGAA design before swapping.
:root {
  color-scheme: dark;
  --brand-a: #2F6FED;           blue — system, structure, trust
  --brand-b: #FF7A1A;           orange — energy, every call to action, every live light
  --bg: #0B1020;
  --panel: #121A33;
  --panel-2: #0E1529;
  --ink: #F2F5FF;
  --muted: #A9B4D6;
  --line: #233055;
  --accent: #FF7A1A;
  --accent-label: #FF9A4D;
  --mark: #F2F5FF;
  --court: #2F6FED;
  --court-alpha: .14;
  --slab: #000000;
  --slab-alpha: .4;
  --shadow: rgba(0, 0, 0, .6);
  --focus: #FF7A1A;
  --on-accent: #0B1020;
}
------------------------------------------------------------------------------------ */

/* ===== BASE ======================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  min-height: 100vh;
}
.mono, code, pre, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-label); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(30px, 5.2vw, 50px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { padding-left: 1.2em; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

/* The one gutter: nav, every section and the footer share it. */
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

/* ===== BACKDROP — a ruled court in perspective, drawn once in assets/backdrop.svg ===== */
.backdrop {
  position: fixed; inset: -6%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 2%, var(--court) 28%, var(--court) 70%, transparent 100%);
  opacity: var(--court-alpha);
  -webkit-mask: url("backdrop.svg") center / cover no-repeat;
          mask: url("backdrop.svg") center / cover no-repeat;
  animation: drift 90s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-22px, 14px, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .backdrop { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== NAV ======================================================================== */
.nav { padding: 18px 0 8px; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-label); text-decoration: underline; }

/* ===== MARKS — every drawing lives in assets/marks.svg, colored by tokens ============ */
.mark { color: var(--mark); --mark-accent: var(--accent); }

/* ===== HERO ======================================================================= */
.hero { padding: 28px 0 56px; display: grid; gap: 32px; align-items: center; }
.hero-copy, .hero-card, .paste { min-width: 0; }
@media (min-width: 880px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 44px; }
  .hero-card { grid-column: 2; grid-row: 1; }
  .hero-copy { grid-column: 1; grid-row: 1; }
}
.kicker { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-label); margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--muted); max-width: 46ch; }
blockquote.his { margin: 22px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); font-size: 20px; line-height: 1.35; font-weight: 600; max-width: 34ch; }
blockquote.his.small { font-size: 17px; font-weight: 500; max-width: 48ch; }
blockquote.his p { margin: 0; max-width: none; }

/* the one-paste install box */
.paste { margin: 22px 0 8px; }
.paste-box {
  display: flex; align-items: stretch; gap: 0; min-width: 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); box-shadow: 0 10px 30px -18px var(--shadow); overflow: hidden;
}
.paste-box code {
  flex: 1 1 auto; min-width: 0; padding: 14px 16px; font-size: 14px; white-space: nowrap; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.paste-box button {
  flex: 0 0 auto; border: 0; border-left: 1px solid var(--line); background: var(--panel-2); color: var(--ink);
  padding: 0 16px; font-weight: 700; cursor: pointer; letter-spacing: .04em; min-width: 86px;
}
.paste-box button:hover { background: var(--accent); color: var(--on-accent); }
.paste-box button[data-done="1"] { background: var(--accent); color: var(--on-accent); }
.paste-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 640px) { .paste-box code { white-space: pre-wrap; overflow-wrap: anywhere; } }

/* ===== THE REPORT CARD ============================================================ */
.report-wrap { position: relative; }
.report-wrap::before {
  content: ""; position: absolute; inset: 16px -7px -14px 7px; border-radius: 16px;
  background: var(--slab); opacity: var(--slab-alpha); transform: rotate(1deg);
}
.report {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 18px; box-shadow: 0 30px 60px -30px var(--shadow), 0 1px 0 var(--line);
}
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.stamp-line { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ready {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-label); border: 2px solid currentColor; border-radius: 6px; padding: 6px 10px 5px;
  transform: rotate(-4deg); white-space: nowrap;
}
.ready[data-ready="0"] { color: var(--muted); }
.report-score { font-size: clamp(38px, 6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 6px 0 18px; }
.report-score strong { color: var(--ink); }
.report-score span { font-size: .42em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.report-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.report-lines li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.4; align-items: start; }
.report-lines svg { width: 18px; height: 18px; margin-top: 2px; color: var(--mark); }
.report-lines li[data-right="0"] svg { color: var(--accent-label); }
.report-findings { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--panel-2); border-radius: 0 10px 10px 0; display: grid; gap: 8px; }
.report-findings p { margin: 0; font-size: 14px; line-height: 1.4; max-width: none; }
.report-findings b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-label); margin-right: 6px; }
.report-change { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); max-width: none; }
.report-note { margin: 14px 2px 0; font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ===== SECTIONS =================================================================== */
.block { padding: 48px 0; border-top: 1px solid var(--line); }
.block > .wrap > .kicker { margin-bottom: 8px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 24px 50px -36px var(--shadow); }
@media (min-width: 700px) { .panel { padding: 32px; } }

/* who it is for */
.for-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.for-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.for-list .n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--accent-label); padding-top: 4px; }
.for-list b { display: block; }
.for-list q { color: var(--muted); font-style: italic; quotes: "\201C" "\201D"; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 16px; position: relative; box-shadow: 0 18px 40px -32px var(--shadow); }
.step .mark { width: 48px; height: 48px; margin-bottom: 14px; }
.step .n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .14em; color: var(--accent-label); position: absolute; top: 18px; right: 18px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
.step p + p { margin-top: 10px; color: var(--ink); font-style: italic; }

/* what Anthropic changed */
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.changes > li { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 16px; }
.chg-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-label); margin-bottom: 8px; }
.chg-head a { color: var(--muted); letter-spacing: 0; text-transform: none; }
.chg-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chg-lines li { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; display: grid; grid-template-columns: 16px 1fr; gap: 6px; }
.chg-lines li::before { content: "+"; color: var(--accent-label); font-weight: 700; }
.chg-lines li.del::before { content: "\2212"; color: var(--muted); }
.chg-lines li.more::before { content: "\2026"; color: var(--muted); }
.chg-lines li.more { color: var(--muted); }
.chg-lines .h { color: var(--muted); }
.chg-empty { color: var(--muted); }
.more-link { margin-top: 18px; font-weight: 700; }

/* privacy */
.promise { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; line-height: 1.3; max-width: 30ch; }
.fields { width: 100%; border-collapse: collapse; font-size: 15px; }
.fields th, .fields td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.fields th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-label); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fields td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: nowrap; }
.fields tr.group td { font-family: inherit; font-weight: 800; font-size: 15px; padding-top: 18px; color: var(--ink); white-space: normal; }
@media (max-width: 560px) {
  .fields thead { display: none; }
  .fields tr { display: grid; grid-template-columns: 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .fields td { border: 0; padding: 2px 0; white-space: normal; }
  .fields td:first-child { font-weight: 700; }
}
.never { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.never li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.never li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-label); }

/* install page */
.install-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .install-grid { grid-template-columns: 1fr 1fr; } }
.file { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.file .mark { width: 44px; height: 44px; }
.file b { display: block; }
.file p { margin: 0; font-size: 15px; color: var(--muted); }

/* changes page */
.day-head { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }

/* ===== FOOTER ===================================================================== */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: grid; gap: 14px; }
@media (min-width: 700px) { .footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.footer .brand { color: var(--ink); font-size: 15px; }
.footer .brand .mark { width: 22px; height: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { margin: 0; max-width: none; }

/* loading / error states say plain words, never codes */
.quiet { color: var(--muted); }
