/* RentMaxxer pages, direction A, "Editorial" (docs/design/mocks/a.html on
   design/homepage-directions). Every page but the home page: listing, listings, pricing,
   how it works, about, partners, the wizard, the account page and the legal pages. Loaded
   after app.css by those templates only (their {% block head %}); every rule is scoped under
   body.pg, so the home page and the other pages are untouched.
   A light page: white paper, near-black type, a huge serif, hairline rules, whitespace.
   Listings are plain rows with small thumbnails; one photo at most per page.
   Binding: docs/brand/identity.md "Anti-slop rules": no gradients, glows, pills, badges,
   icon lists or cards. Amber only for the one main action.
   Type: the huge number, the headline, the line (EB Garamond); body and small (Geist).
   Sections: 1 tokens (and app.css re-pointed to light), 2 base, 3 chrome on light, 4 type,
   5 actions, 6 rules and prose, 7 listing, 8 listing rows, 9 pricing, 10 wizard, 11 account,
   12 shared partials (units table, paywall, folds), 13 wide screens. */

/* ---------------------------------------------------------------- 1. tokens */
body.pg {
  --pg-paper: #FFFFFF;
  --pg-ink: #16140F;
  --pg-muted: #5E5A52;
  --pg-rule: #D9D5CC;
  --pg-wash: #F4F2ED;          /* a hover or a pressed row; never a card */
  --pg-amber: #16140F;        /* the site's one accent: ink/black (owner, Oct 22 2026 — "just make it black") */
  --pg-amber-press: #000000;
  --pg-on-accent: #FFFFFF;
  --pg-alert: #A3271B;
  --pg-serif: "EB Garamond", Georgia, serif;
  --pg-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pg-gut: max(16px, env(safe-area-inset-left));
  --pg-max: 1120px;
  /* the type scale */
  --pg-huge: clamp(4rem, 15vw, 7.5rem);          /* 64 to 120: the one number */
  --pg-display: clamp(4rem, 17vw, 8.75rem);      /* 64 to 140: a page's title, rarely */
  --pg-head: clamp(2.125rem, 6vw, 3.5rem);       /* 34 to 56: headlines */
  --pg-line: clamp(1.25rem, 2.4vw, 1.625rem);    /* 20 to 26: the dek, a row title */
  --pg-body: 1.0625rem;                          /* 17 */
  --pg-small: 0.875rem;                          /* 14 */
  /* space */
  --pg-s1: 8px; --pg-s2: 14px; --pg-s3: 20px; --pg-s4: 28px; --pg-s5: 48px; --pg-s6: 96px; --pg-s7: 120px;

  /* app.css, re-pointed to the light page, so the shared nav, footer, inputs and partials
     follow without a second copy of their rules */
  color-scheme: light;
  --bg: var(--pg-paper);
  --bg-band: var(--pg-paper);
  --surface-1: var(--pg-paper);
  --surface-2: var(--pg-wash);
  --surface-3: #ECE9E2;
  --surface-4: #E2DED6;
  --glass: rgba(255, 255, 255, 0.9);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --line: var(--pg-rule);
  --line-2: var(--pg-rule);
  --line-3: #B9B4AA;
  --line-input: #8C877E;
  --text: var(--pg-ink);
  --text-2: var(--pg-muted);
  --text-3: #7A756C;
  --accent: var(--pg-amber);
  --accent-hover: var(--pg-amber-press);
  --accent-press: var(--pg-amber-press);
  --on-accent: var(--pg-on-accent);
  --accent-rgb: 22, 20, 15;
  --accent-text: var(--pg-ink);
  --accent-line: var(--pg-ink);
  --accent-soft: var(--pg-wash);
  --danger: var(--pg-alert);
  --success: #1F6B45;
  --hl: none;
  --lift: none;
  --float: none;

  background: var(--pg-paper);
  color: var(--pg-ink);
  font-variant-numeric: lining-nums tabular-nums;
  caret-color: var(--pg-ink);
  scrollbar-color: #C9C4BA var(--pg-paper);
}
body.pg ::selection { background: var(--pg-ink); color: var(--pg-paper); }
body.pg :focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 3px; }

/* ---------------------------------------------------------------- 2. base */
.pg main { font-size: var(--pg-body); line-height: 1.55; }
.pg main a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.pg main a:hover { text-decoration-thickness: 2px; }
.pg .pg-wrap { width: 100%; max-width: calc(var(--pg-max) + 2 * var(--pg-gut)); margin-inline: auto; padding-inline: var(--pg-gut); }
.pg .pg-wrap--text { max-width: calc(720px + 2 * var(--pg-gut)); }
.pg .pg-end { padding-bottom: var(--pg-s7); }

/* ---------------------------------------------------------------- 3. chrome on light */
.pg .gov { background: var(--pg-paper); color: var(--pg-muted); border-bottom-color: var(--pg-rule); }
.pg .gov a { color: var(--pg-ink); text-decoration-color: var(--line-3); }
/* the nav and the notice line are solid paper with a hairline under them: nothing shows through
   when the page scrolls under the sticky nav */
.pg .nav { background: var(--pg-paper); border-bottom: 1px solid var(--pg-rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pg .brand, .pg .footer .brand { color: var(--pg-ink); }
.pg .nav__link { border-radius: 4px; color: var(--pg-ink); white-space: nowrap; }
/* phones: a 48px nav, "Log in" never wraps, and "Browse" lives in the menu under 420px */
@media (max-width: 639px) { body.pg { --nav-h: 47px; }  /* 48px with its hairline */ }
@media (max-width: 419px) { .pg .nav__browse { display: none; } }
.pg .nav__link:hover { background: none; text-decoration: underline; text-underline-offset: 0.22em; }
.pg .nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.22em; }
.pg .nav .btn--primary, .pg .menu__panel .btn--primary, .pg .dock .btn--primary {
  border-radius: 4px; background: var(--pg-amber); color: var(--pg-on-accent); box-shadow: none; font-weight: 500;
}
.pg .menu__btn { border-radius: 4px; background: none; border-color: var(--pg-rule); color: var(--pg-ink); }
.pg .menu__panel { background: var(--pg-paper); border-bottom-color: var(--pg-rule); box-shadow: none; }
.pg .menu__link { border-radius: 0; border-bottom: 1px solid var(--pg-rule); }
.pg .menu__link:hover { background: var(--pg-wash); }
.pg .footer { background: var(--pg-paper); border-top-color: var(--pg-rule); color: var(--pg-muted); }
.pg .footer__head { color: var(--pg-ink); }
.pg .footer__link { color: var(--pg-muted); }
.pg .footer__link:hover { color: var(--pg-ink); text-decoration-color: var(--pg-ink); }
/* the footer's fine-print rule runs the full frame like every other rule (its lines keep 68ch) */
.pg .footer__legal { max-width: none; }
.pg .dock { background: var(--pg-paper); border-top: 1px solid var(--pg-rule); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pg .skip { border-radius: 4px; }

/* ---------------------------------------------------------------- 4. type */
.pg .pg-h { margin: 0; max-width: 18ch; font: 400 var(--pg-head)/1.05 var(--pg-serif); letter-spacing: -0.02em; text-wrap: balance; }
.pg .pg-h em { font-style: italic; }
.pg .pg-h--ask { font-style: normal; }  /* questions are set upright: the italic read as decoration */
.pg .pg-title { margin: 0; max-width: 14ch; font: 400 var(--pg-display)/0.92 var(--pg-serif); letter-spacing: -0.03em; text-wrap: balance; }
.pg .pg-huge { margin: var(--pg-s2) 0 0; font: 400 var(--pg-huge)/0.9 var(--pg-serif); letter-spacing: -0.03em; white-space: nowrap; }
.pg .pg-huge small { font-size: 0.32em; letter-spacing: 0; color: var(--pg-muted); margin-left: 0.06em; }
.pg .pg-line { margin: var(--pg-s3) 0 0; max-width: 34ch; font: 400 var(--pg-line)/1.35 var(--pg-serif); text-wrap: pretty; }
.pg .pg-body { margin: var(--pg-s2) 0 0; max-width: 62ch; }
.pg .pg-fine { margin: var(--pg-s2) 0 0; max-width: 62ch; font-size: var(--pg-small); line-height: 1.5; color: var(--pg-muted); }
.pg .pg-crumbs { font-size: var(--pg-small); }
.pg .pg-crumbs .crumbs { min-height: 44px; }
.pg .pg-crumbs .crumbs a { color: var(--pg-muted); font-weight: 400; }
.pg .pg-crumbs [aria-current] { color: var(--pg-muted); }

/* ---------------------------------------------------------------- 5. actions */
.pg .pg-cta,
.pg main .btn--primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; height: auto;
  padding: 0 28px; margin: 0; border: 0; border-radius: 4px; background: var(--pg-amber); color: var(--pg-on-accent);
  font: 500 var(--pg-body)/1.15 var(--pg-sans); letter-spacing: 0; text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14); cursor: pointer;
}
.pg .pg-cta:hover, .pg main .btn--primary:hover { background: var(--pg-amber-press); text-decoration: none; }
.pg .pg-cta .icon, .pg main .btn .icon { width: 18px; height: 18px; }
.pg .pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pg-s2) var(--pg-s4); margin-top: var(--pg-s4); }
.pg main .btn--secondary, .pg main .btn--ghost, .pg main .btn--danger {
  min-height: 48px; padding: 0 20px; border-radius: 4px; background: transparent; box-shadow: none;
  border: 1px solid var(--pg-ink); color: var(--pg-ink); font-weight: 500;
}
.pg main .btn--ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 0.22em; }
.pg main .btn--secondary:hover, .pg main .btn--ghost:hover { background: var(--pg-wash); }
.pg main .btn--danger { color: var(--pg-alert); border-color: var(--pg-alert); }
.pg main .btn--danger-solid { border-radius: 4px; box-shadow: none; background: var(--pg-alert); color: #fff; }
.pg main .btn:active { transform: none; }
.pg .pg-textlink { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------------------------------------------------------------- 6. rules and prose */
.pg .pg-head { padding-block: 72px var(--pg-s5); }
.pg .pg-head > * + * { margin-top: var(--pg-s3); }
.pg .pg-section { padding-block: var(--pg-s6); border-top: 1px solid var(--pg-rule); }
.pg .pg-section--first { border-top: 0; padding-top: 0; }
.pg .pg-rows-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-ink); }
.pg .pg-rows-list > li { padding-block: var(--pg-s3); border-bottom: 1px solid var(--pg-rule); max-width: 62ch; }
.pg .pg-banner { margin: 0; padding: var(--pg-s2) 0; border-top: 1px solid var(--pg-rule); border-bottom: 1px solid var(--pg-rule); max-width: 62ch; }
.pg .pg-banner strong { font-weight: 600; }
.pg .pg-banner--alert { color: var(--pg-alert); }
.pg .pg-note { margin-top: var(--pg-s5); padding-top: var(--pg-s2); border-top: 1px solid var(--pg-rule); }

/* long reads: the guide, about, partners, the legal pages */
.pg .pg-prose { display: block; max-width: 66ch; color: var(--pg-ink); line-height: 1.6; }
.pg .pg-prose > * + * { margin-top: 1em; }
.pg .pg-prose h2 {
  margin: var(--pg-s6) 0 var(--pg-s3); padding-top: var(--pg-s4); border-top: 1px solid var(--pg-ink);
  font: 400 var(--pg-head)/1.05 var(--pg-serif); letter-spacing: -0.02em; color: var(--pg-ink); text-wrap: balance;
}
.pg .pg-prose > h2:first-child { margin-top: 0; }
.pg .pg-prose h3 { margin: var(--pg-s5) 0 var(--pg-s2); font: 500 var(--pg-line)/1.25 var(--pg-serif); color: var(--pg-ink); }
.pg .pg-prose h4 { margin: var(--pg-s4) 0 0; font-size: var(--pg-body); font-weight: 600; color: var(--pg-ink); }
.pg .pg-prose p, .pg .pg-prose li, .pg .pg-prose dd { color: var(--pg-ink); }
.pg .pg-prose strong { font-weight: 600; color: var(--pg-ink); }
.pg .pg-prose a { color: var(--pg-ink); text-decoration-color: var(--line-3); }
.pg .pg-prose a:hover { text-decoration-color: var(--pg-ink); }
.pg .pg-prose ul, .pg .pg-prose ol { padding-left: 1.1em; display: grid; gap: 10px; margin-block: 1em 0; }
.pg .pg-prose li::marker { color: var(--pg-muted); }
.pg .pg-prose table { width: 100%; border-collapse: collapse; margin-block: var(--pg-s3); font-size: var(--pg-body); }
.pg .pg-prose th, .pg .pg-prose td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pg-rule); font-weight: 400; overflow-wrap: anywhere; color: var(--pg-ink); }
.pg .pg-prose thead th { font-size: var(--pg-small); color: var(--pg-muted); border-bottom-color: var(--pg-ink); }
.pg .pg-prose td:last-child { text-align: right; padding-right: 0; font: 400 1.375rem/1.1 var(--pg-serif); }
.pg .pg-prose thead th:last-child { text-align: right; padding-right: 0; }
.pg .pg-prose dl { display: grid; margin: 0; border-top: 1px solid var(--pg-ink); }
.pg .pg-prose dl > div { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--pg-rule); }
.pg .pg-prose dt { font: 500 1.25rem/1.2 var(--pg-serif); }
.pg .pg-prose dd { margin: 0; color: var(--pg-muted); }
.pg .pg-prose section { scroll-margin-top: 96px; }
/* /about's founder (about.html): the real photo above the words on a phone, beside them from
   600 px; the signature in the serif; no frame, shadow or badge */
.pg .pg-prose h2[id] { scroll-margin-top: 96px; }
.pg .pg-founder { display: grid; gap: var(--pg-s3); margin-top: var(--pg-s3); column-span: all; break-inside: avoid; }  /* one block across /about's two columns */
.pg .pg-founder__text { max-width: 62ch; }
.pg .pg-founder__photo { display: block; width: 260px; height: 260px; border-radius: 10px; object-fit: cover; background: var(--pg-rule); }
.pg .pg-founder__text > * + * { margin-top: 1em; }
.pg .pg-founder__text p { margin-bottom: 0; }
.pg .pg-founder .pg-founder__sig { font: 400 1.375rem/1.2 var(--pg-serif); }
.pg .pg-founder .pg-fine { margin-top: var(--pg-s1); }
@media (min-width: 600px) {
  .pg .pg-founder { grid-template-columns: 260px minmax(0, 1fr); column-gap: var(--pg-s4); align-items: start; }
}
.pg .legal h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------------------------------------------------------------- 7. listing */
.pg .pg-listing-head .pg-h { max-width: 20ch; }
.pg .pg-plate { margin: 0 0 var(--pg-s5); }
.pg .pg-plate img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--pg-wash); }
.pg .pg-plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .pg-plate figcaption b { font-weight: 500; color: var(--pg-ink); }
/* the listing's photo is the first thing under the nav, the name and rent right under it */
.pg .pg-head.pg-listing-head { padding-top: var(--pg-s3); }
.pg .pg-plate--lead { margin: 0; }
.pg .pg-plate--lead figcaption { padding-inline: var(--pg-gut); }
@media (max-width: 639px) {
  .pg .pg-plate-wrap { padding-inline: 0; }                 /* edge to edge on a phone */
  .pg .pg-plate--lead img { aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) {
  .pg .pg-plate-wrap { padding-top: var(--pg-s3); }
  .pg .pg-plate--lead figcaption { padding-inline: 0; }
}
.pg .pg-facts { display: grid; margin: 0; border-top: 1px solid var(--pg-ink); }
.pg .pg-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--pg-rule); }
.pg .pg-facts dt { font-size: var(--pg-body); }
.pg .pg-facts dd { margin: 0; text-align: right; font: 400 1.5rem/1.1 var(--pg-serif); }
.pg .pg-facts dd small { display: block; margin-top: 4px; font: 400 var(--pg-small)/1.4 var(--pg-sans); color: var(--pg-muted); }
.pg .pg-apply { display: grid; gap: var(--pg-s2); justify-items: start; }
.pg .pg-apply .pg-line, .pg .pg-apply .pg-fine { margin: 0; }

/* ---------------------------------------------------------------- 8. listing rows */
/* /listings, "Similar listings" and the account's matches: plain rows, a small thumbnail,
   the name in the serif, the rent at the right. The whole row is the link. */
.pg .lrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-ink); }
.pg .lrow { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--pg-rule); }
.pg .lrow:hover { background: var(--pg-wash); box-shadow: -12px 0 0 var(--pg-wash), 12px 0 0 var(--pg-wash); }
.pg .lrow__media { position: relative; width: 72px; height: 72px; overflow: hidden; background: var(--pg-wash); }
.pg .lrow__media img, .pg .lrow__media > span { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pg .lrow__media > span { opacity: 0.35; filter: grayscale(1); }
.pg .lrow__media .photo-caption { display: none; }
.pg .lrow__title { margin: 0; font: 500 1.3125rem/1.15 var(--pg-serif); text-wrap: balance; overflow-wrap: anywhere; }
.pg .lrow__link { text-decoration: none; }
.pg .lrow__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pg .lrow__link:hover { text-decoration: underline; }
.pg .lrow__meta { margin: 2px 0 0; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .lrow__meta b { font-weight: 500; color: var(--pg-ink); }
.pg .lrow__price { margin: 0; text-align: right; font: 400 1.5rem/1 var(--pg-serif); white-space: nowrap; }
.pg .lrow__price small { display: block; margin-top: 4px; font: 400 0.8125rem/1.4 var(--pg-sans); color: var(--pg-muted); white-space: normal; max-width: 9em; margin-left: auto; }
.pg .lrow__price--word { font-size: 1.125rem; white-space: normal; max-width: 8em; }
.pg .lrow--closed .lrow__media img { filter: grayscale(1); opacity: 0.6; }

/* the filters: words, not pills. The checked one is underlined. */
.pg .pg-filters.filters { display: grid; gap: var(--pg-s1); margin-top: var(--pg-s4); padding: var(--pg-s2) 0 0; border: 0; border-top: 1px solid var(--pg-rule); border-radius: 0; background: none; box-shadow: none; }
.pg .pg-filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pg .pg-filters .chips { display: flex; flex-wrap: wrap; gap: 0 20px; overflow: visible; padding: 0; margin: 0; -webkit-mask: none; mask: none; }
.pg .pg-filters .chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; color: var(--pg-muted); }
.pg .pg-filters .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg .pg-filters .chip span, .pg .pg-filters .chip input:checked + span { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
.pg .pg-filters .chip b, .pg .pg-filters .chip input:checked + span b { margin-left: 4px; font-weight: 400; color: var(--pg-muted); }
.pg .pg-filters .chip:hover { color: var(--pg-ink); }
/* the Type row is links (?kind=...): the chosen one reads like a chosen radio chip */
.pg .pg-filters .chip[aria-current] { color: var(--pg-ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.pg .pg-filters .chip[href]:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .pg-filters.kindrow, .pg .pg-filters.sortrow { margin-top: 0; border-top: 0; padding-top: 0; }
/* first-come: a small posted line under the meta line, in the same muted small size */
.pg .lrow__posted { margin: 2px 0 0; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .lrow--fcfs .lrow__meta .kind-fc { color: var(--pg-ink); font-weight: 500; }
@media (max-width: 640px) { .pg .lrow__posted { font-size: 0.875rem; } }
.pg .pg-filters .chip:has(input:checked) { color: var(--pg-ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.pg .pg-filters .chip:has(input:focus-visible) { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .pg-filters__label { display: block; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: var(--pg-s5); font-size: var(--pg-small); }
.pg .pager > :last-child { justify-self: end; }
.pg .pg-empty { padding-block: var(--pg-s5); border-top: 1px solid var(--pg-ink); border-bottom: 1px solid var(--pg-rule); }
.pg .pg-results { padding-bottom: var(--pg-s6); }

/* ---------------------------------------------------------------- 9. pricing */
.pg .tiers { display: grid; border-top: 1px solid var(--pg-ink); }
.pg .tier { display: block; padding: var(--pg-s4) 0 var(--pg-s5); border-bottom: 1px solid var(--pg-rule); }
.pg .tier__name { margin: 0; font: 500 1.3125rem/1.2 var(--pg-serif); }
.pg .tier .pg-huge { margin-top: var(--pg-s1); }
.pg .tier .pg-line { margin-top: var(--pg-s2); }
.pg .tier__note { margin: var(--pg-s1) 0 0; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .tier__now { margin: var(--pg-s3) 0 0; font-weight: 500; }
.pg .tier form { display: grid; gap: var(--pg-s2); justify-items: start; margin-top: var(--pg-s4); }
.pg .tier__toggle { display: flex; flex-wrap: wrap; gap: 0 22px; border: 0; margin: 0; padding: 0; }
.pg .tier__toggle label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.pg .tier__toggle input[type="radio"] { -webkit-appearance: radio; appearance: auto; accent-color: var(--pg-ink); width: 18px; height: 18px; margin: 0; background: transparent; border: 0; box-shadow: none; }
.pg .tier__terms { margin: var(--pg-s2) 0 0; max-width: 62ch; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .tier__more { margin-top: var(--pg-s2); }
.pg .tier__more summary { display: inline-block; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: var(--pg-small); color: var(--pg-muted); text-decoration: underline; text-underline-offset: 3px; }
@supports selector(:has(*)) {
  .pg .tier--toggle .tier__terms--yearly { display: none; }
  .pg .tier--toggle:has(input[value="yearly"]:checked) .tier__terms--yearly { display: block; }
  .pg .tier--toggle:has(input[value="yearly"]:checked) .tier__terms--monthly { display: none; }
}
.pg .pg-steps { list-style: none; margin: var(--pg-s4) 0 0; padding: 0; border-top: 1px solid var(--pg-ink); }
.pg .pg-steps li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--pg-rule); }
.pg .pg-steps b { font: 400 1.5rem/1.1 var(--pg-serif); }
.pg .faq { margin-top: var(--pg-s4); border-top: 1px solid var(--pg-ink); }
.pg .faq__item { border: 0; border-bottom: 1px solid var(--pg-rule); border-radius: 0; background: none; box-shadow: none; }
.pg .faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer; font: 500 1.3125rem/1.2 var(--pg-serif); color: var(--pg-ink); }
.pg .faq__q::-webkit-details-marker { display: none; }
.pg .faq__q .icon { flex: none; width: 18px; height: 18px; transition: transform 200ms ease-out; }
.pg .faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.pg .faq__a { padding: 0 0 20px; max-width: 62ch; color: var(--pg-ink); }

/* ---------------------------------------------------------------- 10. wizard */
/* /start/1..5 (body.pg-wiz). One phone screen per step, no scrolling, at 390x844 and
   360x780 (tests/web/test_web_wizard_fit.py, verify_night.py wizard): a one-line notice,
   a 48px nav (the wordmark and Log in), Back and "Step n of m", one thin progress line, the
   question 24px under it, 64px tiles two to a row, and Next docked at the bottom with the
   fine print in the same dock. No footer on these pages. */
.pg-wiz .footer { display: none; }
.pg-wiz .gov { padding-block: 0; }
.pg-wiz .gov__inner { height: 28px; min-height: 0; font-size: 0.75rem; white-space: nowrap; overflow: hidden; }
.pg-wiz .gov .icon { display: none; }
.pg .nav--wiz .nav__links > :not(.nav__solo):not(.menu) { display: none; }
.pg .nav--wiz .nav__solo { padding-right: 0; }
.pg .nav--wiz .nav__solo--login { padding-right: 12px; }
.pg-wiz main { display: flex; flex-direction: column; }
.pg .pg-wizard { flex: 1; display: flex; flex-direction: column; gap: 0; max-width: calc(720px + 2 * var(--pg-gut)); padding-block: 0; }
.pg .pg-wizard .wizard__top { display: block; margin-bottom: 24px; }
.pg .pg-wizard .wizard__bar { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .pg-wizard .wizard__step { font-weight: 400; color: var(--pg-muted); }
.pg .pg-wizard .back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--pg-ink); text-decoration: none; }
.pg .pg-wizard .progress { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.pg .pg-wizard .progress__seg { height: 2px; border-radius: 0; background: var(--pg-rule); }
.pg .pg-wizard .progress__seg.is-done, .pg .pg-wizard .progress__seg.is-current { background: var(--pg-ink); }
.pg .pg-wizard form { flex: 1; display: flex; flex-direction: column; gap: 0; }
.pg .pg-wizard fieldset { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.pg .pg-wizard fieldset + fieldset { margin-top: 22px; }
.pg .pg-wizard legend { float: left; width: 100%; margin: 0; padding: 0; }
.pg .pg-wizard legend + * { clear: left; }
.pg .pg-wizard .wizard__q { display: block; }
.pg .pg-wizard__group { display: grid; gap: 22px; margin-top: 14px; }
.pg .pg-wizard__group fieldset + fieldset { margin-top: 0; }
.pg .pg-q { margin: 0; max-width: 20ch; font: italic 400 clamp(1.625rem, 7.2vw, 2.75rem)/1.08 var(--pg-serif); letter-spacing: -0.015em; text-wrap: balance; }
.pg .pg-q2 { margin: 0; font: 400 1.25rem/1.2 var(--pg-serif); text-wrap: balance; }
.pg .pg-wizard .pg-fine { clear: left; margin: 0; padding-top: 8px; font-size: var(--pg-small); line-height: 1.4; }
.pg .pg-wizard .tiles { margin-top: 14px; gap: 8px; }
.pg .pg-wizard .tile {
  min-height: 64px; padding: 8px 12px; gap: 2px; border: 1px solid var(--line-3); border-radius: 4px; background: var(--pg-paper);
  box-shadow: none; color: var(--pg-ink); transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.pg .pg-wizard .tile:hover { border-color: var(--pg-ink); background: var(--pg-paper); }
.pg .pg-wizard .tile:active { transform: none; }
.pg .pg-wizard .tile:has(.tile__input:checked) { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-paper); box-shadow: none; }
.pg .pg-wizard .tile:has(.tile__input:checked) .tile__label,
.pg .pg-wizard .tile:has(.tile__input:checked) .tile__meta,
.pg .pg-wizard .tile:has(.tile__input:checked) .tile__meta b { color: var(--pg-paper); }
.pg .pg-wizard .tile:has(.tile__input:focus-visible) { outline: 2px solid var(--pg-ink); outline-offset: 3px; }
.pg .pg-wizard .tile__check { display: none; }
/* a size or a yes/no: the number and its word on one line, centred */
.pg .pg-wizard .tile--center { flex-direction: row; flex-wrap: wrap; align-items: baseline; align-content: center; justify-content: center; column-gap: 6px; padding: 8px; }
.pg .pg-wizard .tile__big { font: 400 1.75rem/1 var(--pg-serif); letter-spacing: -0.02em; }
.pg .pg-wizard .tile__word { font: 500 1.125rem/1.15 var(--pg-serif); letter-spacing: 0; }
.pg .pg-wizard .tile__label { font-size: var(--pg-small); line-height: 1.2; color: var(--pg-muted); }
.pg .pg-wizard .tile__meta { margin: 0; font-size: 0.75rem; line-height: 1.25; color: var(--pg-muted); }
.pg .pg-wizard .tile__meta b { font-weight: 500; color: var(--pg-ink); }
.pg .pg-wizard .tiles--compact .tile { min-height: 64px; padding: 8px 12px; }
.pg .pg-wizard .tiles--compact .tile__word { font-size: 1.0625rem; }
/* the watched cities (step 3, while any city is watch-only) on a short phone */
@media (max-height: 900px) { .pg .pg-wizard .tiles--compact { gap: 6px; } .pg .pg-wizard .tiles--compact .tile { min-height: 52px; padding: 5px 12px; } }
/* step 2: every feed city, A to Z, three to a row on a phone, each one 48px row (the name, and
   the number open there now on the right). Twenty-two cities are eight rows: with the Next
   bar they fit a 360x780 phone, and no tile is shorter than the 44px tap target. The layout
   holds the count, not the tile height: a 25th city adds a ninth row (432px of tiles). */
.pg .pg-wizard .tiles--cities { --tile-cols: 3; gap: 6px; margin-top: 12px; }
.pg .pg-wizard .tiles--cities .tile { min-height: 48px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 8px; }
.pg .pg-wizard .tiles--cities .tile__word { min-width: 0; font-size: 0.9375rem; line-height: 1.1; hyphens: manual; }
.pg .pg-wizard .tiles--cities .tile__meta { flex: none; align-self: center; font-size: 0.8125rem; }
@media (max-width: 374px) { .pg .pg-wizard .tiles--cities .tile { padding-inline: 6px; } .pg .pg-wizard .tiles--cities .tile__word { font-size: 0.875rem; } }  /* Albuquerque on one line at 360 */
@media (max-height: 800px) { .pg .pg-wizard .tiles--cities { gap: 5px; } .pg .pg-wizard .tiles--cities .tile { min-height: 46px; } }  /* 360x780: the question wraps to two lines */
.pg .pg-wizard .tile--tall { min-height: 64px; }
/* household size: five in a row, the number over its word */
.pg .pg-wizard .tiles--5 .tile--center { flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 2px; }
.pg .pg-wizard .tiles--5 .tile__big { font-size: 1.5rem; }
.pg .pg-wizard .tiles--5 .tile__label { font-size: 0.75rem; }
/* income: the band, then "a year" */
.pg .pg-wizard .tile--radio:not(.tile--center) .tile__word { font: 400 1rem/1.15 var(--pg-sans); }
/* the priority checklist (wizard/step5.html): two columns of short rows (Veteran | Full-time
   student, Displaced | Voucher), full rows for the ones with a select, the accessible-home
   needs as small chips under Disability, and two rows of small fields; all one phone screen */
.pg .pg-wizard .tiles--list { --tile-cols: 2; gap: 6px; margin-top: 10px; }
.pg .pg-wizard .tiles--list .tile { min-height: 44px; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 4px 12px; }
.pg .pg-wizard .tiles--list .tile--wide, .pg .pg-wizard .wizard__needs { grid-column: 1 / -1; }
.pg .pg-wizard .wizard__needs { display: grid; gap: 4px; padding: 0 2px; }
.pg .pg-wizard .wizard__needs-label { font-size: 0.75rem; line-height: 1.2; color: var(--pg-muted); }
.pg .pg-wizard .wizard__needs .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; overflow: visible; }
.pg .pg-wizard .wizard__needs .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg .pg-wizard .wizard__needs .chip span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font: 400 0.875rem/1.2 var(--pg-sans); border: 1px solid var(--line-3); border-radius: 4px; background: var(--pg-paper); color: var(--pg-ink); box-shadow: none; }
.pg .pg-wizard .wizard__needs .chip input:checked + span { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-paper); }
.pg .pg-wizard .wizard__needs .chip:has(input:focus-visible) span { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .pg-wizard .tiles--list .tile:has(.tile__pick) { padding-block: 0; }  /* the 44px select fills the 44px row: step 5 keeps its height */
/* each needs chip keeps its 32px look; the ::after makes it a 44px target (6px above and below,
   inside the gaps: never over the next row) */
.pg .pg-wizard .wizard__needs .chip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.pg .pg-wizard .wizard__small--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg .pg-wizard .tiles--list .tile__word { flex: 1; min-width: 0; font: 400 1rem/1.2 var(--pg-sans); }
.pg .pg-wizard .tiles--list .tile__pick { flex: 0 1 46%; min-width: 0; min-height: 44px; padding: 2px 6px; font: 400 0.875rem/1.2 var(--pg-sans); color: var(--pg-ink); background: var(--pg-paper); border: 1px solid var(--line-3); border-radius: 4px; }
.pg .pg-wizard .wizard__small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }  /* 6px: pays for the 44px fields below, so step 5 still fits 360x780 */
.pg .pg-wizard .wizard__small label { display: grid; gap: 3px; font-size: 0.75rem; line-height: 1.2; color: var(--pg-muted); }
.pg .pg-wizard .wizard__small input, .pg .pg-wizard .wizard__small select { width: 100%; min-height: 44px; padding: 4px 8px; font: 400 1rem/1.2 var(--pg-sans); color: var(--pg-ink); background: var(--pg-paper); border: 1px solid var(--line-3); border-radius: 4px; }
.pg .pg-wizard .wizard__small input[aria-invalid="true"] { border-color: var(--pg-alert); }
.pg .pg-wizard .why { display: block; margin-top: 8px; padding: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--pg-muted); background: none; border: 0; }
.pg .pg-wizard .why .icon { display: none; }
.pg .pg-wizard .field__error { margin-top: 8px; font-size: var(--pg-small); color: var(--pg-alert); }
/* the dock: Next and the fine print, at the bottom of the screen */
.pg .pg-wizard form > :has(+ .actionbar) { margin-bottom: 16px; }
.pg .pg-wizard .actionbar { display: grid; gap: 6px; margin-top: auto; padding-top: 16px; background: none; border: 0; box-shadow: none; }
.pg .pg-wizard .actionbar .btn--primary { width: 100%; min-height: 52px; }
.pg .pg-wizard .actionbar__note { margin: 0; font-size: 0.75rem; line-height: 1.3; color: var(--pg-muted); text-align: center; }
@media (max-width: 899px) {
  .pg .pg-wizard .actionbar--sticky {
    position: sticky; bottom: 0; z-index: 20; margin: auto calc(-1 * var(--pg-gut)) 0; padding: 10px var(--pg-gut) calc(8px + env(safe-area-inset-bottom));
    background: var(--pg-paper); border-top: 1px solid var(--pg-rule); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

/* wizard step 6: the exact yearly income and savings (Oct 25 2026), one typed figure each */
.pg .pg-wizard .wizard__money { display: grid; gap: 0; }
.pg .pg-wizard .wizard__dollar { position: relative; margin-top: 8px; }
.pg .pg-wizard .wizard__dollar span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 400 1.125rem/1 var(--pg-sans); color: var(--pg-muted); pointer-events: none; }
.pg .pg-wizard .wizard__dollar input { width: 100%; min-height: 48px; padding: 4px 12px 4px 30px; font: 400 1.125rem/1.2 var(--pg-sans); font-variant-numeric: tabular-nums; color: var(--pg-ink); background: var(--pg-paper); border: 1px solid var(--line-3); border-radius: 4px; }
.pg .pg-wizard .wizard__dollar input:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .pg-wizard .wizard__dollar input[aria-invalid="true"] { border-color: var(--pg-alert); }

/* ---------------------------------------------------------------- 11. account */
/* /me and /me/answers (me.html, me_answers.html): one column of sections under hairlines,
   760px at most, so the page reads as settings and not as a grid of boxes (owner, Oct 23
   2026). The profile card (section 17) sits first with Edit answers beside it. */
.pg .acct { display: block; }
.pg:has(.acct) .pg-head, .pg .acct { max-width: calc(760px + 2 * var(--pg-gut)); }
.pg .acct > section, .pg .acct > div { max-width: 760px; padding-block: var(--pg-s5); border-top: 1px solid var(--pg-rule); }
.pg .acct > :first-child { border-top-color: var(--pg-ink); }
.pg .acct-card { display: grid; gap: var(--pg-s3); padding-inline: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.pg .acct-card__head { display: grid; gap: 4px; }
.pg .acct h2, .pg .acct .acct-h, .pg .acct .t-h3 { margin: 0; font: 400 clamp(1.75rem, 4vw, 2.5rem)/1.1 var(--pg-serif); letter-spacing: -0.015em; }
.pg .acct .acct-strong, .pg .acct .t-strong { font-weight: 600; color: var(--pg-ink); }
.pg .acct .pg-fine { margin-top: 0; }
.pg .acct-profile__body { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; }
.pg .acct-profile__body .ed-card { flex: 1 1 280px; }
.pg .acct-profile__acts { align-items: flex-start; }
/* the small print on the account pages stays at 14px on a phone (section 15 takes
   --pg-small and --fs-small to 12.5px elsewhere) */
.pg .acct .pg-fine, .pg .acct .t-small, .pg .acct .t-micro, .pg .acct .field__hint, .pg .acct .field__error,
.pg .acct .ap-core__terms, .pg .acct .ap-card__note, .pg .acct .billing-card__note, .pg .acct .billing-card__plan,
.pg .acct .filters__label, .pg .acct .ib-card ol, .pg .acct .badge { font-size: 0.875rem; }
.pg .acct .card, .pg .acct .panel, .pg .acct .billing-card, .pg .acct .ap-card, .pg .acct .ib-card, .pg .acct .ap-core {
  padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.pg .acct .billing-card__title { font: 400 var(--pg-line)/1.2 var(--pg-serif); }
.pg .acct .billing-card__plan { padding: 0; background: none; border: 0; border-radius: 0; }
.pg .switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 12px; border-bottom: 1px solid var(--pg-rule); }
.pg .switch-row__text { display: grid; gap: 2px; }
.pg .switch-row .pg-fine { margin: 0; }
.pg main .switch { background: var(--surface-4); border-color: var(--line-3); }
.pg main .switch::before { background: var(--pg-paper); }
.pg main .switch:checked { background: var(--pg-ink); border-color: var(--pg-ink); }
.pg main .switch:checked::before { background: var(--pg-paper); }
.pg main .check input { border-radius: 2px; background: var(--pg-paper); border-color: var(--line-3); }
.pg main .check input:checked { background: var(--pg-ink); border-color: var(--pg-ink); }
.pg main .check input::after { border-color: var(--pg-paper); }
.pg .acct .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg .acct .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg .acct .chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 4px; background: var(--pg-paper); color: var(--pg-ink); box-shadow: none; }
.pg .acct .chip input:checked + span { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-paper); }
.pg .acct .chip:has(input:focus-visible) span { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .acct .filters__group { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.pg .acct .filters__label { font-size: var(--pg-small); color: var(--pg-muted); }
.pg .acct .input, .pg .acct input[type="text"], .pg .acct input[type="tel"] { border-radius: 4px; background: var(--pg-paper); border-color: var(--line-input); color: var(--pg-ink); box-shadow: none; }
.pg .acct .input:focus-visible { border-color: var(--pg-ink); box-shadow: none; outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg .acct .reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pg .acct .reasons li { display: block; padding: 0; background: none; border: 0; }
.pg .acct .reasons .icon { display: none; }
.pg .acct .badge { padding: 0; border: 0; border-radius: 0; background: none; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .acct .danger-zone h2 { color: var(--pg-alert); }
.pg .acct .confirm > summary { display: inline-flex; list-style: none; }
.pg .acct .confirm > summary::-webkit-details-marker { display: none; }
.pg .acct-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.pg .acct-count .midnum { font: 400 var(--pg-huge)/0.9 var(--pg-serif); letter-spacing: -0.03em; }
.pg .acct-count .pg-line { margin: 0; }
.pg .acct .lrows { margin-top: var(--pg-s3); }
.pg .toast { border-radius: 4px; background: var(--pg-ink); color: var(--pg-paper); border: 0; box-shadow: none; }
.pg .toast .icon { display: none; }

/* /me/answers: About you (first and last name side by side from 560px, the date of birth as
   three selects in one row), and the hairline sub-heads between the groups of the one form */
.pg .acct .acct-pair { display: grid; gap: var(--pg-s3); }
@media (min-width: 560px) { .pg .acct .acct-pair { grid-template-columns: 1fr 1fr; } }
.pg .acct legend.field__label { padding: 0; margin-bottom: 2px; }
.pg .acct .acct-dob { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; }
.pg .acct .acct-dob select.input { min-width: 0; padding-left: 10px; padding-right: 28px; background-position: right 8px center; border-radius: 4px; background-color: var(--pg-paper); border-color: var(--line-input); color: var(--pg-ink); box-shadow: none; }
.pg .acct .acct-sub { margin: var(--pg-s3) 0 0; padding-top: var(--pg-s4); border-top: 1px solid var(--pg-rule); font: 400 1.375rem/1.2 var(--pg-serif); }
/* /me: "Add your name" on the card, and the prompt for a profile saved before the exact figures */
.pg .ed-card__add { color: var(--pg-ink); text-decoration: underline; text-underline-offset: 3px; }
.pg .acct-prompt { margin: 0; max-width: 32ch; font-size: 0.9375rem; line-height: 1.4; }
.pg .acct-prompt .link { color: var(--pg-alert); }

/* ---------------------------------------------------------------- 12. shared partials, quietened */
/* the units table (_units_table.html): hairlines, no boxes */
.pg .ut { gap: var(--pg-s4); }
.pg .ut__title { font: 400 var(--pg-head)/1.05 var(--pg-serif); letter-spacing: -0.02em; }
.pg .ut .ut__tier { border: 0; border-top: 1px solid var(--pg-ink); border-radius: 0; background: none; }
.pg .ut .ut__caption { padding: 14px 0 10px; background: none; border-bottom: 1px solid var(--pg-rule); font: 500 var(--pg-line)/1.2 var(--pg-serif); }
.pg .ut .ut__table th, .pg .ut .ut__table td { padding-left: 0; background: none; }
.pg .ut .ut__table thead th { color: var(--pg-muted); border-bottom-color: var(--pg-rule); }
.pg .ut .ut__unit + .ut__unit { border-top-color: var(--pg-rule); }
.pg .ut .ut__rent { font: 400 1.375rem/1.1 var(--pg-serif); }
.pg .ut .ut__table .ut__cell::before { font: 400 var(--pg-small)/1.4 var(--pg-sans); color: var(--pg-muted); align-self: center; }
.pg .ut .ut__notes, .pg .ut .ut__legend { font-size: var(--pg-small); color: var(--pg-muted); }
@media (max-width: 639px) {
  .pg .ut .ut__unit { padding: 16px 0; }
  .pg .ut .ut__table .ut__line:first-child .ut__hh, .pg .ut .ut__table .ut__line:first-child .ut__inc { border-top: 1px solid var(--pg-rule); }
}

/* the paywall (_paywall.html): type and one action, no glow */
.pg .paywall { gap: var(--pg-s2); padding: var(--pg-s4) 0 0; background: none; border: 0; border-top: 1px solid var(--pg-ink); border-radius: 0; color: var(--pg-ink); }
.pg .paywall__lock { display: none; }
.pg .paywall__title { max-width: 18ch; font: 400 var(--pg-head)/1.05 var(--pg-serif); letter-spacing: -0.02em; }
.pg .paywall__lead { max-width: 52ch; color: var(--pg-ink); }
.pg .paywall__list { gap: 0; border-top: 1px solid var(--pg-rule); }
.pg .paywall__list li { display: block; padding-block: 10px; border-bottom: 1px solid var(--pg-rule); }
.pg .paywall__list svg { display: none; }
.pg .paywall__actions { gap: 16px 24px; margin-top: var(--pg-s2); }
.pg .paywall__terms { color: var(--pg-muted); }
.pg .locked { display: grid; gap: var(--pg-s5); }
.pg .locked__teaser { max-height: 260px; opacity: 0.4; }
.pg .locked__teaser::after { display: none; }
.pg .locked__teaser + .locked__card { margin-top: 0; }
.pg .locked__card { justify-items: start; text-align: left; padding: 0; background: none; border: 0; box-shadow: none; }
/* a locked listing (listing.html, routes/listings.py split_groups): the free part in full
   ink, then the rest dimmed under a hairline (its shape only, no figures, not selectable),
   then one calm line and the trial button. No gradient, no card. */
.pg .pw { margin: 0; }
.pg .pw-dim { opacity: 0.38; user-select: none; -webkit-user-select: none; pointer-events: none; }
.pg .pw-dim > .units-slot { padding-top: var(--pg-s4); }
.pg .pw-dim > .pw-folds:first-child { margin-top: 0; border-top: 0; }
.pg .pw-dim .ut__tier:first-child { border-top-color: var(--pg-rule); }
.pg .pw-folds { list-style: none; margin: var(--pg-s4) 0 0; padding: 0; border-top: 1px solid var(--pg-rule); }
.pg .pw-folds li { padding: 18px 0; border-bottom: 1px solid var(--pg-rule); font: 500 1.3125rem/1.2 var(--pg-serif); }
.pg .pw-line { display: grid; justify-items: start; gap: var(--pg-s2); margin-top: var(--pg-s4); padding-top: var(--pg-s3); border-top: 1px solid var(--pg-ink); }
.pg .pw-line__text { margin: 0; max-width: 34ch; font: 400 var(--pg-line)/1.35 var(--pg-serif); text-wrap: pretty; }
.pg .pw-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: var(--pg-s1); }
.pg .pw-line__terms { margin: 0; max-width: 62ch; font-size: var(--pg-small); color: var(--pg-muted); }
.pg .fold--summary { padding-bottom: 16px; }
.pg .fold--summary .fold__head { cursor: default; padding-bottom: 4px; min-height: 0; padding-top: 20px; }
.pg .fold__lead { margin: 0; max-width: 62ch; color: var(--pg-ink); }

/* the folds on a listing: hairline rows */
.pg .folds { display: block; border-top: 1px solid var(--pg-ink); border-radius: 0; background: none; }
.pg .fold { border: 0; border-bottom: 1px solid var(--pg-rule); border-radius: 0; background: none; box-shadow: none; }
.pg .fold__head { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer; }
.pg .fold__head::-webkit-details-marker { display: none; }
.pg .fold__title { flex: 1; font: 500 1.3125rem/1.2 var(--pg-serif); color: var(--pg-ink); }
.pg .fold__meta { font-size: var(--pg-small); color: var(--pg-muted); }
.pg .fold__icon { width: 18px; height: 18px; transition: transform 200ms ease-out; }
.pg .fold[open] .fold__icon { transform: rotate(90deg); }
.pg .fold__body { padding: 0 0 24px; color: var(--pg-ink); }
.pg .fold--cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 16px 0; }
.pg .fold--cta .fold__line { grid-column: 1 / -1; margin: 0; }
.pg .fold .reasons { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--pg-rule); }
.pg .fold .reasons li { display: block; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--pg-rule); border-radius: 0; color: var(--pg-ink); }
.pg .fold .reasons .icon { display: none; }
.pg .fold .reasons .reason--no { color: var(--pg-alert); }
.pg .fold .bar__track { border-radius: 0; background: var(--pg-wash); }
.pg .fold .bar__fill, .pg .fold .bar__range { border-radius: 0; background: var(--pg-ink); box-shadow: none; }
.pg .fold .bar__band { border-radius: 0; background: rgba(255, 178, 36, 0.55); box-shadow: none; }
.pg .fold .key__swatch { border-radius: 0; background: var(--pg-ink); }
.pg .fold .key__swatch--band { background: var(--pg-amber); }
.pg .pg-plainlist { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--pg-rule); }
.pg .pg-plainlist li { padding: 10px 0; border-bottom: 1px solid var(--pg-rule); }

/* /matches: the count, one line of kinds, small print, rows; the lock line (no card) */
.pg .mx-head { padding-block: 40px var(--pg-s4); }
.pg .mx-head ~ .pg-results { padding-bottom: var(--pg-s5); }
.pg .mx-count { margin: 0; font: 400 var(--pg-line)/1.2 var(--pg-serif); }
.pg .mx-count > span { display: block; }
.pg .mx-count .pg-huge { display: block; margin: 4px 0 2px; }
.pg .mx-kinds { margin: var(--pg-s3) 0 0; padding-top: var(--pg-s2); border-top: 1px solid var(--pg-ink); font: 400 var(--pg-line)/1.3 var(--pg-serif); }
.pg .mx-head .mx-kinds + .pg-fine, .pg .mx-head .pg-fine + .pg-fine { margin-top: 6px; }
.pg .mx-head .pg-actions { margin-top: var(--pg-s3); }
.pg .mx-h2 { margin: 0; font: 400 clamp(1.75rem, 4vw, 2.5rem)/1.1 var(--pg-serif); letter-spacing: -0.015em; }
.pg .mx-n { color: var(--pg-muted); }
.pg .pg-results .lrows { margin-top: var(--pg-s3); }
.pg .pg-results + .pg-results { padding-top: var(--pg-s5); }
.pg .mx-lock { margin-top: var(--pg-s4); }
.pg .mx-lock .pg-line { margin: 0; }
.pg .mx-lock .pg-actions { margin-top: var(--pg-s3); }

/* ---------------------------------------------------------------- 13. wide screens */
@media (max-width: 899px) { .pg .pg-section { padding-block: 72px; } }
@media (min-width: 900px) {
  /* the brand's 1120px content frame and 40px gutters (identity.md section 5). The Oct 30
     full-width override (--pg-max: 100% and max-width: none on every wrap, the chrome and the
     measures) made every page a left-aligned sprawl at 100% on a wide monitor (owner, Nov 4
     2026); section 21 sets the desktop type and spacing. */
  body.pg { --pg-gut: 40px; }
  .pg .acct > section,
  .pg .acct > div {
    width: 100%;
    padding-block: 28px;
  }
  .pg .pg-head { padding-block: 36px 28px; }
  .pg .pg-section { padding-block: 44px; }
  .pg .pg-section.mt-10 { margin-top: 24px; }
  .pg .pg-prose h2 { margin-top: 36px; padding-top: 24px; }
  .pg .pg-prose h3 { margin-top: 28px; }
  .pg .pg-split { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: end; }
  .pg .pg-split .pg-line { margin-top: 0; padding-bottom: 12px; }
  .pg .pg-plate img { aspect-ratio: 3 / 2; max-height: 460px; }
  .pg .pg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .pg .lrow { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 24px; }
  .pg .lrow__media { width: 112px; height: 80px; }
  .pg .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 0; }
  .pg .tier { border-top: 1px solid var(--pg-ink); border-bottom: 0; }
  .pg .pg-wizard .tiles { gap: 12px; }
  .pg .pg-wizard .tiles:not(.tiles--5):not(.tiles--list) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .pg .pg-wizard .tiles.tiles--cities:not(.tiles--5):not(.tiles--list) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }  /* step 2: six rows */
  .pg .pg-wizard .tiles--list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
  .pg .pg-wizard__group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
  .pg .pg-wizard { padding-top: var(--pg-s4); }
  .pg .pg-wizard .actionbar__note { text-align: left; }
  .pg .pg-wizard .actionbar, .pg .pg-wizard .actionbar--sticky { position: static; margin-top: var(--pg-s4); padding-bottom: 0; border-top: 0; }
  .pg .pg-wizard .actionbar .btn--primary { width: auto; min-width: 280px; justify-self: start; }
  .pg .acct-profile__body .ed-card { max-width: none; flex: 1 1 640px; }
  .pg .acct-profile__body .ed-card__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; }
  .pg .acct .tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
  .pg .pg-prose dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .pg .pg-auth { padding-block: 40px 56px; }
  .pg .pg-auth__form { max-width: 720px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg .faq__q .icon, .pg .fold__icon, .pg .pg-wizard .tile { transition: none; }
}
.pg .pg-lhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pg .pg-lhead a { white-space: nowrap; }
.pg .lrow__price small { max-width: 6.5em; }
.pg .pg-section .lrows, .pg .pg-section .pg-rows-list, .pg .pg-results .lrows, .pg .pg-section .faq { margin-top: var(--pg-s4); }
.pg .pg-risk { padding-block: 72px; }

/* ---------------------------------------------------------------- 14. auth, errors, and the older pages on light */
/* /login, "check your email", the sign-in confirm, the billing result, 404 and 500: a serif
   heading, one line, a hairline email field, the amber button, small grey fine print with
   underlined links. No card, no icon tile. */
.pg .pg-auth { max-width: calc(560px + 2 * var(--pg-gut)); margin-inline: 0; padding-block: 56px var(--pg-s6); }
.pg .pg-auth > * + * { margin-top: var(--pg-s3); }
.pg .pg-auth .pg-h { max-width: 16ch; }
.pg .pg-auth .pg-line { margin-top: var(--pg-s2); }
.pg .pg-auth .pg-line strong { font-weight: 500; }
.pg .pg-auth .pg-fine { margin-top: var(--pg-s4); }
.pg .pg-auth .pg-fine + .pg-fine { margin-top: var(--pg-s1); }
.pg .pg-auth .pg-fine a { color: var(--pg-muted); text-decoration: underline; text-decoration-color: currentColor; }
.pg .pg-auth .pg-fine a:hover { color: var(--pg-ink); }
.pg .pg-auth__form { display: grid; gap: var(--pg-s2); margin-top: var(--pg-s4); }
.pg .pg-auth__label { font-size: var(--pg-small); color: var(--pg-muted); }
.pg .pg-auth__check { font-size: var(--pg-small); line-height: 1.45; color: var(--pg-ink); padding-block: 6px; }
.pg .pg-input {
  width: 100%; min-height: 48px; margin: 0 0 var(--pg-s1); padding: 8px 0; border: 0; border-bottom: 1px solid var(--pg-ink); border-radius: 0;
  background: transparent; color: var(--pg-ink); font: 400 1.25rem/1.3 var(--pg-sans); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.pg .pg-input::placeholder { color: #8C877E; }
.pg .pg-input:focus-visible { outline: none; border-bottom-width: 2px; padding-bottom: 7px; }
.pg .pg-input[aria-invalid="true"] { border-bottom-color: var(--pg-alert); }
.pg .pg-auth .pg-actions { margin-top: var(--pg-s4); }
.pg .pg-auth .pg-actions form { display: contents; }
.pg .oops { display: block; gap: 0; }
.pg .oops .oops__code { margin: 0; color: var(--pg-rule); font-weight: 400; }
@media (min-width: 900px) { .pg .pg-auth { margin-inline: auto; padding-top: var(--pg-s5); } }

/* pages built on app.css (matches, city, admin, the Autopilot ledger, the inbox): app.css's
   tokens already follow body.pg; these are the few colours it hard-codes for black paper */
.pg .reward__num .bignum, .pg .stat--accent .stat__value, .pg .locked__more .midnum,
.pg .bond__num, .pg .vs__col--with .vs__head, .pg .faq__q:hover { color: var(--pg-ink); }
.pg ::selection { color: var(--pg-paper); }
.pg .chip input:checked + span { color: var(--pg-paper); }
.pg .card, .pg .acct-card, .pg .table-wrap, .pg .kpis { border-radius: 4px; box-shadow: none; }
.pg main .btn--primary { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14); }

/* ---------------------------------------------------------------- 15. phone type scale (Oct 2026)
   At 480px and under the whole light scale steps down (owner: "too big, it hurts my eyes"):
   body 15px at 1.45, small 12.5px, section heads 24px, page titles 28px, the big serif numbers
   about 32px, display serif at 1.15. Buttons 15px on a 44px target. Listing rows keep their
   sizes. The home page's own sizes are in landing.css; desktop is untouched. */
@media (max-width: 480px) {
  body.pg {
    --pg-huge: 2rem;                /* 32: a price, a count */
    --pg-display: 2rem;             /* 32: the hero headline */
    --pg-head: 1.5rem;              /* 24: section heads */
    --pg-line: 1.0625rem;           /* 17: the dek */
    --pg-body: 0.9375rem;           /* 15 */
    --pg-small: 0.78125rem;         /* 12.5 */
    /* the app.css pages (city, matches, the account's older parts) on the same scale */
    --fs-display: 2rem; --fs-num: 3rem; --fs-num-md: 1.75rem; --fs-h1: 1.75rem; --fs-h2: 1.375rem;
    --fs-h3: 1rem; --fs-lead: 0.9375rem; --fs-body: 0.9375rem; --fs-small: 0.78125rem; --fs-micro: 0.78125rem;
  }
  .pg main, .pg .pg-prose { line-height: 1.45; }
  .pg .pg-fine, .pg .pg-line { line-height: 1.45; }
  /* display serif at 1.15 */
  .pg .pg-h, .pg .pg-title, .pg .pg-huge, .pg .pg-prose h2, .pg .ut__title, .pg .paywall__title,
  .pg .acct-count .midnum, .pg .pg-q, .pg .t-h1, .pg .t-h2 { line-height: 1.15; }
  /* a page's title: 28px at most; the listing's name 26px and its rent 30px */
  .pg h1.pg-h, .pg h1.pg-title { font-size: 1.75rem; }
  .pg .pg-listing-head h1.pg-h { font-size: 1.625rem; }
  .pg .pg-listing-head .pg-huge { font-size: 1.875rem; }
  .pg .pg-huge small { font-size: 0.45em; }
  .pg .pg-split .pg-huge { font-size: 1.75rem; }   /* 28: the "116 open" count on /listings */
  .pg .legal h2, .pg .acct h2, .pg .acct .acct-h, .pg .acct .t-h3 { font-size: 1.5rem; }
  /* serif row-level text a step down; the listing rows themselves keep their sizes */
  .pg .lrow__meta { font-size: 0.875rem; }
  .pg .faq__q, .pg .fold__title, .pg .tier__name { font-size: 1.1875rem; }
  .pg .pg-facts dd, .pg .pg-steps b { font-size: 1.25rem; }
  .pg .pg-prose td:last-child, .pg .ut .ut__rent { font-size: 1.1875rem; }
  .pg .pg-prose dt { font-size: 1.125rem; }
  .pg .pg-input { font-size: 1.0625rem; }   /* 17: an iPhone zooms a field under 16 */
  /* the actions: 15px text on a 44px target */
  .pg .pg-cta, .pg main .btn--primary, .pg .pg-wizard .actionbar .btn--primary, .pg .dock .btn,
  .pg main .btn--secondary, .pg main .btn--ghost, .pg main .btn--danger { --h: 44px; min-height: 44px; padding-inline: 22px; font-size: var(--pg-body); }
  /* the wizard's question */
  .pg .pg-q { font-size: 1.5rem; }
  /* the matches page: the count 48px, its words 18px */
  .pg .reward__num .bignum { font-size: 3rem; line-height: 1; }
  .pg .reward__pre, .pg .reward__post { font-size: 1.125rem; }
}


/* ---------------------------------------------------------------- 15. city */
/* /boston, /sf and the other city pages: the title at a reading size, the count in words,
   one amber action, the official sites as one grey line of links, then the listing rows. */
.pg .city-head { padding-block: 40px var(--pg-s4); }
.pg .city-h { margin: 0; max-width: 22ch; font: 400 clamp(1.75rem, 4vw, 2.5rem)/1.1 var(--pg-serif); letter-spacing: -0.015em; text-wrap: balance; }
.pg .city-count { margin: 10px 0 0; font-size: 0.9375rem; color: var(--pg-muted); }
.pg .city-head .city-cta { min-height: 44px; margin-top: var(--pg-s3); padding: 0 20px; font-size: 0.9375rem; }
.pg .city-sources { margin: var(--pg-s2) 0 0; max-width: 70ch; font-size: 0.8125rem; line-height: 1.6; color: var(--pg-muted); }
.pg main .city-sources a { color: var(--pg-muted); text-decoration: underline; text-decoration-color: currentColor; }
.pg main .city-sources a:hover { color: var(--pg-ink); }
.pg .city-results { padding-bottom: var(--pg-s5); }
.pg .city-how { padding-bottom: var(--pg-s6); }
.pg .city-how .pg-plainlist { margin-bottom: var(--pg-s2); }
@media (min-width: 900px) { .pg .city-head { padding-block: 72px var(--pg-s5); } }

/* ---------------------------------------------------------------- 17. the profile card (_profile_card.html)
   The home page's example (step 1 of "How it works") and the reader's own card on /me: a
   hairline box, initials in an ink disc, the name and place, then twelve answers in two
   columns. One drawing for both pages, so they cannot drift. (Before section 16, whose
   rules are all scoped away from the home page; this one draws on it.) */
.pg .ed-card { max-width: 320px; padding: 12px 14px; border: 1px solid var(--pg-rule); border-radius: 10px; }
.pg .ed-card__hd { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--pg-rule); }
.pg .ed-card__av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pg-ink); color: var(--pg-paper); display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
.pg .ed-card__name { display: block; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.pg .ed-card__where { display: block; font-size: 0.875rem; color: var(--text-3); }
.pg .ed-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; font-size: 0.875rem; }
.pg .ed-card__grid dt { color: var(--text-3); }
.pg .ed-card__grid dd { margin: 1px 0 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- 16. inner-page polish
   (impeccable review, docs/design/impeccable-review-2026-10-22.md). Every rule here is
   scoped to body.pg:not(.landing): the home page (landing.html, landing.css) is untouched. */

/* the chrome lines up with the page: the notice, the nav and the footer use the same
   1120px frame and gutter as .pg-wrap, so the wordmark sits over the headline's left edge */
.pg:not(.landing) .gov > .container,
.pg:not(.landing) .nav > .container,
.pg:not(.landing) .footer > .container {
  max-width: calc(var(--pg-max) + 2 * var(--pg-gut)); padding-inline: var(--pg-gut);
}
/* the listing's source note sits under the folds' own hairline: its 62ch rule stopped short */
.pg:not(.landing) .pg-note { border-top: 0; margin-top: var(--pg-s4); padding-top: 0; }
/* desktop: "Log in" (or "Your account") once, not twice. The solo link is the phone's. */
@media (min-width: 1024px) {
  .pg:not(.landing) .nav:not(.nav--wiz) .nav__solo { display: none; }
}
/* the breadcrumb stays on one line on a phone: the listing's own name is cut with an
   ellipsis instead of wrapping to a second line that starts with a stray "/" */
.pg:not(.landing) .pg-crumbs .crumbs { flex-wrap: nowrap; }
.pg:not(.landing) .pg-crumbs .crumbs li { flex: none; }
.pg:not(.landing) .pg-crumbs .crumbs li:last-child { flex: 1 1 auto; min-width: 0; }
.pg:not(.landing) .pg-crumbs .crumbs li:last-child [aria-current] { display: block; min-width: 0; max-width: 100%; }

/* rhythm: an element after another in a page head or the facts section gets its gap.
   (.pg-banner and .pg-facts reset their margin after the head's sibling rule, so the
   pricing lead and the listing's "Veterans' preference" sat on the rule under them.) */
.pg:not(.landing) .pg-head > .pg-banner { margin-top: var(--pg-s3); }
.pg:not(.landing) .pg-head > .pg-banner + .pg-banner { margin-top: 0; border-top: 0; }
.pg:not(.landing) .pg-section > .pg-facts { margin-top: var(--pg-s4); }
.pg:not(.landing) .pg-section > .pg-facts:first-child { margin-top: 0; }
/* the first section has no top padding at every width (the phone padding-block rule in
   section 13 came later and put 72px back) */
.pg:not(.landing) .pg-section--first { padding-top: 0; }
/* phones: 56px between sections, not 72 + 72 around every hairline */
@media (max-width: 480px) {
  .pg:not(.landing) .pg-section { padding-block: 56px; }
  .pg:not(.landing) .pg-section--first { padding-top: 0; }
  .pg:not(.landing) .pg-head { padding-block: 48px 40px; }
  .pg:not(.landing) .pg-head.pg-listing-head { padding-top: var(--pg-s3); }
  .pg:not(.landing) .pg-prose h2 { margin-top: 56px; padding-top: var(--pg-s3); }
  .pg:not(.landing) .pg-prose > h2:first-child { margin-top: 0; }
}

/* placeholders and the faintest grey reach 4.5:1 on white (#8C877E was 3.6:1) */
.pg:not(.landing) .pg-input::placeholder,
.pg:not(.landing) main input::placeholder { color: #6E695F; opacity: 1; }

/* the "your range" band in the listing's bars: the oxblood accent, not the old amber */
.pg:not(.landing) .fold .bar__band { background: rgba(22, 20, 15, 0.28); }

/* empty states line up with the rows they stand in for, and the alert link is a real target */
.pg:not(.landing) .pg-empty { padding-inline: 0; gap: var(--pg-s1); }
.pg:not(.landing) .pg-empty .pg-line { margin: 0; }
.pg:not(.landing) .pg-empty .pg-fine { margin: 0; }
.pg:not(.landing) .pg-empty .btn { margin-top: var(--pg-s2); }

/* /listings: a city with nothing open is not offered as a filter (14 dead options pushed the
   first listing below the first screen on a phone). The markup stays; a chosen one shows. */
.pg:not(.landing) .pg-filters .chip--none { display: none; }
/* the chosen filter: one unbroken underline under the word and its count */
.pg:not(.landing) .pg-filters .chip:has(input:checked) { text-decoration: none; }
.pg:not(.landing) .pg-filters .chip input:checked + span { padding-bottom: 3px; border-bottom: 1px solid var(--pg-ink); }
/* a city with nothing open: the empty line hands over to the folds' ink rule, no second rule */
.pg:not(.landing) .city-results .pg-empty { border-bottom: 0; }

/* one solid oxblood button per view: on the inner pages the page owns the main action, so
   the nav's "Find my matches" is drawn in ink (the home keeps its own nav) */
.pg:not(.landing):has(main .pg-cta, main .btn--primary:not(.acct .btn--primary)) .nav:not(.nav--home) .nav__cta.btn--primary {
  background: transparent; color: var(--pg-ink); box-shadow: inset 0 0 0 1px var(--pg-ink);
}
.pg:not(.landing):has(main .pg-cta, main .btn--primary:not(.acct .btn--primary)) .nav:not(.nav--home) .nav__cta.btn--primary:hover { background: var(--pg-wash); }
/* /me: the sections' Save buttons are secondary; nothing on the account page is the one action */
.pg:not(.landing) .acct .btn--primary {
  background: transparent; color: var(--pg-ink); box-shadow: none; border: 1px solid var(--pg-ink); min-height: 48px;
}
.pg:not(.landing) .acct .btn--primary:hover { background: var(--pg-wash); }

/* the breadcrumb's current item at full muted strength (the .75 opacity made it 3.8:1) */
.pg:not(.landing) .pg-crumbs [aria-current] { opacity: 1; }
/* the login email field: focus shows an ink ring, not only a 1px-thicker underline */
.pg:not(.landing) .pg-input:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 4px; }
/* /matches: the section heads at the phone heading size (28px read larger than the h1) */
@media (max-width: 480px) { .pg:not(.landing) .mx-h2 { font-size: 1.5rem; } }
/* long reads: about 72 characters a line at desktop (fills the centered 720px .pg-wrap--text) */
.pg:not(.landing) .pg-prose { max-width: 42em; }
/* breadcrumb links are full 44px targets */
.pg:not(.landing) .pg-crumbs .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }

/* the units table on a phone: one hairline per row, across the full width (the cell borders
   with a column gap drew two short rules per line), and its figures at the body size */
@media (max-width: 639px) {
  .pg:not(.landing) .ut .ut__table th, .pg:not(.landing) .ut .ut__table td { border-bottom: 0; }
  .pg:not(.landing) .ut .ut__table .ut__cell,
  .pg:not(.landing) .ut .ut__table .ut__line { border-bottom: 1px solid var(--pg-rule); padding-block: 6px; }
  .pg:not(.landing) .ut .ut__table .ut__line:first-child .ut__hh,
  .pg:not(.landing) .ut .ut__table .ut__line:first-child .ut__inc { border-top: 0; margin-top: 4px; padding-top: 4px; }
  .pg:not(.landing) .ut .ut__table .ut__line:first-child { border-top: 1px solid var(--pg-rule); margin-top: 8px; }
  .pg:not(.landing) .ut .ut__table .ut__line:last-child { border-bottom: 0; }
  .pg:not(.landing) .ut .ut__table .ut__hh, .pg:not(.landing) .ut .ut__table .ut__inc { font-size: inherit; }
}
/* the wizard's city step: a city with nothing open today is drawn quieter (a dashed edge,
   grey words) than the ones with listings; it can still be chosen for alerts */
.pg:not(.landing) .pg-wizard .tile--quiet:not(:has(.tile__input:checked)) { border-style: dashed; border-color: var(--line-input); }
.pg:not(.landing) .pg-wizard .tile--quiet:not(:has(.tile__input:checked)) .tile__word { color: var(--pg-muted); }
/* a section that is also the wrap (.pg-wrap.pg-section: pricing's risk line, "Similar
   listings") drew its rule across the gutters; the rule now stops at the content edge */
.pg:not(.landing) .pg-wrap.pg-section:not(.pg-section--first) { position: relative; border-top: 0; }
.pg:not(.landing) .pg-wrap.pg-section:not(.pg-section--first)::before {
  content: ""; position: absolute; top: 0; left: var(--pg-gut); right: var(--pg-gut); border-top: 1px solid var(--pg-rule);
}
/* the facts list ends in its own hairline: the next section does not draw a second one */
.pg:not(.landing) .pg-section--first:has(> .pg-facts:last-child) { padding-bottom: 0; }
.pg:not(.landing) .pg-section--first:has(> .pg-facts:last-child) + .pg-section { border-top: 0; }

/* phones: the small size is 14px (12.5 carried the trust lines and the units table's
   figures); the notices under the wizard's Next and the notice line 13px */
@media (max-width: 480px) {
  body.pg:not(.landing) { --pg-small: 0.875rem; --fs-small: 0.875rem; --fs-micro: 0.875rem; }  /* 14px on a phone: nothing but the tracked labels is smaller */
  .pg:not(.landing) .ut .ut__table { font-size: var(--pg-body); }
  .pg:not(.landing) .pg-wizard .actionbar__note, .pg-wiz:not(.landing) .gov__inner { font-size: 0.875rem; }
  .pg:not(.landing) main .city-sources, .pg:not(.landing) .lrow__price small, .pg:not(.landing) .pg-facts dd small, .pg:not(.landing) .pg-huge small { font-size: 0.875rem; }
  .pg:not(.landing) .pg-huge small { font-size: max(0.875rem, 0.45em); }
  .pg:not(.landing) .pg-wizard .tile__meta, .pg:not(.landing) .pg-wizard .tiles--5 .tile__label,
  .pg:not(.landing) .pg-wizard .wizard__needs-label, .pg:not(.landing) .pg-wizard .wizard__small label { font-size: 0.875rem; }
}

/* ---------------------------------------------------------------- 17. the listing page (Oct 23 2026)
   Owner: "no photos... bare bones... that AMI table from Housing Connect... color coding,
   make it pop... fonts small so it fits on mobile." The gallery (the lead photo, then a
   swipeable strip), the AMI table (one row per home size and income band, a restrained
   tint per band, the rows that fit the visitor marked), the small-caps section heads, the
   label/value lists of About the building and How to apply, and the Autopilot line.
   Phone first: body 15px, meta 14px, the table 14px, the AMI chips 13px uppercase. */

/* the gallery: the lead full width, then a strip that scrolls sideways and snaps */
.pg:not(.landing) .pg-plate__link { display: block; }
.pg:not(.landing) .pg-plate__facade { display: block; width: 100%; aspect-ratio: 16 / 10; }
.pg:not(.landing) .pg-plate--none { margin: 0; }
.pg:not(.landing) .pg-plate figcaption span + span::before { content: "· "; }
.pg:not(.landing) .pg-strip {
  list-style: none; margin: 8px 0 0; padding: 0 var(--pg-gut); display: flex; gap: 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.pg:not(.landing) .pg-strip::-webkit-scrollbar { display: none; }
.pg:not(.landing) .pg-strip__item { flex: 0 0 auto; scroll-snap-align: start; }
.pg:not(.landing) .pg-strip__link { display: block; width: 112px; height: 84px; background: var(--pg-wash); }
.pg:not(.landing) .pg-strip__link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg:not(.landing) .pg-strip__link:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
@media (min-width: 640px) {
  .pg:not(.landing) .pg-strip { padding-inline: 0; gap: 8px; }
  .pg:not(.landing) .pg-strip__link { width: 160px; height: 112px; }
  .pg:not(.landing) .pg-plate__facade { aspect-ratio: 2 / 1; }
}

/* the lead: the address line, the Autopilot line, "Apply for me" beside the one black button */
.pg:not(.landing) .pg-where { margin-top: var(--pg-s1); }
.pg:not(.landing) .pg-ap { margin: 0; padding: 6px 0 6px 12px; border-left: 2px solid var(--pg-ink); max-width: 62ch; font-size: var(--pg-small); line-height: 1.45; }
.pg:not(.landing) .pg-ap__status { font-weight: 600; }
.pg:not(.landing) .pg-apply-form { display: contents; }
.pg:not(.landing) main .pg-apply-me { min-height: 56px; padding: 0 24px; border-radius: 4px; }
.pg:not(.landing) .pg-apply-status, .pg:not(.landing) .pg-apply-none { margin: 0; font-size: var(--pg-small); line-height: 1.45; }
.pg:not(.landing) .pg-apply-none { color: var(--pg-muted); }
.pg:not(.landing) .pg-notice { margin: var(--pg-s2) 0 0; padding-left: 12px; border-left: 2px solid var(--pg-ink); max-width: 62ch; font-size: var(--pg-small); }
.pg:not(.landing) .pg-actions--end { margin-top: var(--pg-s3); }

/* the listing's own sections sit closer than the page norm: 56px, not 96, between hairlines */
@media (min-width: 900px) {
  .pg:not(.landing) .pg-units, .pg:not(.landing) .pg-who, .pg:not(.landing) .pg-about, .pg:not(.landing) .pg-how { padding-block: 56px; }
}
/* section heads: small caps in the sans, one per section */
.pg:not(.landing) .pg-sh { margin: 0 0 var(--pg-s2); font: 600 var(--pg-small)/1.4 var(--pg-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pg-ink); }
.pg:not(.landing) .pg-section > .pg-sh + .pg-body { margin-top: 0; }
.pg:not(.landing) .pg-k { font-weight: 600; }
.pg:not(.landing) .pg-k::after { content: ": "; }

/* label/value lists (About the building, How to apply): hairline rows, label grey */
.pg:not(.landing) .pg-kv { display: grid; margin: var(--pg-s2) 0 0; border-top: 1px solid var(--pg-rule); max-width: 62ch; }
.pg:not(.landing) .pg-kv > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 2px 16px; padding-block: 8px; border-bottom: 1px solid var(--pg-rule); font-size: var(--pg-small); line-height: 1.45; }
.pg:not(.landing) .pg-kv dt { color: var(--pg-muted); }
.pg:not(.landing) .pg-kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .pg:not(.landing) .pg-kv > div { grid-template-columns: 7.5em minmax(0, 1fr); } }
.pg:not(.landing) .pg-prefs { margin-top: var(--pg-s2); max-width: 62ch; }
.pg:not(.landing) .pg-prefs li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--pg-small); line-height: 1.45; padding-block: 8px; }
.pg:not(.landing) .pg-prefs__meta { flex: none; color: var(--pg-muted); }
.pg:not(.landing) .pg-prefs__note { display: block; margin-top: 2px; color: var(--pg-muted); font-size: var(--pg-small); }
.pg:not(.landing) .pg-who .pg-fine { margin-top: var(--pg-s1); }
.pg:not(.landing) .fold--inline { margin-top: var(--pg-s3); border-top: 1px solid var(--pg-rule); }
.pg:not(.landing) .fold--inline .fold__head { min-height: 56px; }

/* the AMI table. Tints at most 12% alpha, ink text; the band's chip 13px uppercase. */
.pg:not(.landing) .am { --am-low: rgba(31, 107, 69, 0.10); --am-mid: rgba(184, 122, 0, 0.11); --am-high: rgba(43, 89, 255, 0.08); --am-none: transparent; }
.pg:not(.landing) .am__table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--pg-ink); font-size: var(--pg-small); line-height: 1.4; font-variant-numeric: lining-nums tabular-nums; }
.pg:not(.landing) .am__table th, .pg:not(.landing) .am__table td { padding: 9px 10px 9px 0; text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--pg-rule); }
.pg:not(.landing) .am__table thead th { padding-top: 10px; padding-bottom: 8px; font-size: 0.8125rem; color: var(--pg-muted); }
.pg:not(.landing) .am__size { font-weight: 600; white-space: nowrap; }
.pg:not(.landing) .am__size small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--pg-muted); }
.pg:not(.landing) .am__chip { display: inline-block; padding: 2px 7px; border-radius: 3px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.pg:not(.landing) .am--low .am__chip { background: var(--am-low); }
.pg:not(.landing) .am--mid .am__chip { background: var(--am-mid); }
.pg:not(.landing) .am--high .am__chip { background: var(--am-high); }
.pg:not(.landing) .am--none .am__chip { background: var(--am-none); color: var(--pg-muted); padding-inline: 0; }
.pg:not(.landing) .am__rent { white-space: nowrap; font-weight: 500; }
.pg:not(.landing) .am__rent small { font-weight: 400; color: var(--pg-muted); }
.pg:not(.landing) .am__hh span, .pg:not(.landing) .am__inc span { display: block; white-space: nowrap; }
.pg:not(.landing) .am__units { text-align: right; padding-right: 0; }
.pg:not(.landing) .am__table thead th:last-child { text-align: right; padding-right: 0; }
.pg:not(.landing) .am__dash, .pg:not(.landing) .am__mask { color: var(--pg-muted); }
.pg:not(.landing) .am__mask { letter-spacing: 0.08em; }
.pg:not(.landing) .am__note td { padding-top: 0; font-size: 0.8125rem; color: var(--pg-muted); }
.pg:not(.landing) .am__row--fit th, .pg:not(.landing) .am__row--fit td { background: var(--pg-wash); }
.pg:not(.landing) .am__row--fit .am__size { box-shadow: inset 2px 0 0 var(--pg-ink); padding-left: 10px; }
.pg:not(.landing) .am__row--fit + .am__note td { background: var(--pg-wash); }
.pg:not(.landing) .am__locked { opacity: 0.38; user-select: none; pointer-events: none; }
.pg:not(.landing) .am__legend { margin: var(--pg-s2) 0 0; max-width: 62ch; font-size: 0.875rem; line-height: 1.45; color: var(--pg-muted); }
.pg:not(.landing) .pg-units .pg-fine { margin-top: var(--pg-s1); }
/* phones: each row is a block; the size and the band on one line, the rent at the right,
   then household sizes and income ranges side by side, units last */
@media (max-width: 639px) {
  .pg:not(.landing) .am__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .pg:not(.landing) .am__table, .pg:not(.landing) .am__table tbody { display: block; }
  .pg:not(.landing) .am__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "size rent" "ami units" "hh inc"; column-gap: 12px; row-gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--pg-rule); }
  .pg:not(.landing) .am__table .am__row th, .pg:not(.landing) .am__table .am__row td { padding: 0; border: 0; }
  .pg:not(.landing) .am__size { grid-area: size; }
  .pg:not(.landing) .am__size small { display: inline; margin-left: 8px; }
  .pg:not(.landing) .am__ami { grid-area: ami; }
  .pg:not(.landing) .am__rent { grid-area: rent; text-align: right; font-size: var(--pg-body); }
  .pg:not(.landing) .am__hh { grid-area: hh; color: var(--pg-muted); }
  .pg:not(.landing) .am__inc { grid-area: inc; text-align: right; }
  .pg:not(.landing) .am__units { grid-area: units; text-align: right; color: var(--pg-muted); }
  .pg:not(.landing) .am__units:not(:empty)::before { content: "Units: "; }
  .pg:not(.landing) .am__row--fit { box-shadow: inset 2px 0 0 var(--pg-ink); padding-left: 10px; }
  .pg:not(.landing) .am__row--fit th, .pg:not(.landing) .am__row--fit td, .pg:not(.landing) .am__row--fit + .am__note td { background: none; }
  .pg:not(.landing) .am__row--fit .am__size { box-shadow: none; padding-left: 0; }
  .pg:not(.landing) .am__note { display: block; padding: 0 0 8px; border-bottom: 1px solid var(--pg-rule); }
  .pg:not(.landing) .am__table .am__note td { display: block; padding: 4px 0 0; border: 0; }
}
@media (max-width: 480px) {
  .pg:not(.landing) .am__table { font-size: 0.875rem; }
  .pg:not(.landing) .am__chip, .pg:not(.landing) .am__table thead th, .pg:not(.landing) .am__note td, .pg:not(.landing) .am__legend, .pg:not(.landing) .am__size small { font-size: 0.875rem; }
}

/* How a listing takes applications (web/apply_via.py tag): words after the meta line on
   rows (no pill, like the status), a glass chip on cards. The Autopilot one is in ink. */
.pg:not(.landing) .lrow__via { white-space: nowrap; }
.pg:not(.landing) .lrow__via--autopilot { color: var(--pg-ink); }

/* ---------------------------------------------------------------- 18. the listing page, Oct 25 2026
   Your fit (signed in only), the lottery date line, "what the source doesn't say" and the
   source line with its report link. Type stays on the 14px floor; one black accent, no fills. */
.pg:not(.landing) .pg-fit { margin: var(--pg-s2) 0 0; padding: 6px 0 6px 12px; border-left: 2px solid var(--pg-ink); max-width: 62ch; font-size: var(--pg-small); line-height: 1.45; }
.pg:not(.landing) .pg-fit--under, .pg:not(.landing) .pg-fit--over, .pg:not(.landing) .pg-fit--between { border-left-style: dashed; }
.pg:not(.landing) .pg-datestatus { margin-top: var(--pg-s1); }
.pg:not(.landing) .pg-gaps .pg-body { max-width: 62ch; }
.pg:not(.landing) .pg-gaps--thin { border-top: 1px solid var(--pg-ink); }
.pg:not(.landing) .pg-source a, .pg:not(.landing) .pg-gaps a { color: var(--pg-ink); text-underline-offset: 0.2em; }
.pg:not(.landing) .pg-plate--none .pg-plate__facade { aspect-ratio: 21 / 8; }
@media (max-width: 639px) {
  .pg:not(.landing) .pg-plate--none .pg-plate__facade { aspect-ratio: 2 / 1; }
  .pg:not(.landing) .am__chip, .pg:not(.landing) .am__table thead th, .pg:not(.landing) .am__note td, .pg:not(.landing) .am__legend, .pg:not(.landing) .am__size small { font-size: 0.875rem; }
}

/* QA sweep (Oct 25 2026): phone tap targets at least 44 x 44 without moving anything. A
   transparent ::after stands over the link; "See all" grows to the left (it sits on the right
   edge), the breadcrumb's Home to the right (it sits on the left edge). */
.pg:not(.landing) .pg-textlink, .pg:not(.landing) .pg-crumbs .crumbs a { position: relative; }
.pg:not(.landing) .pg-textlink::after, .pg:not(.landing) .pg-crumbs .crumbs a::after {
  content: ""; position: absolute; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translateY(-50%);
}
.pg:not(.landing) .pg-textlink::after { right: 0; }
.pg:not(.landing) .pg-crumbs .crumbs a::after { left: 0; }

/* the listing's contact lines ("How you apply" and the Apply lines: a phone number, an email,
   a web address) and its one-link notes ("What you need first", "Autopilot files for you")
   are whole tap targets on a phone: the ::after reaches 44px tall */
.pg:not(.landing) .pg-applyvia a, .pg:not(.landing) .pg-kv dd > a, .pg:not(.landing) .pg-fine > a:only-child { position: relative; }
.pg:not(.landing) .pg-applyvia a::after, .pg:not(.landing) .pg-kv dd > a::after, .pg:not(.landing) .pg-fine > a:only-child::after {
  content: ""; position: absolute; left: 0; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translateY(-50%);
}

/* ---------------------------------------------------------------- 19. QA sweep, Oct 26 2026: 44px tap areas */
/* a field's label (a tap focuses its field) is a 44px target: the ::after reaches 11px above and
   below its line, into the gaps (the label's 8px gap to its field plus 3px of the field itself,
   which a tap would focus anyway), never over another control */
.pg:not(.landing) label.field__label[for], .pg:not(.landing) label.pg-auth__label[for], .pg:not(.landing) label.pg-q2[for] { position: relative; }
.pg:not(.landing) label.field__label[for]::after, .pg:not(.landing) label.pg-auth__label[for]::after, .pg:not(.landing) label.pg-q2[for]::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%);
}
/* /how-it-works: the income-limit table's figures and the sources' city lines (links only,
   commas between) are 44px targets like the contents entries (section 22) */
.pg:not(.landing) .pg-prose td a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; vertical-align: middle; }
.pg:not(.landing) #sources .pg-prose li > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; vertical-align: middle; }

/* ---------------------------------------------------------------- 20. /security Trust Center & Wide Inner Layout (Editorial) */
.pg:not(.landing) .pg-prose .sec-table { font-size: var(--pg-small); border-top: 1px solid var(--pg-ink); }
.pg:not(.landing) .pg-prose .sec-table td:last-child { font: inherit; text-align: right; white-space: nowrap; }
@media (max-width: 639px) {
  .pg:not(.landing) .pg-prose .sec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .pg:not(.landing) .pg-prose .sec-table, .pg:not(.landing) .pg-prose .sec-table tbody, .pg:not(.landing) .pg-prose .sec-table tr, .pg:not(.landing) .pg-prose .sec-table td { display: block; width: 100%; }
  .pg:not(.landing) .pg-prose .sec-table tr { padding-block: 10px; border-bottom: 1px solid var(--pg-rule); }
  .pg:not(.landing) .pg-prose .sec-table td { padding: 2px 0; border-bottom: 0; text-align: left; }
  .pg:not(.landing) .pg-prose .sec-table td:first-child { font-weight: 600; }
  .pg:not(.landing) .pg-prose .sec-table td:last-child { text-align: left; }
}
@media (min-width: 900px) {
  /* the two label/value lists span the frame in two columns; running text keeps its measure
     (section 21) */
  .pg:not(.landing) .pg-kv,
  .pg:not(.landing) .pg-prefs {
    max-width: none;
  }
  .pg:not(.landing) .pg-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
  .pg:not(.landing) .pg-prefs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    column-gap: 48px;
  }
  .pg:not(.landing) .pg-plate__facade {
    max-height: 320px;
    object-fit: cover;
  }
}

/* ---------------------------------------------------------------- 21. desktop at 100% (Nov 4 2026)
   Owner: "on desktop it's a mess, text is too big, I have to scroll forever... you should be
   able to see most of the page at 100% with very little scrolling". Every public page sits in
   the 1120px frame (section 13), on the type table (H1 34, H2 26, lead 20, body 16, small 14,
   the one big serif figure 56; identity.md section 4), with 40px around a section and 12px
   from a heading to its first line, and the content in columns where it is parallel: the
   three plans and the questions on /pricing, the guide's parts (.guide-grid), the long reads
   (.pg-prose--cols: two columns of about 33em under full-width section heads), the footer's
   city list. Phones (section 15) are untouched; the home page has its own sheet. */
@media (min-width: 900px) {
  body.pg:not(.landing) {
    --pg-huge: 3.5rem;              /* 56: a price, a count */
    --pg-display: 3.5rem;
    --pg-head: 2.125rem;            /* 34: the page title */
    --pg-line: 1.25rem;             /* 20: the dek */
    --pg-body: 1rem;                /* 16 */
    --pg-small: 0.875rem;           /* 14 */
    /* the app.css pieces on the same scale (the city pages' older parts, the account page) */
    --fs-display: 2.5rem; --fs-num: 3.5rem; --fs-num-md: 2rem; --fs-h1: 2.125rem; --fs-h2: 1.625rem;
    --fs-h3: 1.125rem; --fs-lead: 1.125rem; --fs-body: 1rem;
  }
  .pg:not(.landing) .pg-wizard { max-width: calc(880px + 2 * var(--pg-gut)); }
  /* type: one H1 size, one H2 size, Garamond tracked between 0 and -0.01em (identity.md 4) */
  .pg:not(.landing) .pg-h, .pg:not(.landing) .pg-title, .pg:not(.landing) .pg-huge, .pg:not(.landing) .pg-q { letter-spacing: -0.01em; }
  .pg:not(.landing) .pg-h { max-width: 36ch; line-height: 1.1; }
  .pg:not(.landing) h2.pg-h, .pg:not(.landing) .pg-prose h2, .pg:not(.landing) .legal h2, .pg:not(.landing) .mx-h2,
  .pg:not(.landing) .ut__title, .pg:not(.landing) .paywall__title, .pg:not(.landing) .acct h2, .pg:not(.landing) .acct .acct-h {
    font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.005em;
  }
  .pg:not(.landing) .city-h { font-size: var(--pg-head); line-height: 1.1; letter-spacing: -0.01em; max-width: 30ch; }
  .pg:not(.landing) .pg-q { font-size: var(--pg-head); max-width: 30ch; }
  .pg:not(.landing) .pg-q2 { font-size: 1.125rem; }
  .pg:not(.landing) .pg-prose h3 { font: 620 1.25rem/1.3 var(--pg-sans); letter-spacing: -0.012em; }
  .pg:not(.landing) .lrow__title, .pg:not(.landing) .tier__name, .pg:not(.landing) .faq__q, .pg:not(.landing) .fold__title,
  .pg:not(.landing) .pw-folds li, .pg:not(.landing) .pg-prose dt,
  .pg:not(.landing) .acct .billing-card__title, .pg:not(.landing) .acct-sub { font-size: 1.125rem; }
  .pg:not(.landing) .lrow__price, .pg:not(.landing) .pg-facts dd, .pg:not(.landing) .pg-steps b,
  .pg:not(.landing) .pg-prose td:last-child, .pg:not(.landing) .ut .ut__rent { font-size: 1.25rem; }
  .pg:not(.landing) .pg-huge small { font-size: 0.4em; }
  /* measures: running text under about 65 characters a line (identity.md 4), never the whole frame */
  .pg:not(.landing) .pg-line { max-width: 32em; }
  .pg:not(.landing) .pg-body, .pg:not(.landing) .pg-fine, .pg:not(.landing) .pg-banner, .pg:not(.landing) .pg-rows-list > li,
  .pg:not(.landing) .faq__a, .pg:not(.landing) .paywall__lead, .pg:not(.landing) .pw-line__terms, .pg:not(.landing) .fold__lead,
  .pg:not(.landing) .tier__terms, .pg:not(.landing) .pg-ap, .pg:not(.landing) .pg-notice, .pg:not(.landing) .am__legend,
  .pg:not(.landing) .pg-fit, .pg:not(.landing) .pg-gaps .pg-body, .pg:not(.landing) .acct-prompt { max-width: 38em; }
  .pg:not(.landing) .city-sources { max-width: 80ch; }
  /* vertical rhythm on the 4-point scale: 32 above a page head, 40 around a section, 12 from
     a heading to its first line, 20 before a row of actions */
  .pg:not(.landing) .pg-head { padding-block: 32px 24px; }
  .pg:not(.landing) .pg-head > * + * { margin-top: 12px; }
  .pg:not(.landing) .pg-head > .pg-banner { margin-top: 16px; }
  .pg:not(.landing) .pg-section { padding-block: 40px; }
  .pg:not(.landing) .pg-section--first { padding-top: 0; }
  .pg:not(.landing) .pg-section.mt-10 { margin-top: 0; }
  .pg:not(.landing) .pg-prose + .pg-section { margin-top: 40px; }  /* the closing action under a long read keeps its 40 */
  .pg:not(.landing) .pg-risk { padding-block: 24px; }
  .pg:not(.landing) .pg-end { padding-bottom: 56px; }
  .pg:not(.landing) .pg-results, .pg:not(.landing) .city-results, .pg:not(.landing) .mx-head ~ .pg-results { padding-bottom: 48px; }
  .pg:not(.landing) .pg-results + .pg-results { padding-top: 0; }
  .pg:not(.landing) .pg-prose h2 { margin: 32px 0 16px; padding-top: 20px; }
  .pg:not(.landing) .pg-prose > h2:first-child { margin-top: 0; }
  .pg:not(.landing) .pg-prose h3 { margin: 24px 0 8px; }
  .pg:not(.landing) .pg-prose h4 { margin-top: 20px; }
  .pg:not(.landing) .pg-actions { margin-top: 20px; }
  .pg:not(.landing) .city-head { padding-block: 32px 24px; }
  .pg:not(.landing) .city-head .city-cta { margin-top: 16px; }
  .pg:not(.landing) .mx-head { padding-block: 32px 24px; }
  .pg:not(.landing) .mx-head .pg-actions { margin-top: 16px; }
  .pg:not(.landing) .pg-auth { padding-block: 48px 40px; }
  .pg:not(.landing) .pg-head.pg-listing-head { padding-top: 16px; }
  .pg:not(.landing) .pg-plate-wrap { padding-top: 16px; }
  .pg:not(.landing) .pg-plate img { max-height: 360px; }
  .pg:not(.landing) .pg-plate__facade, .pg:not(.landing) .pg-plate--none .pg-plate__facade { max-height: 320px; }
  .pg:not(.landing) .pg-units, .pg:not(.landing) .pg-who, .pg:not(.landing) .pg-about, .pg:not(.landing) .pg-how { padding-block: 40px; }
  .pg:not(.landing) .pg-facts > div { padding-block: 12px; }
  /* listing rows: more rows per screen (a 96px thumbnail, 12px of padding) */
  .pg:not(.landing) .lrow { grid-template-columns: 260px minmax(0, 1fr) auto; gap: 20px; padding: 12px 0; }
  .pg:not(.landing) .lrow__media { width: 96px; height: 68px; }
  .pg:not(.landing) .pg-section .lrows, .pg:not(.landing) .pg-results .lrows, .pg:not(.landing) .pg-section .faq { margin-top: 16px; }
  /* /pricing: the three plans above the fold, the questions in two columns (from 1024px) */
  .pg:not(.landing) .tiers { gap: 48px; }
  .pg:not(.landing) .tier { padding: 20px 0 28px; }
  .pg:not(.landing) .tier .pg-line { margin-top: 8px; }
  .pg:not(.landing) .tier form, .pg:not(.landing) .tier .pg-actions { margin-top: 20px; }
  .pg:not(.landing) .faq__q { min-height: 52px; padding: 10px 0; }
  .pg:not(.landing) .faq__a { padding-bottom: 16px; }
  .pg:not(.landing) .fold__head { min-height: 52px; }
  /* the tables on /press and the income pages */
  .pg:not(.landing) .ami-table { font-size: var(--pg-small); }
}
@media (min-width: 1024px) {
  /* the text pages take the frame: two columns need the width */
  .pg:not(.landing) .pg-wrap--text { max-width: calc(var(--pg-max) + 2 * var(--pg-gut)); }
  /* long reads: two columns of about 33em under full-width section heads */
  .pg:not(.landing) .pg-prose--cols { max-width: none; columns: 2; column-gap: 48px; }
  .pg:not(.landing) .pg-prose--cols > h2, .pg:not(.landing) .pg-prose--cols table { column-span: all; }
  .pg:not(.landing) .pg-prose--cols > :first-child { margin-top: 0; }
  .pg:not(.landing) .pg-prose--cols p, .pg:not(.landing) .pg-prose--cols li, .pg:not(.landing) .pg-prose--cols dl > div,
  .pg:not(.landing) .pg-prose--cols form, .pg:not(.landing) .pg-prose--cols h3, .pg:not(.landing) .pg-prose--cols h4 { break-inside: avoid; }
  .pg:not(.landing) .pg-prose--cols h3, .pg:not(.landing) .pg-prose--cols h4 { break-after: avoid; }
  .pg:not(.landing) .pg-prose--cols ul, .pg:not(.landing) .pg-prose--cols ol { display: block; }
  .pg:not(.landing) .pg-prose--cols li + li { margin-top: 10px; }
  /* /how-it-works: each part's sections side by side */
  .pg:not(.landing) .guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; align-items: start; }
  .pg:not(.landing) .guide-grid > .pg-prose { max-width: none; }
  /* /pricing: the questions in two columns */
  .pg:not(.landing) .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
  /* the chrome: a shorter footer (32px rows, the cities in two columns, the fine print in two) */
  .pg:not(.landing) .footer { padding-block: 40px 32px; }
  .pg:not(.landing) .footer__link { min-height: 32px; }
  .pg:not(.landing) .footer__top { grid-template-columns: 1fr 2.3fr; }
  .pg:not(.landing) .footer__cols { grid-template-columns: 1fr 1.8fr 1.1fr 1fr; }  /* room for the two city columns: "Washington DC" on one line */
  .pg:not(.landing) .footer__cols > div:nth-child(2) .footer__list { display: block; columns: 2; column-gap: 16px; }  /* block: columns do nothing on a grid */
  .pg:not(.landing) .footer__cols > div:nth-child(2) .footer__link { white-space: nowrap; }
  .pg:not(.landing) .footer__list li { break-inside: avoid; }
  .pg:not(.landing) .footer__legal { margin-top: 24px; padding-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 48px; max-width: none; }
}

/* the data tables (/press, /income-limits, a city's income page) and the income calculator:
   hairline rows, the head rule in ink, the reader's own household row washed; the table
   scrolls sideways on a phone inside .pg-table */
.pg:not(.landing) .pg-table { overflow-x: auto; }
.pg:not(.landing) .ami-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: lining-nums tabular-nums; }
.pg:not(.landing) .ami-table th, .pg:not(.landing) .ami-table td { padding: 10px 8px; border-bottom: 1px solid var(--pg-rule); vertical-align: top; font-weight: 400; }
.pg:not(.landing) .ami-table thead th { border-bottom-color: var(--pg-ink); font-weight: 600; }
.pg:not(.landing) .ami-table__you th, .pg:not(.landing) .ami-table__you td { font-weight: 600; background: var(--pg-wash); }
.pg:not(.landing) .calc-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pg:not(.landing) .calc-form__label { display: block; margin-bottom: 4px; font-size: var(--pg-small); font-weight: 600; color: var(--pg-ink); }
.pg:not(.landing) .calc-form__input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-input); border-radius: 4px; font-size: 1rem; background: var(--pg-paper); color: var(--pg-ink); }
.pg:not(.landing) input.calc-form__input { width: 190px; }
.pg:not(.landing) .calc-form .pg-cta { min-height: 48px; }
.pg:not(.landing) button.pg-textlink { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; }

/* citable data (moat plan, Nov 8 2026): the source and update line under a count or a title,
   the "#" link beside a section or a table row, "Cite this table", and /press's "How we count" */
.pg:not(.landing) .city-src { margin: 6px 0 0; max-width: 80ch; font-size: var(--pg-small); line-height: 1.5; color: var(--pg-muted); }
.pg:not(.landing) main .city-src a { color: var(--pg-muted); text-decoration: underline; }
.pg:not(.landing) .city-src strong { font-weight: 500; color: var(--pg-ink); }
.pg:not(.landing) .city-count a { color: var(--pg-ink); }
.pg:not(.landing) main a.anchor { margin-left: 6px; font-size: 0.85em; font-weight: 400; color: var(--pg-muted); text-decoration: none; }
.pg:not(.landing) main a.anchor:hover { color: var(--pg-ink); }
.pg:not(.landing) .cite { margin: 8px 0 0; max-width: none; font-size: var(--pg-small); color: var(--pg-muted); overflow-wrap: anywhere; }
.pg:not(.landing) main .cite a, .pg:not(.landing) .cite button.pg-textlink { color: var(--pg-ink); }
.pg:not(.landing) .method { display: grid; gap: 0; margin: 12px 0 0; max-width: 70ch; border-top: 1px solid var(--pg-rule); }
.pg:not(.landing) .method > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pg-rule); }
.pg:not(.landing) .method dt { font-weight: 600; }
.pg:not(.landing) .method dd { margin: 0; }
@media (max-width: 639px) { .pg:not(.landing) .method > div { grid-template-columns: 1fr; gap: 2px; } }



/* ---------------------------------------------------------------- 22. /how-it-works contents (Nov 5 2026)
   One list (templates/guide.html): a "Contents" fold under the head on a phone and a tablet
   (a native <details>: it opens without JavaScript), a sticky column left of the sections from
   1024px. Left, because the list comes first in the page's order (keyboard and screen readers
   meet it before the sections, as the eye does) and a long read is entered from the left.
   Hairlines and type only: no box, no fill. The entry for the section being read
   (static/guide.js, aria-current) is ink with a 2px ink rule at its left; the others are grey. */
/* a jump lands with its heading clear of the sticky nav: html's scroll-padding-top (app.css)
   already takes the nav's height and 16px; this adds 8 (it was 96 on .pg-prose sections) */
.pg:not(.landing) .guide section[id], .pg:not(.landing) .guide h4[id] { scroll-margin-top: 8px; }
.pg:not(.landing) .guide-toc { margin: 0; padding: 0; border: 0; }
.pg:not(.landing) .guide-toc__fold { border-top: 1px solid var(--pg-ink); }
.pg:not(.landing) .guide-toc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0;
  list-style: none; cursor: pointer; font: 600 var(--pg-body)/1.3 var(--pg-sans); color: var(--pg-ink);
}
.pg:not(.landing) .guide-toc__btn::-webkit-details-marker { display: none; }
.pg:not(.landing) .guide-toc__btn:hover span { text-decoration: underline; text-underline-offset: 0.22em; }
.pg:not(.landing) .guide-toc__icon { flex: none; width: 18px; height: 18px; transition: transform 200ms ease-out; }
.pg:not(.landing) .guide-toc__fold[open] .guide-toc__icon { transform: rotate(90deg); }
.pg:not(.landing) .guide-toc__list { padding-bottom: 16px; }
.pg:not(.landing) .guide-toc__label { display: none; }
.pg:not(.landing) .guide-toc__group + .guide-toc__group { margin-top: 4px; }
.pg:not(.landing) .guide-toc__head { margin: 0; font-size: var(--pg-body); line-height: 1.35; font-weight: 600; }
.pg:not(.landing) .guide-toc ol { list-style: none; margin: 0 0 4px; padding: 0; border-left: 1px solid var(--pg-rule); }
.pg:not(.landing) .guide-toc li { margin: 0; font-size: var(--pg-body); line-height: 1.35; }
.pg:not(.landing) .guide-toc a {
  display: flex; align-items: center; min-height: 44px; padding-block: 4px; color: var(--pg-muted); text-decoration: none;
}
.pg:not(.landing) .guide-toc .guide-toc__head a { color: var(--pg-ink); }
.pg:not(.landing) .guide-toc ol a { margin-left: -1px; padding-left: 14px; border-left: 2px solid transparent; }
.pg:not(.landing) .guide-toc a:hover { color: var(--pg-ink); text-decoration: underline; text-underline-offset: 0.22em; }
.pg:not(.landing) .guide-toc a[aria-current] { color: var(--pg-ink); }
.pg:not(.landing) .guide-toc ol a[aria-current] { border-left-color: var(--pg-ink); }
.pg:not(.landing) .guide-toc__head a[aria-current] { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }
.pg:not(.landing) .guide-toc a:focus-visible, .pg:not(.landing) .guide-toc__btn:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg:not(.landing) .guide-body { min-width: 0; }
/* the first part's rule closes the fold: "Contents" reads as one ruled row under the head */
.pg:not(.landing) .guide-body > .pg-section:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .pg:not(.landing) .guide-toc__icon { transition: none; } }
@media (min-width: 1024px) {
  .pg:not(.landing) .guide-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .pg:not(.landing) .guide-toc {
    position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
  /* the list is always shown: the summary goes, and a closed <details> still shows its content
     (::details-content; guide.js also sets [open]) */
  .pg:not(.landing) .guide-toc__btn { display: none; }
  .pg:not(.landing) .guide-toc__label { display: block; margin: 0; padding: 12px 0 8px; font-size: var(--pg-small); line-height: 1.4; color: var(--pg-muted); }
  .pg:not(.landing) .guide-toc__list { padding: 0 2px 8px 0; }
  .pg:not(.landing) .guide-toc__group + .guide-toc__group { margin-top: 2px; }
  .pg:not(.landing) .guide-toc__head, .pg:not(.landing) .guide-toc li { font-size: var(--pg-small); line-height: 1.4; }
  .pg:not(.landing) .guide-toc a { min-height: 32px; }  /* a pointer, not a thumb */
  .pg:not(.landing) .guide-toc ol { margin-bottom: 6px; }
  /* the sources' links are plain inline text beside the contents column (the 44px boxes of
     section 19 are for thumbs; in the narrower column they broke "Policy." onto its own line) */
  .pg:not(.landing) #sources .pg-prose li > a { display: inline; min-width: 0; min-height: 0; }
  .pg:not(.landing) #sources > .pg-prose + p { margin-top: 24px; }
  /* the contents' rule and the first part's rule read as one line across the frame */
  .pg:not(.landing) .guide-toc__fold { border-top-color: var(--pg-rule); }
}
@media (min-width: 1024px) {
  .pg:not(.landing) .guide-toc__fold::details-content { content-visibility: visible; display: contents; }
}

/* ---------------------------------------------------------------- definition box (Nov 8 2026)
   The owner's rule: labels and numbers on the page, the explanation one hover or tap away.
   templates/_define.html `define(term, text)`: a dotted-underline button; hover or focus
   (a tap focuses it) opens the box. No JavaScript. */
.pg:not(.landing) .dfn { position: relative; display: inline; }
.pg:not(.landing) .dfn__t { display: inline; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: help;
  text-decoration: underline dotted 1.5px; text-decoration-color: var(--pg-muted); text-underline-offset: 0.22em; text-align: inherit; }
.pg:not(.landing) .dfn__t:hover, .pg:not(.landing) .dfn__t:focus-visible { text-decoration-color: var(--pg-ink); }
.pg:not(.landing) .dfn__box { display: none; position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: max-content; max-width: min(320px, 80vw);
  padding: 10px 12px; background: var(--pg-paper); border: 1px solid var(--pg-ink); color: var(--pg-ink);
  font: 400 var(--pg-small)/1.45 var(--pg-sans); text-align: left; white-space: normal; }
.pg:not(.landing) .dfn:hover .dfn__box, .pg:not(.landing) .dfn:focus-within .dfn__box { display: block; }

/* ---------------------------------------------------------------- the listing head and fit check (Nov 8 2026)
   Mock 1A (owner's choice): the text left, the photo right from 900px, so the price, the
   facts, the source with the official address and the one button fit the first screen at
   1440x900; the photo first on a phone. Then the fit check: the two questions (or the saved
   answers) left, the count and the one black button right. First-come: the time since we
   first saw it. Labels and numbers; the explaining sits in the definition boxes. */
.pg:not(.landing) .lh { display: grid; gap: 20px; padding-top: 16px; }
.pg:not(.landing) .lh__photo { margin: 0; }
.pg:not(.landing) .lh__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--pg-wash); }
.pg:not(.landing) .lh__photo figcaption { display: block; padding-top: 8px; font-size: var(--pg-small); color: var(--pg-muted); }
.pg:not(.landing) .lh__photo figcaption a { color: var(--pg-ink); }
.pg:not(.landing) .lh__photo figcaption span + a::before { content: "· "; color: var(--pg-muted); }
.pg:not(.landing) .lh .pg-head.pg-listing-head { padding-block: 0; }
.pg:not(.landing) .lh .pg-h { font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
.pg:not(.landing) .lh .pg-huge { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-top: 6px; }
.pg:not(.landing) .lh .pg-line { margin-top: 6px; max-width: 48ch; font-size: clamp(1.125rem, 1.8vw, 1.375rem); }
.pg:not(.landing) .lh .pg-fine { margin-top: 6px; }
.pg:not(.landing) .lh .pg-crumbs { margin-bottom: 6px; }
.pg:not(.landing) .lh .pg-actions { margin-top: 14px; }
.pg:not(.landing) .src { margin: 10px 0 0; max-width: 64ch; font-size: var(--pg-small); line-height: 1.5; color: var(--pg-muted); }
.pg:not(.landing) .src b { font-weight: 500; color: var(--pg-ink); }
.pg:not(.landing) .src .url { font: 400 0.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--pg-ink); overflow-wrap: anywhere; }
.pg:not(.landing) .lh-wrap > .pg-strip { margin-top: 16px; }
.pg:not(.landing) .lh__photo.pg-plate--none .pg-plate__facade { display: block; width: 100%; aspect-ratio: 4 / 3; }
@media (max-width: 639px) {
  .pg:not(.landing) .lh-wrap { padding-inline: 0; }
  .pg:not(.landing) .lh-wrap .lh__text, .pg:not(.landing) .lh__photo figcaption { padding-inline: var(--pg-gut); }
  .pg:not(.landing) .lh-wrap > .fit { margin-inline: var(--pg-gut); }
  .pg:not(.landing) .lh { padding-top: 0; }
  .pg:not(.landing) .lh__photo img { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) {
  .pg:not(.landing) .lh { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 56px; align-items: start; padding-top: 20px; }
  .pg:not(.landing) .lh__photo { order: 2; }
  .pg:not(.landing) .lh__photo img { aspect-ratio: 4 / 3; }
}

/* the fit check */
.pg:not(.landing) .fit { display: grid; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pg-ink); }
.pg:not(.landing) .fit__h { margin: 0; font: 400 1.5rem/1.15 var(--pg-serif); letter-spacing: -0.01em; }
.pg:not(.landing) .fit__form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 12px; }
.pg:not(.landing) .fit__form label { display: grid; gap: 6px; font-size: var(--pg-small); font-weight: 500; }
.pg:not(.landing) .fit__form .input { min-height: 48px; font-size: 1rem; border: 1px solid #8A857B; border-radius: 4px; padding: 0 12px; background: var(--pg-paper); color: var(--pg-ink); box-shadow: none; }
.pg:not(.landing) .fit__form .input:focus-visible { outline: 2px solid var(--pg-ink); outline-offset: 2px; }
.pg:not(.landing) .fit__form select.input { min-width: 150px; }
.pg:not(.landing) .fit__form input.input { width: 180px; }
.pg:not(.landing) .fit__form .btn { min-height: 48px; }
.pg:not(.landing) .fit__this { margin: 10px 0 0; font-size: 0.9375rem; }
.pg:not(.landing) .fit__err { color: var(--pg-alert); }
.pg:not(.landing) .fit__you { margin: 10px 0 0; font-size: 0.9375rem; }
.pg:not(.landing) .fit__you a { color: var(--pg-ink); }
.pg:not(.landing) .fit__n { margin: 0; font: 400 clamp(3rem, 5vw, 4rem)/0.95 var(--pg-serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.pg:not(.landing) .fit__say { margin: 6px 0 0; max-width: 46ch; font: 400 1.25rem/1.3 var(--pg-serif); }
.pg:not(.landing) .fit__kinds, .pg:not(.landing) .fit__auto { margin: 6px 0 0; font-size: var(--pg-small); color: var(--pg-muted); }
.pg:not(.landing) .fit__auto { color: var(--pg-ink); }
.pg:not(.landing) .fit__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 14px; }
.pg:not(.landing) .fit__acts--member { margin-top: 12px; }
.pg:not(.landing) .fit__self { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--pg-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.pg:not(.landing) .fit__self .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .pg:not(.landing) .fit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; } }

/* first-come: the time since we first saw it */
.pg:not(.landing) .spd { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pg-ink); }
.pg:not(.landing) .spd__row { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pg:not(.landing) .spd__n { font: 400 2.5rem/1 var(--pg-serif); letter-spacing: -0.02em; }
.pg:not(.landing) .spd__t { max-width: 40ch; font-size: 0.9375rem; line-height: 1.4; }
.pg:not(.landing) .lh .spd__fine { margin-top: 4px; }
