/* lawfive.app (SITE-1) in the website's look, Pitch & Scoreboard (WEB-24, DESIGN.md): the page is the
   pitch, with wide, quiet mowing stripes and chalk lines for its structure; the stadium board runs
   across the top and the foot; figures and the big moments sit on near-black boards in Barlow
   Condensed black italic; dense words sit on chalk panels (dark slabs at a night match). The tokens
   are the web app's own (web/src/styles.css), copied here, so a change to them is made in both.
   Light and dark follow the visitor's system. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-display: swap; src: url(fonts/barlow-condensed-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-latin-900-italic.woff2) format("woff2"); }
/* The boards' small labels, and the playable parts' codes and keys. */
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }

:root {
    /* The ground: the grass, its mowing stripe, the chalk lines on it and the words written on it. */
    --pitch: #12613e;
    --pitch-stripe: #115e3c;
    --stripe: 256px;
    --stripe-blend: 120px;
    --chalk: #f4f2e9;
    --chalk-line: #f4f2e9;
    --chalk-muted: #c4dccd;
    --chalk-faint: rgb(244 242 233 / 32%);
    --line: 3px;
    /* The hard offset under a page's title and the hero's: dark green by day, mint at night. */
    --title-shadow: 0.035em 0.035em 0 #06301d;
    --hero-shadow: 0.035em 0.035em 0 #06301d;
    /* The stadium board. */
    --board: #0b0e0d;
    --board-edge: transparent;
    --board-dots: #1c2420;
    --board-rule: #25302b;
    --on-board: #f4f2e9;
    --on-board-strong: #ffffff;
    --on-board-muted: #b6bfba;
    --board-accent: #2fae7a;
    --board-shadow: 0 18px 30px rgb(0 0 0 / 34%), 0 3px 0 rgb(0 0 0 / 30%);
    /* Chalk panels and the ink on them. */
    --panel: #f4f2e9;
    --panel-2: #e9e7dc;
    --panel-edge: transparent;
    --panel-shadow: 0 3px 0 rgb(6 48 29 / 45%);
    --ink: #0e1311;
    --ink-muted: #4d5650;
    --ink-border: #d6d4c8;
    --ink-brand: #0b6b47;
    --ink-brand-strong: #08573a;
    --ink-brand-soft: #dbe8db;
    --ink-on-brand: #ffffff;
    --ink-amber-soft: #f6e8b5;
    --ink-amber-text: #6f5400;
    --yellow: #f7c600;
    --red: #d4202a;
    --radius: 6px;
    --font: "Barlow", sans-serif;
    --display: "Barlow Condensed", "Barlow", sans-serif;
    --mono: "JetBrains Mono", monospace;
    color-scheme: light;
}

/* A night match: the grass darker, the chalk dimmed, the panels dark slabs with a thin edge, and the
   offset in the second ink, mint. */
@media (prefers-color-scheme: dark) {
    :root {
        --pitch: #0f2e20;
        --pitch-stripe: #0d291c;
        --chalk: #e6e9e3;
        --chalk-line: #b4bdb6;
        --chalk-muted: #a6c2b0;
        --chalk-faint: rgb(180 189 182 / 30%);
        --title-shadow: 3px 2px 0 #2fae7a;
        --hero-shadow: 5px 4px 0 #2fae7a;
        --board: #121614;
        --board-edge: #313c36;
        --board-dots: #232c27;
        --board-rule: #2e3934;
        --on-board: #e6e9e3;
        --on-board-muted: #a7b1ab;
        --board-shadow: 0 14px 22px rgb(0 0 0 / 55%), 0 3px 0 rgb(0 0 0 / 45%);
        --panel: #0f1b15;
        --panel-2: #16241d;
        --panel-edge: #5d6a63;
        --panel-shadow: none;
        --ink: #e6e9e3;
        --ink-muted: #a3aea7;
        --ink-border: #26332c;
        --ink-brand: #2fae7a;
        --ink-brand-strong: #5cc999;
        --ink-brand-soft: #173a2b;
        --ink-on-brand: #04140d;
        --ink-amber-soft: #3a3214;
        --ink-amber-text: #f0cd5a;
        color-scheme: dark;
    }
}
@media (prefers-color-scheme: dark) and (max-width: 600px) {
    :root { --title-shadow: 2px 2px 0 #2fae7a; --hero-shadow: 3px 2px 0 #2fae7a; }
}

/* Where something sits sets its colors, as on the website: on the grass words are chalk and a primary
   button is a chalk slab; on a panel, ink on chalk with pitch-green links; on a board, chalk on near black. */
:root {
    --text: var(--chalk);
    --muted: var(--chalk-muted);
    --border: var(--chalk-faint);
    --brand: var(--chalk);
    --brand-strong: #ffffff;
    --on-brand: var(--board);
    --outline: var(--chalk-line);
    --hover: rgb(255 255 255 / 9%);
}
:where(.feature, .topic, .faq details, .legal-body, .legal-draft) {
    --text: var(--ink);
    --muted: var(--ink-muted);
    --border: var(--ink-border);
    --brand: var(--ink-brand);
    --brand-strong: var(--ink-brand-strong);
    --on-brand: var(--ink-on-brand);
    --outline: var(--ink-muted);
    --hover: var(--panel-2);
    color: var(--text);
}
:where(.top, .foot, .look, .more a, .close) {
    --text: var(--on-board);
    --muted: var(--on-board-muted);
    --border: var(--board-rule);
    --brand: var(--chalk);
    --brand-strong: #ffffff;
    --on-brand: var(--board);
    --outline: var(--on-board-muted);
    --hover: rgb(255 255 255 / 8%);
    color: var(--text);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    /* The mowing stripes down the whole page: wide, low in contrast, each edge blended softly. */
    background: repeating-linear-gradient(180deg,
        var(--pitch-stripe) 0, var(--pitch) var(--stripe-blend), var(--pitch) var(--stripe),
        var(--pitch-stripe) calc(var(--stripe) + var(--stripe-blend)), var(--pitch-stripe) calc(var(--stripe) * 2)) var(--pitch);
    color: var(--text); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
:is(img, svg):where(:not([data-lawfive] *)) { display: block; }
img:where(:not([data-lawfive] *)) { max-width: 100%; height: auto; }
a { color: inherit; }
p:where(:not([data-lawfive] *)) { margin: 0; text-wrap: pretty; }
/* Headings are the board's: Barlow Condensed black italic capitals, with a little room on the right
   so the italic's last letter (and the offset) isn't clipped. */
:is(h1, h2):where(:not([data-lawfive] *)) {
    font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
    line-height: 0.9; letter-spacing: 0; margin: 0; padding-right: 0.05em; text-wrap: balance;
}
:is(.feature, .look, .screen-row) h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1; font-size: 24px; margin: 0; padding-right: 0.04em; }
:focus-visible:where(:not([data-lawfive] *)) { outline: 3px solid var(--brand); outline-offset: 3px; }

.wrap { width: min(1152px, 100%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The L5 mark (WEB-25): chalk L and mint 5 on the board. */
.logo-mark:where(:not([data-lawfive] *)) { width: auto; height: 1em; overflow: visible; flex: none; }
.logo-mark:where(:not([data-lawfive] *)) .l { fill: var(--on-board); }
.logo-mark:where(:not([data-lawfive] *)) .five { fill: var(--board-accent); }
.logo-mark:where(:not([data-lawfive] *)) .fold { fill: #1d7a54; }

/* The stadium board across the top: the mark and LAWFIVE, the links in condensed capitals, the page
   you're on a tunnel in the grass's green running down onto the pitch. */
.top {
    display: flex; align-items: stretch; justify-content: space-between; gap: 18px; height: 72px;
    padding-inline: max(24px, calc((100% - 1240px) / 2)); background: var(--board); box-shadow: inset 0 -1px 0 var(--board-edge);
}
.wordmark {
    display: flex; align-items: center; gap: 0.22em; flex: none; text-decoration: none; border-radius: 4px;
    font-family: var(--display); font-style: italic; font-weight: 900; font-size: 32px; line-height: 1; color: var(--on-board);
}
.wordmark .logo-mark { height: 0.95em; }
.wordmark-name { padding-right: 0.04em; letter-spacing: 0.01em; }
.wordmark-name span { color: var(--board-accent); }
.wordmark:focus-visible:where(:not([data-lawfive] *)) { outline: 2px solid var(--on-board); outline-offset: 4px; }
.top-links { display: flex; align-items: stretch; gap: 4px; min-width: 0; }
.text-link {
    display: flex; align-items: center; margin-top: 14px; padding: 0 14px; border-radius: 7px 7px 0 0; text-decoration: none; white-space: nowrap;
    font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-board-muted);
}
.text-link:hover { color: var(--on-board-strong); }
.text-link:focus-visible:where(:not([data-lawfive] *)) { outline: 2px solid var(--on-board); outline-offset: -4px; }
.top-links .here { background: var(--pitch); color: var(--on-board-strong); font-weight: 800; padding: 0 18px; }
.top .btn { align-self: center; margin-left: 10px; }
.top > .btn { margin-left: 0; }

/* The pitch frame: every page sits between touchlines, with a quarter circle at each corner. */
.pitch-frame {
    --frame-pad-x: 44px;
    position: relative; display: block; width: min(1240px, calc(100% - 48px)); margin: 28px auto 40px;
    border: var(--line) solid var(--chalk-line); padding: 40px var(--frame-pad-x) 60px; overflow-x: clip;
}
.pitch-frame::before, .pitch-frame::after, .frame-corners::before, .frame-corners::after {
    content: ""; position: absolute; width: 28px; height: 28px; border: var(--line) solid var(--chalk-line); pointer-events: none;
}
.pitch-frame::before { top: calc(var(--line) * -1); left: calc(var(--line) * -1); border-width: 0 var(--line) var(--line) 0; border-bottom-right-radius: 100%; }
.pitch-frame::after { top: calc(var(--line) * -1); right: calc(var(--line) * -1); border-width: 0 0 var(--line) var(--line); border-bottom-left-radius: 100%; }
.frame-corners { position: absolute; inset: 0; pointer-events: none; }
.frame-corners::before { bottom: calc(var(--line) * -1); left: calc(var(--line) * -1); border-width: var(--line) var(--line) 0 0; border-top-right-radius: 100%; }
.frame-corners::after { bottom: calc(var(--line) * -1); right: calc(var(--line) * -1); border-width: var(--line) 0 0 var(--line); border-top-left-radius: 100%; }
/* The halfway line, touchline to touchline, with its center spot: under every page's hero. */
.halfway:where(:not([data-lawfive] *)) { position: relative; height: var(--line); margin: 8px calc(var(--frame-pad-x) * -1) 0; background: var(--chalk-line); }
.halfway:where(:not([data-lawfive] *)) span { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--chalk-line); transform: translate(-50%, -50%); }

/* Buttons: Barlow Condensed extra-bold capitals; a chalk outline, or the one that does it as a slab
   (chalk with board words on the grass and on a board, green with white on a panel) with a hard drop. */
.btn:where(:not([data-lawfive] *)) {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
    border: 2px solid var(--outline); border-radius: var(--radius); background: transparent; color: var(--text); text-decoration: none; white-space: nowrap;
    font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase;
}
.btn:where(:not([data-lawfive] *)):hover { background: var(--hover); }
.btn-primary:where(:not([data-lawfive] *)) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 3px 0 var(--board); }
.btn-primary:where(:not([data-lawfive] *)):hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.top .btn { height: 40px; padding: 0 14px; font-size: 17px; }

/* Words on the grass */

.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* A hero's eyebrow is a tag of the board, its label in mint, as the board's "NEXT MATCH". */
.home-hero .eyebrow, .page-hero .eyebrow {
    display: inline-block; padding: 7px 12px 6px; border-radius: 4px; background: var(--board); color: var(--board-accent);
    box-shadow: inset 0 0 0 1px var(--board-edge), 0 3px 0 rgb(0 0 0 / 25%);
}
.lede { font-size: 20px; line-height: 1.45; color: var(--text); max-width: 32em; }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 34em; }
.try-line { margin: 18px 0 0; font-weight: 500; }
.try-line a, .page-hero a, .own a:not(.btn) { color: var(--brand-strong); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* The home page's hero: the words beside the screens, which stand on the pitch's center circle;
   the halfway line under them. The title is the biggest thing on the site, with the offset. */
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-bottom: 64px; }
.home-hero h1 { font-size: clamp(64px, 8.6vw, 132px); line-height: 0.84; margin: 20px 0 24px; text-shadow: var(--hero-shadow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stage { position: relative; padding: 0 0 64px; }
.hero-circle {
    position: absolute; z-index: -1; left: 50%; top: 46%; width: min(560px, 100%); aspect-ratio: 1; transform: translate(-50%, -50%);
    border: var(--line) solid var(--chalk-line); border-radius: 50%;
}
.hero-circle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--chalk-line); }
.stage .browser { position: relative; width: 100%; }
.stage .phone { position: absolute; right: -8px; bottom: 0; width: 25%; }
.stage .watch { position: absolute; left: -22px; bottom: 8px; width: 25%; }
.home-hero, .stage { isolation: isolate; }

/* Device frames, plain so they read as LawFive rather than anyone's product: a screen on a board,
   a phone and a watch in the board's near black. */
.browser { overflow: hidden; background: var(--board); border: 6px solid var(--board); border-top-width: 16px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--board-edge), var(--board-shadow); }
.browser img, .browser video { display: block; width: 100%; height: auto; border-radius: 2px; }
.phone { border: 5px solid var(--board); border-radius: 24px; overflow: hidden; background: var(--board); box-shadow: 0 0 0 1px var(--board-edge), var(--board-shadow); }
.watch { aspect-ratio: 1; border: 8px solid #15181a; border-radius: 50%; overflow: hidden; background: #000; box-shadow: var(--board-shadow), 0 0 0 1px rgb(255 255 255 / 14%); }
.watch img, .watch video { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch-rect { aspect-ratio: 374 / 446; border: 8px solid #15181a; border-radius: 28%/24%; overflow: hidden; background: #000; box-shadow: var(--board-shadow), 0 0 0 1px rgb(255 255 255 / 14%); }
.watch-rect img { width: 100%; height: 100%; object-fit: cover; }
.shot { width: 100%; border-radius: 20px; }

/* A weather warning, drawn rather than shot (SITE-13): the forecast checked each day before kickoff, and
   the phone's notification when a risk first appears. Not any one phone's own look; a LawFive card with
   the mark on its board tile, white by day and a dark slab at night, wherever it sits. */
.notify {
    --n-card: #ffffff; --n-ink: #0e1311; --n-muted: #4d5650; --n-edge: rgb(14 19 17 / 10%); --n-amber: #b77d00;
    display: grid; gap: 14px; width: min(460px, 100%); font-family: var(--font);
}
@media (prefers-color-scheme: dark) {
    .notify { --n-card: #1c2420; --n-ink: #e6e9e3; --n-muted: #a3aea7; --n-edge: rgb(255 255 255 / 12%); --n-amber: #e8a317; }
}
.notify-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; position: relative; }
.notify-days::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; border-top: 2px dashed var(--border); }
.notify-days li { position: relative; display: grid; justify-items: center; gap: 4px; color: var(--muted); text-align: center; }
.notify-days span { line-height: 14px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.notify-days svg, .notify-days i {
    box-sizing: content-box; width: 22px; height: 22px; padding: 6px; border-radius: 50%; background: var(--n-card); color: var(--n-muted);
    box-shadow: 0 0 0 1px var(--n-edge);
}
.notify-days i { display: grid; place-items: center; font-family: var(--display); font-size: 15px; font-weight: 800; font-style: italic; color: var(--n-ink); }
.notify .notify-days b { font-size: 13px; font-weight: 500; line-height: 1.2; color: inherit; }
.notify-days li.notify-new { color: var(--text); }
.notify-new svg { background: var(--yellow); color: #1b1600; box-shadow: 0 0 0 4px rgb(247 198 0 / 28%); }
.notify .notify-new b { font-weight: 700; }
.notify-card {
    position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 18px 14px; border-radius: 22px;
    background: var(--n-card); color: var(--n-ink); box-shadow: 0 0 0 1px var(--n-edge), 0 14px 26px rgb(0 0 0 / 22%);
}
/* Its pointer up at the day the risk appeared, the third of four. */
.notify-card::before {
    content: ""; position: absolute; top: -7px; left: calc(62.5% - 7px); width: 14px; height: 14px; background: var(--n-card);
    transform: rotate(45deg); box-shadow: -1px -1px 0 0 var(--n-edge);
}
.notify-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--board); box-shadow: 0 0 0 1px var(--n-edge); }
.notify-icon .logo-mark { height: 22px; }
.notify-body { min-width: 0; }
.notify .notify-body p { margin: 0; max-width: none; }
.notify p.notify-app { font-size: 13px; font-weight: 600; color: var(--n-muted); }
.notify-app span { font-weight: 400; }
.notify p.notify-title { margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--n-ink); }
.notify p.notify-text { margin-top: 2px; font-size: 15px; line-height: 1.35; color: var(--n-muted); }
.notify p.notify-actions { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--n-edge); }
.notify-actions span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-brand); }
@media (prefers-color-scheme: dark) { .notify-actions span { color: #2fae7a; } }
.notify-actions svg { width: 17px; height: 17px; }
@media (max-width: 420px) {
    .notify .notify-days b { font-size: 12px; }
    .notify-card { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px 14px 12px; }
    .notify-icon { width: 38px; height: 38px; border-radius: 10px; }
    .notify-icon .logo-mark { height: 19px; }
}
.clip-dark { display: none; }
@media (prefers-color-scheme: dark) {
    .clip-light { display: none; }
    .clip-dark { display: block; }
}

/* Sections on the grass: a small label in JetBrains Mono capitals over a big black italic heading. */
main > section { padding-top: 64px; }
.section-head:where(:not([data-lawfive] *)) { margin-bottom: 30px; }
.section-head:where(:not([data-lawfive] *)) > * { max-width: 46rem; }
h2:where(:not([data-lawfive] *)) { font-size: clamp(44px, 5.4vw, 72px); margin: 10px 0 12px; }
.section-head:where(:not([data-lawfive] *)) p:last-child:not(.eyebrow) { color: var(--muted); }

/* What it does: chalk panels, each with its icon on a tile of the board. */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature, .topic, .faq details, .legal-body {
    background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius); box-shadow: var(--panel-shadow);
}
.feature { padding: 22px 22px 20px; }
.tile { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--board); color: var(--board-accent); margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--board-edge); }
.feature h3 { font-size: 26px; line-height: 0.95; color: var(--text); }
.feature p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.feature .go-line { margin-top: 12px; }
/* Cards are the only yellow and red: small and tilted, as if just shown. */
.cards { display: inline-flex; gap: 5px; vertical-align: -2px; margin-left: 4px; }
.card-shape:where(:not([data-lawfive] *)) { width: 11px; height: 15px; border-radius: 2px; box-shadow: 0 1px 2px rgb(0 0 0 / 30%); }
.card-shape.y:where(:not([data-lawfive] *)) { background: var(--yellow); transform: rotate(-8deg); }
.card-shape.r:where(:not([data-lawfive] *)) { background: var(--red); transform: rotate(7deg); }

/* A closer look (SITE-6, SITE-13, WEB-28): each the website's slab (WEB-28), a stadium board cut on the kits'
   diagonal at its right, its title on a chalk tab cut the same way over its top-left corner with a mint
   tag beside it naming the page it belongs to; the clip or picture beside the words, every other one
   the other way round. The names differ from the website's (.slab) so they can't reach a playable part. */
.looks { display: grid; gap: 64px; padding-top: 22px; }
.look { position: relative; min-width: 0; }
.look-tab { position: relative; z-index: 2; display: flex; align-items: stretch; max-width: calc(100% + 10px); min-height: 50px; margin-left: -10px; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 22%)); }
.look-tab h3 {
    display: flex; align-items: center; min-width: 0; margin: 0; padding: 6px 40px 6px 20px; background: var(--chalk); color: var(--board);
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); font-size: clamp(28px, 2.8vw, 38px); line-height: 0.95; text-wrap: balance;
}
.look-tag {
    display: flex; flex: 0 1 auto; align-items: center; min-width: 0; margin-left: -14px; padding: 4px 34px 4px 32px;
    background: var(--board-accent); color: var(--board); clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase;
}
.look-face {
    position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center;
    margin-top: -25px; padding: 58px calc(var(--look-cut) + 32px) 36px 36px; background: var(--board);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--look-cut)) 100%, 0 100%);
}
/* The face's drop (and at night the board's thin edge) follows its cut shape, so it's cast by the article. */
.look { filter: var(--look-drop); }
:root {
    --look-cut: 44px;
    --look-drop: drop-shadow(0 14px 16px rgb(0 0 0 / 32%));
}
@media (prefers-color-scheme: dark) {
    :root { --look-drop: drop-shadow(1px 0 0 var(--board-edge)) drop-shadow(-1px 0 0 var(--board-edge)) drop-shadow(0 1px 0 var(--board-edge)) drop-shadow(0 -1px 0 var(--board-edge)) drop-shadow(0 12px 14px rgb(0 0 0 / 45%)); }
}
.look:nth-child(even) .look-media { order: 2; }
.look-media { display: grid; justify-items: center; min-width: 0; }
.look-media .watch { width: min(280px, 100%); box-shadow: 0 0 0 1px rgb(255 255 255 / 14%); }
.look-media .browser { width: min(420px, 100%); border-width: 0; box-shadow: 0 0 0 1px var(--board-rule); }
.look p { color: var(--muted); margin-top: 12px; max-width: 34em; }
.look-face > div > p:first-child { margin-top: 0; }
.look p a { color: var(--on-board-strong); font-weight: 600; text-underline-offset: 3px; }
.where { display: flex; gap: 10px; align-items: baseline; color: var(--brand); font-size: 15px; font-weight: 600; margin-top: 16px; max-width: 38em; }
.where::before { content: ""; flex: none; width: 18px; height: var(--line); background: currentColor; transform: translateY(-4px); }
.look .where { color: var(--board-accent); }

/* See it: the screens on the grass, each group named on the grass with a faint chalk line running on. */
.screens { display: grid; gap: 64px; }
.screen-row > h3, .faq > h2 {
    display: flex; align-items: center; gap: 18px; font-size: 34px; color: var(--chalk); margin: 0;
}
.screen-row > h3::after, .faq > h2::after { content: ""; flex: 1; height: var(--line); background: var(--chalk-faint); }
.screen-row > p { color: var(--muted); margin: 10px 0 22px; max-width: 40em; }
.row-web { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.row-web .browser:first-child { grid-row: span 2; }
.row-phone { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 28px; }
.chip:where(:not([data-lawfive] *)) {
    display: inline-flex; align-items: center; margin-left: 10px; padding: 2px 8px; border-radius: 4px; vertical-align: 2px; white-space: nowrap;
    font-family: var(--display); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.25;
    background: var(--chalk); color: var(--ink-brand-strong);
}
@media (prefers-color-scheme: dark) { .chip:where(:not([data-lawfive] *)) { color: #08573a; } }
.chip-early:where(:not([data-lawfive] *)) { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--chalk-faint); }
@media (prefers-color-scheme: dark) { .chip-early:where(:not([data-lawfive] *)) { color: var(--chalk); } }
.platform { display: flex; align-items: center; margin: 30px 0 14px; }
.platform b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 26px; text-transform: uppercase; padding-right: 0.04em; }
.screen-row > p + .platform { margin-top: 0; }
.row-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 36px; align-items: start; margin-top: 26px; }
.row-devices figure { margin: 0; }
.row-devices .watch-rect { width: 84%; margin-inline: auto; }
.row-devices figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.row-devices figcaption b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 24px; text-transform: uppercase; color: var(--text); padding-right: 0.04em; }
.row-devices .cap { display: block; margin-top: 6px; }

/* Self-hosters and developers: on the grass, between chalk rules. */
.own { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; padding: 34px 0; border-block: var(--line) solid var(--chalk-line); }
.own h2 { font-size: clamp(40px, 4.4vw, 58px); }
.own p:last-child { color: var(--muted); max-width: 38em; }
.own-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.pager { display: none; }

/* The closing call to join: the biggest board, its heading on the lit-dot matrix. */
.close {
    display: flex; flex-wrap: wrap; gap: 26px 32px; align-items: center; justify-content: space-between; padding: 44px 44px 40px;
    background-color: var(--board); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--board-edge), var(--board-shadow);
    background-image: radial-gradient(circle, var(--board-dots) 1.3px, transparent 1.6px); background-size: 7px 7px; background-position: 3px 3px;
}
.close > div:first-child { min-width: 0; flex: 1 1 360px; }
.close h2 { margin: 0 0 12px; font-size: clamp(48px, 6vw, 84px); color: var(--on-board-strong); }
.close p { color: var(--muted); max-width: 36em; }
.close .actions { margin-top: 0; }

/* The foot of every page: a strip of the board, the mark and the links. */
.foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 28px max(24px, calc((100% - 1240px) / 2)) 34px;
    background: var(--board); box-shadow: inset 0 1px 0 var(--board-edge); color: var(--muted); font-size: 14.5px;
}
.foot-mark { height: 30px; }
.foot > span:first-of-type { color: var(--text); font-weight: 600; }
.foot > span:last-child { flex: 1 1 100%; }
.foot a { color: var(--text); text-underline-offset: 3px; }
.foot a:hover { color: var(--on-board-strong); }

/* Find out more (SITE-8): a board for each page, the whole board a link, lit along its foot on hover. */
.more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.more:has(> a:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.more a {
    display: grid; gap: 8px; align-content: start; padding: 20px 18px 22px; text-decoration: none;
    background: var(--board); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--board-edge), var(--board-shadow);
    transition: box-shadow 150ms;
}
.more a:hover, .more a:focus-visible { box-shadow: inset 0 0 0 1px var(--board-edge), inset 0 -4px 0 var(--board-accent), var(--board-shadow); }
.more .tile { margin-bottom: 6px; background: var(--board-dots); box-shadow: none; }
.more b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 25px; line-height: 0.95; text-transform: uppercase; color: var(--on-board-strong); padding-right: 0.04em; }
.more span:not(.tile) { color: var(--muted); font-size: 15px; line-height: 1.4; }

/* Feature pages and the FAQ (SITE-8): a hero on the grass with the halfway line under it, then the
   topics on chalk panels with the pitch's corner arcs. */
.page-hero { padding-bottom: 48px; }
.page-hero > * { max-width: 52rem; }
.page-hero h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: 0.84; margin: 20px 0 22px; text-shadow: var(--title-shadow); }
.topics { display: grid; gap: 22px; }
.topic {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 44px; align-items: center; padding: 36px;
    --arc: 20px;
    background-image:
        radial-gradient(circle at 0 0, transparent calc(var(--arc) - 2px), var(--ink-brand) calc(var(--arc) - 2px), var(--ink-brand) var(--arc), transparent calc(var(--arc) + 0.5px)),
        radial-gradient(circle at 100% 0, transparent calc(var(--arc) - 2px), var(--ink-brand) calc(var(--arc) - 2px), var(--ink-brand) var(--arc), transparent calc(var(--arc) + 0.5px)),
        radial-gradient(circle at 0 100%, transparent calc(var(--arc) - 2px), var(--ink-brand) calc(var(--arc) - 2px), var(--ink-brand) var(--arc), transparent calc(var(--arc) + 0.5px)),
        radial-gradient(circle at 100% 100%, transparent calc(var(--arc) - 2px), var(--ink-brand) calc(var(--arc) - 2px), var(--ink-brand) var(--arc), transparent calc(var(--arc) + 0.5px));
    background-size: var(--arc) var(--arc);
    background-position: 0 0, 100% 0, 0 100%, 100% 100%;
    background-repeat: no-repeat;
}
.topic.text-only { grid-template-columns: minmax(0, 1fr); }
.topic h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 0.92; margin: 0 0 6px; color: var(--text); }
.topic p { color: var(--muted); margin-top: 12px; max-width: 40em; }
.topic ul { color: var(--muted); margin: 14px 0 0; padding-left: 20px; display: grid; gap: 7px; max-width: 40em; }
.topic li::marker { color: var(--ink-brand); }
.topic li b, .topic p b { color: var(--text); font-weight: 700; }
.topic-media { display: grid; justify-items: center; min-width: 0; }
.topic-media .watch { width: min(260px, 100%); }
.topic-media .browser { width: 100%; }
.topic-media .phone { width: min(240px, 72%); }
.topic a:not(.go), .faq a:not(.go) { color: var(--brand); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.models { columns: 2; column-gap: 32px; }
.models li { break-inside: avoid; }

/* Questions: grouped on the grass, each question a chalk panel that opens. */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq > h2 { margin: 40px 0 8px; }
.faq > h2:first-child { margin-top: 0; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 18px; list-style: none; position: relative; color: var(--text); border-radius: var(--radius); }
.faq summary:hover { background: var(--panel-2); }
.faq summary::-webkit-details-marker { display: none; }
/* Phosphor's caret-down, as a mask so it takes the text color. */
.faq summary::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--ink-brand);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] summary { border-radius: var(--radius) var(--radius) 0 0; }
.faq summary:focus-visible:where(:not([data-lawfive] *)) { outline-offset: -3px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); display: grid; gap: 10px; }
.faq .answer b { color: var(--text); font-weight: 600; }

/* A link that leaves for the docs at lawfive.dev says so with an arrow up and out. */
.ext, .top-links .text-link { white-space: nowrap; }
.ext-icon { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 3px; vertical-align: -0.05em; flex: none; }
.btn .ext-icon { margin-left: -2px; }
.text-link .ext-icon { width: 0.7em; height: 0.7em; margin-left: 4px; }

/* Where a section is shown in more detail, or can be played: a short link in the board's capitals with a caret. */
.go-line { margin: 14px 0 0; }
.go {
    display: inline-flex; align-items: center; gap: 5px; color: var(--brand); text-decoration: none;
    font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1;
}
.go:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.go svg { width: 14px; height: 14px; flex: none; }
.look .go { color: var(--on-board-strong); }
.topic .go, .feature .go { color: var(--ink-brand); }
article[id] { scroll-margin-top: 16px; }

/* Privacy, terms, account deletion and support (SITE-5, SITE-11): the title on the grass, the words on a chalk panel. */
.legal > :not(.frame-corners) { max-width: 800px; margin-inline: auto; }
.legal h1 { font-size: clamp(52px, 7vw, 96px); line-height: 0.86; margin-top: 4px; margin-bottom: 18px; text-shadow: var(--title-shadow); }
.legal > .lede { font-size: 19px; color: var(--muted); max-width: 800px; }
.legal-body { margin-top: 34px; padding: 12px 40px 30px; line-height: 1.6; }
.legal-body h2 { font-size: 30px; line-height: 0.95; margin: 30px 0 10px; color: var(--text); }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body strong { color: var(--text); }
.legal-body p { margin: 0 0 12px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--ink-brand); font-weight: 700; }
.legal-body a, .legal > .lede a { color: var(--brand); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.legal > .lede a { color: var(--brand-strong); }
.legal-draft { margin-bottom: 26px; padding: 12px 16px; border-radius: var(--radius); background: var(--ink-amber-soft); color: var(--ink-amber-text); font-size: 15.5px; }
.legal-draft strong { color: inherit; }
.legal-note { color: var(--muted); }

/* SITE-1: the playable parts, the website's own quiz, match screen setup, Try a match and replay,
   built from web/src/site/ into play/. Each takes the place of its picture as it nears the screen;
   until then, and without JavaScript, the picture shows. They bring the website's styles, scoped to
   the part (data-lawfive), and sit on the grass as they do on the website. */
.play-part { min-width: 0; }
.play-part > .browser, .play-part > .play-clip { width: min(760px, 100%); margin: 0 auto; }
.play-part > .play-clip .browser { width: 100%; }
.play-needs { display: none; }
.play-part:not(.lf-live) .play-needs { display: block; text-align: center; color: var(--muted); font-size: 15px; margin-top: 14px; }
.play-part.lf-live .play-needs { display: none; }
/* With JavaScript on, the picture keeps its place hidden for a moment, so a part that loads in time
   replaces it unseen rather than flashing a different moment (the quiz's answered question); one
   that's slow or fails shows it after all. */
@media (scripting: enabled) {
    .play-part:not(.lf-live) > * { animation: play-wait 0s 1.5s both; }
}
@keyframes play-wait { from { visibility: hidden; } to { visibility: visible; } }
.topics > .play-part { margin: 18px 0; }
/* The quiz page: the quiz beside a column of its four short cards. */
.quiz-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.quiz-layout .play-part > .browser { width: 100%; }
.quiz-notes { display: grid; gap: 16px; }
.quiz-notes .topic { padding: 24px; background-image: none; }
.quiz-notes .topic h2 { font-size: 28px; }
.quiz-notes .topic p { font-size: 15.5px; }
.lf-part-head { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.lf-part-after { margin-top: 16px; }
.lf-try-setup { margin-top: 56px; }
/* Gone to by Change and New match with it: only somewhere to land, so no ring. */
.lf-try-watch, .lf-try-setup h3 { scroll-margin-top: 16px; }
.lf-try-watch:focus, .lf-try-setup h3:focus { outline: none; }
.play-part .lf-try-setup h3 {
    font-family: var(--display); font-size: clamp(40px, 4.6vw, 58px); font-weight: 900; font-style: italic; line-height: 0.9;
    letter-spacing: 0; text-transform: uppercase; color: var(--chalk); margin: 0; padding-right: 0.05em;
}
.play-part .lf-try-setup > p { margin: 10px 0 18px; }

/* Under 1100 px: the boards for the other pages three to a row, the hero's words over its screens. */
@media (max-width: 1100px) {
    /* Three to a row; five as three over two, so no board stands alone. */
    .more, .more:has(> a:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .more > a { grid-column: span 2; }
    .more:not(:has(> a:nth-child(6))) > a:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 960px) {
    .pitch-frame { --frame-pad-x: 28px; padding-top: 32px; }
    .top-links { gap: 0; }
    .text-link { padding: 0 10px; font-size: 17px; }
    .top-links .here { padding: 0 12px; }
}
@media (max-width: 900px) {
    .home-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 48px; }
    .hero-circle { width: min(440px, 86%); }
    .look-face { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 52px calc(var(--look-cut) + 14px) 28px 28px; }
    .look:nth-child(even) .look-media { order: 0; }
    .own { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .own-links { justify-content: flex-start; }
    .stage .phone { right: 0; }
    .stage .watch { left: 0; }
    .topic { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px; }
    .topic-media { order: -1; }
    .quiz-layout { grid-template-columns: minmax(0, 1fr); }
    .legal-body { padding: 8px 28px 24px; }
}
@media (max-width: 700px) {
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .more, .more:has(> a:nth-child(6)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .more > a, .more:not(:has(> a:nth-child(6))) > a:nth-child(n+4) { grid-column: auto; }
    .more > a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Phones: the frame's touchlines 8px in from the screen's edges, the words 21px in, as on the website. */
@media (max-width: 600px) {
    body { font-size: 16.5px; }
    .top { height: 60px; gap: 10px; padding-inline: 14px 12px; }
    .wordmark { font-size: 25px; }
    .text-link { margin-top: 12px; padding: 0 9px; font-size: 16px; letter-spacing: 0.04em; }
    .top-links .here { padding: 0 10px; }
    .top .btn { height: 38px; padding: 0 11px; font-size: 16px; margin-left: 6px; }
    .pitch-frame { --frame-pad-x: 10px; width: auto; margin: 8px 8px 24px; padding: 26px var(--frame-pad-x) 40px; }
    .pitch-frame::before, .pitch-frame::after, .frame-corners::before, .frame-corners::after { width: 22px; height: 22px; }
    .home-hero h1 { font-size: clamp(50px, 15vw, 72px); margin: 16px 0 18px; }
    .page-hero h1 { font-size: clamp(44px, 13vw, 64px); margin: 16px 0 18px; }
    .legal h1 { font-size: clamp(42px, 12.5vw, 60px); }
    .page-hero { padding-bottom: 36px; }
    .lede { font-size: 18px; }
    .eyebrow { font-size: 11.5px; letter-spacing: 0.12em; }
    main > section { padding-top: 48px; }
    h2:where(:not([data-lawfive] *)) { font-size: clamp(38px, 11vw, 48px); }
    .section-head:where(:not([data-lawfive] *)) { margin-bottom: 22px; }
    .screens { gap: 48px; }
    .screen-row > h3, .faq > h2 { font-size: 28px; gap: 14px; }
    /* SITE-7: long grids become rows to swipe, the next slide showing that there's more. The clips stay stacked. */
    [data-carousel] {
        display: flex; gap: 12px; margin-inline: calc(var(--frame-pad-x) * -1); padding: 4px var(--frame-pad-x) 10px; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-padding-inline: var(--frame-pad-x); scrollbar-width: none; overscroll-behavior-x: contain;
    }
    [data-carousel]::-webkit-scrollbar { display: none; }
    [data-carousel]:focus-visible:where(:not([data-lawfive] *)) { outline: 3px solid var(--chalk); outline-offset: -3px; }
    [data-carousel] > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
    .features > .feature { display: block; }
    .row-phone > * { flex-basis: 68%; }
    .row-devices > * { flex-basis: 64%; }
    .row-web > * { flex-basis: 90%; }
    .phone { border-width: 4px; border-radius: 20px; }
    /* The dots under a row, square like the board's lamps. */
    .pager { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
    .pager button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 4px; }
    .pager button::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--chalk-faint); }
    .pager button[aria-current="true"]::before { background: var(--chalk); }
    .pager button:focus-visible:where(:not([data-lawfive] *)) { outline: 2px solid var(--chalk); outline-offset: 0; }
    :root { --look-cut: 26px; }
    .looks { gap: 52px; }
    .look-tab { min-height: 40px; margin-left: -6px; max-width: calc(100% + 6px); }
    .look-tab h3 { padding: 5px 30px 5px 12px; font-size: 24px; }
    .look-tag { padding: 4px 24px 4px 26px; font-size: 10.5px; letter-spacing: 0.08em; }
    .look-face { margin-top: -20px; padding: 40px calc(var(--look-cut) + 10px) 24px 18px; }
    .own { padding: 26px 0; }
    .own-links .btn { flex: 1 1 auto; }
    .stage .phone { border-width: 3px; border-radius: 12px; }
    .stage .watch { border-width: 5px; }
    .stage { padding-bottom: 48px; }
    .browser { border-width: 4px; border-top-width: 10px; }
    .close { padding: 28px 20px 24px; }
    .actions .btn { flex: 1 1 auto; }
    .topic { padding: 22px 18px; --arc: 16px; }
    .more { grid-template-columns: minmax(0, 1fr); }
    .more, .more:has(> a:nth-child(6)) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .more > a, .more > a:last-child:nth-child(odd) { grid-column: auto; }
    .more a { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
    .more .tile { grid-row: span 2; margin-bottom: 0; }
    .more b { font-size: 23px; }
    .models { columns: 1; }
    .faq summary { padding: 16px 48px 16px 18px; font-size: 17px; }
    .faq .answer { padding: 0 18px 18px; }
    .legal-body { padding: 4px 18px 20px; }
    .legal-body h2 { font-size: 26px; }
    .legal-draft { margin-bottom: 20px; }
    .foot { padding: 22px 21px 30px; }
    .halfway:where(:not([data-lawfive] *)) span { width: 12px; height: 12px; }
}
@media (max-width: 480px) {
    .top-links .text-link.wide { display: none; }
}
@media (max-width: 400px) {
    .top-links .text-link.wide-faq { display: none; }
    .wordmark { font-size: 22px; }
    .top { padding-inline: 12px 10px; }
}
@media (max-width: 340px) {
    .text-link { padding: 0 7px; font-size: 15px; }
    .top-links .here { padding: 0 8px; }
    .top .btn { padding: 0 9px; font-size: 15px; }
    .wordmark { font-size: 20px; }
}

/* Short and quiet, and only for those who haven't asked for less motion (WEB-1). */
@media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise 450ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .stage .phone { animation-delay: 120ms; }
    .stage .watch { animation-delay: 220ms; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
    .btn { transition: background-color 150ms, transform 120ms; }
    .btn:active { transform: scale(0.96); }
}
