/*
 * TrackIQ website — one stylesheet for every page.
 *
 * In the app's 2026-10 redesign (Figma "Approved designs"; the app's tokens
 * are in src/constants/theme.ts): a teal base under the blurred cyan
 * background, translucent teal panels and light cards, one yellow-to-blue
 * gradient for every primary action with a white glow, Figtree for headings
 * and text and Inter for buttons. Fonts and images are self-hosted from
 * assets/, so the site makes no third-party requests at all — which is what
 * lets the privacy policy say so. Dark only, like the app.
 */

@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('../fonts/Figtree_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 500; font-display: swap; src: url('../fonts/Figtree_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url('../fonts/Figtree_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 800; font-display: swap; src: url('../fonts/Figtree_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/Inter_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('../fonts/Inter_700Bold.ttf') format('truetype'); }

:root {
  --base: #002d38;
  --panel: rgba(0, 45, 56, 0.5);
  --panel-strong: rgba(0, 45, 56, 0.75);
  --panel-soft: rgba(0, 45, 56, 0.3);
  --glass: rgba(255, 255, 255, 0.15);
  --light: rgba(255, 255, 255, 0.9);
  --light-75: rgba(255, 255, 255, 0.75);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.82);
  --text-3: rgba(255, 255, 255, 0.62);
  --yellow: #fbf65c;
  --blue: #94c6ff;
  --cyan: #76feee;
  --gradient: linear-gradient(103deg, #fbf65c 28.731%, #94c6ff 71.269%);
  --gradient-v: linear-gradient(180deg, #fbf65c 0%, #94c6ff 100%);
  --glow: 0 0 16px rgba(255, 255, 255, 0.6);

  --display: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 24px;
  --radius-lg: 32px;
  --max: 1120px;
  --gutter: 16px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/*
 * The app's blurred background, fixed behind every page. A fixed layer rather
 * than background-attachment: fixed, which iOS Safari ignores.
 */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--base) url('../img/background.png') center / cover no-repeat;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; color: var(--text-2); }
strong { color: var(--text); font-weight: 700; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.5vw, 46px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; }

.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); max-width: 38em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--light); color: var(--base); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Jump links land below the sticky header, not under it. */
[id] { scroll-margin-top: 80px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 45, 56, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; }
.logo img { width: 36px; height: 36px; }
.logo .iq { color: var(--text); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--base); background: var(--gradient); box-shadow: var(--glow); padding: 8px 18px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.nav .nav-cta:hover { color: var(--base); filter: brightness(1.04); }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } }

/* ------------------------------------------------------------- store buttons */

/*
 * The two download buttons. Each carries data-live="false" until the app is
 * published in that store: while false it reads "Coming soon" and does not
 * link anywhere. When a store goes live, set data-live="true" on its buttons
 * (index.html and support.html). See site/README.md.
 */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px; padding: 10px 22px 10px 18px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: #000; color: #fff; text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .label { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .small { font-size: 11px; letter-spacing: 0.02em; color: var(--text-2); }
.store-btn .big { font-family: var(--display); font-weight: 700; font-size: 19px; }

.store-btn .when-soon { display: none; }
.store-btn[data-live='false'] { cursor: default; background: var(--panel); border: 1px dashed var(--line-strong); }
.store-btn[data-live='false']:hover { transform: none; border-color: var(--line-strong); }
.store-btn[data-live='false'] .when-live { display: none; }
.store-btn[data-live='false'] .when-soon { display: inline; }

.stores-note { margin: 12px 0 0; font-size: 14px; color: var(--text-3); }

/* --------------------------------------------------------------------- hero */

.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 96px 0 120px; } }

.hero h1 .line-2 { display: block; }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 16px 6px 12px; border-radius: 999px;
  background: var(--light); color: var(--base);
  font-family: var(--ui); font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #7cb9fe; box-shadow: 0 0 0 0 rgba(124, 185, 254, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 185, 254, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(124, 185, 254, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 185, 254, 0); } }

/* ------------------------------------------------------------ phone mockup */

/*
 * A drawn round screen in the app's redesign (Figma "Main dashboard"): the
 * seconds in a disc, the countdown horseshoe around "I know the song", the
 * stat bubbles and the Artist / Song / Decade pills. Real screenshots can
 * replace it later — see site/README.md.
 */
.phone {
  justify-self: center;
  width: 300px; height: 610px; padding: 12px;
  border-radius: 46px; background: #01161c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(255, 255, 255, 0.03);
  position: relative;
}
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: var(--base) url('../img/background.png') center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; padding: 46px 14px 16px;
}
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 88px; height: 25px; transform: translateX(-50%); background: #000; border-radius: 20px; }

.mock-top { width: 100%; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 8px; }
.mock-title { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; }
.mock-x { position: absolute; right: 6px; font-size: 14px; color: var(--text); }

.mock-dash { position: relative; width: 272px; height: 300px; }
/* The horseshoe: cyan for the time left, white for the time gone. */
.mock-arc {
  position: absolute; left: 41px; top: 56px; width: 190px; height: 190px; border-radius: 50%;
  background: conic-gradient(from -77deg, var(--cyan) 0 70deg, rgba(255, 255, 255, 0.45) 70deg 153deg, transparent 153deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.mock-num {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 48%, rgba(255, 255, 255, 0.08) 49% 72%, rgba(255, 255, 255, 0.03) 73%);
}
.mock-num b { font-family: var(--ui); font-weight: 700; font-size: 30px; line-height: 1; text-shadow: 0 0 18px rgba(255, 255, 255, 0.6); }
.mock-num small { display: block; font-size: 9px; color: var(--text); }
.mock-know {
  position: absolute; left: 50%; top: 92px; transform: translateX(-50%);
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--gradient-v); box-shadow: var(--glow);
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.05; color: var(--base);
}
.mock-bubble {
  position: absolute; width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--panel-soft); border: 2.5px solid var(--cyan);
  font-family: var(--ui); font-weight: 700; font-size: 15px; line-height: 1.1;
}
.mock-bubble small { display: block; font-family: var(--ui); font-weight: 400; font-size: 9px; }
.mock-bubble.track { left: 0; top: 150px; border-color: var(--cyan) transparent transparent var(--cyan); }
.mock-bubble.score { right: 0; top: 150px; border-color: var(--yellow) var(--blue) var(--blue) var(--yellow); }
.mock-bubble.place { left: 58px; top: 205px; }
.mock-bubble.players { right: 58px; top: 205px; }

.mock-pills { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.mock-pill {
  height: 132px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(0, 45, 56, 0.5), rgba(41, 78, 87, 0.5));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  font-family: var(--ui); font-size: 11px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8);
}
.mock-pill .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.25); font-size: 10px; color: #fff; }
.mock-pill.ok { background: var(--gradient-v); color: rgba(0, 45, 56, 0.8); }
.mock-pill.ok .ic { background: var(--base); color: var(--yellow); }
.mock-pill.ok b { font-weight: 700; font-size: 12px; color: var(--base); letter-spacing: 0.04em; }
.mock-pill.ok .pts { font-weight: 700; font-size: 16px; color: var(--base); }

.float-card {
  position: absolute; padding: 10px 16px; border-radius: 999px;
  background: var(--light); color: var(--base);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); font-size: 13px; white-space: nowrap;
}
.float-card b { font-family: var(--ui); font-weight: 700; }
.float-1 { top: 140px; left: -64px; }
.float-2 { bottom: 190px; right: -60px; background: var(--gradient); box-shadow: var(--glow); }
@media (max-width: 420px) { .float-1 { left: -20px; } .float-2 { right: -14px; } }

/* ------------------------------------------------------------------ sections */

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.band { background: linear-gradient(180deg, transparent, rgba(0, 45, 56, 0.45) 20%, rgba(0, 45, 56, 0.45) 80%, transparent); }

/* Rooms: the app's room circles, as round glass tiles. */
.rooms { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .rooms { grid-template-columns: repeat(6, 1fr); } }
.room {
  position: relative; padding: 22px 18px 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line);
  overflow: hidden;
}
.room h3 { margin: 16px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: 0.06em; }
.room p { margin: 0; font-size: 14px; color: var(--text-2); }
.room .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--light); color: var(--base); font-family: var(--ui); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.room .live i { width: 7px; height: 7px; border-radius: 50%; background: #7cb9fe; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--ui); font-weight: 700; font-size: 18px; color: var(--base); background: var(--gradient); box-shadow: var(--glow);
}
.step p { margin: 0; }

/* Scoring: the profile's stat tiles, light and alternating. */
.score-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .score-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (max-width: 520px) { .score-tile { padding: 20px 16px; } .score-tile .n { font-size: 38px; } }
.score-tile { padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 54.6%, rgba(134, 230, 255, 0.9)); color: var(--base); }
.score-tile:nth-child(odd) { background: linear-gradient(180deg, rgba(251, 246, 92, 0.9), rgba(255, 255, 255, 0.9)); }
.score-tile .n { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; margin-bottom: 10px; color: var(--base); }
.score-tile h3 { margin-bottom: 6px; color: var(--base); }
.score-tile p { margin: 0; font-size: 15px; color: rgba(0, 45, 56, 0.78); }

/* Features */
.features { display: grid; gap: 18px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255, 255, 255, 0.25); color: var(--text); }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { margin: 0; font-size: 16px; }

/* Leaderboard teaser: the app's light rows, yours lit yellow. */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.board { padding: 18px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.board-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--light-75); color: var(--base); }
.board-row + .board-row { margin-top: 8px; }
.board-row .rank { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-strong); color: #fff; font-family: var(--display); font-weight: 700; font-size: 17px; }
.board-row .name { font-weight: 500; }
.board-row .name small { display: block; font-size: 13px; color: rgba(0, 45, 56, 0.75); font-weight: 400; }
.board-row .pts { font-family: var(--display); font-weight: 700; font-size: 18px; }
.board-row.you { background: linear-gradient(90deg, #fff, var(--yellow) 50%, #fff); }
.board-row.you .name { font-weight: 700; }
.board-row.top1 .rank { color: var(--yellow); } .board-row.top2 .rank { color: #fff; } .board-row.top3 .rank { color: #feaa6e; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--yellow); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq a { color: var(--yellow); }

/* CTA */
.cta {
  padding: 64px 28px; border-radius: var(--radius-lg); text-align: center; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-strong);
}
.cta h2 { margin-bottom: 14px; }
.cta .lead { margin: 0 auto; }
.cta .stores { justify-content: center; }

/* ------------------------------------------------------------- legal pages */

.doc { padding: 64px 0 96px; }
.doc .container { max-width: 820px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.doc .updated { color: var(--text-3); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 48px 0 14px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc a { color: var(--yellow); }
.doc .summary { padding: 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin-bottom: 32px; }
.doc .summary p:last-child, .doc .summary ul:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.doc th { color: var(--text); font-weight: 700; background: var(--panel); white-space: nowrap; }
.doc code { background: rgba(255, 255, 255, 0.12); padding: 1px 6px; border-radius: 6px; color: var(--text); font-size: 0.92em; }
.toc { padding: 18px 22px; border-radius: var(--radius); background: var(--panel-soft); border: 1px solid var(--line); margin-bottom: 40px; }
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--text); }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.card { padding: 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin: 16px 0; }
.card.danger { border-color: rgba(229, 72, 72, 0.6); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: var(--base); font-family: var(--ui); font-weight: 700; font-size: 14px; }

/* The app's buttons: the gradient with a glow, and the yellow outline. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-decoration: none; background: var(--gradient); color: var(--base); box-shadow: var(--glow); }
.btn:hover { filter: brightness(1.04); }
.btn.ghost { background: var(--panel); color: var(--text); border: 1px solid var(--yellow); box-shadow: none; }
.btn.ghost:hover { background: var(--panel-strong); }

/* ------------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 32px; background: rgba(0, 45, 56, 0.45); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.site-footer .blurb { font-size: 15px; max-width: 320px; margin-top: 14px; }
.legal-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); display: grid; gap: 6px; }
.legal-line p { margin: 0; color: var(--text-3); }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found .big { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 18vw, 180px); line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Invite page (/join/<code>, join.html): the code on light circles like the
   app's join screen, one gradient button into the app, store links below. */
.invite { padding: 56px 0 72px; text-align: center; }
.invite .container { max-width: 560px; }
.invite-ring { display: block; width: 112px; height: 112px; margin: 0 auto 20px; }
.invite h1 { font-size: clamp(40px, 8vw, 60px); margin: 4px 0 14px; }
.invite .lead { margin: 0 auto 24px; }
.invite-code { display: flex; justify-content: center; gap: 8px; margin: 0 0 28px; }
.invite-code span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--light-75); border: 1px solid var(--line-strong); color: var(--base); font-family: var(--display); font-weight: 800; font-size: 26px; }
.invite-note { margin: 14px 0 0; font-size: 14px; color: var(--text-3); }
.invite-help { margin-top: 48px; text-align: left; }
.invite-help h2 { font-size: 22px; margin: 0 0 12px; }
.invite-help .stores { margin-top: 20px; }
@media (max-width: 400px) {
  .invite-code { gap: 6px; }
  .invite-code span { width: 40px; height: 40px; font-size: 21px; }
}
