/* ============================================================================
   dartdawg.com public pages (MarketingLayout): home, about, pricing, start a league, landing pages,
   download, contact, legal, support and the 404 page.
   Decision 36 (2026-10-14): one look for the whole site, the app's. The tokens are the app's palette
   from docs/app/samples/assets/app.css (black page, bright keys, neon, gold, purple, royal blue) with
   its big rounded tap targets (56px pill buttons, 20px card corners) and its system font stack.
   Static pages only: App.razor links this file instead of site.css for pages marked
   [ExcludeFromInteractiveRouting]. No web fonts, no framework, no JavaScript needed for any layout.
   Phone first: one column with 16px gutters up to 760px; wider layouts are min-width queries.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* palette: the app's (app.css) */
  --page: #000000;
  --card: #0B0D15;
  --raised: #141826;
  --line: #1A1E2A;
  --line2: #2A3042;
  --text: #FFFFFF;
  --text2: #A9ADBD;
  --on-bright: #000000;
  --neon: #39FF14;
  --ok: #2ECC71;
  --gold: #FFD700;
  --amber: #FFB300;
  --red: #EF5350;
  --num: #3949AB;
  --dbl: #1E88E5;
  --tpl: #AB47BC;
  --cyan: #00BCD4;
  --royal: #0A26C9;
  --purple: #6C27FF;
  --glow-neon: 0 0 18px rgba(57, 255, 20, .45), 0 0 2px rgba(57, 255, 20, .9);

  /* shape + type */
  --tap: 56px;
  --r-key: 14px;
  --r-card: 20px;
  --r-pill: 999px;
  --font: system-ui, -apple-system, Roboto, "Segoe UI", sans-serif;
  --gut: 16px;
  --max: 1120px;
}

/* ---------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--neon); text-underline-offset: 3px; }
a:hover { color: #8CFF73; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
strong, b { font-weight: 800; }

.skip {
  position: absolute;
  left: var(--gut);
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--neon);
  color: var(--on-bright);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  min-height: var(--tap);
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--royal);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { color: var(--text); filter: brightness(1.15); }
.btn-go { background: var(--neon); color: var(--on-bright); box-shadow: var(--glow-neon); }
.btn-go:hover { color: var(--on-bright); }
.btn-ghost { background: var(--raised); border-color: var(--line2); }
.btn-sm { min-height: 48px; padding: 0 18px; font-size: 16px; }

/* --------------------------------------------------------------- header -- */
.site-head { border-bottom: 2px solid var(--line); background: var(--page); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand .dawg { color: var(--gold); }

.nav { display: none; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav a, .head-right .signin {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--text2);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover, .head-right .signin:hover { color: var(--text); background: var(--raised); }

/* phone menu: a plain <details>, no script */
.menu { position: static; }
.menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--raised);
  border: 2px solid var(--line2);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .close { display: none; }
.menu[open] > summary .open { display: none; }
.menu[open] > summary .close { display: inline; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 74px;
  z-index: 5;
  padding: 8px var(--gut) 20px;
  background: var(--page);
  border-bottom: 2px solid var(--line);
  display: grid;
  gap: 4px;
}
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border-radius: var(--r-key);
  background: var(--card);
  border: 2px solid var(--line);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.menu-panel a.btn { justify-content: center; margin-top: 8px; border-color: transparent; }
.menu-panel a.btn-go { background: var(--neon); color: var(--on-bright); }
/* open phone menu: the app's scrim (app.css .scrim, rgba(0,0,0,.66)) and the page holds still.
   The scrim is the summary's own ::after, so tapping the dimmed page closes the menu with no script.
   .menu is a flex item of .head-right, so z-index alone makes it a stacking context while it stays
   position: static (the panel stays anchored to .site-head). Inside it the scrim (-1) paints under the
   "Close menu" pill and the panel (5); the page and the brand are dimmed. */
.menu { z-index: 6; }
.menu[open] > summary::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .66);
  cursor: default;
}
.menu-panel {
  max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 999px) {
  html:has(.menu[open]),
  html:has(.menu[open]) body { overflow: hidden; }
}
.menu > summary { white-space: nowrap; }
/* narrow phones: "Sign in" lives in the menu only, so the brand and "Close menu" never collide */
@media (max-width: 479px) { .head-right .signin { display: none; } }
.site-head { position: relative; }
.head-cta { display: none; }

@media (min-width: 640px) {
  .head-cta { display: inline-flex; }
}
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
  .menu { display: none; }
}

/* ----------------------------------------------------------------- main -- */
main { display: block; }
/* home sections: no divider lines between them; each section's own cards frame it, so the black between
   sections (72px on a phone, 80px from 760px up) is the separation */
.band { padding: 36px 0; }
.band-head { max-width: 46rem; margin-bottom: 24px; }
.band h2, .page-body h2.big {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.band-head p, .lead { color: var(--text2); font-size: 18px; }
/* no lone word on a last line ("twice.", "touch.", "Free during the / beta.", "Your stats, worked out for /
   you"): headings and the short call-to-action lines are balanced across their lines; intros and the long
   email lines (.mail-box) wrap "pretty" (full width, but no one-word last line). Body text wraps as usual. */
.band h2, .page-hero h1, .price-card .big, .card h2, .card h3, .steps h3, .cta .line, .nf h1, .legal h1,
.legal-body h2 {
  text-wrap: balance;
}
.band-head p, .lead, .mail-box .line { text-wrap: pretty; }
.small { font-size: 15px; color: var(--text2); }
.muted { color: var(--text2); }

@media (min-width: 760px) {
  .band { padding: 40px 0; }
  .band h2, .page-body h2.big { font-size: 36px; }
  .band-head p, .lead { font-size: 20px; }
}

/* chips: eyebrow, kicker, badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.chip-purple { background: var(--purple); color: var(--text); }
.chip-gold { background: var(--gold); color: var(--on-bright); }
.chip-line { border: 2px solid var(--line2); color: var(--text2); background: var(--card); }

/* -------------------------------------------------------------- the hero -- */
.hero { padding: 24px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; }
.hero-art {
  order: -1;
  justify-self: center;
  width: min(64vw, 280px); /* fallback where svh is unsupported */
  /* short phones (iPhone Safari ~390x664, Android 360x640, iPhone SE in Safari ~375x553): shrink the Dawg so
     "Start a league" ends on the first screen. 470px = header 74 + hero top 24 + chip/h1/lead/buttons under
     the art (~346px) + slack. The 72px floor only stops the art vanishing on a very short screen */
  width: min(64vw, 280px, max(72px, calc((100svh - 470px) * 566 / 680)));
  aspect-ratio: 566 / 680;
  pointer-events: none;
}
.hero-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 14px 0 14px;
}
.hero h1 .accent { color: var(--neon); text-shadow: 0 0 22px rgba(57, 255, 20, .45); white-space: nowrap; }
.hero .lead { margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.actions .btn { flex: 1 1 auto; }
.price-line { margin-top: 18px; color: var(--gold); font-weight: 800; }
.hero .small { margin-top: 10px; max-width: 34rem; }
/* "activate your account" is part of a sentence: pad the hit area to 48px without moving the text
   (vertical padding on an inline box does not change the line height) */
.hero .small a { padding-block: 14px; }
/* the kicker: if it ever wraps (a 320px phone), two even lines in a rounded box, never a lone "web".
   17px is half its 34px one-line height, so on one line it is still a full pill */
.hero .chip { border-radius: 17px; text-wrap: balance; }
/* the Android kicker ("iPhone, Android and the web", Home.razor) is 387px wide at 15px: it scales with
   the screen so it stays on one line on phones and in the 760px two-column hero */
.hero .kicker-long { font-size: clamp(12px, 3.4vw, 15px); padding-inline: clamp(10px, 3vw, 14px); }

@media (min-width: 760px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; }
  .hero-art { order: 0; width: min(440px, 100%, calc((100vh - 200px) * 566 / 680)); }
  .hero .kicker-long { font-size: 14px; }
  .hero h1 { font-size: 64px; }
  .actions .btn { flex: 0 0 auto; }
}

/* ---------------------------------------------------- inner page header -- */
.page-hero { padding: 36px 0 8px; }
.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 14px 0 12px;
  max-width: 22ch;
}
.page-hero .lead { max-width: 44rem; }
.page-hero .chip-gold { margin-top: 18px; }
@media (min-width: 760px) {
  .page-hero { padding: 56px 0 16px; }
  .page-hero h1 { font-size: 54px; }
}

.page-body { padding: 24px 0 56px; }
.page-body > .wrap > * + * { margin-top: 20px; }
.prose { max-width: 46rem; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 6px; }

/* ---------------------------------------------------------------- cards -- */
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px;
}
.card h2, .card h3 { font-size: 21px; font-weight: 900; line-height: 1.2; margin-bottom: 8px; }
.card p { color: var(--text2); }
.card p + p { margin-top: 10px; }
.card .btn { margin-top: 16px; }
@media (min-width: 760px) { .card { padding: 26px; } }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 760px) and (max-width: 999px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* the bright edge on benefit cards, cycling the app's key colours */
.benefit { border-top: 6px solid var(--royal); }
.benefit:nth-child(5n+2) { border-top-color: var(--purple); }
.benefit:nth-child(5n+3) { border-top-color: var(--neon); }
.benefit:nth-child(5n+4) { border-top-color: var(--gold); }
.benefit:nth-child(5n+5) { border-top-color: var(--cyan); }

/* ---------------------------------------------------------- how it works -- */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps > li::before {
  content: counter(step);
  width: 56px;
  height: 56px;
  border-radius: var(--r-key);
  background: var(--num);
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.steps > li:nth-child(2)::before { background: var(--purple); }
.steps > li:nth-child(3)::before { background: var(--neon); color: var(--on-bright); }
.steps > li:nth-child(4)::before { background: var(--gold); color: var(--on-bright); }
.steps > li { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-card); padding: 18px; }
@media (min-width: 760px) {
  /* align-content: start keeps the badge and the text at the top of a card stretched to its row's
     tallest, so every step's heading sits at the same height */
  .steps > li { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; align-content: start; }
}
.steps h3 { font-size: 20px; font-weight: 900; margin: 2px 0 6px; }
.steps p { color: var(--text2); }
.after-steps { margin-top: 18px; }

.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 10px; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.numbered > li::before {
  content: counter(n);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--num);
  font-weight: 900;
  font-size: 20px;
  display: grid;
  place-items: center;
}

/* ------------------------------------------------------------- features -- */
.audience { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.audience > h3 {
  margin: 0;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 900;
  background: var(--royal);
}
.audience.captains > h3 { background: var(--purple); }
.audience.players > h3 { background: var(--neon); color: var(--on-bright); }
.audience ul { list-style: none; padding: 18px 20px 4px; display: grid; gap: 14px; }
.audience li { color: var(--text2); padding-left: 26px; position: relative; }
.audience li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, .6);
}
.audience li strong { color: var(--text); }
/* the link's 48px box (below) is 22px taller than its line: 11px comes out of the space above and 11px out
   of the space below, so "More for ..." stays where it was */
.audience .more { margin: 0 20px 9px; padding-top: 3px; }
.audience .more a { font-weight: 800; }
/* each audience card is as tall as its own list, so its "More for ..." link sits right under the last item
   instead of being pinned to the bottom of a card stretched to the players card's height */
.audiences { align-items: start; }

/* ------------------------------------------------ live board sample card -- */
.live-sample { display: grid; gap: 22px; align-items: start; }
/* side by side, the text is centred against the taller board instead of leaving black under it */
@media (min-width: 900px) {
  .live-sample { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .live-sample .band-head { margin-bottom: 0; }
}
.board {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px;
}
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.board-head .lg { font-weight: 900; font-size: 19px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: rgba(239, 83, 80, .16);
  color: #FF8A80;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
}
.live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.board-head .upd { margin-left: auto; color: var(--text2); font-size: 14px; }
.sc-list { display: grid; gap: 10px; }
.sc {
  background: var(--raised);
  border: 2px solid var(--line2);
  border-radius: var(--r-key);
  padding: 10px 14px;
}
.sc.live { border-color: var(--neon); box-shadow: var(--glow-neon); }
.sc-status { font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--text2); margin-bottom: 4px; }
.sc.live .sc-status { color: var(--neon); }
.sc.final .sc-status { color: var(--gold); }
.sc-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--text2); }
.sc-row.lead { color: var(--text); font-weight: 900; }
.sc-row .pts { font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 900; }
.sc-more { display: inline-flex; margin-top: 6px; color: var(--text2); font-size: 14px; font-weight: 700; }
.board figcaption { margin-top: 12px; color: var(--text2); font-size: 14px; }

/* --------------------------------------------------------------- pricing -- */
.price-card { border-color: var(--neon); box-shadow: var(--glow-neon); }
.price-card > h2 { font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.price-card > p:not(.big) { max-width: 46rem; }
.price-card .plan { color: var(--text2); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.price-card .big { color: var(--neon); font-size: 34px; font-weight: 900; line-height: 1.1; margin: 6px 0 10px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--text2); }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .3em;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--neon);
  border-bottom: 3px solid var(--neon);
  transform: rotate(-45deg);
}
/* baseline, not center: the button's 16px top margin (.card .btn) would put a centred link 7px above the
   button's label; on a baseline the two read as one line */
.link-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; margin-top: 18px; }
.link-row a:not(.btn) { font-weight: 800; }

/* standalone text links, the ones not inside a sentence ("More for ...", "See full pricing", "Ask a question",
   "See pricing", "How invited players get the app", About's two links): a 48px row, the app's smallest tap
   target, like the footer's. Links inside a sentence keep their line. */
.audience .more a, .link-row a:not(.btn), .cta > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
/* About's link rows: the 48px row takes 11px of the space above, so the link stays 18px under the text */
.card p.link-row { margin-top: 7px; }

/* /download's League files: one PDF per row, each link a 48px tap target like the standalone links above, with
   a small "PDF" tag after it; a note under a link tucks into the 11px the 48px row leaves below its line */
.files { list-style: none; padding: 0; margin-top: 2px; display: grid; gap: 2px; }
.files a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.files .file-type {
  margin-left: 6px;
  padding: 1px 8px;
  border: 2px solid var(--line2);
  border-radius: var(--r-pill);
  color: var(--text2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.card .files li > p.small { margin-top: -8px; }
/* the card's own edge colour: by position it would take gold, like the Help card right above it */
.benefit.league-files { border-top-color: var(--cyan); }

.faq { display: grid; gap: 12px; }
.faq h3 { font-size: 19px; font-weight: 900; margin-bottom: 6px; color: var(--text); }

/* ------------------------------------------------------- call to action -- */
.cta {
  background: linear-gradient(135deg, #0B0D15 0%, #141826 100%);
  border: 2px solid var(--purple);
  border-radius: var(--r-card);
  padding: 24px 20px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.cta .line { font-size: 22px; font-weight: 900; line-height: 1.25; max-width: 36rem; }
.cta .under { color: var(--text2); font-size: 15px; max-width: 40rem; }
@media (min-width: 760px) { .cta { padding: 32px; } .cta .line { font-size: 26px; } }

.mail-box { border-color: var(--royal); }
.mail-box .line { font-size: 19px; }
@media (min-width: 760px) { .mail-box .line { font-size: 22px; } }

/* ---------------------------------------------------------------- 404 -- */
.nf { padding: 56px 0 72px; }
.nf h1 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.nf p { color: var(--text2); max-width: 40rem; }
.nf p + p { margin-top: 8px; }
.nf .actions { margin: 22px 0 18px; }

/* --------------------------------------------------- long-form legal text -- */
.legal {
  max-width: calc(46rem + 2 * var(--gut));
  margin: 0 auto;
  padding: 32px var(--gut) 56px;
  font-size: 17px;
  line-height: 1.7;
}
.legal-head { margin-bottom: 20px; }
.legal h1 { font-size: 34px; font-weight: 900; line-height: 1.1; margin-bottom: 6px; }
.legal-meta { color: var(--text2); font-size: 15px; }
.legal-draft {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 2px solid var(--gold);
  border-radius: var(--r-key);
  background: rgba(255, 215, 0, .10);
  color: #FFF3B0;
  font-size: 15px;
  line-height: 1.55;
}
.legal-draft strong { color: var(--gold); letter-spacing: .02em; }
.legal-toc {
  margin: 0 0 36px;
  padding: 16px 20px 18px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r-card);
}
.legal-toc h2 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text2);
}
.legal-toc ol { padding-left: 1.4rem; font-size: 15px; line-height: 1.5; columns: 2 16rem; column-gap: 2rem; }
/* each contents entry is a 48px row, the app's smallest tap target, and the whole row is the link */
.legal-toc li { break-inside: avoid; }
.legal-toc a { display: flex; align-items: center; min-height: 48px; color: var(--text); }
.legal-toc a:hover { color: var(--neon); }
.legal-body h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 900; color: var(--gold); scroll-margin-top: 16px; }
.legal-body h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 800; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px; padding-left: 1.4rem; }
.legal-body li { margin: 0 0 7px; }
.legal-body li > p { margin: 0; }
.legal-body code { font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--raised); }
.legal-body hr { border: none; border-top: 2px solid var(--line); margin: 32px 0; }
.legal-body table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; line-height: 1.5; }
.legal-body th, .legal-body td { padding: 9px 12px; border: 1px solid var(--line2); text-align: left; vertical-align: top; }
.legal-body th { background: var(--card); font-weight: 800; }
@media (max-width: 480px) {
  .legal { font-size: 16px; line-height: 1.65; padding-top: 24px; }
  .legal h1 { font-size: 30px; }
  .legal-body h2 { font-size: 21px; margin-top: 32px; }
  .legal-body h3 { font-size: 18px; }
}

/* --------------------------------------------------------------- footer -- */
.site-foot { margin-top: 0; border-top: 2px solid var(--line); background: var(--card); padding: 36px 0 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-cols h2 { font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.foot-cols ul { list-style: none; padding: 0; }
.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--text2);
  font-weight: 700;
  text-decoration: none;
}
.foot-cols a:hover { color: var(--text); }
/* the support@ line: a real 48px row, the app's smallest tap target */
.foot-meta a { display: inline-flex; align-items: center; min-height: 48px; }
.foot-meta { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--line); display: grid; gap: 8px; color: var(--text2); font-size: 15px; }
.endorse { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.endorse img { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-head, .site-foot, .legal-toc, .skip { display: none; }
  body, .legal, .legal-body strong, .legal-body th { color: #000; background: #fff; }
}
