/* 12th Street Research, the site style ("Dossier"): the product as paper. An off-white desk, white
   sheets, black ink, a highlighter for what matters and a rubber stamp on calls that sold.
   Shared by every page. Components come from kit.css (themed here through the --k-* variables)
   and site.css (charts and tables, themed through the --c-* variables). No figure is typed:
   pages bind them with data-k (site.js) and data-s / data-kit / data-dk (kit.js). */
/* Until Gambetta arrives, its backup is set to the same width, so headings keep their lines. */
@font-face { font-family: "Gambetta backup"; src: local("Georgia"); size-adjust: 99%; }
:root {
  --paper: #f3f0e8;
  --paper-2: #ebe7dd;
  --sheet: #ffffff;
  --ink: #141414;
  --body: #46433d;
  --mute: #6b6862;
  --line: #e1dcd1;
  --rule: #d5cfc3;
  --hl: rgba(255, 226, 82, .92);
  --hl-soft: #fff0a3;
  --stamp: #b3261e;
  --serif: "Gambetta", "Gambetta backup", Georgia, serif;
  --sans: "General Sans", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 6px 16px rgba(40, 32, 18, .08), 0 34px 70px rgba(40, 32, 18, .14);
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .05), 0 10px 30px rgba(40, 32, 18, .08);
  /* kit components on paper */
  --k-font: var(--sans);
  --k-bg: #ffffff;
  --k-bg-2: #faf8f3;
  --k-bg-3: var(--paper);
  --k-ink: #141414;
  --k-ink-2: #2f2d2a;
  --k-mute: #6b6862;
  --k-line: #ebe7de;
  --k-line-2: #d5cfc3;
  --k-accent: #141414;
  --k-accent-ink: #ffffff;
  --k-accent-soft: #fff0a3;
  --k-good: var(--stamp);
  --k-good-soft: transparent;
  --k-warn: #b3261e;
  --k-warn-soft: #f8e3df;
  --k-amber: #a86b00;
  --k-amber-soft: #fbefd6;
  --k-info: #2f4f7a;
  --k-info-soft: #e6ecf4;
  --k-redact: #111111;
  --k-radius: 4px;
  --k-shadow: var(--shadow-sm);
  --k-w-rest: #d9d3c6;
  --k-dot: #a29d93;
  --k-dot-dim: rgba(162, 157, 147, .35);
  --k-dot-focus: #141414;
  --k-dl: rgba(20, 20, 20, .14);
  --k-dl-on: #141414;
  --k-dlab: #46433d;
  --k-dlab-halo: #ffffff;
  --k-perf-bg: var(--paper);
  --k-feat-bg: #141414;
  --k-feat-btn: #fff0a3;
  --k-feat-btn-ink: #141414;
  --k-feat-acc: #fff0a3;
  /* site.js charts */
  --c-accent: #141414;
  --c-other: #c9c1b2;
  --c-ink: #141414;
  --c-ref: #141414;
  --c-muted: #6b6862;
  --c-rule: #dcd5c8;
  --c-font: var(--sans);
  --c-font-num: var(--sans);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--hl-soft); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 1120px; }
mark { color: inherit; background: linear-gradient(transparent 24%, var(--hl) 24%, var(--hl) 90%, transparent 90%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mk { display: inline-block; }                    /* a highlighted phrase moves to the next line whole; it only splits when it's wider than the line */
h1, h2, h3 { text-wrap: balance; }
/* no single word on a last line; only the style, so anything kept on one line stays on it */
p, li, dd, small, figcaption { text-wrap-style: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.kick { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ksep { display: inline-block; width: 16px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; }
h1, .h1 { font-family: var(--serif); font-weight: 500; font-size: 76px; line-height: .99; letter-spacing: -.028em; margin: 26px 0 28px; }
.lede { font-size: 18px; line-height: 1.62; color: var(--body); max-width: 27em; margin: 0 0 34px; }
.sec-h { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px 80px; align-items: end; margin-bottom: 52px; }
.sec-h .kick { grid-column: 1 / -1; }
.sec-h h2, .h2 { font-family: var(--serif); font-weight: 500; font-size: 50px; line-height: 1.07; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.sec-dek { margin: 0; color: var(--body); font-size: 16.5px; }
.more { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.more svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.src { font-size: 12.5px; color: var(--mute); margin: 18px 0 0; line-height: 1.5; }

/* ---------- nav ---------- */
.nav { border-bottom: 1px solid var(--ink); background: var(--paper); position: relative; z-index: 20; }
.nav-in { display: flex; align-items: center; gap: 40px; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand b { font: 500 24px/1 var(--serif); letter-spacing: -.015em; white-space: nowrap; }
[data-brand] sup { font-size: .56em; line-height: 0; vertical-align: .62em; letter-spacing: 0; margin-left: .04em; }
.links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: var(--body); }
.links a { padding: 6px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.links a:hover { color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 12px 18px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn svg { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: #2a2a2a; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 22px; font-size: 16px; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: #fff; }
.btn-hl { background: var(--hl-soft); color: var(--ink); border-color: var(--hl-soft); }
.btn-hl:hover { background: #ffe97a; }

/* ---------- the hero is the atlas (atlas.css); sheets and their keys ---------- */
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.keys { list-style: none; margin: 0; padding: 26px 0 0; border-top: 1.5px solid var(--ink); display: grid; gap: 18px; }
.keys li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.keys p { margin: 3px 0 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.keys b { color: var(--ink); font-weight: 600; }
.key { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); }
.key-on { position: absolute; z-index: 6; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0, 0, 0, .25); }
.sheet { background: var(--sheet); border-radius: 3px; padding: 26px 28px; box-shadow: var(--shadow); }

/* inside a dossier: the weekly brief, with one sold call clipped to it */
.in-desk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 452px; grid-template-areas: "list dos" "keys keys"; align-items: start; margin: 0 0 84px; }
.in-desk .s-list { grid-area: list; position: relative; z-index: 1; margin-right: -64px; padding: 32px 38px 24px; }
.in-desk .s-dos { grid-area: dos; position: relative; z-index: 2; margin-top: 70px; padding: 0; transform: rotate(1.2deg); }
.in-desk .s-dos .clip { top: -28px; right: 150px; z-index: 3; }
/* key B sits on the reasons column of the printed list */
.in-desk .s-list .k-tbl th:nth-child(4) { position: relative; }
.in-desk .s-list .k-tbl th:nth-child(4)::before { content: "B"; position: absolute; left: -40px; top: 50%; margin-top: -14px; z-index: 6; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); letter-spacing: 0; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0, 0, 0, .25); }
.in-desk .keys { grid-area: keys; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 50px; }
.in-desk .keys li { padding-right: 34px; }
.in-desk .keys li + li { padding-left: 34px; border-left: 1px solid var(--rule); }
.k-a { left: -15px; top: 168px; }
.k-c { right: -12px; top: -12px; }

/* printed parts of a sheet */
.sh-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 11px; border-bottom: 1.5px solid var(--ink); font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sh-top [data-s], .sh-top [data-n] { white-space: nowrap; }      /* a date never splits in two */
.sh-brand { display: flex; align-items: center; gap: 9px; font: 500 16px/1 var(--serif); letter-spacing: -.01em; text-transform: none; color: var(--ink); white-space: nowrap; }
.sh-brand svg { flex: none; width: 17px; height: 17px; }
.sh-t { font-family: var(--serif); font-size: 29px; font-weight: 500; margin: 18px 0 4px; letter-spacing: -.01em; }
.sh-sub { margin: 0 0 10px; font-size: 12px; color: var(--mute); }
.sh-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font: 500 9.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* ---------- kit components, printed ---------- */
/* highlighter on reasons */
.hl-sigs .k-sig, .s-list .k-sig, .rail .k-sig { background: none; border: 0; padding: 0; gap: .5em; align-items: baseline; }
.hl-sigs .k-sig > span, .s-list .k-sig > span, .rail .k-sig > span, .s-dos .k-reason-h b > span { background: linear-gradient(transparent 18%, var(--hl) 18%, var(--hl) 92%, transparent 92%); padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-sigs .k-sig b, .s-list .k-sig b, .rail .k-sig b { background: none; color: var(--mute); padding: 0; white-space: nowrap; }
/* the brief as a printed page */
.s-list .k-panel, .print-brief .k-panel { border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; --k-fs: 12.6px; }
.s-list .k-head, .s-list .k-foot { display: none; }
.s-list .k-tbl, .print-brief .k-tbl { width: 100%; }
.s-list .k-tbl th, .print-brief .k-tbl th { background: transparent; border-bottom: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; letter-spacing: 0; }
.s-list .k-tbl th:first-child, .s-list .k-tbl td:first-child { padding-left: 0; }
.s-list .k-tbl th:last-child, .s-list .k-tbl td:last-child { display: none; }
.s-list .k-tbl td { padding-top: .72em; padding-bottom: .72em; }
.s-list .k-pos, .print-brief .k-pos, .print-rows .k-pos { border-radius: 50%; background: transparent; border-color: var(--ink); }
.s-list .k-use-i, .print-brief .k-use-i, .print-rows .k-use-i { background: transparent; border: 1px solid var(--line); }
.s-list .k-sigs { flex-direction: column; align-items: flex-start; gap: .3em; }
.s-list .k-sig { font-size: .95em; }
.s-list .k-redact { max-width: 7.6em; }
.print-rows .k-top, .print-brief .k-top { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; font: 500 .74em/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .3em .55em .26em; }
/* the call that sold, with its stamp */
.s-dos .k-panel { border: 0; box-shadow: none; border-radius: 3px; --k-fs: 12.4px; }
.s-dos .k-stamp, .rail .k-stamp-s { transform: rotate(-9deg); border: 3px double var(--stamp); color: var(--stamp); background: transparent; border-radius: 6px; mix-blend-mode: multiply; }
.s-dos .k-stamp { padding: .45em .9em .4em; margin: .2em .2em 0 0; }
.s-dos .k-stamp b { font-size: 1.55em; letter-spacing: .18em; line-height: 1.1; }
.s-dos .k-strip-top, .rail .k-strip-top { background: var(--ink); }
.s-dos .k-reason-h b { margin-left: -.15em; }
.s-dos .k-lift-t i { background: var(--ink); }
.s-dos .k-lift em { color: var(--ink); }
/* receipts */
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; --k-fs: 13px; }
.rail .k-panel { border-radius: 4px; }
.rail .k-stamp-s { padding: .3em .7em; font-size: .9em; border-width: 3px; }
.rail .k-stamp-s .k-i { display: none; }
.rail .k-stub-why { flex-direction: column; align-items: flex-start; gap: .4em; }
/* reasons table */
.print-sig .k-sigt-h { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.print-sig .k-sigt-l { font-weight: 500; }
.print-sig .k-sigt-b i { border-radius: 0; height: .5em; }
.print-sig .k-sigt .r { color: var(--ink); }
/* loans */
.print-loan .k-panel { border-radius: 3px; }
.print-loan .k-status { border-radius: 2px; font: 500 .74em/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: .38em .6em .32em; }
.print-loan .k-loan-b { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.print-loan .k-flags span { border-radius: 2px; }
/* the ledger certificate */
.print-cert .k-panel { border-radius: 4px; --k-fs: 14px; }
.print-cert .k-cert-seal { background: var(--hl-soft); color: var(--ink); }
/* the district board */
.print-board .k-bd-h { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.print-board .k-bd-r { border-radius: 0; }
.print-board .k-bd-on { background: linear-gradient(transparent 6%, rgba(255, 226, 82, .5) 6%, rgba(255, 226, 82, .5) 94%, transparent 94%); }
.print-board .k-bd-t { border-radius: 0; height: .36em; }
.print-board .k-bd-t i { border-radius: 0; }
.print-board .k-bd-t u { background: var(--stamp); opacity: 1; }
.print-board .k-bd-x b { color: var(--ink); }
.print-board button.k-bd-on { background: linear-gradient(transparent 6%, rgba(255, 226, 82, .5) 6%, rgba(255, 226, 82, .5) 94%, transparent 94%); }
/* plans */
.plans .k-plan { border-radius: 3px; border: 0; box-shadow: var(--shadow); }
.plans .k-plan h4 { font-family: var(--serif); font-weight: 500; font-size: 1.5em; letter-spacing: -.01em; }
.plans .k-plan-tag { border-radius: 2px; font: 500 .72em/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.plans .k-plan-h { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
@media (min-width: 761px) and (max-width: 960px) { .plans .k-plan { padding-left: 18px; padding-right: 18px; } .plans .k-plan-tag { font-size: 9.5px; letter-spacing: .02em; padding-left: 5px; padding-right: 5px; } .plans .k-plan-n { min-height: 4.5em; } .plans .k-btn { padding-left: 8px; padding-right: 8px; font-size: 14px; white-space: nowrap; } }
.plans .k-price b { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: 2.9em; }
.plans .k-btn { border-radius: 3px; }
@media (min-width: 761px) and (max-width: 790px) { .plans .k-btn { gap: .3em; font-size: 13.5px; } }
@media (min-width: 761px) and (max-width: 1100px) { .plans .k-price span { flex: 1 0 100%; } }      /* so the three units line up */
@media (max-width: 400px) { .ex-cta .btn-lg { padding-left: 8px; padding-right: 8px; gap: .45em; font-size: min(15.5px, 4.4vw); } }
.plans .k-plan-feat .k-price b { color: #fff; }

/* ---------- sources strip ---------- */
.colophon { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.colophon-in { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: stretch; }
.colophon .kick { align-self: center; margin: 0; padding: 22px 0; }
.colophon ul { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; }
.colophon li { border-left: 1px solid var(--rule); }
.colophon li > div { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 11px; row-gap: 3px; height: 100%; padding: 22px 20px 20px; color: var(--ink); }
.colophon li b { font-weight: 500; font-size: 14px; line-height: 1.3; }
.colophon li small { grid-column: 2; color: var(--mute); font: 400 11.5px/1.4 var(--mono); letter-spacing: .01em; }
.colophon svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.sec { padding: 120px 0 120px; }
.sec-cont { padding-top: 0; }
.sec-ruled { border-top: 1px solid var(--ink); }
.sec-white { background: #fff; }
.nw { white-space: nowrap; }
.sec-top { padding-top: 72px; }
.inventory { padding: 34px 40px 18px; }
.inventory .sh-top { margin-bottom: 8px; }
.inv { width: 100%; border-collapse: collapse; font-size: 15px; }
.inv th { padding: 14px 16px 12px 0; text-align: left; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.inv td { padding: 18px 16px 18px 0; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--body); }
.inv tr:last-child td { border-bottom: 0; }
.inv td:first-child { width: 58%; }
.inv td b { display: block; margin-bottom: 3px; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -.01em; color: var(--ink); }
.inv td span { display: block; max-width: 40em; }
.inv td:nth-child(2) { font: 500 12px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding-top: 22px; white-space: nowrap; }
.inv td:nth-child(3) { font-size: 14px; padding-top: 20px; }
.sec-desk { background: #e7e1d3; }

/* inside a dossier: an open spread and a clipped memo */
.spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--sheet); border-radius: 3px; box-shadow: var(--shadow); }
.spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 64px; margin-left: -32px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .035) 40%, rgba(0, 0, 0, .09) 50%, rgba(0, 0, 0, .035) 60%, rgba(0, 0, 0, 0)); }
.pg { position: relative; padding: 46px 56px 40px; display: flex; flex-direction: column; min-width: 0; }
.pg-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pg-top b { color: var(--ink); font-weight: 500; }
.pg h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.12; letter-spacing: -.015em; margin: 24px 0 10px; }
.pg-sub { margin: 0 0 24px; color: var(--body); font-size: 14.5px; line-height: 1.55; max-width: 34em; }
.pg-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pg .k-sigt { --k-fs: 14px; }
.pg-wall { margin: 4px 0 10px; --k-fs: 13px; }
.pg-wall .k-legend { margin: 14px 0 0; font-size: 12.5px; }
.pg-loan { margin-top: 26px; --k-fs: 13px; }
.memo { position: relative; margin: 34px 0 0 -6px; width: 86%; padding: 26px 26px 20px; background: #fffdf7; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 30px rgba(40, 32, 18, .12); transform: rotate(-1.6deg); --k-fs: 14px; }
.memo .kick { margin-bottom: 12px; }
.memo .k-ten-n { font-family: var(--serif); font-weight: 500; font-size: 4em; letter-spacing: -.02em; }
.memo .k-ten p { font-size: 1.02em; line-height: 1.5; }
.clip { position: absolute; top: -26px; right: 46px; width: 22px; height: 62px; color: #8c877d; }

/* receipts and the score */
.score-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.s-chart { position: relative; padding: 38px 44px 34px; }
.s-chart h3 { font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1.22; margin: 14px 0 30px; letter-spacing: -.01em; }
.score-side { padding-top: 4px; }
.side-note { color: var(--body); font-size: 15.5px; margin: 24px 6px 18px; }

/* the district register */
.register { padding: 34px 40px 30px; }
.register .sh-top { margin-bottom: 26px; }
/* the loan register: the four regions side by side, the same lines for each */
.k-rg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-variant-numeric: tabular-nums; }
.k-rg-c { display: flex; flex-direction: column; padding: 4px 26px 0; border-left: 1px solid var(--rule); }
.k-rg-c:first-child { padding-left: 0; border-left: 0; }
.k-rg-c:last-child { padding-right: 0; }
.k-rg h3 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font: 500 27px/1.1 var(--serif); letter-spacing: -.015em; }
.k-rg-b { margin: 0 0 16px; }
.k-rg-b b { display: block; font: 500 46px/1 var(--serif); letter-spacing: -.03em; }
.k-rg-b span { display: block; margin-top: 6px; font-size: 14px; color: var(--body); }
.k-rg dl { margin: 0; border-top: 1px solid var(--rule); }
.k-rg dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; line-height: 1.35; }
.k-rg dt { color: var(--body); }
.k-rg dd { margin: 0; font-weight: 600; white-space: nowrap; }
.k-rg-k { margin: 20px 0 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.k-rg ol { list-style: none; margin: 0; padding: 0; }
.k-rg li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.k-rg li a span { background: linear-gradient(var(--hl), var(--hl)) left bottom / 0 100% no-repeat; transition: background-size .3s; }
.k-rg li a:hover span, .k-rg li a:focus-visible span { background-size: 100% 100%; }
.k-rg li a b { font: 500 12px/1.3 var(--mono); white-space: nowrap; }
.reg-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.reg-foot p { margin: 0; color: var(--body); }
.reg-foot .btn { flex: none; }
.reg-foot b { color: var(--ink); }

/* plans and the pilot */
.plans { --k-fs: 15px; min-height: 480px; }
.plans [data-kit="offer"] { gap: 24px; }
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.steps-top { margin-top: 0; }
.steps li { padding: 28px 34px 6px 0; }
.steps li + li { padding-left: 34px; border-left: 1px solid var(--rule); }
.step-k { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.step-k i { font: italic 500 26px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.steps h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--body); font-size: 15.5px; }

/* close */
.close { border-top: 1px solid var(--ink); padding: 104px 0 112px; background: #fff; }
.close-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
.close h2 { font-family: var(--serif); font-size: 66px; font-weight: 500; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
.close-r p { color: var(--body); font-size: 17px; margin: 0 0 26px; }

/* footer */
.foot { border-top: 1px solid var(--ink); padding: 64px 0 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 50px; }
.foot-brand p { margin: 20px 0 24px; color: var(--body); font-size: 14.5px; max-width: 26em; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--body); }
.foot-col h4 { margin: 0 0 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; justify-content: space-between; gap: 40px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--mute); font-size: 13px; }
.foot-base span:first-child { flex: none; }
.foot-base span:last-child { text-align: right; max-width: 44em; }

/* ---------- inner pages ---------- */
.page-h { padding: 74px 0 60px; border-bottom: 1px solid var(--ink); }
.page-h-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 30px 90px; align-items: end; }
.page-h h1 { font-size: 72px; margin: 22px 0 0; }
.page-h .lede { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.toc a { display: inline-flex; gap: 10px; align-items: baseline; color: var(--body); }
.toc a i { font: italic 500 17px/1 var(--serif); color: var(--ink); }
.toc a:hover { color: var(--ink); }

/* ---------- the gazetteer (markets.html) ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gaz { padding: 34px 40px 30px; }
.gz-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 26px 0 14px; }
.gz-find { position: relative; flex: 0 1 420px; }
.gz-find svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; fill: none; stroke: var(--mute); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.gz-find input { width: 100%; font: 400 16px/1.3 var(--sans); color: var(--ink); padding: 12px 14px 12px 40px; border: 1px solid var(--ink); border-radius: 3px; background: #fff; -webkit-appearance: none; appearance: none; }
.gz-find input::placeholder { color: #8f8a80; }
.gz-find input:focus { outline: none; box-shadow: 0 0 0 3px rgba(20, 20, 20, .1); }
.gz-reg { display: flex; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; }
.gz-reg button { padding: 12px 16px; border: 0; background: transparent; color: var(--ink); font: 500 14.5px/1.2 var(--sans); cursor: pointer; }
.gz-reg button + button { border-left: 1px solid var(--ink); }
.gz-reg button:hover { background: var(--paper); }
.gz-reg button[aria-pressed="true"] { background: var(--hl); font-weight: 600; }
@media (min-width: 761px) and (max-width: 1000px) { .gz-bar { flex-wrap: wrap; gap: 14px; } .gz-find, .gz-reg { flex: 1 1 100%; } .gz-reg button { flex: 1; } }
.gz-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gz-t .r { text-align: right; }
.gz-t thead th { padding: 12px 0 12px 22px; border-bottom: 1.5px solid var(--ink); text-align: left; font-weight: 500; vertical-align: bottom; }
.gz-t thead th.r { text-align: right; }
.gz-t thead th:first-child { padding-left: 0; }
.gz-t thead button { padding: 0; border: 0; background: none; color: var(--mute); font: 500 10.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: inherit; cursor: pointer; }
.gz-t thead button:hover, .gz-t thead th[aria-sort] button { color: var(--ink); }
.gz-t thead th[aria-sort] button::after { content: "↓"; margin-left: .5em; }
.gz-t thead th[aria-sort="ascending"] button::after { content: "↑"; }
.gz-t tbody th, .gz-t tbody td { padding: 13px 0 12px 22px; border-bottom: 1px solid var(--rule); font-size: 16px; vertical-align: baseline; }
.gz-t tbody th { padding-left: 0; text-align: left; font-weight: 400; }
.gz-t tbody th a { font: 500 21px/1.2 var(--serif); letter-spacing: -.01em; background: linear-gradient(var(--hl), var(--hl)) left bottom / 0 100% no-repeat; transition: background-size .3s; }
.gz-t tbody tr:hover th a, .gz-t tbody th a:focus-visible { background-size: 100% 100%; }
.gz-t tbody th small { margin-left: 12px; font: 400 12.5px/1.3 var(--mono); color: var(--mute); }
.gz-due i { display: block; width: 92px; height: 3px; margin: 7px 0 0 auto; background: var(--paper-2); }
.gz-due i b { display: block; height: 100%; background: var(--ink); }
.gz-0 { color: var(--mute); }
.gz-ask { font-size: 14.5px; font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.gz-none { padding: 34px 0; color: var(--body); }
.gz-none a { font-weight: 600; border-bottom: 1.5px solid var(--ink); color: var(--ink); }
.gz-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; min-height: 46px; }
.gz-foot p { margin: 0; font: 400 12.5px/1.4 var(--mono); color: var(--mute); }
.gz-src { max-width: 90em; }
.reg-after { margin-top: 28px; }
.reg-dek { max-width: 62em; margin: 0 0 22px; color: var(--body); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-4 li { padding-right: 26px; }
.steps-4 li + li { padding-left: 26px; }

/* the district explorer */
/* the map's size never depends on the card: a district that changes the card's height must not move
   the map under the pointer (pointing at a district selects it) */
.explore-in { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.ex-map { display: flex; flex-direction: column; }
.ex-dots { flex: none; aspect-ratio: 1 / 1.1; margin-top: 18px; --k-dlab-fs: 11; --k-dl: rgba(20, 20, 20, .2); --k-dl-on: var(--ink); }
.ex-card { align-self: stretch; }
/* the sample list and the ask line share one cell, so the card keeps its height from district to district */
.ex-swap { display: grid; }
.ex-swap > * { grid-area: 1 / 1; }
.ex-swap > [hidden] { display: block; visibility: hidden; }
.ex-dots .k-dl-p { cursor: pointer; }
.ex-hint { display: flex; justify-content: space-between; gap: 20px; margin: 14px 0 0; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ex-card { display: flex; flex-direction: column; }
.ex-card h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.05; letter-spacing: -.02em; margin: 16px 0 18px; }
.ex-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 18px 0 0; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ex-pick select { width: 100%; min-width: 0; font: 500 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 11px 12px; border: 1px solid var(--rule); border-radius: 3px; background: #fff; }
.ex-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1.5px solid var(--ink); }
.ex-stats div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.ex-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.ex-stats dt { font: 500 9.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ex-stats dd { margin: 6px 0 0; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.ex-stats .ex-wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-left: 0; padding-right: 0; border-left: 0; }
.ex-stats .ex-wide dd { margin: 0; text-align: right; }
.ex-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ex-top .stamp-open { flex: none; margin-bottom: 24px; }
.ex-note { margin: 10px 0 0; color: var(--mute); font-size: 12.5px; }
.ex-list { margin-top: 22px; --k-fs: 12.6px; }
.ex-list .k-rows li { border-color: var(--line); }
.ex-ask { margin: 22px 0 0; color: var(--body); font-size: 14.5px; }
.ex-status { display: flex; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 22px; font-size: 14px; color: var(--body); }
.stamp-open { display: inline-block; transform: rotate(-6deg); border: 3px double var(--stamp); color: var(--stamp); border-radius: 5px; padding: .25em .6em .2em; font: 700 13px/1.1 var(--sans); letter-spacing: .16em; text-transform: uppercase; mix-blend-mode: multiply; }
.ex-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.ex-cta .btn { width: 100%; }
.ex-price { margin: 4px 0 0; text-align: center; color: var(--mute); font-size: 13.5px; }
.ex-price b { color: var(--ink); }

/* method */
.m-sec { padding: 110px 0; border-top: 1px solid var(--ink); }
.m-sec:first-of-type { border-top: 0; }
.m-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 80px; align-items: start; }
.m-side { position: sticky; top: 30px; }
.m-side .kick { margin-bottom: 18px; }
.m-side h2 { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.07; letter-spacing: -.02em; margin: 0 0 18px; }
.m-side p { margin: 0 0 14px; color: var(--body); }
.m-main > * + * { margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--ink); }
.facts div { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--rule); }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.facts dt { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.facts dd { margin: 10px 0 0; color: var(--body); font-size: 14.5px; line-height: 1.5; }
.biblio { list-style: none; margin: 0; padding: 0; counter-reset: b; border-top: 1.5px solid var(--ink); }
.biblio li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.biblio i { font: italic 500 24px/1.1 var(--serif); }
.biblio h4 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.biblio h4 a { border-bottom: 1px solid var(--rule); }
.biblio h4 a:hover { border-color: var(--ink); }
.biblio p { margin: 0; color: var(--body); font-size: 15px; }
.m-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; color: var(--mute); font: 400 12.5px/1.55 var(--mono); letter-spacing: .01em; }
.m-note svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fam { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.fam li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fam i { font: italic 500 19px/1.2 var(--serif); }
.fam b { display: block; font-weight: 600; font-size: 15px; }
.fam span { color: var(--body); font-size: 13.5px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rules svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.rules b { display: block; margin-bottom: 3px; }
.rules p { margin: 0; color: var(--body); font-size: 15px; }
.tuck { display: none; }                                       /* phones only (phone.js) */
.chart-pair > * + * { margin-top: 26px; }
.chart-sheet { padding: 34px 38px 30px; }
.chart-sheet[id] { scroll-margin-top: 24px; }
.chart-sheet h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 10px 0 26px; letter-spacing: -.01em; }
.chart-sheet .cs-p { max-width: 62em; margin: -12px 0 22px; color: var(--body); font-size: 15px; line-height: 1.55; }
.chart-sheet .cs-p + .cs-p { margin-top: -10px; }
.c-tabs { display: flex; gap: 26px; margin: 0 0 18px; border-bottom: 1px solid var(--rule); }
.c-tabs button { min-height: 44px; margin: 0 0 -1px; padding: 0; border: 0; border-bottom: 2.5px solid transparent; background: none; color: var(--body); font: 500 14.5px/1 var(--sans); cursor: pointer; }
.c-tabs button:hover { color: var(--ink); }
.c-tabs button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.c-name { font-weight: 600; font-size: 15px !important; }
.c-tagt { font-size: 12px !important; font-weight: 600; }
.c-pass rect { fill: var(--hl); }
.c-fail rect { fill: none; }
.c-fail .c-tagt { fill: var(--c-muted) !important; font-weight: 500; }
.c-span { stroke: var(--ink); stroke-width: 2; stroke-opacity: .32; stroke-linecap: round; }
.c-ours.c-thin { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
.c-base.c-own { stroke-width: 1.5; }
.c-tick-own { fill: var(--ink) !important; font-weight: 600; }
.c-hit { fill: transparent; }
.c-row:hover .c-hit { fill: rgba(20, 20, 20, .05); }
.cs-note { margin: 16px 0 0; color: var(--mute); font-size: 13.5px; line-height: 1.5; }
.cs-table { margin-top: 6px; font-size: 13.5px; }
.cs-table summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; cursor: pointer; }
.cs-table > div { overflow-x: auto; }
.cs-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cs-table th, .cs-table td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cs-table thead th { border-bottom: 1.5px solid var(--ink); font-weight: 600; }
.cs-table tbody th { font-weight: 600; }
.cs-table tbody td { white-space: nowrap; }
.cs-table small { display: block; margin-top: 1px; color: var(--mute); font-size: 12.5px; font-weight: 400; }
.cs-why { margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.cs-why li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.cs-why span { color: var(--body); }
.ledger-sheet { padding: 30px 34px; }
.ledger-sheet .t-ledger { font-size: 14px; }
.ledger-sheet .t-ledger thead th { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--ink); }

/* pricing: questions */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 26px; max-width: 46em; color: var(--body); }
.faq details > div p { margin: 0 0 12px; }

/* contact */
.ask-in { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 90px; align-items: start; padding-top: 74px; padding-bottom: 120px; }
.ask-copy h1 { font-size: 70px; margin: 22px 0 26px; }
.ask-steps { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ask-steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ask-steps i { font: italic 500 24px/1.1 var(--serif); }
.ask-steps b { display: block; margin-bottom: 2px; }
.ask-steps p { margin: 0; color: var(--body); font-size: 15px; }
.form { padding: 34px 36px 30px; }
.form .sh-top { margin-bottom: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font: 500 10.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); padding: 12px 13px; border: 1px solid var(--rule); border-radius: 3px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f8a80; opacity: 1; }
/* the market box suggests counties; a county shows what's on file there */
.ask-c { position: relative; }
.sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 6px 0 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--ink); border-radius: 3px; box-shadow: var(--shadow-sm); }
.sug[hidden], .ask-file[hidden] { display: none; }
.sug li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 14px; cursor: pointer; font-size: 15px; }
.sug li span { flex: none; font: 500 11px/1.3 var(--mono); letter-spacing: .04em; color: var(--mute); }
.sug li:hover { background: var(--paper); }
.sug li[aria-selected="true"] { background: var(--hl-soft); }
.ask-file { margin: 0 0 20px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.ask-file > p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; font: 500 10.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ask-file > p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ask-file dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 18px; margin: 0; padding: 4px 0 14px; }
.ask-file dt { font-size: 13px; color: var(--body); white-space: nowrap; }
.ask-file dd { margin: 2px 0 0; font: 500 23px/1.15 var(--serif); letter-spacing: -.01em; }
.ask-file .ask-none { display: block; padding: 0 0 14px; font: 400 15px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--body); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { margin: 14px 0 0; color: var(--mute); font-size: 13px; text-align: center; }
.mail-line { margin: 22px 0 0; color: var(--body); font-size: 15px; }
.mail-line a { border-bottom: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; }

/* ---------- narrow screens ---------- */
@media (max-width: 1100px) {
  .sec-h, .score-in, .close-in, .page-h-in, .explore-in, .m-grid, .ask-in { grid-template-columns: minmax(0, 1fr); }
  .in-desk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "list" "dos" "keys"; gap: 26px; margin-bottom: 56px; }
  .in-desk .s-list { margin-right: 0; }
  .k-rg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .k-rg-c:nth-child(odd) { padding-left: 0; border-left: 0; }
  .k-rg-c:nth-child(even) { padding-right: 0; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .steps-4 li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps-4 li:nth-child(n + 3) { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 22px; }
  .in-desk .s-dos { margin-top: 0; transform: none; }
  .in-desk .keys { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 10px; }
  .in-desk .keys li, .in-desk .keys li + li { padding: 0; border: 0; }
  .key-on, .in-desk .s-list .k-tbl th:nth-child(4)::before { display: none; }
  .rail { grid-template-columns: 1fr 1fr; }
  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread::after { display: none; }
  .pg + .pg { border-top: 1px solid var(--line); }
  .m-side { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .close-in { gap: 30px; }
  .ex-dots { aspect-ratio: 1 / 1; }
  .ask-in { gap: 48px; }
  .colophon-in { grid-template-columns: minmax(0, 1fr); }
  .colophon .kick { padding: 20px 0 14px; }
  .colophon ul { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
  .colophon li { border-left: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .colophon li:nth-child(3n) { border-right: 0; }
  .colophon li:nth-last-child(-n + 2) { border-bottom: 0; }
  .colophon li > div { padding: 16px 16px 16px 0; }
  .colophon li:not(:nth-child(3n + 1)) > div { padding-left: 16px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3n + 1) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .plans [data-kit="offer"] { grid-template-columns: minmax(0, 1fr); }
  .reg-foot { flex-direction: column; align-items: flex-start; }
  .steps-4 { grid-template-columns: minmax(0, 1fr); }
  .steps-4 li, .steps-4 li + li, .steps-4 li:nth-child(n + 3) { padding: 22px 0; margin: 0; border-left: 0; border-top: 0; }
  .gaz { padding: 24px 22px 20px; }
  .gz-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .gz-find { flex: none; }
  .gz-reg button { flex: 1; padding: 11px 2px; font-size: min(13.5px, 4vw); }
  .gz-t tr > :nth-child(2), .gz-t tr > :nth-child(5) { display: none; }
  .gz-t tbody th small { display: block; margin: 3px 0 0; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .ask-in { padding-top: 40px; padding-bottom: 72px; }
  .nav .btn { display: none; }
  h1, .h1 { font-size: 50px; }
  .page-h h1, .ask-copy h1 { font-size: 46px; }
  .page-h { padding: 46px 0 40px; }
  .kick { flex-wrap: wrap; row-gap: 6px; }
  .in-desk .s-list { padding: 24px 18px 18px; }
  .colophon ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon li, .colophon li:nth-child(3n) { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .colophon li:nth-child(2n) { border-right: 0; }
  .colophon li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .colophon li:last-child { border-bottom: 0; }
  .colophon li > div, .colophon li:not(:nth-child(3n + 1)) > div { padding: 14px 12px 14px 0; }
  .colophon li:nth-child(2n) > div { padding-left: 14px; padding-right: 0; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 80px 0; }
  .sec-h h2, .h2, .close h2 { font-size: 36px; }
  .m-side h2 { font-size: 34px; }
  .pg { padding: 30px 20px 26px; }
  .pg h3 { font-size: 27px; }
  .memo { width: auto; margin-left: 0; }
  .s-chart, .chart-sheet, .ledger-sheet, .form { padding: 26px 20px; }
  .register { padding: 24px 16px 20px; }
  .gaz { padding: 22px 16px 16px; }
  .gz-t tr > :nth-child(6) { display: none; }
  .gz-t thead th, .gz-t tbody th, .gz-t tbody td { padding-left: 12px; }
  .gz-t thead th:first-child, .gz-t tbody th { padding-left: 0; }
  .gz-t tbody th a { font-size: 18px; }
  .gz-t tbody td { font-size: 14.5px; }
  .gz-t thead button { font-size: 9.5px; letter-spacing: .04em; }
  .gz-due i { width: 64px; }
  .k-rg { grid-template-columns: minmax(0, 1fr); }
  .k-rg-c, .k-rg-c:nth-child(even) { padding: 4px 0 0; border-left: 0; }
  .inventory { padding: 24px 18px 8px; }
  .explore-in > .sheet { padding: 24px 18px 20px; }
  .inv thead { display: none; }
  .inv tr { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .inv tr:last-child { border-bottom: 0; }
  .inv td, .inv td:nth-child(2), .inv td:nth-child(3) { padding: 0; border: 0; }
  .inv td:first-child { grid-column: 1 / -1; width: auto; margin-bottom: 8px; }
  .inv td:nth-child(2) { font-size: 11px; padding-top: 1px; }
  .inv td:nth-child(3) { font-size: 13px; color: var(--mute); }
  .facts dt { font-size: 34px; }
  .field-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .foot-base { flex-direction: column; gap: 10px; }
  .foot-base span:last-child { text-align: left; }
  .ex-stats dd { font-size: 23px; }
}

/* on a phone, what a sheet is goes above its date */
@media (max-width: 460px) {
  .sh-top > span:last-child { text-align: right; text-wrap: balance; }
  .sh-top .ksep { display: block; height: 0; }
}
@media (max-width: 355px) {
  .sh-top { flex-wrap: wrap; row-gap: 8px; }
  .sh-top > span:last-child { text-align: left; }
  .sh-top .ksep { display: inline-block; height: 1px; }
}

/* the board hides its bars and ticks on a phone, so the sentence about them goes too */
@media (max-width: 560px) { .reg-tick { display: none; } }

/* made for phones: lib/phone.css shows these */
.dock, .dock-menu:not([open]), .sw-tabs, .chap, .more-rows, .ex-chip, .only-phone, .at-back, .at-open-map, .at-grab { display: none; }
