/* The pages outside the app (privacy, terms, getting the extension, not found). Same purple, type and corners as Reps
   itself (src/styles.css); these are reading pages, so the measure is narrow and only real steps sit in cards. */
@font-face { font-family: "Fredoka Variable"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/fredoka-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Nunito Variable"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2-variations"); }
:root { color-scheme: light dark; --ink: #2A1E42; --muted: #675A84; --bg: #F7F2FC; --card: #FFFFFF; --well: #F1E9FA; --line: #E4D9F2;
  --brand: #961BE8; --brand-edge: #7310BC; --brand-soft: #F1E3FF; --accent: #7A12C4; --gold: #FFBA14; --gold-edge: #C98A00; --veil: rgba(255,255,255,.24); --veil-strong: rgba(255,255,255,.92);
  --f-display: "Fredoka Variable", "Fredoka", ui-rounded, system-ui, sans-serif; --f-body: "Nunito Variable", "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif; }
/* dark: when the device says so (unless Light was picked in Reps's settings), or when Dark was picked (theme.js
   puts the pick on the page as data-theme) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #F4EEFB; --muted: #AC9DC6; --bg: #17111F; --card: #221A2E; --well: #2D2340; --line: #3A2D4E;
  --brand: #B565FF; --brand-edge: #8A36D9; --brand-soft: #34214F; --accent: #CFA0FF; --gold: #FFC53A; --gold-edge: #B88200; } }
:root[data-theme="dark"] { --ink: #F4EEFB; --muted: #AC9DC6; --bg: #17111F; --card: #221A2E; --well: #2D2340; --line: #3A2D4E;
  --brand: #B565FF; --brand-edge: #8A36D9; --brand-soft: #34214F; --accent: #CFA0FF; --gold: #FFC53A; --gold-edge: #B88200; color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 16.5px/1.6 var(--f-body); }
main { max-width: 680px; margin: 0 auto; padding: 20px 20px 72px; }
/* the way back: the mascot and the name */
header a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); text-decoration: none; font: 700 26px/1 var(--f-display); }
header a svg { width: 38px; height: 38px; flex: none; }
header a span::after { content: ""; display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--gold); margin-left: .06em; box-shadow: 0 .04em 0 var(--gold-edge); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: 2.5rem; line-height: 1.08; letter-spacing: -.01em; margin: 36px 0 8px; }
h2 { font-size: 1.35rem; line-height: 1.2; margin: 40px 0 8px; }
p, ul, ol { max-width: 66ch; }
.muted { color: var(--muted); }
p.muted { font-size: .92rem; }
a { color: var(--accent); font-weight: 800; text-underline-offset: 3px; }
b, strong { font-weight: 900; }
ol li, ul li { margin: 8px 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--well); border-radius: 6px; padding: 1px 6px; font-size: .88em; font-weight: 500; overflow-wrap: anywhere; }
/* sections are plain reading. Only a set of steps, or a summary box, is lifted onto a card */
section h2:first-child { margin-top: 0; }
section { margin: 40px 0 0; }
.box, section.steps { background: var(--card); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); padding: 20px 22px 16px; margin: 28px 0 0; }
.box { background: var(--brand-soft); border-color: transparent; box-shadow: none; border-radius: 14px; }
/* numbered steps: the number is a purple counter, since the order matters here */
section.steps ol { list-style: none; padding: 0; margin: 14px 0; counter-reset: step; display: grid; gap: 14px; }
section.steps ol li { counter-increment: step; position: relative; padding-left: 46px; margin: 0; min-height: 32px; }
section.steps ol li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 3px 0 var(--brand-edge);
  display: grid; place-items: center; font: 700 17px/1 var(--f-display); }
.btn { display: inline-flex; align-items: center; background: var(--brand); color: #fff; border-radius: 18px; padding: 14px 22px; min-height: 54px; font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; margin: 14px 0 6px;
  box-shadow: 0 5px 0 var(--brand-edge); text-shadow: 0 1px 0 color-mix(in srgb, var(--brand-edge) 70%, transparent); }
.btn:active { transform: translateY(5px); box-shadow: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
footer { margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--line); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.note { display: block; }
/* the page that isn't there */
.lost { min-height: 80vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 4px; }
.lost svg { width: 132px; height: 132px; }
.lost h1 { margin-top: 12px; }
