/* AGB-Scanner website – same tokens as the extension (DESIGN.md): colour only for the score, Archivo. */
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sA: #1a7f45; --sB: #7db52f; --sC: #f2c200; --sD: #eb7a12; --sE: #cf3519;
  --oA: #fff; --oB: #1a1c1f; --oC: #1a1c1f; --oD: #1a1c1f; --oE: #fff;
  --page: #f4f5f7; --panel: #fff; --ink: #1a1c1f; --ink-2: #4b5058; --ink-3: #6b717a;
  --line: #e4e6ea; --line-2: #cdd1d7; --wash: #eceef1; --focus: #2b63d9;
  --font: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #111315; --panel: #17191c; --ink: #f1f2f4; --ink-2: #c3c7ce; --ink-3: #979da7;
    --line: #2c3036; --line-2: #3a3f46; --wash: #202328; --focus: #7aa2ff; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.55 var(--font); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 720px; }

header.top { display: flex; align-items: center; gap: 10px; padding-block: 22px; }
header.top a.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 85%; font-size: 19px; letter-spacing: -0.01em; }
header.top img { width: 30px; height: 30px; border-radius: 8px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.02; font-weight: 850; font-stretch: 78%; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.shot { margin: 0; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(26, 28, 31, .06), 0 12px 32px rgba(26, 28, 31, .10); }
.shot img { display: block; width: 100%; height: auto; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; font: 700 16px/1 var(--font);
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--page); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn[aria-disabled="true"] { background: var(--wash); color: var(--ink-3); border-color: var(--line); cursor: default; }
.btn small { font-weight: 500; font-size: 13px; opacity: .85; }
.note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

/* Score strip, as in the tooltip */
.strip { display: flex; align-items: center; height: 54px; max-width: 360px; margin: 0 0 18px; }
.track { display: flex; align-items: center; flex: 1; height: 36px; padding: 3px; border-radius: 18px; background: var(--wash); }
.sg { flex: 1 1 0; height: 30px; display: grid; place-items: center; font: 750 15px/1 var(--font); font-stretch: 85%; background: var(--c); color: var(--o); }
.sg:first-child { border-radius: 15px 0 0 15px; } .sg:last-child { border-radius: 0 15px 15px 0; }
.sg.on { flex: 1.55 1 0; height: 50px; border-radius: 13px; font-size: 34px; font-weight: 850; font-stretch: 70%;
  box-shadow: 0 0 0 3px var(--page), 0 2px 6px rgba(26, 28, 31, .25); position: relative; z-index: 1; }
.sg.a { --c: var(--sA); --o: var(--oA); } .sg.b { --c: var(--sB); --o: var(--oB); } .sg.c { --c: var(--sC); --o: var(--oC); }
.sg.d { --c: var(--sD); --o: var(--oD); } .sg.e { --c: var(--sE); --o: var(--oE); }

/* Sections */
section.band { border-top: 1px solid var(--line); padding: 56px 0; }
section.band h2 { font-size: 30px; line-height: 1.1; font-weight: 800; font-stretch: 85%; letter-spacing: -0.01em; margin: 0 0 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wash);
  font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 750; }
.facts dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }

/* Legal pages */
.doc { padding-block: 24px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.05; font-weight: 850; font-stretch: 80%; letter-spacing: -0.02em; margin: 8px 0 8px; }
.doc .stand { color: var(--ink-3); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 22px; font-weight: 800; font-stretch: 90%; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; }
.box ul { margin: 0; }

footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 15px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.bottom nav { display: flex; gap: 20px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 16px 48px; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  section.band { padding: 44px 0; }
}
