/* PermitsByCity — design system
   Job-site palette: ink, warm paper and one safety orange (the same colours as the daily email).
   Archivo (variable width) for headlines and UI, set wide and heavy like site signage;
   JetBrains Mono for dates, values and permit numbers. */
:root {
  --ink: #10151c;
  --ink-2: #171d26;
  --ink-3: #232b36;
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --card: #ffffff;
  --line: #e4ded2;
  --line-soft: #ede8de;
  --text: #1b1e23;
  --text-2: #3b4049;
  --muted: #5f6570;
  --muted-dark: #a2a9b4;
  --accent: #ff6b1a;
  --accent-deep: #c24d0c;
  --accent-soft: #ffe8d8;
  --green: #1f9d61;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(16, 21, 28, 0.05), 0 2px 10px rgba(16, 21, 28, 0.05);
  --shadow-2: 0 2px 4px rgba(16, 21, 28, 0.05), 0 18px 44px rgba(16, 21, 28, 0.12);
  --shadow-3: 0 4px 10px rgba(16, 21, 28, 0.08), 0 30px 70px rgba(16, 21, 28, 0.22);
  --wrap: 1200px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad: clamp(16px, 4.4vw, 40px);
  --hazard: repeating-linear-gradient(-45deg, var(--accent) 0 11px, var(--ink) 11px 22px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 750; font-stretch: 108%; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: calc(860px + var(--pad) * 2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.84em; letter-spacing: -0.01em; }
.center { text-align: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 22px; }
.fine a { color: var(--text); }
.more { margin-top: 26px; }
.space-sm { height: 18px; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color 0.2s; }
.text-link:hover { color: var(--accent-deep); }
.text-link::after { content: " →"; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font: 650 16px/1 var(--sans); font-stretch: 104%; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 22px rgba(255, 107, 26, 0.3); }
.btn-primary:hover { background: #ff7d36; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 28px rgba(255, 107, 26, 0.38); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: #cdc6b6; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(16, 21, 28, 0.03); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 9px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.dark .eyebrow, .page-hero.has-photo .eyebrow, .sample-copy .eyebrow, .inline-cta .eyebrow { color: var(--accent); }
.tag { display: inline-block; font: 600 12px/1 var(--sans); padding: 6px 9px; border-radius: 6px; background: var(--accent-soft); color: #8f3507; white-space: nowrap; text-decoration: none; }
a.tag:hover { background: #ffd6bc; }
.dark .tag { background: rgba(255, 107, 26, 0.15); color: #ffb488; }
.dark a.tag:hover { background: rgba(255, 107, 26, 0.26); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, 0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(16, 21, 28, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font: 400 20px/1 var(--sans); font-stretch: 106%; letter-spacing: -0.03em; color: #50565f; }
.logo-word b { font-weight: 800; color: var(--ink); }
.logo-light .logo-word { color: #b9bfc8; }
.logo-light .logo-word b { color: #fff; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font: 550 15px/1 var(--sans); text-decoration: none; color: var(--text-2); padding: 8px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; background: var(--card); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: fixed; left: 12px; right: 12px; top: 74px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); padding: 10px; display: grid; }
.menu-panel a:not(.btn) { padding: 15px 14px; font: 550 17px/1.2 var(--sans); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.menu-panel .btn { margin-top: 10px; }

/* Sections */
section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
section.tight { padding-top: clamp(36px, 5vw, 64px); }
section.tinted { background: var(--paper-2); }
section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2, .split h2 { font-size: clamp(30px, 4.2vw, 50px); }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.dark .section-head p { color: var(--muted-dark); }
.section-p { margin-top: 16px; color: var(--text-2); max-width: 56ch; }
.section-p.muted { color: var(--muted); font-size: 15.5px; }
.section-p a { color: var(--text); text-decoration-color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.split-top { align-items: start; }
.split.gap-lg { margin-top: clamp(40px, 5vw, 64px); }
.split h2 + .bars, .split .section-p + .bars { margin-top: 22px; }
.ticks { display: grid; gap: 10px; font-size: 15.5px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 5px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='%23ff6b1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero */
.hero { padding: clamp(32px, 5vw, 68px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(860px 520px at 86% 10%, rgba(255, 107, 26, 0.13), transparent 62%),
    linear-gradient(rgba(16, 21, 28, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(16, 21, 28, 0.045) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: linear-gradient(#000 45%, transparent 92%); -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.live { display: inline-flex; align-items: center; gap: 10px; font: 500 clamp(11px, 3vw, 12.5px)/1.2 var(--mono); color: var(--text-2); background: var(--card); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; max-width: 100%; }
.live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31, 157, 97, 0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 157, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 97, 0); } }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.04em; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--accent-deep); display: block; margin-top: 0.08em; }
.lede { margin-top: 22px; font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.hero-count { margin-top: 20px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 16px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, 0.6); font-size: 16px; color: var(--text-2); border-radius: 0 10px 10px 0; }
.hero-count b { font: 700 24px/1 var(--mono); color: var(--ink); letter-spacing: -0.03em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font: 500 14px/1.3 var(--sans); color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.hero-visual { position: relative; padding: 0 0 70px 40px; }
.hero-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-3); background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scale(1.04); animation: settle 1.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; background: rgba(16, 21, 28, 0.88); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 11px 15px; border-radius: 10px; font: 400 13.5px/1.2 var(--sans); box-shadow: var(--shadow-2); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; }
.chip b { font: 600 15px/1 var(--mono); }
.chip span { color: #c5cad3; }
.chip-count { top: 16px; right: 16px; }

/* Hero job tickets */
.ticket-stack { position: absolute; left: 0; bottom: 0; width: min(372px, 84%); height: 206px; }
.ticket { position: absolute; inset: 0; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 15px 18px 14px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; transform-origin: 0 100%; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); will-change: transform, opacity; }
.ticket.pos-0 { z-index: 3; }
.ticket.pos-1 { z-index: 2; transform: translate(14px, -13px) scale(0.965); opacity: 0.92; }
.ticket.pos-2 { z-index: 1; transform: translate(28px, -26px) scale(0.93); opacity: 0.7; }
.ticket.out { z-index: 4; transform: translate(-26px, 26px) rotate(-5deg); opacity: 0; }
.ticket.pos-1 > *, .ticket.pos-2 > * { opacity: 0; }
.tk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tk-stamp { color: var(--accent-deep); border: 1.5px solid currentColor; border-radius: 4px; padding: 4px 6px; transform: rotate(-2deg); white-space: nowrap; }
.tk-city { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-mid { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.tk-value { font: 700 19px/1 var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.ticket h3 { font-size: 20px; font-stretch: 104%; line-height: 1.15; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-desc { font-size: 13.5px; line-height: 1.35; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-foot { margin-top: auto; padding-top: 9px; border-top: 1px dashed var(--line); font: 600 13px/1.2 var(--sans); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-contractor::before { content: "Contractor · "; font-weight: 400; color: var(--muted); }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--ink); }
.stat { padding: 24px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.num { font: 750 clamp(32px, 4.2vw, 54px) / 1 var(--sans); font-stretch: 106%; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.label { margin-top: 10px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }

.ticker { background: var(--ink); color: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 140s linear infinite; padding: 15px 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 26px; font-size: 14.5px; white-space: nowrap; border-right: 1px solid var(--line-dark); }
.ticker-item b { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ticker-item span { font: 400 12.5px/1 var(--mono); color: var(--muted-dark); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 28px 32px 6px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { display: inline-block; font: 600 13px/1 var(--mono); color: var(--ink); background: var(--accent); padding: 6px 8px; border-radius: 4px; }
.step h3 { font-size: 24px; margin-top: 20px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Data tables */
.table-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.table-card.light { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-1); }
.table-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line-dark); font: 400 12.5px/1 var(--mono); color: var(--muted-dark); }
.table-bar span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #343b47; }
.dots i:first-child { background: var(--accent); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
table.data.wide { min-width: 860px; }
table.data.compact { min-width: 460px; }
table.data th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-dark); padding: 14px 16px; white-space: nowrap; }
table.data td { padding: 13px 16px; border-top: 1px solid var(--line-dark); vertical-align: top; }
table.data .r { text-align: right; }
table.data .nowrap { white-space: nowrap; }
table.data td strong { font-weight: 600; }
table.data td.mono { color: var(--muted-dark); }
table.data td a { text-decoration: none; }
.table-card.light table.data th { color: var(--muted); background: #fbfaf6; }
.table-card.light table.data td { border-top-color: var(--line-soft); }
.table-card.light table.data td.mono { color: var(--muted); }
.table-card.light table.data td a:not(.tag) { border-bottom: 1px solid var(--accent); }
table.permits { min-width: 980px; }
table.permits td.addr { min-width: 170px; }
table.permits td.addr .sub { display: block; font: 400 12.5px/1.4 var(--mono); color: var(--muted-dark); margin-top: 3px; }
table.permits td.desc { min-width: 260px; max-width: 360px; font-size: 13.5px; line-height: 1.45; color: #c9ced6; }
table.permits td.contractor { min-width: 170px; font-size: 14px; }
table.permits td.mono.r { color: #fff; font-weight: 500; }
.table-card.light table.permits td.desc { color: var(--muted); }
.table-card.light table.permits td.mono.r { color: var(--text); }
.muted-cell { color: var(--muted-dark); font-size: 13px; font-style: italic; }
.table-card.light .muted-cell { color: var(--muted); }
.lock { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: #ffb488; white-space: nowrap; }
.lock::before { content: ""; width: 10px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h.5A1.5 1.5 0 0 1 10 6.5v3A1.5 1.5 0 0 1 8.5 11h-7A1.5 1.5 0 0 1 0 9.5v-3A1.5 1.5 0 0 1 1.5 5Zm1.5 0h3V3.5a1.5 1.5 0 0 0-3 0Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h.5A1.5 1.5 0 0 1 10 6.5v3A1.5 1.5 0 0 1 8.5 11h-7A1.5 1.5 0 0 1 0 9.5v-3A1.5 1.5 0 0 1 1.5 5Zm1.5 0h3V3.5a1.5 1.5 0 0 0-3 0Z'/%3E%3C/svg%3E") center/contain no-repeat; }
table.data.cols td:nth-child(2) { white-space: nowrap; }
table.data.cols td:nth-child(3) { color: var(--muted); font-size: 14px; min-width: 260px; }
table.heatmap { min-width: 900px; font-size: 13px; }
table.heatmap td, table.heatmap th { padding: 10px 12px; }
table.heatmap td:first-child { white-space: nowrap; position: sticky; left: 0; background: var(--card); z-index: 1; }
table.heatmap th:first-child { position: sticky; left: 0; z-index: 1; }
.heat { text-align: right; font: 500 12.5px/1 var(--mono); }
.heat.h0 { color: #b3b0a6; }
.heat.h1 { background: #fff3ea; color: #8f3507; }
.heat.h2 { background: #ffdcc4; color: #7a2c05; }
.heat.h3 { background: #ffb98c; color: #5e2203; }
.heat.h4 { background: var(--accent); color: var(--ink); }
.table-note { margin-top: 22px; color: var(--muted-dark); font-size: 15px; }
.table-note a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--accent); }
.table-note a::after { content: " →"; }

/* Honest */
.honest-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.honest-card { border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); }
.honest-card h3 { font-size: 24px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.honest-card h3::before { content: ""; width: 28px; height: 28px; border-radius: 7px; flex: none; }
.honest-card.yes { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.honest-card.yes h3::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M8 14.4l4 4L20 10' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px; }
.honest-card.no { background: var(--ink); color: #fff; }
.honest-card.no h3::before { background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9.5 9.5l9 9m0-9l-9 9' fill='none' stroke='%23ff6b1a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/28px; }
.honest-card li { padding: 14px 0; border-top: 1px solid var(--line-soft); color: var(--text-2); }
.honest-card.no li { border-top-color: var(--line-dark); color: #c5cad3; }
.honest-card li strong { color: var(--text); font-weight: 650; }
.honest-card.no li strong { color: #fff; }
.honest-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); font: 550 18px/1.45 var(--sans); color: #fff; }

/* Trades */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--ink); isolation: isolate; }
.aud img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.aud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 21, 28, 0) 25%, rgba(16, 21, 28, 0.6) 55%, rgba(16, 21, 28, 0.95) 100%); }
.aud:hover img { transform: scale(1.05); }
.aud .inner { padding: 22px; }
.aud-tag { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 6px 8px; border-radius: 4px; margin-bottom: 12px; }
.aud h3 { font-size: 21px; line-height: 1.15; }
.aud p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #c5cad3; }
.buyer-table { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.buyer-head, .buyer-row { display: grid; grid-template-columns: 230px 1fr 110px; gap: 20px; padding: 13px 20px; align-items: baseline; }
.buyer-head { font: 500 11px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); background: #fbfaf6; }
.buyer-head span:last-child, .br-n { text-align: right; }
.buyer-row { border-top: 1px solid var(--line-soft); text-decoration: none; transition: background 0.2s; }
.buyer-row:hover { background: #fff8f2; }
.br-cat { font-weight: 650; }
.buyer-row:hover .br-cat { color: var(--accent-deep); }
.br-who { font-size: 14.5px; color: var(--muted); }
.br-n { font: 500 13.5px/1 var(--mono); }

/* City cards */
.city-grid-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.city-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cbc4b3; }
.cc-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin-bottom: 18px; }
.cc-head h3 { font-size: 19px; line-height: 1.1; }
.cc-state { font: 500 11.5px/1 var(--mono); border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; color: var(--muted); }
.city-card .num { font-size: 34px; }
.city-card .label { font-size: 13px; }
.mini-spark { width: 100%; height: 40px; margin: 16px 0; }
.mini-spark rect { fill: #e3dccd; transition: fill 0.3s; }
.city-card:hover .mini-spark rect, .dir-card:hover .mini-spark rect { fill: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.chips li { font: 600 11.5px/1 var(--sans); padding: 5px 8px; border-radius: 5px; background: #e6f4ec; color: #146c43; }
.chips li.no { background: #f0ece3; color: #8a8f98; text-decoration: line-through; }
.cc-link { margin-top: auto; font: 650 14px/1 var(--sans); display: inline-flex; gap: 8px; align-items: center; }
.city-card:hover .arrow, .dir-card:hover .arrow { transform: translateX(4px); }
.arrow { display: inline-block; transition: transform 0.25s var(--ease); }

/* Bars */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(130px, 230px) 1fr 64px; align-items: center; gap: 14px; font-size: 15px; }
.bar-label a { text-decoration: none; border-bottom: 1px solid rgba(255, 107, 26, 0.5); }
.bar-label a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.bar .track { height: 10px; border-radius: 2px; background: rgba(16, 21, 28, 0.07); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: var(--w); background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.in .bar .fill, .bars.in .fill, .no-js .bar .fill { transform: none; }
.bar .n { font: 500 13px/1 var(--mono); text-align: right; color: var(--text-2); }

/* Sample form */
.sample-card { display: grid; grid-template-columns: 1.05fr 0.95fr; background: var(--ink); color: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-3); position: relative; }
.sample-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hazard); }
.sample-copy { padding: clamp(30px, 4.5vw, 60px); }
.sample-copy h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sample-copy p { margin-top: 14px; color: var(--muted-dark); max-width: 46ch; }
.sample-copy .ticks { margin-top: 24px; color: #dfe3ea; }
.sample-copy .ticks li::before { background-color: rgba(255, 255, 255, 0.1); }
.sample-form { background: var(--card); color: var(--text); padding: clamp(22px, 3.6vw, 42px); display: grid; gap: 16px; align-content: center; margin: 16px 10px 10px; border-radius: 14px; }
label, .field { display: grid; gap: 7px; font: 550 14px/1.3 var(--sans); color: var(--text-2); }
input[type="email"], input[type="text"], select, textarea { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #cdc6b6; border-radius: 9px; background: #fff; font: 400 16px/1.3 var(--sans); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; }
textarea { padding: 13px 15px; min-height: 96px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235f6570' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px; text-overflow: ellipsis; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.2); }
input::placeholder, textarea::placeholder { color: #a1a6ae; }
.sample-form .fine { margin-top: 0; font-size: 13px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-3); }
.plan.featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hazard); border-radius: 18px 18px 0 0; }
.plan h3 { font: 700 15px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.price { font: 800 62px/1 var(--sans); font-stretch: 110%; letter-spacing: -0.05em; margin-top: 18px; }
.price small { font: 450 15px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.plan-trial { display: block; margin-top: 10px; font: 500 12.5px/1.3 var(--mono); color: var(--accent-deep); }
.plan.featured .plan-trial { color: var(--accent); }
.plan.featured .price small, .plan.featured .plan-blurb { color: var(--muted-dark); }
.plan-blurb { margin-top: 12px; color: var(--muted); font-size: 15.5px; min-height: 3.1em; }
.plan .ticks { margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.plan.featured .ticks { border-top-color: var(--line-dark); color: #dfe3ea; }
.plan.featured .ticks li::before { background-color: rgba(255, 255, 255, 0.1); }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: 26px; right: 22px; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 7px 9px; border-radius: 4px; }

/* Guides, rank lists, facts */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-grid.three { grid-template-columns: repeat(3, 1fr); }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cbc4b3; }
.guide-card .mono { color: var(--accent-deep); text-transform: uppercase; letter-spacing: 0.07em; font-size: 11.5px; }
.guide-card h3 { font-size: 22px; line-height: 1.18; }
.guide-card p { font-size: 15px; color: var(--muted); }
.rank-pair { display: grid; gap: 16px; }
.rank { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 14px; box-shadow: var(--shadow-1); }
.rank h3 { font: 600 12px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rank ol { counter-reset: rank; }
.rank li { counter-increment: rank; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.rank li:first-child { border-top: 0; }
.rank li::before { content: counter(rank, decimal-leading-zero); font: 500 12px/1 var(--mono); color: var(--accent-deep); }
.rank li b { font: 500 13px/1 var(--mono); color: var(--text-2); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.fact { padding: 22px 22px 6px 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact b { font: 750 34px/1 var(--sans); font-stretch: 108%; letter-spacing: -0.04em; }
.fact span { font-size: 15px; color: var(--muted); }
.pub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pub-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.pub-card h3 { font-size: 21px; }
.pub-card h3 a { text-decoration: none; }
.pub-card h3 a:hover { color: var(--accent-deep); }
.pub-card > p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.pub-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pub-facts li { font: 500 12px/1 var(--mono); padding: 6px 8px; border-radius: 5px; background: var(--paper); border: 1px solid var(--line); }
.pub-src { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.dark .faq { border-top-color: var(--accent); }
.faq details { border-bottom: 1px solid var(--line); }
.dark .faq details { border-bottom-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 650 clamp(17px, 1.9vw, 20px)/1.3 var(--sans); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat; transition: transform 0.3s var(--ease); color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 44px 24px 0; color: var(--muted); max-width: 72ch; }
.dark .faq p { color: var(--muted-dark); }

/* CTA band */
.cta-section { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 84px); display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: end; min-height: 380px; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--hazard); z-index: 1; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 21, 28, 0.94) 0%, rgba(16, 21, 28, 0.7) 50%, rgba(16, 21, 28, 0.2) 100%); }
.cta-copy h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 15ch; }
.cta-copy p { margin-top: 14px; font: 500 clamp(18px, 2vw, 22px)/1.4 var(--sans); color: #ffd0b3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; justify-items: start; position: relative; overflow: hidden; }
.inline-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--hazard); }
.inline-cta .eyebrow { margin: 6px 0 0; }
.inline-cta strong { font: 750 22px/1.2 var(--sans); font-stretch: 106%; letter-spacing: -0.02em; }
.inline-cta p { color: var(--muted-dark); font-size: 15px; }
.inline-cta .text-link { color: #fff; font-size: 14.5px; }

/* Page hero */
.page-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 66px); font-weight: 800; font-stretch: 110%; letter-spacing: -0.04em; max-width: 19ch; line-height: 1; }
.page-hero .lede { max-width: 64ch; }
.page-hero.has-photo { background: var(--ink); color: #fff; border-bottom: 0; padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 7vw, 88px); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 21, 28, 0.94), rgba(16, 21, 28, 0.6) 62%, rgba(16, 21, 28, 0.35)); }
.page-hero.has-photo .lede { color: #dfe3ea; }
.page-hero.has-photo .crumbs, .page-hero.has-photo .crumbs a { color: #c5cad3; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 12.5px/1.3 var(--mono); color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: 0.5; }
.crumbs span { color: var(--text); }
.page-hero.has-photo .crumbs span { color: #fff; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 2px solid var(--ink); }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 20px 20px 4px 0; }
.kpi + .kpi { padding-left: 22px; border-left: 1px solid var(--line); }
.kpi .num { font-size: clamp(26px, 3.4vw, 44px); }
.kpi .num-text { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; padding-top: .3em; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font: 400 12.5px/1.3 var(--mono); color: var(--muted); }

/* Charts, directory, chips */
.chart { margin: 0 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 14px; box-shadow: var(--shadow-1); }
.chart svg { width: 100%; height: 120px; }
.chart rect { fill: #e9c3a8; }
.chart rect:hover { fill: var(--accent); }
.chart figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.dir-card { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; text-decoration: none; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.dir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.dir-card h2 { font-size: 26px; }
.dir-card p { margin: 6px 0 12px; font-size: 14.5px; color: var(--muted); }
.dir-card .chips { margin: 0; }
.dir-num { text-align: right; }
.dir-num .num { display: block; font-size: 34px; }
.dir-num .label { display: block; font-size: 13px; margin-top: 6px; }
.dir-arrow { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.dir-card:hover .dir-arrow { background: var(--accent); border-color: var(--accent); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.city-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; font-weight: 550; font-size: 15.5px; transition: border-color 0.2s, transform 0.2s var(--ease); }
.city-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.city-chip b { font: 500 13px/1 var(--mono); color: var(--accent-deep); }
.note-card { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.note-card h3 { font: 700 15px/1.3 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.note-card p { font-size: 15px; color: var(--text-2); }
.note-card p + p { margin-top: 8px; font-size: 14px; }
.note-card p.muted { color: var(--muted); font-size: 13px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.plain-list { margin-top: 18px; display: grid; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.plain-list strong { color: var(--text); }

/* Article / prose */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); display: grid; gap: 10px; }
.toc h3 { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--accent-deep); }
.prose { max-width: 720px; min-width: 0; font-size: 18px; line-height: 1.7; color: #2b2f36; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.9em; scroll-margin-top: 96px; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent-deep); }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose strong { font-weight: 650; color: var(--text); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; font-size: 17px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th { text-align: left; font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; background: #fbfaf6; border-bottom: 1px solid var(--line); }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose .table-scroll { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.prose aside.cta { margin: 2em 0; font-size: 16px; line-height: 1.5; }
.prose .faq summary { font-size: 18.5px; }
.prose .faq p { font-size: 16.5px; }
.wrap.prose { margin: 0 auto; padding: 0 var(--pad); max-width: calc(760px + var(--pad) * 2); }

/* Forms: onboarding, removal */
.form-alert { background: #fdecea; border: 1px solid #f3b8ae; color: #7a1e10; padding: 14px 16px; border-radius: 10px; font-size: 15px; margin-bottom: 18px; }
.form-alert.info { background: #e9f5ee; border-color: #b5dcc6; color: #124e32; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt { font-weight: 400; color: #8a909a; }
.hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 16px; }
.hint:last-child { margin-bottom: 0; }
.field-error { color: #b3261e; font-size: 14px; margin-top: 10px; font-weight: 550; }
.removal-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); font-size: 16px; line-height: 1.4; box-shadow: var(--shadow-1); }
.removal-form .btn { justify-self: start; }
.start-hero h1 { max-width: 16ch; }
.start-section { padding-top: clamp(28px, 4vw, 48px); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.start-form { display: grid; gap: 16px; min-width: 0; }
.ob-step { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: clamp(18px, 2.8vw, 30px); margin: 0; min-width: 0; box-shadow: var(--shadow-1); }
.ob-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 750 21px/1.2 var(--sans); font-stretch: 106%; letter-spacing: -0.02em; padding: 0; margin-bottom: 20px; }
.ob-step legend + * { clear: both; }
.step-num { width: 30px; height: 30px; border-radius: 7px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 600 14px/1 var(--mono); flex: none; }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; inset: 0; }
.opt-body { display: grid; gap: 6px; height: 100%; align-content: start; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.plan-opt:hover .opt-body { border-color: #bdb6a4; }
.plan-opt input:checked + .opt-body { border-color: var(--ink); background: #fff8f2; box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.25); }
.plan-opt input:focus-visible + .opt-body { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.opt-top strong { font-weight: 700; color: var(--text); }
.opt-badge { font: 600 10.5px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; background: #e2f4ea; color: #146c43; padding: 5px 7px; border-radius: 4px; }
.opt-price { font: 800 30px/1 var(--sans); font-stretch: 108%; letter-spacing: -0.04em; color: var(--text); }
.opt-price small { font: 400 13px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.opt-desc { font-size: 13.5px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.pick-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 14px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 9px; font: 550 14.5px/1.25 var(--sans); color: var(--text); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.pick span small { font: 500 11px/1 var(--mono); color: var(--muted); }
.pick:hover span { border-color: #bdb6a4; }
.pick input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pick input:checked + span small { color: var(--accent); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.all-note { font-size: 15px; color: var(--text-2); background: #e9f5ee; border-radius: 10px; padding: 14px 16px; font-weight: 400; }
.all-toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; font-size: 15px; }
.all-toggle input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.picker { margin-top: 14px; }
.picker summary { cursor: pointer; font: 550 15px/1.3 var(--sans); color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; list-style: none; }
.picker summary::-webkit-details-marker { display: none; }
.pick-count { color: var(--muted); font-weight: 400; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
.summary { position: sticky; top: 92px; }
.summary-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow-3); position: relative; overflow: hidden; }
.summary-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hazard); }
.summary-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 750 22px/1.2 var(--sans); margin-top: 4px; }
.summary-plan span:last-child { font: 500 15px/1 var(--mono); color: var(--muted-dark); }
.summary-due { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.summary-due strong { font: 800 34px/1 var(--sans); color: #fff; letter-spacing: -0.04em; }
.timeline { margin-top: 22px; display: grid; }
.timeline li { position: relative; padding: 0 0 18px 24px; display: grid; gap: 3px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 18px; bottom: -5px; width: 1px; background: var(--line-dark); }
.timeline li:last-child::after, .timeline li[hidden] { display: none; }
.timeline strong { font: 650 14.5px/1.3 var(--sans); }
.timeline span { font-size: 14px; color: var(--muted-dark); line-height: 1.45; }
.summary-ticks { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 14px; color: #dfe3ea; }
.summary-ticks li::before { background-color: rgba(255, 255, 255, 0.1); }
.summary-ticks a { color: #fff; }
.summary-help { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #c5cad3; padding: 0 0 calc(36px + env(safe-area-inset-bottom)); font-size: 15px; }
.hazard { height: 8px; background: var(--hazard); margin-bottom: clamp(44px, 6vw, 72px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1.2fr; gap: 36px; }
.foot-brand p { margin-top: 16px; max-width: 34ch; color: var(--muted-dark); }
.foot-brand .foot-indep { font-size: 13.5px; color: #8a909a; }
.site-footer h4 { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #8a909a; margin-bottom: 16px; }
.foot-cities { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.site-footer .foot-grid a:not(.logo) { display: block; text-decoration: none; padding: 6px 0; color: #dfe3ea; transition: color 0.2s; }
.site-footer .foot-grid a:not(.logo):hover { color: var(--accent); }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.65; color: #8a909a; max-width: 100ch; }
.sticky-cta { display: none; }

/* Responsive */
@media (max-width: 1120px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14px; }
  .city-grid-cards { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .aud { min-height: 360px; }
  .start-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .pick-row { grid-template-columns: repeat(3, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 16px; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero-grid, .split, .sample-card, .honest-grid, .article, .start-grid, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; padding-left: 28px; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .guide-grid.three { grid-template-columns: repeat(2, 1fr); }
  .plan-blurb { min-height: 0; }
  .article-side { position: static; }
  .toc { display: none; }
  .summary { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { align-items: start; min-height: 0; }
  .dir-grid, .pub-grid { grid-template-columns: 1fr; }
  .buyer-head, .buyer-row { grid-template-columns: 180px 1fr 80px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 241, 234, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.4s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  body.start .sticky-cta { display: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.start .site-footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header .wrap { min-height: 62px; }
  .menu-panel { top: 70px; }
  .logo-word { font-size: 18.5px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); font-stretch: 104%; }
  .hero-actions .btn { width: 100%; }
  .hero-count { font-size: 15px; }
  .hero-visual { padding: 0 0 96px 0; }
  .hero-photo { aspect-ratio: 1 / 1; border-radius: 14px; }
  .ticket-stack { left: 10px; width: calc(100% - 48px); height: 200px; }
  .chip-count { top: 10px; right: 10px; }
  .stats, .kpis, .kpis-3 { grid-template-columns: 1fr 1fr; }
  .stat, .kpi { padding: 18px 14px 18px 0; }
  .stat + .stat, .kpi + .kpi { padding-left: 0; border-left: 0; }
  .stat:nth-child(even), .kpi:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3), .kpi:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .kpis-3 .kpi:nth-child(3) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .city-grid-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-card { padding: 16px; }
  .city-card .num { font-size: 28px; }
  .audience { grid-template-columns: 1fr; }
  .aud { min-height: 300px; }
  .buyer-head { display: none; }
  .buyer-row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; }
  .br-who { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .bar { grid-template-columns: minmax(0, 1fr) 56px; row-gap: 6px; }
  .bar .bar-label { grid-column: 1; }
  .bar .n { grid-column: 2; grid-row: 1; }
  .bar .track { grid-column: 1 / -1; }
  .sample-form { margin: 0 8px 8px; }
  .field-row, .plan-options { grid-template-columns: 1fr; }
  .pick-row, .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick span { font-size: 13.5px; padding: 10px 11px; }
  .guide-grid, .guide-grid.three { grid-template-columns: 1fr; }
  .dir-card { grid-template-columns: 1fr auto; padding: 20px; gap: 14px; }
  .dir-arrow { display: none; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; margin-top: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { border-radius: 16px; }
  .cta-band::after { background: linear-gradient(180deg, rgba(16, 21, 28, 0.6), rgba(16, 21, 28, 0.94)); }
  .cta-actions .btn { width: 100%; }
  .prose { font-size: 17px; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .city-chip { padding: 12px; font-size: 14.5px; }
  .faq summary { padding-right: 36px; }
  .faq p { padding-right: 0; }
  .chart svg { height: 90px; }
  .price { font-size: 54px; }
  table.heatmap td:first-child { white-space: normal; min-width: 120px; max-width: 130px; font-size: 12.5px; padding-right: 8px; }
  .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; }
  /* Permit rows become cards: no sideways scrolling on phones */
  table.permits, table.permits tbody { display: block; min-width: 0; }
  table.permits tr.head { display: none; }
  table.permits tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; padding: 16px; border-top: 1px solid var(--line-dark);
    grid-template-areas: "work value" "addr addr" "desc desc" "contr contr" "hint hint" "date city"; }
  table.permits tr.head + tr { border-top: 0; }
  .table-card.light table.permits tr { border-top-color: var(--line-soft); }
  table.permits td { display: block; padding: 0; border: 0; min-width: 0; max-width: none; }
  table.permits td.c-work { grid-area: work; }
  table.permits td.c-value { grid-area: value; align-self: center; }
  table.permits td.addr { grid-area: addr; min-width: 0; }
  table.permits td.desc { grid-area: desc; min-width: 0; max-width: none; }
  table.permits td.contractor { grid-area: contr; min-width: 0; }
  table.permits td.contractor::before { content: "Contractor · "; font: 400 12.5px var(--mono); color: var(--muted-dark); }
  table.permits td.c-hint { grid-area: hint; font-size: 13px; }
  table.permits td.c-date { grid-area: date; font-size: 12.5px; }
  table.permits td.c-city { grid-area: city; text-align: right; font: 400 12.5px var(--mono); color: var(--muted-dark); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bar .fill { transform: none; }
  .ticker-track { animation: none; }
}
