/* Parcel Finder: the pages around the map.
   Black ink, white paper and Pittsburgh gold. Everything is flat: solid
   fills and 1px lines, no shadows or gradients. */
:root {
  --ink: #000;
  --ink-2: #3b3b3b;
  --ink-3: #6a6a6a;
  --line: #d9d9d9;
  --line-2: #ebebeb;
  --wash: #f4f4f4;
  --paper: #fff;
  --gold: #ffb81c;
  --gold-wash: #fff4d6;
  --sans: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --gutter: 24px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--gold); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 8px; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }

/* -------------------------------------------------------------- chrome -- */
.notice { background: var(--wash); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.notice .wrap { padding-top: 9px; padding-bottom: 8px; }

.top { border-bottom: 1px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.015em; text-decoration: none; line-height: 1; }
.brand:hover { background: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { padding-top: 3px; }
.top nav { display: flex; gap: 4px 22px; flex-wrap: wrap; margin-left: auto; font-weight: 600; font-size: 16px; }
.top nav a { text-decoration: none; padding: 6px 0 3px; border-bottom: 3px solid transparent; }
.top nav a:hover { background: none; border-bottom-color: var(--gold); }
.top nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 3px 20px 0; border-radius: var(--r);
  background: var(--gold); color: var(--ink); border: 1px solid var(--ink);
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.plain { background: var(--paper); }
.btn.plain:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 38px; padding: 2px 14px 0; font-size: 15px; }

/* --------------------------------------------------------- search box -- */
.find { position: relative; max-width: 620px; }
.find-row { display: flex; gap: 8px; }
.find-field { position: relative; flex: 1; min-width: 0; }
.find-field svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.find input {
  width: 100%; height: 54px; padding: 3px 14px 0 44px;
  border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper);
  font-size: 17px; outline-offset: 0;
}
.find input::placeholder { color: var(--ink-3); }
.find input:focus-visible { outline: 3px solid var(--gold); border-radius: var(--r); }
.find .btn { min-height: 54px; }
.find-list {
  position: absolute; left: 0; right: 0; top: 60px; z-index: 5; list-style: none;
  background: var(--paper); border: 1px solid var(--ink); border-radius: var(--r);
  max-height: min(60vh, 420px); overflow: auto; padding: 6px;
}
.find-list:empty { display: none; }
.find-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 7px; line-height: 1.3; cursor: pointer; }
.find-list li[aria-selected="true"], .find-list li[role="option"]:hover { background: var(--gold); }
.find-list li.find-empty { color: var(--ink-3); cursor: default; font-size: 15px; }
.find-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.find-list .f-main { display: block; font-weight: 600; }
.find-list .f-sub { display: block; font-size: 14px; color: var(--ink-2); }
.tries { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; list-style: none; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.tries a { display: inline-block; padding: 4px 10px 2px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--paper); color: var(--ink); }
.tries a:hover { border-color: var(--ink); background: var(--gold); }

/* ----------------------------------------------------------------- hero -- */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 40px 48px; align-items: center; }
h1 { font-size: clamp(36px, 4.7vw, 58px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.hero h1 { max-width: 16ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.hero .lede { margin: 20px 0 28px; }

.plat { position: relative; border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper); }
.plat > img { width: 100%; }
.callout {
  display: block; text-decoration: none; background: var(--paper); border-top: 1px solid var(--ink);
  padding: 16px 18px 14px; font-size: 15px; line-height: 1.4;
}
.callout:hover { background: var(--paper); }
.callout:hover .callout-go { background: var(--gold); }
.callout b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.callout .where { color: var(--ink-2); }
.callout dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 10px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.callout dt { color: var(--ink-3); }
.callout dd { font-weight: 600; text-align: right; white-space: nowrap; }
.callout dd.mono { font-size: 13px; padding-top: 2px; }
.callout-go { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ------------------------------------------------------------ sections -- */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band.wash { background: var(--wash); }
.band > .wrap > h2, .prose h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
.band > .wrap > h2 + p { margin-top: 12px; color: var(--ink-2); max-width: 40em; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

.facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.facts > div { flex: 1 1 200px; padding: 18px 20px 16px 0; }
.facts dt { font-size: 15px; color: var(--ink-2); }
.facts dd { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

/* A term on the left, what it means on the right. */
.spec { margin-top: 32px; border-top: 1px solid var(--ink); }
.spec > div { display: grid; gap: 4px 32px; padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-size: 18px; }
.spec dd { color: var(--ink-2); max-width: 44em; }
.spec code, .prose code, .eg { font: 500 0.9em var(--mono); background: var(--gold-wash); border: 1px solid #f0dfa8; border-radius: 5px; padding: 2px 6px 0; white-space: nowrap; color: var(--ink); }

.two { display: grid; gap: 28px 48px; margin-top: 32px; }
.two h3 { padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.ticks { list-style: none; }
.ticks li { padding: 12px 0 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.band.wash .ticks li, .band.wash .spec > div { border-bottom-color: #cfcfcf; }

/* Link lists: guides, municipalities */
.links { list-style: none; margin-top: 28px; border-top: 1px solid var(--ink); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: grid; gap: 2px 32px; padding: 16px 0 14px; text-decoration: none; }
.links a:hover { background: var(--gold-wash); }
.links b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.links span { color: var(--ink-2); }

.index { list-style: none; columns: 2; column-gap: 32px; margin-top: 28px; font-size: 16px; }
.index li { break-inside: avoid; padding: 3px 0; }
.index a { text-decoration: none; }
.index a:hover { background: var(--gold); }
.more { margin-top: 24px; font-weight: 700; }

.faq { margin-top: 28px; border-top: 1px solid var(--ink); max-width: 820px; }
.faq > div { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.faq p { margin-top: 6px; color: var(--ink-2); }

/* --------------------------------------------------------------- pages -- */
.crumbs { font-size: 14.5px; color: var(--ink-2); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { background: var(--gold); }
.crumbs span { margin: 0 6px; color: var(--ink-3); }
.page-head { padding-top: 20px; padding-bottom: 36px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); max-width: 18ch; }
.page-head .lede { margin-top: 16px; }
.page-head .find { margin-top: 26px; }
.meta { font-size: 14.5px; color: var(--ink-3); margin-top: 14px; }

.prose { padding-bottom: 72px; }
.prose > * { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 31px); margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 32px; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--ink); font-weight: 700; }
.note { background: var(--gold-wash); border: 1px solid #f0dfa8; border-radius: var(--r); padding: 16px 18px 14px; }
.note p { color: var(--ink); }
.note > * + * { margin-top: 8px; }
.sources { font-size: 15.5px; }
.sources li { color: var(--ink-2); }
.do-it { border: 1px solid var(--ink); border-radius: 14px; padding: 22px 22px 20px; margin-top: 40px; }
.do-it h2 { border: 0; margin: 0; padding: 0; font-size: 22px; }
.do-it .find { margin-top: 14px; }

.table-wrap { overflow-x: auto; margin-top: 24px; border-top: 1px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 11px 16px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; white-space: nowrap; }
thead th { border-bottom-color: var(--ink); font-size: 14.5px; color: var(--ink-2); }
td.n, th.n { text-align: right; padding-right: 0; padding-left: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th a { text-decoration: none; }
tbody th a:hover { background: var(--gold); }
.sorter { background: none; border: 0; padding: 0; font-weight: 700; color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.sorter[aria-pressed="true"] { text-decoration-color: var(--gold); text-decoration-thickness: 2px; color: var(--ink); }

/* Municipality page */
.muni { display: grid; gap: 36px 56px; padding-bottom: 72px; }
.muni > * { min-width: 0; }
.muni h2 { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin-top: 44px; }
.muni h2:first-child { margin-top: 0; }
.muni p { color: var(--ink-2); margin-top: 10px; max-width: 40em; }
.stats { margin-top: 16px; border-top: 1px solid var(--ink); }
.stats > div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.stats dt { color: var(--ink-2); }
.stats dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.locator { position: relative; border: 1px solid var(--ink); border-radius: 14px; padding: 18px; background: var(--paper); }
.locator .map { position: relative; }
.locator .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.locator figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }
.streets { list-style: none; margin-top: 14px; border-top: 1px solid var(--ink); }
.streets a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.streets a:hover { background: var(--gold-wash); }
.streets span { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- foot -- */
.foot { border-top: 1px solid var(--ink); padding: 44px 0 calc(env(safe-area-inset-bottom) + 40px); font-size: 15.5px; }
.foot .wrap { display: grid; gap: 28px 48px; }
.foot h2 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.foot ul { list-style: none; }
.foot li { padding: 3px 0; }
.foot a { text-decoration: none; }
.foot a:hover { background: var(--gold); }
.foot p { color: var(--ink-2); max-width: 34em; }
.foot .brand { font-size: 18px; margin-bottom: 12px; }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); }
.foot .legal a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
.foot .legal .credit { margin-right: auto; }

.lost { padding-top: 72px; padding-bottom: 96px; }
.lost p { margin-top: 16px; }
.lost .find { margin-top: 28px; }

@media (min-width: 720px) {
  .spec > div { grid-template-columns: 240px 1fr; }
  .two { grid-template-columns: 1fr 1fr; }
  .links a { grid-template-columns: minmax(240px, 5fr) 7fr; align-items: baseline; }
  .index { columns: 3; }
  .foot .wrap { grid-template-columns: 5fr 3fr 3fr; }
}
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .index { columns: 5; }
  .muni { grid-template-columns: 7fr 5fr; align-items: start; }
  /* On a wide screen the record card sits on the drawing, beside its lot. */
  .plat .callout { position: absolute; width: min(280px, 56%); transform: translateY(-50%); border: 1px solid var(--ink); border-radius: 12px; }
}
@media (max-width: 719px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .hero { padding: 36px 0 44px; }
  .band { padding: 44px 0; }
  .top .wrap { padding-top: 12px; padding-bottom: 10px; }
  .top nav { margin-left: 0; width: 100%; order: 3; font-size: 15.5px; gap: 2px 20px; }
  .top .btn { margin-left: auto; }
  .find-row { flex-wrap: wrap; }
  .find .btn { width: 100%; }
  .find-list { top: 60px; }
  .facts dd { font-size: 25px; }
  .facts > div { flex-basis: 50%; }
  .hero h1 { max-width: none; }
  /* Tables keep all their columns on a phone by dropping the extra words. */
  table { font-size: 14.5px; }
  th, td { padding-right: 8px; }
  td.n, th.n { padding-left: 8px; }
  .wide { display: none; }
  tbody th { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Add-on setup page */
.way { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; }
.prose .way h2 { border: 0; margin: 0; padding: 0; font-size: 22px; }
.way > * + * { margin-top: 10px; }
.tag { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; min-height: 46px; padding: 3px 20px 0; border-radius: var(--r); background: var(--gold); border: 1px solid var(--ink); font-weight: 700; text-decoration: none; cursor: grab; }
.pill.dark { background: var(--ink); color: #fff; cursor: pointer; }
.pill.dark:hover { background: var(--gold); color: var(--ink); }
.demo { display: inline-block; padding: 1px 7px; border-radius: 9px; background: #d4471b; color: #fff; font: 600 11px/1.6 Verdana, sans-serif; vertical-align: 1px; }
