/* Tremor design system, version 0.5. The "instrument" layout in the locked brand. See design/partials-v3.html.

   The tokens in :root are the brand. Their values do not change.
   The accent means one thing on every screen: leading, or won. Buttons and picks are never accent.

   Components in this file, in order
     1  tokens            colours, type, radii, widths
     2  base              reset, focus, selection, .sr-only, .skip
     3  type              .h-display .h-section .h-sub .lede .body .note .muted .fig .mark .nb
     4  layout            .wrap (.std, .full)  .sec (.light, .flush)  .ticks (.run)  .cols with .a4 .a5 .a6 .a7 .a8 .a12 .end  .from-720
     5  header            .site-head (.stick)  .brand  .chip[data-mode]  .head-right  .nav  .menu-btn  .menu
     6  buttons, links    .btn (.primary .ghost .lg .sm .block)  .link  .link-arrow
     7  chips             .chip (.lead)            no dots: a state is said in words
     8  tables, lists     .table-wrap  .table (.num .time, tr.is-lead)  .ruled
     9  forms             .input (.fig)  .seg
    10  the sheet         .sheet  .sheet-read  .sheet-cap     the canvas itself is drawn by sheet.js
    11  questions         .qa
    12  footer            .site-foot  .foot-in  .foot-about  .foot-nav  .foot-base
    13  light paper       .light on a section turns everything inside it to ink on paper (explainers only)
    14  carried over      old class names kept until index, play, docs and 404 are on the new markup

   Rules that hold everywhere: hover only inside @media (hover: hover), nothing under 12 px, touch targets
   44 px or more, inputs 16 px or more, monospace for figures only, no gradients, glows or glass. */

@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

/* ---- 1 tokens ---- */
:root {
  /* dark surface */
  --ground: #03070d;
  --panel: #07131a;
  --panel-2: #0b1c25;
  --hair: rgba(160, 220, 240, 0.10);
  --hair-2: rgba(160, 220, 240, 0.18);
  --text: #eef5f7;
  --text-2: #9bb0b8;
  --text-3: #64787f;
  /* light surface */
  --paper: #f8f7f4;
  --card: #ffffff;
  --rule: #e3e1da;
  --ink: #18181b;
  --ink-2: #52525b;
  --ink-3: #8a8a93;
  --teal: #145565;
  /* accent and function */
  --accent: #6fcde8;
  --on-accent: #04181c;
  --up: #3ddc97;
  --down: #ff7d6e;

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 8px;
  --r-lg: 12px;
  --wrap: 1200px;
  --gutter: 20px;
  --head: 56px;

  /* added for the 0.5 layout */
  --max: 1320px;        /* the page frame. --wrap stays as the narrower measure for long text (.wrap.std) */
  --r-sm: 4px;
  --sec: 64px;          /* space under a ruled section */
  --ticks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M.5 0v10' stroke='%23a0dcf0' stroke-opacity='.34'/%3E%3Cpath d='M8.5 0v5M16.5 0v5M24.5 0v5M32.5 0v5' stroke='%23a0dcf0' stroke-opacity='.2'/%3E%3C/svg%3E");
  --ticks-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M.5 0v10' stroke='%2318181b' stroke-opacity='.4'/%3E%3Cpath d='M8.5 0v5M16.5 0v5M24.5 0v5M32.5 0v5' stroke='%2318181b' stroke-opacity='.2'/%3E%3C/svg%3E");
}
@media (min-width: 720px) { :root { --gutter: 24px; --sec: 112px; } }

/* ---- 2 base ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; background: var(--ground); }
body { margin: 0; font: 400 16px/1.5 var(--sans); color: var(--text); background: var(--ground); min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-synthesis: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.light :focus-visible { outline-color: var(--teal); }
::selection { background: var(--text); color: var(--ground); }
.light ::selection { background: var(--teal); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--text); color: var(--ground); border-radius: var(--r); font-weight: 500; text-decoration: none; }
.skip:focus { left: 8px; }

/* ---- 3 type ---- */
/* One family in two roles: DM Sans for words, Geist Mono for figures and nothing else. */
.h-display { font: 600 40px/1 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
.h-section { font: 600 30px/1.04 var(--sans); letter-spacing: -0.026em; text-wrap: balance; }
.h-sub { font: 600 20px/1.2 var(--sans); letter-spacing: -0.015em; }
.lede { font-size: 17px; line-height: 1.45; color: var(--text-2); max-width: 40ch; }
.body { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.body + .body { margin-top: 12px; }
.body b, .body strong, .lede b, .lede strong { color: var(--text); font-weight: 600; }
.note { font-size: 13px; line-height: 1.45; color: var(--text-2); max-width: 70ch; }
.muted { color: var(--text-3); }
.nb { white-space: nowrap; }
.fig, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "zero" 0; letter-spacing: 0; }
.fig { white-space: nowrap; }
/* The marked figure: leading now, or won. The only place the accent fills. */
.mark { background: var(--accent); color: var(--on-accent); padding: 1px 6px 2px; border-radius: 3px; font-weight: 500; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mark b { font-weight: 600; color: inherit; }
.mark .fig { color: inherit; }

@media (min-width: 720px) {
  .h-display { font-size: clamp(52px, 5.9vw, 84px); line-height: 0.96; letter-spacing: -0.032em; }
  .h-section { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.028em; }
  .h-sub { font-size: 22px; }
  .lede { font-size: 18px; }
  .body { font-size: 18px; }
}

/* ---- 4 layout ---- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.std { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.wrap.full { max-width: none; }

/* The ruled section. Every section opens with the tick scale and its heading; the space is underneath.
   <section class="sec" id="x"><div class="wrap"><div class="ticks" aria-hidden="true"></div><div class="cols">...</div></div></section> */
.sec { padding-bottom: var(--sec); }
.sec.flush { padding-bottom: 0; }
.sec > .wrap > .ticks { margin-bottom: 28px; }
/* The tick scale: a ruled edge with a minor tick every 8 px and a major every 40. The one recurring detail. */
.ticks { height: 10px; border-top: 1px solid var(--hair-2); background: var(--ticks) 0 0 repeat-x; position: relative; }
/* .ticks.run carries progress: <div class="ticks run"><i style="width:42%"></i></div> */
.ticks.run > i { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--text); }
.ticks.run > i::after { content: ""; position: absolute; right: -1px; top: 0; width: 2px; height: 10px; background: var(--text); }

/* .from-720 hides a thing on a phone: a table column that does not fit, the long form of a label. */
@media (max-width: 719.98px) { .from-720 { display: none !important; } }
.cols { display: grid; gap: 28px; }
.cols > * { min-width: 0; }
@media (min-width: 720px) {
  .sec > .wrap > .ticks { margin-bottom: 40px; }
  .cols { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; }
  .cols > .a4 { grid-column: span 4; }
  .cols > .a5 { grid-column: span 5; }
  .cols > .a6 { grid-column: span 6; }
  .cols > .a7 { grid-column: span 7; }
  .cols > .a8 { grid-column: span 8; }
  .cols > .a12 { grid-column: 1 / -1; }
  .cols > .end { align-self: end; }
}

/* ---- 5 header ---- */
/* Not sticky: the race page has its own readout that stays. Add .stick on a page that wants the bar to follow. */
.site-head { position: relative; z-index: 50; background: var(--ground); color: var(--text); border-bottom: 1px solid var(--hair); }
.site-head.stick { position: sticky; top: 0; }
.site-head .wrap { height: var(--head); display: flex; align-items: center; gap: 8px; }
.site-head.wide .wrap { max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; text-decoration: none; font: 500 17px/1 var(--sans); letter-spacing: -0.01em; color: var(--text); }
.brand svg { width: 22px; height: 22px; color: var(--accent); }
/* The mode, in words, beside the name. Plain text on a phone, a ruled box from 720 px. */
.site-head .chip { display: block; height: auto; padding: 0; border: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.site-head .btn { padding: 0 12px; font-size: 14px; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.nav { display: none; align-items: center; gap: 2px; margin-right: 8px; }
.nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: var(--r); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color 0.15s var(--ease), background-color 0.15s var(--ease); }
.nav a[aria-current="page"] { color: var(--text); }
.menu-btn { display: inline-flex; width: 44px; height: 44px; flex: none; border: 1px solid var(--hair-2); border-radius: var(--r); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }
.menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 49; background: var(--panel); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair-2); padding: 4px var(--gutter) 12px; display: grid; }
.menu a { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--hair); }
.menu a:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .site-head .wrap { gap: 14px; }
  .site-head .chip { display: inline-flex; height: 26px; padding: 0 9px; border: 1px solid var(--hair-2); line-height: 1; }
  .site-head .btn { padding: 0 18px; font-size: 15px; }
  .nav { display: flex; }
  .menu-btn, .menu { display: none; }
}

/* ---- 6 buttons and links ---- */
/* The primary button is the light key on the dark ground. It is not the accent. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent; background: transparent; font: 500 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn.sm { padding: 0 14px; font-size: 14px; } /* narrower, never shorter: 44 px is the floor for anything pressed */
.btn.block { width: 100%; }
.btn .fig { font-weight: 500; }
.btn.primary { background: var(--text); color: var(--ground); }
.light .btn.primary { background: var(--teal); color: #fff; }
.btn.ghost { border-color: var(--hair-2); color: var(--text); }
.light .btn.ghost { border-color: var(--rule); color: var(--ink); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--panel-2); color: var(--text-3); border-color: transparent; cursor: default; transform: none; }
.light .btn:disabled, .light .btn[aria-disabled="true"] { background: var(--rule); color: var(--ink-3); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: underline; color: var(--text); }
.light .link { color: var(--teal); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--text); }
.light .link-arrow { color: var(--teal); }
.link-arrow::after { content: "\2192"; transition: transform 0.15s var(--ease); }

/* ---- 7 chips ---- */
/* No status dots. A state is said in words, and only when it is not the normal one. */
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--hair-2); border-radius: 6px; font: 400 13px/1 var(--sans); color: var(--text-2); white-space: nowrap; }
.chip.lead { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 500; }
.light .chip { border-color: var(--rule); color: var(--ink-2); }
.dot { display: none !important; }

/* ---- 8 tables and ruled lists ---- */
/* Hairlines only, no cell fills. The first column sits on the text edge. Wrap in .table-wrap when it may be wide. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
/* Give the table its name in <caption class="sr-only"> and put any visible line above .table-wrap as a .note:
   a caption is as wide as its table and would be cut off when the table scrolls sideways. */
.table caption:not(.sr-only) { text-align: left; padding-bottom: 10px; font-size: 13px; color: var(--text-2); caption-side: top; }
.table th { text-align: left; font: 400 13px/1.3 var(--sans); color: var(--text-2); padding: 0 16px 9px 0; border-bottom: 1px solid var(--hair-2); white-space: nowrap; vertical-align: bottom; }
.table td { padding: 0 16px 0 0; height: 44px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table .num { text-align: right; }
.table td.num, .table td.time, .table td.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "zero" 0; }
.table td.time { color: var(--text-2); }
.table td b, .table td strong { font-weight: 600; }
.table tr.is-lead td:first-child { box-shadow: inset 2px 0 0 var(--accent); padding-left: 10px; }
.light .table th, .light .table caption:not(.sr-only) { color: var(--ink-2); }
.light .table th { border-bottom-color: var(--ink-3); }
.light .table td { border-bottom-color: var(--rule); }
.light .table td.time { color: var(--ink-2); }

/* A list of facts, label left and sentence right, ruled between rows. <dl class="ruled"><div><dt>..</dt><dd>..</dd></div></dl> */
.ruled { border-top: 1px solid var(--hair-2); }
.ruled > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.ruled dt { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.ruled dd { font-size: 17px; line-height: 1.45; }
.light .ruled { border-top-color: var(--ink-3); }
.light .ruled > div { border-bottom-color: var(--rule); }
.light .ruled dt { color: var(--ink-2); }
@media (min-width: 720px) {
  .ruled > div { grid-template-columns: 220px minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding: 16px 0; }
  .ruled dt { font-size: 14px; }
}

/* ---- 9 forms ---- */
.input { width: 100%; height: 48px; padding: 0 14px; background: var(--panel); border: 1px solid var(--hair-2); border-radius: var(--r); font: 400 16px/1 var(--sans); color: var(--text); -webkit-appearance: none; appearance: none; }
.input.fig { font-family: var(--mono); font-weight: 500; }
.input::placeholder { color: var(--text-3); }
.input:focus-visible { outline-offset: 0; border-color: transparent; }
.input[aria-invalid="true"] { border-color: var(--down); }
/* A row of choices where one is on: quick amounts, card order or running order. Pressed is the light key, not the accent. */
.seg { display: inline-flex; border: 1px solid var(--hair-2); border-radius: var(--r); }
.seg button { min-height: 44px; min-width: 44px; padding: 0 14px; background: transparent; border: 0; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ground); }

/* ---- 10 the sheet ---- */
/* The recorder strip. It fills the width of the screen; its readout and caption sit in the text column.
   <figure class="sheet"><div class="wrap sheet-read">..</div><canvas></canvas><figcaption class="wrap"><p class="sheet-cap">..</p></figcaption></figure> */
.sheet { position: relative; }
.sheet canvas { width: 100%; height: 300px; touch-action: pan-y; }
.sheet-read { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; font-size: 13px; color: var(--text-2); }
.sheet-read b { font-weight: 600; color: var(--text); }
.sheet-read .fig { font-size: 15px; color: var(--text); }
.sheet-read .mark, .sheet-read .mark .fig { color: var(--on-accent); }
.sheet-read .mark b { color: inherit; }
.sheet-cap { padding-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-2); max-width: 64ch; }
@media (min-width: 720px) {
  .sheet canvas { height: clamp(340px, 46vh, 470px); }
  .sheet-read { font-size: 14px; padding-bottom: 10px; }
  .sheet-read .fig { font-size: 17px; }
}

/* ---- 11 questions ---- */
.qa { border-top: 1px solid var(--hair-2); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 500 17px/1.4 var(--sans); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 20px/1.4 var(--mono); color: var(--text-2); }
.qa details[open] summary::after { content: "\2212"; }
.qa details p { padding: 0 40px 20px 0; color: var(--text-2); font-size: 17px; line-height: 1.55; max-width: 68ch; }
.light .qa { border-top-color: var(--ink-3); }
.light .qa details { border-bottom-color: var(--rule); }
.light .qa summary::after { color: var(--ink-3); }
.light .qa details p { color: var(--ink-2); }

/* ---- 12 footer ---- */
.site-foot { background: var(--ground); color: var(--text-2); padding: 0 0 40px; font-size: 14px; }
.site-foot .ticks { margin-bottom: 24px; }
.foot-in { display: grid; gap: 20px; }
.foot-about p { margin-top: 6px; max-width: 36ch; line-height: 1.45; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.foot-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-2); transition: color 0.15s var(--ease); }
.foot-base { display: grid; gap: 6px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.foot-base span { overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .site-foot .ticks { margin-bottom: 32px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 48px; }
  .foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 4px; max-width: 760px; margin-right: -12px; }
  .foot-nav a { padding: 0 12px; }
  .foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; margin-top: 40px; }
}

/* ---- 13 light paper ---- */
/* For explainers only, where the brand already uses paper. Put .light on the section: <section class="sec light">. */
.light { background: var(--paper); color: var(--ink); }
.light .lede, .light .body, .light .note { color: var(--ink-2); }
.light .body b, .light .body strong, .light .lede b, .light .lede strong { color: var(--ink); }
.light .muted { color: var(--ink-3); }
.light .ticks { border-top-color: rgba(24, 24, 27, 0.4); background-image: var(--ticks-ink); }
.light .ticks.run > i, .light .ticks.run > i::after { background: var(--ink); }
.light .input { background: var(--card); border-color: var(--rule); color: var(--ink); }
.light .seg { border-color: var(--rule); }
.light .seg button { color: var(--ink-2); }
.light .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---- hover, for devices that have it ---- */
@media (hover: hover) {
  .nav a:hover { color: var(--text); background: rgba(160, 220, 240, 0.06); }
  .menu-btn:hover { background: rgba(160, 220, 240, 0.06); }
  .btn.primary:not(:disabled):not([aria-disabled="true"]):hover { background: var(--card); }
  .light .btn.primary:not(:disabled):not([aria-disabled="true"]):hover { background: var(--ink); }
  .btn.ghost:not(:disabled):hover { background: rgba(160, 220, 240, 0.06); border-color: rgba(160, 220, 240, 0.3); }
  .light .btn.ghost:not(:disabled):hover { background: rgba(24, 24, 27, 0.04); }
  .link:hover { text-decoration-thickness: 2px; }
  .link-arrow:hover::after { transform: translateX(3px); }
  .seg button:not([aria-pressed="true"]):hover { color: var(--text); background: rgba(160, 220, 240, 0.06); }
  .light .seg button:not([aria-pressed="true"]):hover { color: var(--ink); background: rgba(24, 24, 27, 0.04); }
  .foot-nav a:hover, .foot-grid a:hover { color: var(--text); }
  .sheet canvas { cursor: crosshair; }
}

/* ---- 14 carried over ---- */
/* Class names the pages written before 0.5 still use. Delete this block once index, play, docs and 404 are rebuilt. */
.eyebrow { font: 400 13px/1.4 var(--sans); color: var(--text-3); }
.band { padding: 64px 0 56px; border-top: 1px solid var(--hair); }
.band.light { border-top-color: var(--rule); }
.band.dark { background: var(--ground); color: var(--text); }
.band-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 720px; }
.panel { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r-lg); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.tri { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; vertical-align: middle; margin-right: 6px; }
.tri.up { border-bottom: 6px solid var(--up); }
.tri.down { border-top: 6px solid var(--down); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
.foot-grid .foot-about { grid-column: 1 / -1; }
.foot-grid h4 { font: 400 13px/1.4 var(--sans); color: var(--text-3); margin-bottom: 12px; }
.foot-grid a { display: block; padding: 4px 0; text-decoration: none; color: var(--text-2); }
.foot-grid a.brand { display: inline-flex; padding: 0; color: var(--text); }
@media (min-width: 720px) {
  .band { padding: 112px 0 96px; }
  .band-head { margin-bottom: 48px; }
  .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .foot-grid .foot-about { grid-column: auto; }
}

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

/* Wallet and token addresses are 42 characters with no break point: let them wrap on a phone. */
code[data-token-addr], code[data-house-addr] { overflow-wrap: anywhere; word-break: break-all; white-space: normal; }
