/* Site stylesheet. See docs/LOOK_AND_FEEL.md. Every color is a token on :root. */
/* Day and night are both designed. Day: a paper ledger. Night: the same street with the lights on.
   Night applies when the device asks for dark, or when the viewer picks it (data-theme on <html>). */
:root {
  --paper: #f4efe4; --surface: #fffdf7; --surface-2: #ebe4d4; --ink: #1e1b16; --ink-2: #575145; --ink-3: #857e6e;
  --line: #ddd5c4; --line-2: #c9bfa9;
  --brick: #a8341f; --brick-soft: #f3ddd4;      /* the seller and the action */
  --green: #2c6a4d; --green-soft: #dcebdf;      /* money that works, fit */
  --brass: #96660f; --brass-soft: #f5e7c8;      /* doubt: estimate, unconfirmed */
  --slate: #5d6b76; --slate-soft: #e3e7ea;      /* not now */
  --window: #f2b84b;                            /* a lit window: apartments on record */
  /* the building drawings */
  --bld: #a8341f; --bld-cap: #1e1b16; --bld-glass: #fffdf7; --bld-door: #1e1b16; --bld-dark: #5e1f13; --glow: transparent;
  --sky: linear-gradient(to top, #ece4d2, rgba(236,228,210,0)); --rule: rgba(30,27,22,.07);
  --band: #1e1b16; --band-ink: #f4efe4; --band-2: rgba(244,239,228,.62); --band-line: rgba(244,239,228,.16);
  --shadow: 0 1px 2px rgba(30,27,22,.06), 0 10px 28px rgba(30,27,22,.08);
  --r: 14px; --r-sm: 9px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1115; --surface: #171a20; --surface-2: #20242c; --ink: #f3eee3; --ink-2: #bdb8ac; --ink-3: #8a8f99;
    --line: #272c35; --line-2: #3a404b;
    --brick: #ee7350; --brick-soft: #3a1f17; --green: #74c79c; --green-soft: #17302a;
    --brass: #e7b24a; --brass-soft: #352a12; --slate: #9aa8b4; --slate-soft: #232a31; --window: #ffc857;
    --bld: #8a3524; --bld-cap: #c9b9a4; --bld-glass: #2a3140; --bld-door: #0b0c0f; --bld-dark: #3d1911; --glow: rgba(255,200,87,.55);
    --sky: linear-gradient(to top, #1c2230, rgba(28,34,48,0)); --rule: rgba(243,238,227,.045);
    --band: #1d2230; --band-ink: #f3eee3; --band-2: rgba(243,238,227,.62); --band-line: rgba(243,238,227,.14);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1115; --surface: #171a20; --surface-2: #20242c; --ink: #f3eee3; --ink-2: #bdb8ac; --ink-3: #8a8f99;
  --line: #272c35; --line-2: #3a404b;
  --brick: #ee7350; --brick-soft: #3a1f17; --green: #74c79c; --green-soft: #17302a;
  --brass: #e7b24a; --brass-soft: #352a12; --slate: #9aa8b4; --slate-soft: #232a31; --window: #ffc857;
  --bld: #8a3524; --bld-cap: #c9b9a4; --bld-glass: #2a3140; --bld-door: #0b0c0f; --bld-dark: #3d1911; --glow: rgba(255,200,87,.55);
  --sky: linear-gradient(to top, #1c2230, rgba(28,34,48,0)); --rule: rgba(243,238,227,.045);
  --band: #1d2230; --band-ink: #f3eee3; --band-2: rgba(243,238,227,.62); --band-line: rgba(243,238,227,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); }
.small { font-size: 13.5px; } .tiny { font-size: 12px; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brick); }
.label { font: 600 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
section { margin: 56px 0; }

/* Header: brand, three pages, the budget, day or night */
header.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 8px 18px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 600 19px var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; flex: none; }
nav.main { display: flex; gap: 2px; margin-left: 10px; margin-right: auto; align-self: stretch; }
nav.main a { display: flex; align-items: center; text-decoration: none; padding: 0 13px; font: 500 14.5px var(--sans); color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brick); font-weight: 600; }
.budget-pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1px solid var(--line-2); background: var(--surface); padding: 6px 12px; border-radius: 99px; font: 500 13px var(--sans); white-space: nowrap; }
.budget-pill:hover { border-color: var(--ink); }
.budget-pill .num { font-weight: 600; font-size: 13px; }
.budget-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.theme-btn { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 16px; height: 16px; }
@media (max-width: 639px) {
  .top-in { flex-wrap: wrap; padding-top: 9px; gap: 8px 10px; min-height: 0; }
  .brand { margin-right: auto; font-size: 18px; }
  .budget-pill { padding: 5px 10px; font-size: 12px; }
  .budget-pill span:last-child { display: none; }
  nav.main { order: 9; flex-basis: calc(100% + 32px); margin: 0 -16px; padding: 0 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
  nav.main a { justify-content: center; padding: 11px 4px; font-size: 14.5px; }
  section { margin: 40px 0; }
}

/* Buttons, chips, tags */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; font: 600 14px var(--sans); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.big { padding: 13px 20px; font-size: 15px; }
.btn .arr, .go .arr { font-family: var(--mono); }
.chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.chips > .label { margin-right: 3px; }
.chip { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); padding: 7px 12px; border-radius: 99px; font: 500 13px var(--sans); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.chip .num { font-size: 12px; color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] .num { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.chip.dashed { border-style: dashed; }
.chip:disabled { opacity: .5; cursor: default; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); padding: 5px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.tag.fit { background: var(--green-soft); color: var(--green); }
.tag.stretch, .tag.est { background: var(--brass-soft); color: var(--brass); }
.tag.out, .tag.skip { background: var(--slate-soft); color: var(--slate); }
.tag.now { background: var(--brick); color: #fff; }
.tag.call { background: var(--brick-soft); color: var(--brick); }
.tag.listed { background: transparent; border: 1.5px solid var(--slate); color: var(--slate); padding: 3.5px 8px; }
.status { display: inline-block; font: 600 11px/1.2 var(--sans); letter-spacing: .02em; padding: 4px 8px; border-radius: 99px; }
.status.checked { background: var(--green-soft); color: var(--green); }
.status.unconfirmed, .status.partly { background: var(--brass-soft); color: var(--brass); }
.grade { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font: 600 14px var(--mono); background: var(--green-soft); color: var(--green); flex: none; }
.grade.B { background: var(--brass-soft); color: var(--brass); } .grade.C, .grade.X { background: var(--slate-soft); color: var(--slate); }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.dots i.on { background: var(--brick); }

/* Panels, grids */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel.flat { background: transparent; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g-side { grid-template-columns: 340px 1fr; } }
@media (min-width: 900px) { .g-sheet { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
body[data-variant="public"] .priv { display: none !important; }

/* Receipts: a number or a line can show where it came from */
.rc { border-bottom: 1.5px solid var(--line-2); cursor: help; position: relative; }
.rc.est { border-bottom-style: dashed; border-bottom-color: var(--brass); }
.rc.s { border: 0; font: 500 10.5px/1 var(--mono); color: var(--ink-3); letter-spacing: 0; vertical-align: 1px; padding: 2px 4px; border-radius: 4px; background: var(--surface-2); white-space: nowrap; cursor: pointer; }
.rc.s:hover { color: var(--ink); }
.rc:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
.pop { position: absolute; z-index: 80; width: 280px; max-width: calc(100vw - 32px); background: var(--band); color: var(--band-ink); border: 1px solid var(--band-line); border-radius: 10px; padding: 12px 14px; font: 400 12.5px/1.45 var(--sans); box-shadow: var(--shadow); text-align: left; letter-spacing: 0; }
.pop b { display: block; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--window); margin-bottom: 2px; }
.pop div + div { margin-top: 8px; }

/* Lists of facts */
.kv { display: grid; grid-template-columns: 1fr auto; gap: 7px 16px; font-size: 14.5px; margin: 14px 0 0; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; font: 500 14.5px var(--mono); text-align: right; overflow-wrap: anywhere; }
.kv .total dt, .kv .total dd { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; }
.kv.tight { font-size: 13.5px; margin-top: 8px; gap: 5px 14px; } .kv.tight dd { font: 500 13.5px var(--sans); max-width: 30ch; }
.kv.wide { grid-template-columns: 220px 1fr; margin: 18px 0; } .kv.wide dd { font: 400 14.5px var(--sans); text-align: left; }
@media (max-width: 639px) { .kv.wide { grid-template-columns: 1fr; gap: 2px; } .kv.wide dd { margin-bottom: 10px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14.5px; }
.checks li::before { content: "+"; color: var(--green); font: 700 15px var(--mono); text-align: center; }
.checks.warn li::before { content: "!"; color: var(--brass); background: var(--brass-soft); border-radius: 50%; width: 20px; height: 20px; line-height: 20px; }
.checks.unknown li::before { content: "?"; color: var(--slate); font-size: 13px; background: var(--slate-soft); border-radius: 50%; width: 20px; height: 20px; line-height: 20px; }
ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
ul.plain li { padding-left: 16px; position: relative; }
ul.plain li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--ink-3); }
ul.plain b { color: var(--ink); }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; margin-bottom: 12px; }
.meter .bar { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: var(--brick); border-radius: 5px; }
.meter.fitm .bar i { background: var(--green); }
.meter .pts { font: 500 12.5px var(--mono); color: var(--ink-3); }

/* Tables */
.tablewrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.tablewrap.flush { border: 0; border-radius: 0; background: transparent; }
.tablewrap table { min-width: 520px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 600 11.5px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trail td, .trail th { font-size: 13px; padding: 9px 10px; } .trail td:first-child, .trail th:first-child { padding-left: 0; } .trail td:last-child, .trail th:last-child { padding-right: 0; }
.trail td:first-child { color: var(--ink-2); }
.progs td:first-child { min-width: 170px; color: var(--ink); }
.townt td { vertical-align: middle; } .townt td:first-child { min-width: 170px; } .townt th.n { white-space: normal; min-width: 84px; vertical-align: bottom; } .townt td, .townt th { padding-left: 10px; padding-right: 10px; } .townt a { text-decoration: none; } .townt a:hover { text-decoration: underline; }

/* Folds: detail one tap away */
details.fold { border-top: 1px solid var(--line); }
details.fold > summary { list-style: none; cursor: pointer; padding: 13px 26px 13px 0; font: 500 14.5px var(--sans); position: relative; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; position: absolute; right: 2px; top: 11px; font: 500 18px var(--mono); color: var(--ink-3); }
details.fold[open] > summary::after { content: "−"; }
details.fold > summary:hover { color: var(--brick); }
.fold-b { padding: 2px 0 18px; }
.panel > details.fold:first-of-type { margin-top: 18px; }
.panel.folds { padding-top: 6px; padding-bottom: 6px; } .panel.folds > details.fold:first-child { border-top: 0; margin-top: 0; }
details.fold.standalone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; margin-top: 16px; }

/* Page heads */
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin: 34px 0 18px; }
.count { margin: 0; font-size: 14px; color: var(--ink-2); } .count b { font: 600 14px var(--mono); color: var(--ink); }

/* Deals: toolbar, list rows, map */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.seg button { border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink-2); padding: 11px 8px; font: 500 14px var(--sans); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button[aria-pressed="true"] small, .seg button[aria-pressed="true"] .num { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.seg.kind button { padding: 9px 18px; font-weight: 600; } .seg.kind .num { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.seg.two { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .seg.two button:nth-child(2n) { border-right: 0; } .seg.two button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.searchbox { flex: 1; min-width: 180px; max-width: 340px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 9px 14px; font: 500 14px var(--sans); }
.filterbar { display: flex; gap: 10px 22px; flex-wrap: wrap; margin: 10px 0 18px; }
.bgrid { display: grid; gap: 18px; align-items: start; }
.bgrid > * { min-width: 0; }
@media (min-width: 900px) { .bgrid { grid-template-columns: 1.3fr 1fr; } .mapcol { position: sticky; top: 76px; } }
@media (max-width: 899px) { .mapcol { order: -1; } }
.bgrid.nomap { grid-template-columns: 1fr; } .bgrid.nomap .mapcol { display: none; }
.list { display: grid; gap: 10px; }
@media (min-width: 1000px) { .bgrid.nomap .list { grid-template-columns: 1fr 1fr; } .bgrid.nomap .list > .panel { grid-column: 1 / -1; } }
.rowd { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.rowd:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.rowd .glyph { align-self: start; padding-top: 4px; } .rowd .glyph svg { display: block; width: 100%; max-height: 84px; }
.rowd .ttl { display: flex; align-items: baseline; gap: 8px; }
.rowd .rk { font: 600 12.5px var(--mono); color: var(--brick); }
.rowd h3 { font-size: 18px; overflow-wrap: anywhere; }
.rowd .meta { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.rowd .why { font-size: 13.5px; margin-top: 7px; display: grid; gap: 3px; }
.rowd .why span { padding-left: 15px; position: relative; overflow-wrap: anywhere; }
.rowd .why span::before { content: "+"; position: absolute; left: 0; color: var(--green); font: 700 13px var(--mono); }
.rowd .why span.w::before { content: "!"; color: var(--brass); }
.rowd .foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.rowd .next { font-size: 13px; color: var(--ink-2); }
.rowd .nums { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; min-width: 104px; }
.rowd .nums .big { font: 600 24px/1 var(--mono); letter-spacing: -.05em; color: var(--green); }
.rowd .nums .sm { font: 500 11.5px/1.3 var(--mono); color: var(--ink-3); max-width: 16ch; }
.rowd.skipped { opacity: .66; border-style: dashed; background: transparent; }
@media (max-width: 559px) {
  .rowd { grid-template-columns: 52px minmax(0, 1fr); padding: 12px; }
  .rowd .nums { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; flex-wrap: wrap; text-align: left; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
  .rowd .nums .sm { max-width: none; }
}
.divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 2px; grid-column: 1 / -1; }
.divider::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); order: 1; } .divider .chip { order: 2; }
.mapbox { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mapbox #map { height: 210px; background: var(--surface-2); }
@media (min-width: 900px) { .mapbox #map { height: min(68vh, 620px); } }
.mapnote { padding: 18px; font-size: 14px; color: var(--ink-2); }
.legend { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.maplibregl-map { font-family: var(--sans); }
.tt .maplibregl-popup-content { background: var(--band); color: var(--band-ink); border-radius: 8px; padding: 6px 9px; font-size: 12px; font-weight: 500; box-shadow: var(--shadow); }
.tt .maplibregl-popup-tip { display: none; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-group { background: var(--surface); border: 1px solid var(--line); box-shadow: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); } }
:root[data-theme="dark"] .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.matrix { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 4px; font-size: 13px; max-width: 620px; }
.matrix div { padding: 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.matrix .h { background: transparent; border: 0; font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.matrix .now { background: var(--brick); color: #fff; font-weight: 600; border-color: transparent; }
.matrix .call { background: transparent; color: var(--brick); font-weight: 600; border-color: var(--brick); }
.matrix .warm { background: var(--brass-soft); color: var(--brass); font-weight: 600; border-color: transparent; }
.matrix .watchc { background: var(--slate-soft); color: var(--slate); font-weight: 600; border-color: transparent; }
.matrix .skipc { border-style: dashed; color: var(--ink-3); }

/* The deal sheet */
.back { display: inline-block; margin-top: 22px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; } .back:hover { color: var(--ink); }
.sheet-head { display: grid; gap: 18px; align-items: end; padding: 14px 0 20px; }
.sheet-head > * { min-width: 0; }
@media (min-width: 760px) { .sheet-head { grid-template-columns: 1fr 220px; } }
.sheet-head h1 { margin: 10px 0 6px; overflow-wrap: anywhere; }
.sheet-head .what { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.bigglyph { background: var(--sky); border-bottom: 2px solid var(--ink); padding: 14px 16px 0; border-radius: var(--r) var(--r) 0 0; }
.bigglyph svg { display: block; margin: 0 auto; max-height: 170px; }
@media (max-width: 759px) { .bigglyph { order: -1; } .bigglyph svg { max-height: 120px; } }
.band { background: var(--band); color: var(--band-ink); border-radius: var(--r); padding: 22px 24px; margin: 0 0 16px; display: grid; gap: 18px 36px; align-items: center; border-left: 5px solid var(--green); }
.band.no { border-left-color: var(--brass); } .band.wait { border-left-color: var(--slate); }
@media (min-width: 900px) { .band { grid-template-columns: auto 1fr; } .band .vb-tag { grid-column: 1 / -1; } }
.band .label { color: var(--band-2); }
.vb-cash { font: 600 clamp(38px, 5vw, 56px)/1 var(--mono); letter-spacing: -.055em; margin: 8px 0 8px; }
.vb-cash .rc { border-bottom-color: var(--band-line); }
.vb-sub { font-size: 13.5px; color: var(--band-2); max-width: 36ch; }
.vb-line { font: 600 clamp(18px, 2vw, 22px)/1.35 var(--display); margin-top: 8px; max-width: 60ch; }
.vb-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 16px 22px; }
.vc b { display: block; font: 600 21px/1.15 var(--mono); letter-spacing: -.04em; }
.vc b .rc { border-bottom-color: var(--band-line); }
.vc > span { font-size: 12.5px; color: var(--band-2); line-height: 1.3; display: block; margin-top: 3px; }
.vb-tag { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--band-line); }
.band .verdict { font: 600 clamp(20px, 2.3vw, 26px)/1.25 var(--display); letter-spacing: -.01em; margin-top: 8px; }
.sheet-grid { margin-top: 0; }
.play { border-left: 4px solid var(--brick); }
.yours { background: var(--green-soft); color: var(--ink); border-radius: var(--r-sm); padding: 9px 12px; margin: 12px 0 0; }
.backup { margin: 12px 0 0; color: var(--ink-2); } .backup b { color: var(--ink); }
.stackbar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.stackbar i { display: block; height: 100%; min-width: 2px; }
.swatches { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.swatches i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.splitbar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; background: var(--surface-2); margin: 12px 0 6px; }
.splitbar i { display: block; height: 100%; }
.splitbar .loan { background: var(--ink-3); } .splitbar .ours { background: var(--green); }
.splitkey { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.splitkey b { font: 600 12.5px var(--mono); color: var(--ink); }

/* Numbers */
.field { margin-bottom: 22px; }
.field > .label { display: block; margin-bottom: 9px; }
input[type=range] { width: 100%; accent-color: var(--brick); }
.bigcash { font: 600 42px/1 var(--mono); letter-spacing: -.05em; }
@media (min-width: 760px) { .controls { position: sticky; top: 84px; } }
.countc { display: block; text-decoration: none; }
a.countc:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.countc .bigcash { margin: 10px 0 6px; } .countc .bigcash span { color: var(--green); } .countc .bigcash small { font: 500 15px var(--sans); color: var(--ink-3); letter-spacing: 0; }
.countc .go { display: inline-block; margin-top: 12px; font: 600 13.5px var(--sans); }
.mini { background: var(--surface-2); border-radius: var(--r-sm); padding: 14px; }
.mini .mid { font: 600 26px/1.1 var(--mono); letter-spacing: -.04em; margin: 8px 0 6px; }

/* Funnel (public front page) */
.funnel { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.fstep { display: grid; grid-template-columns: 118px 1fr; gap: 0 18px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.fstep:last-child { border-bottom: 0; }
.fstep .n { font: 600 clamp(20px, 2.4vw, 27px) var(--mono); letter-spacing: -.04em; text-align: right; }
.fstep .t { font-weight: 600; } .fstep .d { color: var(--ink-2); font-size: 13.5px; }
.fstep .bar { grid-column: 1 / -1; height: 5px; margin-top: 9px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.fstep .bar i { display: block; height: 100%; background: var(--ink); border-radius: 5px; min-width: 6px; }
.fstep.hot .n { color: var(--brick); } .fstep.hot .bar i { background: var(--brick); }
.fstep .stage { font: 600 10.5px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 639px) { .fstep { grid-template-columns: 78px 1fr; gap: 0 12px; padding: 12px; } .bigcash { font-size: 36px; } .seg button { padding: 10px 4px; font-size: 13px; } }

footer.site { margin: 72px 0 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; display: flex; gap: 16px 32px; justify-content: space-between; flex-wrap: wrap; }
footer.site > div:last-child { text-align: right; } @media (max-width: 639px) { footer.site > div:last-child { text-align: left; } }

/* Labeling sheet (label.html, private) */
.lbl-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 0; }
.lbl-head .count { font: 600 20px var(--mono); color: var(--ink); }
.lbl-card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px; margin: 14px 0; scroll-margin-top: 70px; }
.lbl-card.done { border-color: var(--green); }
.lbl-card h2 { font-size: 22px; margin: 0 0 2px; }
.lbl-card .n { font: 600 14px var(--mono); color: var(--brick); }
.lbl-q { margin-top: 16px; }
.lbl-q .label { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; display: block; }
.opts { display: grid; gap: 8px; }
.opts button { text-align: left; min-height: 54px; padding: 12px 14px; font: 600 17px/1.25 var(--sans); border: 2px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; }
.opts button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lbl-note { width: 100%; min-height: 54px; font: 500 17px var(--sans); padding: 12px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink); }
.lbl-bar { display: grid; gap: 10px; margin: 18px 0 40px; }
.lbl-bar .btn { justify-content: center; min-height: 56px; font-size: 17px; }
.lbl-out { width: 100%; min-height: 120px; font: 12px var(--mono); }

/* Print: a deal sheet fits one page, folds closed */
@media print {
  @page { margin: 10mm; }
  header.top, footer.site, .noprint, .btn, button { display: none !important; }
  html, body { background: #fff !important; }
  body { font-size: 10px; line-height: 1.35; color: #000; }
  .wrap { max-width: none; padding: 0; }
  .panel { padding: 8px 10px; border-radius: 8px; break-inside: avoid; }
  .grid { gap: 8px; } .grid.g-sheet { grid-template-columns: 1.4fr 1fr; } .stack > * + * { margin-top: 8px; }
  .sheet-head { padding: 0 0 8px; gap: 10px; grid-template-columns: 1fr 140px; }
  .sheet-head h1 { font-size: 24px; margin: 4px 0 6px; }
  .bigglyph { padding: 6px 6px 0; background: none; } .bigglyph svg { max-height: 80px; }
  .band { background: #fff; color: #000; border: 1px solid #999; padding: 8px 10px; margin-bottom: 8px; gap: 8px 20px; grid-template-columns: auto 1fr; }
  .band .label, .vb-sub, .vc > span { color: #444; } .vb-cash { font-size: 24px; margin: 2px 0; } .vc b { font-size: 12px; } .vb-tag { padding-top: 6px; }
  h3 { font-size: 13px; } .checks { gap: 3px; } .checks li { font-size: 10px; }
  .kv { font-size: 10px; gap: 3px 10px; margin-top: 6px; } .kv dd { font-size: 10px; }
  .meter { font-size: 10px; margin-bottom: 5px; }
  details.fold > summary { padding: 5px 0; font-size: 10px; } details.fold > summary::after { display: none; }
  .tag { font-size: 9px; padding: 3px 6px; } .eyebrow, .label { font-size: 8.5px; } p { margin-bottom: 4px; } .tiny { font-size: 8.5px; }
}

/* =====================================================================
   The front page: a street drawn from the ranked buildings, then a memo.
   ===================================================================== */

/* Building drawings: every fill is a token, so the street has a day and a night */
.f-body { fill: var(--bld); } .f-body.skip { fill: var(--slate); }
.f-cap { fill: var(--bld-cap); }
.f-lit { fill: var(--window); filter: drop-shadow(0 0 3px var(--glow)); }
.f-glass { fill: var(--bld-glass); opacity: .9; }
.f-glass.dim { opacity: .4; } .f-glass.half { opacity: .55; }
.f-dark { fill: var(--bld-dark); }
.f-none { fill: none; stroke: var(--bld-glass); stroke-width: 1.5; stroke-dasharray: 3 2.5; opacity: .85; }
.f-door { fill: var(--bld-door); }
.f-sign { fill: var(--bld-door); opacity: .55; }
.f-lot { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 4; }

.home-hero { padding: 44px 0 0; display: grid; gap: 0 48px; grid-template-areas: "text" "street" "stats"; }
@media (min-width: 960px) { .home-hero { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); grid-template-areas: "text stats" "street street"; align-items: end; } }
.hero-text { grid-area: text; min-width: 0; }
.home-hero h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.01; letter-spacing: -.028em; max-width: 13ch; margin: 16px 0 20px; }
.home-hero .sub { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 50ch; margin: 0; }
.home-hero .sub b { font: 600 .95em var(--mono); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.street-wrap { grid-area: street; min-width: 0; }
.street { --k: 1.42; position: relative; margin-top: 44px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 84%, transparent); mask-image: linear-gradient(to right, #000 84%, transparent); }
.street::before { content: ""; position: absolute; inset: 0 0 30px 0; pointer-events: none; border-radius: var(--r) var(--r) 0 0;
  background: repeating-linear-gradient(to top, transparent 0, transparent calc(30px * var(--k) - 1px), var(--rule) calc(30px * var(--k) - 1px), var(--rule) calc(30px * var(--k))), var(--sky); }
.street-row { position: relative; display: flex; align-items: flex-end; padding-top: 30px; }
.lot { flex: none; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; }
.lot svg { display: block; margin: 0 calc(3.5px * var(--k)); height: calc(var(--h) * var(--k) * 1px); width: calc(var(--w) * var(--k) * 1px); transition: transform .15s; transform-origin: bottom; }
.lot:hover svg, .lot:focus-visible svg { transform: translateY(-3px); }
.lot .cap { border-top: 2px solid var(--ink); height: 30px; padding-top: 8px; text-align: center; font: 600 12px/1.2 var(--mono); letter-spacing: -.02em; white-space: nowrap; }
.lot .cap span { color: var(--ink-3); font-weight: 500; }
.lot:first-child svg { margin-left: calc(12px * var(--k)); }
@media (max-width: 899px) { .street { --k: 1.25; } }
@media (max-width: 639px) { .street { --k: .88; margin-top: 32px; } .lot .cap { font-size: 11px; } }
.street-note { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.street-note .key { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; white-space: nowrap; }
.street-note .key i { width: 9px; height: 12px; border-radius: 1.5px; display: inline-block; }

.stats { grid-area: stats; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin-top: 28px; }
.stat { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
.stat .n { font: 600 clamp(27px, 3.1vw, 40px)/1 var(--mono); letter-spacing: -.05em; }
.stat .n .rc { border-bottom-width: 2px; }
.stat .t { font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 8px; max-width: 24ch; }
@media (min-width: 960px) { .stats { margin-top: 0; } .stat:nth-child(n+3) { border-bottom: 0; } }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; margin: 56px 0 18px; }
.sec-head h2 { font-size: clamp(24px, 2.8vw, 34px); }
.deal { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.deal:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.deal-top { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; padding: 16px 18px 0; background: var(--sky); border-bottom: 2px solid var(--ink); min-height: 132px; }
.deal-top .where { padding-bottom: 14px; min-width: 0; }
.deal-top .rk { font: 600 12px var(--mono); color: var(--brick); letter-spacing: .02em; text-transform: uppercase; }
.deal-top h3 { font-size: 23px; margin: 5px 0 4px; }
.deal-top .meta { font-size: 13px; color: var(--ink-2); }
.deal-top svg { display: block; height: 104px; width: auto; }
.deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.deal .cashline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.deal .cashline .label { color: var(--ink-2); }
.deal .cash { font: 600 32px/1 var(--mono); letter-spacing: -.05em; color: var(--green); }
.deal .kv { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; gap: 6px 14px; }
.deal .kv dd { font-size: 14px; }
.deal .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; font: 600 13.5px var(--sans); }

/* The memo: a numbered margin and ruled rows, like a ledger */
.memo { display: grid; gap: 16px 44px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.memo.first { margin-top: 64px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .memo { grid-template-columns: 210px minmax(0, 1fr); } .memo-h { position: sticky; top: 88px; align-self: start; } }
.memo-h .k { font: 600 13px var(--mono); color: var(--brick); }
.memo-h h2 { font-size: clamp(24px, 2.5vw, 31px); margin-top: 6px; }
.memo-b > .lead-line { font: 600 clamp(19px, 2vw, 24px)/1.3 var(--display); letter-spacing: -.01em; margin: 0 0 22px; max-width: 34ch; text-wrap: balance; }
.memo-b > .lead-line.long { max-width: 46ch; }
.facts { display: grid; gap: 0 36px; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.fact .n { font: 600 clamp(26px, 3vw, 36px)/1.05 var(--display); letter-spacing: -.02em; }
.fact .n .rc { border-bottom-width: 2px; }
.fact p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; max-width: 40ch; }
.rows { border-top: 1px solid var(--line); }
.rowline { display: grid; grid-template-columns: 1fr; gap: 3px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .rowline { grid-template-columns: 170px 1fr auto; align-items: baseline; } }
.rowline .n { font: 600 17px/1.25 var(--display); }
.rowline p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 62ch; }
.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; }
.step .label { color: var(--brick); }
.step h3 { font-size: 22px; margin: 8px 0 12px; }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.step li { padding-left: 16px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--ink-3); }
.step .way { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.step .way b { display: block; font: 600 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.ex { margin-top: auto; }
.ex-in { margin-top: 16px; background: var(--surface-2); border-radius: var(--r-sm); padding: 14px; }
.ex .addr { font: 600 13px var(--sans); }
.ex .addr span { color: var(--ink-2); font-weight: 500; }
.ex .alt { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.ex .alt b { font: 600 13px var(--mono); color: var(--ink); }
.ex .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ex .pair div { font-size: 12.5px; color: var(--ink-2); }
.ex .pair b { display: block; font: 600 22px/1.1 var(--mono); letter-spacing: -.04em; color: var(--ink); }
.also-h { margin: 28px 0 0; }
.rule-note { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }

.towngrid { display: grid; gap: 12px; }
@media (min-width: 760px) { .towngrid.ranked { grid-template-columns: repeat(3, 1fr); } .towngrid.waiting { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 480px) and (max-width: 759px) { .towngrid.waiting { grid-template-columns: 1fr 1fr; } }
.town { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
a.town:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.town h3 { font-size: 21px; }
.town .co { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.town .nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin-top: 14px; }
.town .nums b { display: block; font: 600 21px/1.1 var(--mono); letter-spacing: -.04em; }
.town .nums span { font-size: 12px; color: var(--ink-2); }
.town.wait { background: transparent; border-style: dashed; border-color: var(--line-2); }
.town.wait h3 { font-size: 18px; }
.town.wait .found { font: 600 14px var(--mono); margin-top: 12px; }
.town.wait .found span { font: 400 13px var(--sans); color: var(--ink-2); }
.have { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.have li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; }
.have li::before { content: ""; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--green); }
.have li.no::before { background: transparent; border: 1.5px solid var(--ink-3); }
.wait-h { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; }
.wait-h::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); }
.whynow { margin-top: 14px; border-left: 3px solid var(--brick); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 16px; }
.whynow .label { color: var(--brick); }
.whynow p { margin: 6px 0 0; font-size: 15.5px; max-width: 70ch; }
.days3 { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .days3 { grid-template-columns: repeat(3, 1fr); } .day + .day { border-left: 1px solid var(--line); padding-left: 22px; } .day { padding-right: 22px; } }
.day { padding: 18px 0 8px; }
@media (max-width: 759px) { .day + .day { border-top: 1px solid var(--line); } }
.day .when { font: 600 12px var(--mono); color: var(--brick); text-transform: uppercase; letter-spacing: .04em; }
.day h3 { font-size: 24px; margin: 6px 0 12px; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.cannot { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); }
.cannot .q { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.cannot .q::before { content: "?"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--slate-soft); color: var(--slate); font: 700 12.5px var(--mono); }
.endcta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 30px 0 0; border-top: 2px solid var(--ink); }
.endcta h2 { font-size: clamp(22px, 2.6vw, 30px); }

.ex a.ex-in, a.ex-in { display: block; text-decoration: none; } a.ex-in:hover { outline: 1px solid var(--line-2); }
.flipstrip { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1.3fr) auto; gap: 14px 26px; align-items: center; margin-top: 16px; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); text-decoration: none; }
a.flipstrip:hover { border-style: solid; border-color: var(--ink-3); }
.flipstrip .glyph svg { display: block; width: 100%; }
.flipstrip h3 { font-size: 20px; margin: 4px 0 4px; } .flipstrip p { margin: 0; font-size: 14px; color: var(--ink-2); }
.nums3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nums3 b { display: block; font: 600 21px/1.1 var(--mono); letter-spacing: -.04em; } .nums3 span { font-size: 12px; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 3px; }
.flipstrip .go { font: 600 13.5px var(--sans); white-space: nowrap; }
@media (max-width: 899px) { .flipstrip { grid-template-columns: 52px minmax(0, 1fr); } .flipstrip .nums3, .flipstrip .go { grid-column: 1 / -1; } }
.town.wait { color: inherit; } a.town.wait:hover { border-color: var(--ink-3); box-shadow: none; }
