:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --ink: #14181c;
  --ink-2: #3a434b;
  --muted: #646e77;
  --line: #e4e0d7;
  --line-strong: #cdc6b8;
  --accent: #cf3d2a;
  --accent-ink: #a8301f;
  --accent-soft: #fbe8e3;
  --good: #0e7653;
  --good-ink: #0a5e42;
  --good-soft: #e2f2ea;
  --on-good: #ffffff;
  --warn-soft: #fbf0d9;
  --warn-ink: #7a5205;
  --focus: #2457c5;
  --map-water: #e9e6df;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .05);
  --shadow: 0 1px 2px rgba(20, 24, 28, .05), 0 10px 30px -12px rgba(20, 24, 28, .12);
  --radius: 14px;
  --radius-sm: 9px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1113;
    --surface: #151a1d;
    --surface-2: #1a1f23;
    --ink: #eceae5;
    --ink-2: #c8ccd0;
    --muted: #959ea6;
    --line: #283035;
    --line-strong: #3a4349;
    --accent: #f06a52;
    --accent-ink: #f48a75;
    --accent-soft: #3a1f1a;
    --good: #43c592;
    --good-ink: #6fd8ad;
    --good-soft: #13291f;
    --on-good: #0e1113;
    --warn-soft: #33270f;
    --warn-ink: #e9bf6a;
    --focus: #7ea6ff;
    --map-water: #1b2125;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1113;
  --surface: #151a1d;
  --surface-2: #1a1f23;
  --ink: #eceae5;
  --ink-2: #c8ccd0;
  --muted: #959ea6;
  --line: #283035;
  --line-strong: #3a4349;
  --accent: #f06a52;
  --accent-ink: #f48a75;
  --accent-soft: #3a1f1a;
  --good: #43c592;
  --good-ink: #6fd8ad;
  --good-soft: #13291f;
  --on-good: #0e1113;
  --warn-soft: #33270f;
  --warn-ink: #e9bf6a;
  --focus: #7ea6ff;
  --map-water: #1b2125;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h1, h2, .display { font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "SOFT" 40, "WONK" 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }
.num { font-variant-numeric: tabular-nums; }
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); position: relative; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 650; font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.1; }
.brand-tag { font-size: .74rem; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle { display: none; appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; height: 40px; padding: 0 14px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
@media (max-width: 860px) {
  .brand-tag { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current] { background: none; box-shadow: none; color: var(--accent-ink); }
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.hero-tag { display: none; font-size: .92rem; color: var(--ink-2); margin-bottom: 14px; padding-left: 12px; border-left: 3px solid var(--accent); }
@media (max-width: 860px) { .hero-tag { display: block; } }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 24ch; text-wrap: balance; }
.section-head p { color: var(--muted); max-width: 52ch; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1; letter-spacing: -.025em; margin: 18px 0 22px; max-width: 13ch; font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .lede { margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .92rem; }
.hero-meta strong { color: var(--ink); font-weight: 650; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.picker-title { font-family: var(--sans); font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: clamp(36px, 5vw, 56px) 0 12px; }
.city-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.city-pill { display: grid; gap: 3px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.city-pill::after { content: ""; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s, border-color .15s; }
.city-pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.city-pill:hover::after { border-color: var(--ink); transform: translateX(2px) rotate(45deg); }
.city-pill b { font-weight: 650; font-size: 1.02rem; padding-right: 20px; }
.city-pill .rng { font-size: 1.05rem; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 4px; }
.city-pill .rng strong { color: var(--good-ink); font-weight: 700; }
.city-pill span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .city-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .city-pill { padding: 14px; } .city-pill .rng { font-size: .98rem; } }
@media (max-width: 360px) { .city-pill { grid-template-columns: minmax(0, 1fr); } .city-pill b { font-size: .95rem; overflow-wrap: anywhere; } }
.receipt { position: relative; background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: var(--shadow); padding: 26px 26px 30px; transform: rotate(.6deg); max-width: 440px; justify-self: center; width: 100%; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 10px -2px, transparent 9px, var(--surface) 9.5px) repeat-x; background-size: 20px 12px; filter: drop-shadow(0 6px 6px rgba(20, 24, 28, .06)); }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 8px; }
.receipt-head b { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.receipt-head span { font-size: .8rem; color: var(--muted); }
.receipt-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin: 6px 0 2px; }
.receipt-sub { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.receipt ol { list-style: none; margin: 0; padding: 0; }
.receipt li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dotted var(--line-strong); font-size: .95rem; }
.receipt li:last-child { border-bottom: 0; }
.receipt li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt li b { font-variant-numeric: tabular-nums; font-weight: 650; }
.receipt li.is-low b { color: var(--good-ink); }
.receipt li.is-high b { color: var(--accent-ink); }
.receipt-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .9rem; }
.receipt-foot strong { font-size: 1.5rem; letter-spacing: -.02em; color: var(--accent-ink); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 760px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); vertical-align: bottom; white-space: nowrap; }
table.data thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .76rem; }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody th { font-weight: 650; white-space: nowrap; }
table.data tbody th a { text-decoration: none; }
table.data tbody th a:hover { text-decoration: underline; }
table.data td .p { font-variant-numeric: tabular-nums; font-weight: 650; font-size: 1rem; white-space: nowrap; }
table.data td .who { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
table.data td.is-best .p { color: var(--good-ink); }
table.data td.is-best .p::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-left: 7px; vertical-align: 2px; }
table.data td.na { color: var(--muted); }
table.data .col-group { border-left: 1px solid var(--line); }
.table-note { margin-top: 12px; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.table-note i { flex: none; align-self: flex-start; margin-top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--good); display: inline-block; }
.table-note .tn-text { flex: 1 1 0; min-width: 0; }
.table-note .btn-ghost { white-space: nowrap; }
.compare-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
table.compare { min-width: 760px; table-layout: fixed; }
table.compare thead th:nth-child(1) { width: 17%; }
table.compare thead th:nth-child(2) { width: 31%; }
table.compare thead th:nth-child(3) { width: 16%; }
table.compare thead th:nth-child(4) { width: 10%; }
table.compare thead th:nth-child(5) { width: 17%; }
table.compare thead th:nth-child(6) { width: 9%; }
table.compare td.lo-cell .p { color: var(--good-ink); }
table.compare .who { overflow-wrap: anywhere; }
table.compare td, table.compare th { vertical-align: middle; }
table.compare .range-cell { width: 34%; min-width: 200px; }
.range-head { position: relative; }
.range-ticks { display: flex; justify-content: space-between; font-size: .72rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.range { position: relative; height: 22px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.range-line { position: absolute; top: calc(50% - 2px); height: 4px; border-radius: 4px; background: var(--line-strong); }
.range-med { position: absolute; top: calc(50% - 8px); width: 2px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.range-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 2px var(--surface); }
.range-dot.lo { background: var(--good); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; }
.legend .l-lo { width: 10px; height: 10px; border-radius: 50%; background: var(--good); }
.legend .l-med { width: 2px; height: 13px; border-radius: 2px; background: var(--ink); }
.legend .l-hi { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo .panel { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.duo h3 { font-family: var(--serif); font-size: 1.5rem; }
.duo .tag { align-self: flex-start; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.duo ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 6px; }
.duo .from { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.duo .from b { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.callout { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius); background: var(--warn-soft); color: var(--ink); }
.callout svg { width: 26px; height: 26px; color: var(--warn-ink); margin-top: 2px; }
.callout h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: 4px; }
.callout p { color: var(--ink-2); }
.math { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.math div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .9rem; }
.math dt { font-weight: 700; margin-bottom: 8px; }
.math dd { margin: 0; display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); padding: 3px 0; font-variant-numeric: tabular-nums; }
.math dd.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; color: var(--ink); font-weight: 650; }
.math dd.win { color: var(--good-ink); font-weight: 650; }
@media (max-width: 760px) { .math { grid-template-columns: 1fr; } }
.prov-table td.p-col { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prov-table td .bar { display: block; height: 4px; margin-top: 7px; border-radius: 0 4px 4px 0; background: var(--line-strong); }
.prov-table td.is-best .bar { background: var(--good); }
.prov-table .pname { font-weight: 650; }
.prov-table .pname small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.prov-table button.sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.prov-table button.sort:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.prov-table button.sort::after { content: "↕"; font-size: .8em; opacity: .45; }
.prov-table button.sort[aria-sort="ascending"]::after { content: "↑"; opacity: 1; }
.prov-table button.sort[aria-sort="descending"]::after { content: "↓"; opacity: 1; }
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; scroll-margin-top: 24px; }
.pcard header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pcard h3 { font-family: var(--serif); font-size: 1.35rem; }
.pcard header a { font-size: .85rem; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.pcard header a:hover { color: var(--accent-ink); text-decoration: underline; }
.pcard header a svg { width: 12px; height: 12px; }
.pcard-meta { font-size: .85rem; color: var(--muted); margin-top: -6px; }
.pcard-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-cities a { font-size: .8rem; font-weight: 600; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.pcard-cities a span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.pcard-cities a:hover { border-color: var(--ink); color: var(--ink); }
table.mini { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
table.mini th, table.mini td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.mini thead th { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding-top: 0; }
table.mini tbody th { font-weight: 600; color: var(--ink-2); font-size: .82rem; white-space: nowrap; padding-left: 0; }
table.mini thead th:first-child { padding-left: 0; }
table.mini td { font-weight: 650; }
table.mini tr:last-child th, table.mini tr:last-child td { border-bottom: 0; }
table.mini .na { color: var(--muted); font-weight: 500; font-size: .8rem; }
.mini-na { font-size: .9rem; color: var(--ink-2); padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); }
.pcard-dl { margin: 0; display: grid; gap: 8px; font-size: .86rem; border-top: 1px solid var(--line); padding-top: 12px; }
.pcard-dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
.pcard-dl dt { color: var(--muted); font-weight: 600; }
.pcard-dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .pcards { grid-template-columns: 1fr; } }
.mini-wrap { overflow-x: auto; }
@media (max-width: 520px) {
  .pcard { padding: 18px 16px; }
  table.mini { font-size: .84rem; }
  table.mini th, table.mini td { padding: 7px 6px; }
  table.mini tbody th { white-space: normal; min-width: 72px; }
  .pcard-dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 374px) {
  table.mini { font-size: .8rem; }
  table.mini th, table.mini td { padding: 6px 3px; }
  table.mini tbody th { min-width: 0; }
  table.mini .hc { display: none; }
}
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); display: grid; gap: 10px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; margin-top: 24px; color: var(--ink-2); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 650; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 40ch; }
.fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: grid; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.022em; margin: 14px 0 14px; max-width: 20ch; }
.page-head .lede { max-width: 70ch; }
.stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.stamp svg { width: 16px; height: 16px; }
.controls { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-block: 1px solid var(--line); }
.controls .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 12px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.controls .spacer { flex: 1 1 auto; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 34px 8px 14px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.chip { appearance: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.chip::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: var(--surface); flex: none; }
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ink); }
:root[data-theme="dark"] .chip[aria-pressed="true"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230e1113' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230e1113' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }
.map-toggle { display: none; }
@media (max-width: 760px) {
  .controls .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 10px; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .controls .wrap::after { content: ""; flex: 0 0 24px; }
  .controls .wrap::-webkit-scrollbar { display: none; }
  .controls .spacer { display: none; }
  .seg button { padding: 7px 12px; }
  .select select { font-size: 16px; padding-block: 6px; }
}
.no-js .controls, .no-js .strip, .no-js .city-side, .no-js .compare-controls, .no-js .map-toggle, .no-js .prov-table button.sort::after { display: none; }
.city-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; padding-block: 28px 64px; }
.city-main { min-width: 0; }
.city-side { position: sticky; top: calc(var(--controls-h, 64px) + 20px); scroll-margin-top: calc(var(--controls-h, 64px) + 12px); }
@media (max-width: 1080px) {
  .city-layout { grid-template-columns: 1fr; }
  .city-side { position: static; order: -1; display: none; }
  .city-side.is-open { display: block; }
  .map-toggle { display: inline-flex; }
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 16px 18px; min-width: 0; }
.stat dt { font-size: .74rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 6px 0 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat dd small { display: block; font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.stat.is-low dd { color: var(--good-ink); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat dd { font-size: 1.35rem; } }
.strip { margin-top: 14px; padding: 18px 20px 12px; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.strip-head h2 { font-family: var(--sans); font-size: .92rem; font-weight: 650; letter-spacing: 0; }
.strip-head p { font-size: .8rem; color: var(--muted); }
.strip-plot { position: relative; height: 84px; margin: 6px 6px 0; }
.strip-axis { position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--line-strong); }
.strip-tick { position: absolute; bottom: 0; transform: translateX(-50%); font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip-tick::before { content: ""; position: absolute; left: 50%; bottom: 18px; width: 1px; height: 6px; background: var(--line-strong); }
.strip-dot { position: absolute; width: 24px; height: 24px; margin-left: -12px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.strip-dot i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 2px var(--surface); transition: transform .12s; }
.strip-dot.is-low i { background: var(--good); width: 13px; height: 13px; }
.strip-dot:hover i, .strip-dot:focus-visible i, .strip-dot.is-hot i { transform: scale(1.35); }
.strip-label { position: absolute; transform: translateX(-50%); font-size: .75rem; font-weight: 650; white-space: nowrap; color: var(--good-ink); pointer-events: none; }
.strip-label.hi { color: var(--muted); font-weight: 600; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--paper); font-size: .8rem; line-height: 1.35; padding: 8px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow); }
.tip b { font-variant-numeric: tabular-nums; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 30px 0 12px; }
.results-head h2 { font-size: 1.45rem; }
.results-head p { color: var(--muted); font-size: .9rem; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.loc { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.loc.is-hot { border-color: var(--ink); box-shadow: var(--shadow); }
.loc.is-best { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
.rank { font-size: 1.05rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 1px; }
.loc.is-best .rank { color: var(--good-ink); }
.loc-body { min-width: 0; display: grid; gap: 4px; }
.loc-title { font-size: 1.04rem; font-weight: 700; line-height: 1.3; }
.loc-title span { font-weight: 500; color: var(--ink-2); }
.loc-addr, .loc-hours { font-size: .88rem; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; }
.loc-addr svg, .loc-hours svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--muted); }
.loc-addr .dist { color: var(--muted); white-space: nowrap; display: inline-block; margin-left: .3em; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge { font-size: .74rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.badge.good { background: var(--good-soft); border-color: transparent; color: var(--good-ink); }
.badge.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn-ink); }
.loc-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.loc-price { text-align: right; display: grid; justify-items: end; gap: 2px; }
.loc-price .amt { font-size: 1.7rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.loc.is-best .loc-price .amt { color: var(--good-ink); }
.loc-price .lbl { font-size: .76rem; color: var(--muted); }
.loc-price .alt { font-size: .8rem; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.loc-price .alt.na { color: var(--muted); }
.book { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; text-decoration: none; color: var(--paper); background: var(--ink); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.book:hover { color: var(--paper); background: var(--accent-ink); }
.book svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .loc { grid-template-columns: 26px minmax(0, 1fr); padding: 16px 16px 16px 12px; }
  .loc-price { grid-column: 2; text-align: left; justify-items: start; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .loc-price .amt { font-size: 1.45rem; grid-row: 1; grid-column: 1; }
  .loc-price .lbl { display: none; }
  .loc-price .alt { grid-row: 2; grid-column: 1 / -1; margin-top: 0; }
  .loc-price .book { grid-row: 1; grid-column: 2; margin-top: 0; align-self: center; }
  .results-head { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty button { margin-top: 10px; }
.btn-ghost { appearance: none; font: inherit; font-size: .88rem; font-weight: 650; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.btn-ghost:hover { border-color: var(--ink); }
.unranked { margin-top: 32px; }
.unranked h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }
.unranked > p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.unranked ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.unranked li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .9rem; display: grid; gap: 3px; }
.unranked li b { font-size: .98rem; }
.unranked li span { color: var(--ink-2); }
.map-card { overflow: hidden; }
.map { height: min(calc(100vh - var(--controls-h, 64px) - 100px), 640px); min-height: 360px; background: var(--map-water); }
.map-foot { padding: 10px 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.map-foot span:last-child { white-space: nowrap; flex: none; }
@media (max-width: 1080px) { .map { height: 380px; } }
.pin { display: inline-block; transform: translate(-50%, -100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); font: 700 12px/1 var(--sans); font-variant-numeric: tabular-nums; padding: 6px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; position: relative; transition: transform .12s; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
.pin.is-low { background: var(--good); color: var(--on-good); border-color: var(--good); }
.pin.is-low::after { border-color: var(--good); }
.pin.is-hot { background: var(--ink); color: var(--paper); border-color: var(--ink); z-index: 1000; transform: translate(-50%, -100%) scale(1.12); }
.pin.is-hot::after { border-color: var(--ink); }
.pin.is-na { color: var(--muted); font-weight: 600; }
.pin .more { font-weight: 600; opacity: .72; margin-left: 3px; font-size: 11px; }
.leaflet-div-icon.pin-wrap { background: none; border: 0; }
.map-tiles { filter: grayscale(1) contrast(.92) brightness(1.04); }
.map.no-tiles { background-color: var(--map-water) !important; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px) !important; background-size: 48px 48px !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-tiles { filter: grayscale(1) invert(1) contrast(.82) brightness(.95); } }
:root[data-theme="dark"] .map-tiles { filter: grayscale(1) invert(1) contrast(.82) brightness(.95); }
.leaflet-container { font-family: var(--sans) !important; background: var(--map-water) !important; }
.leaflet-control-attribution { font-size: 10px !important; background: color-mix(in srgb, var(--surface) 85%, transparent) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--ink-2) !important; }
.leaflet-bar a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.city-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 72px; }
.city-extra h2 { font-size: 1.6rem; margin-bottom: 14px; }
@media (max-width: 900px) { .city-extra { grid-template-columns: 1fr; } }
.other-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.other-cities a { text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.other-cities a:hover { border-color: var(--ink); color: var(--ink); }
.doc { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 320px); justify-content: space-between; gap: 48px; align-items: start; padding-bottom: 88px; }
.doc-side { position: sticky; top: 24px; display: grid; gap: 14px; }
.side-card { padding: 20px 22px; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.side-kicker { font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-q { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.25; }
.side-card strong { color: var(--ink); }
.side-card b { color: var(--good-ink); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; }
.side-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.side-list a:hover { text-decoration: underline; }
.side-list span { color: var(--good-ink); font-weight: 650; }
.side-list span.cnt { color: var(--muted); font-weight: 500; font-size: .86rem; }
.side-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side-stats dt { font-size: .78rem; color: var(--muted); }
.side-stats dd { margin: 2px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.side-note { font-size: .85rem; color: var(--muted); }
.side-card .downloads a { font-size: .86rem; padding: 8px 14px; }
@media (max-width: 1000px) { .doc { grid-template-columns: 1fr; } .doc-side { position: static; } }
.prose .table-wrap { margin-top: 2px; }
table.data.tight { min-width: 560px; font-size: .9rem; }
table.data.tight th, table.data.tight td { padding: 12px 14px; }
table.data.tight td.is-best .p { color: var(--good-ink); }
table.data.tight td.is-best .p::after { display: none; }
.prose { max-width: 720px; display: grid; gap: 18px; color: var(--ink-2); font-size: 1.04rem; }
.prose h2 { font-size: 1.8rem; color: var(--ink); margin-top: 22px; }
.prose h3 { font-size: 1.15rem; color: var(--ink); margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose .panel { padding: 20px 22px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps li b { display: block; color: var(--ink); }
.glossary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 22px; margin: 0; }
.glossary dt { font-weight: 700; color: var(--ink); }
.glossary dd { margin: 0; }
@media (max-width: 640px) { .glossary { grid-template-columns: 1fr; gap: 4px; } .glossary dd { margin-bottom: 10px; } }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.downloads a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: .92rem; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.downloads a:hover { border-color: var(--ink); color: var(--ink); }
.downloads svg { width: 16px; height: 16px; }
.notfound { padding-block: 120px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .controls, .city-side, .site-footer, .book { display: none !important; }
  body { background: #fff; }
  .loc { break-inside: avoid; }
}
