/* The Property Tax Guy - modern styles
   Same pages and words as the classic site; a lighter, card-based look with a sticky top bar.
   Inter from Google Fonts, falling back to the system font if it cannot load. */

:root {
  --ink: #ffffff;
  --ink-soft: #d4d4d8;
  --muted: #a1a1aa;
  --navy: #1d3f6e;
  --navy-deep: #0b1b33;
  --blue: #3b82f6;
  --link: #7cb4ff;
  --accent: #f97316;
  --paper: #000000;
  --tint: #0c0c0e;
  --surface: #151518;
  --line: #2a2a30;
  --ok: #15803d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .6);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px rgba(0, 0, 0, .75);
  --measure: 46rem;
  --wide: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;               /* about 14 pt */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-deep); color: #fff; padding: .6rem 1rem; z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- sticky top bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #000;
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: .7rem 16px;
  display: flex;
  align-items: center;
  gap: .5rem 1.2rem;
}
.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .65rem;
  align-items: center;
  color: var(--ink); text-decoration: none; line-height: 1.15;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  grid-row: span 2;
  display: block;
  height: 3.4rem; width: auto;
}
.brand .word { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.brand .sub  { font-size: .78rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

nav.primary { margin-left: auto; }
nav.primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
nav.primary a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
nav.primary a:hover { background: var(--surface); color: #fff; }
nav.primary a[aria-current="page"] { background: #fff; color: #000; }

.call {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
}
.call:hover { background: var(--link); color: #000; }

/* ---------- layout ---------- */
main { display: block; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 16px; }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--measure); }
section { padding: 3.6rem 0; }
main > section:nth-of-type(even) { background: var(--tint); }

h1, h2, h3 { line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 0 0 1rem; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 0 0 1rem; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 1.8rem 0 .45rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }
.small { font-size: .88rem; color: var(--muted); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55rem 26rem at 90% -20%, rgba(59, 130, 246, .28), transparent 60%),
    #000;
  border-bottom: 1px solid var(--line);
  color: #e2e8f0;
  padding: 4.6rem 0 4.2rem;
}
.hero h1 { color: #fff; max-width: 42ch; }
.hero .lede { color: var(--ink-soft); font-size: 1.22rem; }
.hero strong { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.offer {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .4rem 0 1.4rem;
  padding: .5rem 1rem .5rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
}
.offer::before {
  content: "\2713";
  display: grid; place-items: center;
  width: 1.6rem; height: 1.6rem; flex: none;
  border-radius: 50%;
  background: #22c55e; color: #052e16; font-size: .9rem; font-weight: 800;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.btn {
  display: inline-block;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.primary { background: #fff; color: #000; }
.btn.primary:hover { background: var(--link); color: #000; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.1rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card h3 { margin-top: 0; }

/* forms and reference cards */
.wrap.prose > .grid.links { max-width: var(--wide); }
.links { margin-top: 1.4rem; }
.links .card h3 { font-size: 1.1rem; }
.links .card p { font-size: .98rem; }

/* credentials strip */
.creds { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.2rem 0 1rem; }
.creds .card { padding: 1.3rem 1.3rem .9rem; }
.creds .card p { margin: 0 0 .3rem; font-size: .95rem; color: var(--muted); }
.creds .stat {
  font-size: 1.6rem !important; font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  background: linear-gradient(135deg, #ffffff 0%, var(--link) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
}
.wrap.prose .creds { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.creds-band { padding: 0 0 2.4rem; background: var(--tint); }
.creds-band .creds { margin-top: -2rem; position: relative; }
main > section.creds-band + section { background: var(--paper); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.3rem 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.3rem; height: 2.3rem;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-weight: 800;
  display: grid; place-items: center;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--link);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
  box-shadow: var(--shadow);
}
.callout.warn { border-left-color: var(--accent); }

blockquote {
  margin: 1.1rem 0;
  padding: .9rem 1.2rem;
  border-left: 4px solid var(--link);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}
main > section:nth-of-type(even) blockquote { background: var(--surface); }
cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 1.2rem 0 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface);
}
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .98rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
th { background: #1c1c20; color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- opinions list ---------- */
.opinion {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin: 0 0 1.1rem;
  box-shadow: var(--shadow);
}
.opinion h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.opinion .meta { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.opinion blockquote { margin: .5rem 0 .7rem; }

/* ---------- calculator ---------- */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lift);
}
.calc label { display: block; font-weight: 600; margin: 1rem 0 .35rem; font-size: .98rem; }
.calc label:first-child { margin-top: 0; }
.calc input, .calc select {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: .7rem .85rem;
  border: 1px solid #3f3f46; border-radius: 12px;
  background: #0a0a0b; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.calc input { max-width: 20rem; }
.calc select { max-width: 30rem; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(124, 180, 255, .2); }
.calc select:disabled { background: #111113; color: #71717a; }
.calc .hint { font-size: .86rem; color: var(--muted); margin: .35rem 0 0; }
#rar-src { font-size: .92rem; color: var(--ink-soft); }
.calc button {
  margin-top: 1.4rem;
  font: inherit; font-size: 1.02rem; font-weight: 700;
  padding: .85rem 1.5rem;
  background: #fff; color: #000; border: 0; border-radius: 999px; cursor: pointer;
}
.calc button:hover { background: var(--link); }
.result {
  margin-top: 1.4rem;
  background: #0a0a0b;
  border: 1px solid var(--link); border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.result[hidden] { display: none; }
.result .big { font-size: 2.3rem; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.result dl { margin: .8rem 0 1rem; display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; }
.result dt { color: var(--ink-soft); }
.result dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .92rem;
}
.site-footer .inner { max-width: var(--wide); margin: 0 auto; padding: 3rem 16px 2rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.site-footer a:hover { color: #93c5fd; }
.site-footer .cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .6rem; }
.site-footer .notice { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.2rem; font-size: .84rem; color: #94a3b8; }

/* ---------- smaller screens ---------- */
@media all {  /* header always two rows: brand + call, then the menu */
  .site-header .inner { flex-wrap: wrap; }
  .call { margin-left: auto; }
  nav.primary {
    order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 12px;
    overflow-x: auto; scrollbar-width: none;
  }
  nav.primary::-webkit-scrollbar { display: none; }
}
@media (max-width: 40rem) {
  body { font-size: 18px; }
  .brand .sub { display: none; }
  .brand .mark { grid-row: auto; height: 1.9rem; }
  .brand .word { font-size: 1rem; }
  .site-header .inner { gap: .4rem .6rem; }
  .brand { column-gap: .5rem; }
  .call { padding: .45rem .75rem; font-size: .8rem; }
  .brand { grid-template-columns: auto auto; }
  .call-word { display: none; }
  .hero { padding: 3rem 0 3.4rem; }
  section { padding: 2.6rem 0; }
  .calc { padding: 1.2rem; }
  .card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

@media print {
  .site-header, .site-footer .cols, .cta-row, .skip { display: none; }
  .hero { background: none; color: var(--ink); padding: 1rem 0; }
  .hero h1, .hero .lede, .offer { color: var(--ink); }
  .card, .callout, .calc, .opinion, .table-wrap { box-shadow: none; }
  body { font-size: 12pt; }
  a { color: inherit; }
}

a strong { color: inherit; }

/* on-page contents */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; }
.wrap.prose > .toc { max-width: var(--wide); }
.toc a {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); text-decoration: none; font-size: .88rem; font-weight: 600;
}
.toc a:hover { border-color: var(--link); color: #fff; }
h2[id], h3[id] { scroll-margin-top: 6rem; }
.btn-link { font-weight: 700; }

/* ---------- contact form ---------- */
.contact-form fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; }
.contact-form legend { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: .2rem; padding: 0; }
.contact-form .label { font-weight: 600; margin: 1rem 0 .4rem; font-size: .98rem; }
.contact-form input:not([type=radio]), .contact-form textarea, .contact-form select { max-width: 34rem; }
.contact-form textarea {
  width: 100%; font: inherit; font-size: 1.02rem; padding: .7rem .85rem; resize: vertical;
  border: 1px solid #3f3f46; border-radius: 12px; background: #0a0a0b; color: var(--ink);
}
.contact-form textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(124, 180, 255, .2); }
.contact-form .req { font-size: .75rem; font-weight: 600; color: var(--muted); margin-left: .3rem; text-transform: uppercase; letter-spacing: .04em; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice {
  display: inline-flex !important; align-items: center; gap: .5rem; margin: 0 !important;
  padding: .55rem .95rem; border: 1px solid #3f3f46; border-radius: 999px; cursor: pointer;
  font-weight: 600 !important; background: #0a0a0b;
}
.choice:has(input:checked) { border-color: var(--link); background: rgba(124, 180, 255, .12); color: #fff; }
.choice input { width: auto; margin: 0; accent-color: var(--link); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; max-width: 34rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: #0a0a0b; }
.form-status.ok { border-color: #22c55e; }
.form-status.error { border-color: var(--accent); }
.form-status[hidden] { display: none; }
@media (max-width: 40rem) { .row2 { grid-template-columns: 1fr; } }

/* ---------- chat bubble ---------- */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 40; font-size: 16px; }
.chat-bubble {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: #000; font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.chat-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: #71717a; flex: none; }
.chat.is-open .chat-dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.chat-panel {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  width: min(21rem, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .75);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.chat-close { background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.chat-status { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.chat-body p { font-size: .95rem; margin: 0 0 .8rem; }
.chat-btn {
  display: block; text-align: center; margin: 0 0 .5rem; padding: .65rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); color: #fff; text-decoration: none; font-weight: 700;
}
.chat-btn.primary { background: #fff; color: #000; border-color: #fff; }
.chat-btn:hover { border-color: var(--link); color: #fff; }
.chat-btn.primary:hover { background: var(--link); border-color: var(--link); color: #000; }
.chat-link { display: block; text-align: center; font-size: .9rem; margin-top: .3rem; }
@media print { .chat { display: none; } }

/* ---------- grievance day box (home) ---------- */
.gday { margin-top: 1.6rem; padding: .9rem 1.1rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); background: rgba(255, 255, 255, .06); max-width: 40rem; }
.gday[hidden] { display: none; }
.gday p { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.gday strong { color: #fff; }
.chat-note { background: #0a0a0b; border-left: 3px solid var(--link); padding: .5rem .7rem; border-radius: 0 8px 8px 0; color: #fff; }

/* ---------- counties page ---------- */
.county-jump a { font-size: .82rem; padding: .3rem .7rem; }
.wrap.prose > .county { max-width: var(--wide); }
.county { padding: 1.4rem 0 .4rem; border-top: 1px solid var(--line); background: none !important; }
.county h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.munis { list-style: none; padding: 0; margin: .6rem 0 0; columns: 3 16rem; column-gap: 2rem; }
.munis li { break-inside: avoid; padding: .18rem 0; font-size: .95rem; display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px dashed rgba(255,255,255,.06); }
.munis a { text-decoration: none; }
.munis a:hover { text-decoration: underline; }
.munis .rar { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.munis .rar small { font-size: .78em; }

@media (max-width: 40rem) { .site-footer .inner { padding-bottom: 5.5rem; } }
.contact-form + h2 { margin-top: 2.6rem; }

/* ---------- coverage map ---------- */
.coverage { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
main > section.coverage + section { background: var(--paper); }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--link); margin: 0 0 .5rem; }
.coverage-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cstats { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5rem; }
.cstats li { font-size: 1.05rem; color: var(--ink-soft); }
.cstats strong { display: inline-block; margin-right: .35rem; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nymap { position: relative; margin: 0; }
.nymap svg { display: block; width: 100%; height: auto; }
.nymap .cty path, .nymap path.cty { stroke: #000; stroke-width: 1.1; stroke-linejoin: round; transition: fill .15s ease; }
.nymap a.cty path { fill: #2f6fd1; }
.nymap a.cty:nth-child(3n) path { fill: #3a7be0; }
.nymap a.cty:nth-child(3n+1) path { fill: #2b64bd; }
.nymap a.cty:hover path, .nymap a.cty:focus path { fill: #ffffff; }
.nymap a.cty:focus { outline: none; }
.nymap path.out { fill: #3f3f46; }
.nymap path.out:hover { fill: #52525b; }
.nymap-tip {
  position: absolute; z-index: 5; pointer-events: none; max-width: 16rem;
  background: #fff; color: #000; border-radius: 10px; padding: .45rem .7rem; font-size: .85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6); line-height: 1.3;
}
.nymap-tip[hidden] { display: none; }
.nymap-tip strong { display: block; font-size: .95rem; }
.nymap-tip.out span { color: #71717a; }
.nymap figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.nymap .key { display: inline-flex; align-items: center; gap: .45rem; }
.nymap .sw { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; }
.nymap .sw.in { background: #2f6fd1; }
.nymap .sw.out { background: #3f3f46; }
.wrap.prose > .nymap { max-width: var(--wide); margin: .4rem 0 1rem; }
@media (max-width: 56rem) { .coverage-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.nymap-panel { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid #2f6fd1; border-radius: var(--radius); padding: 1rem 1.2rem .6rem; }
.nymap-panel[hidden] { display: none; }
.nymap-panel-head { display: flex; justify-content: space-between; align-items: center; }
.nymap-panel h3 { margin: 0; font-size: 1.2rem; }
.nymap-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.nymap-dates { margin: .6rem 0; }
.nymap-dates dt { font-weight: 700; color: #fff; margin-top: .6rem; font-size: .95rem; }
.nymap-dates dd { margin: .15rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.nymap-dates strong { color: #fff; }
.nymap-cta { margin: .6rem 0 .4rem; }
.nymap a.cty { cursor: pointer; }
.nymap a.cty.sel path { fill: #ffffff; }

/* ---------- newsletter ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-band { background: var(--tint); border-top: 1px solid var(--line); }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.nl-form .nl-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.nl-form input:not([type=hidden]) {
  flex: 1 1 13rem; min-width: 0; font: inherit; font-size: 1rem; padding: .75rem 1rem;
  border: 1px solid #3f3f46; border-radius: 999px; background: #0a0a0b; color: var(--ink);
}
.nl-form input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(124, 180, 255, .2); }
.nl-form button {
  font: inherit; font-weight: 700; padding: .75rem 1.4rem; border: 0; border-radius: 999px;
  background: #fff; color: #000; cursor: pointer;
}
.nl-form button:hover { background: var(--link); }
.nl-form .small { margin: .7rem 0 0; }
.nl-status[hidden] { display: none; }
.nl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 2rem; }
.nl-card h2 { margin-top: 0; }
.nl-archive li { margin-bottom: .4rem; }
@media (max-width: 56rem) { .nl-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- judicial districts map ---------- */
.jdmap path.jd { stroke: #000; stroke-width: 1; }
.jdmap path.d1, .jdmap .sw.d1 { fill: #a855f7; background: #a855f7; }
.jdmap path.d2, .jdmap .sw.d2 { fill: #f59e0b; background: #f59e0b; }
.jdmap path.d3, .jdmap .sw.d3 { fill: #2f6fd1; background: #2f6fd1; }
.jdmap path.d4, .jdmap .sw.d4 { fill: #16a34a; background: #16a34a; }
.jdmap path.jd:not(.mine) { opacity: .55; }
.jdmap path.jd:hover { opacity: 1; filter: brightness(1.25); }
.jdmap .sw.mine { background: transparent; border: 2px solid #fff; }
.jdmap path.mine { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.jd-labels text { fill: #fff; font-weight: 800; font-size: 34px; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 4px; pointer-events: none; }
.jd-labels text.small { font-size: 18px; text-anchor: start; }
.jdmap path.j1 { fill: #a855f7; } .jdmap path.j12 { fill: #7e22ce; }
.jdmap path.j2 { fill: #f59e0b; } .jdmap path.j9 { fill: #d97706; } .jdmap path.j10 { fill: #fbbf24; }
.jdmap path.j11 { fill: #b45309; } .jdmap path.j13 { fill: #fcd34d; }
.jdmap path.j3 { fill: #1d4ed8; } .jdmap path.j4 { fill: #3b82f6; } .jdmap path.j6 { fill: #60a5fa; }
.jdmap path.j5 { fill: #15803d; } .jdmap path.j7 { fill: #22c55e; } .jdmap path.j8 { fill: #4ade80; }

/* ---------- slogan ---------- */
.slogan { font-size: 1.25rem; font-style: italic; font-weight: 600; color: #fff; margin: -.3rem 0 1.1rem; }
.foot-slogan { font-style: italic; color: #fff; margin-bottom: .5rem; }
.slogan-block { font-size: 1.5rem; font-weight: 800; font-style: italic; letter-spacing: -.01em; color: #fff; border-left: 4px solid var(--link); padding: .2rem 0 .2rem 1rem; margin: 0 0 1.8rem; }

/* ---------- appeal flowchart ---------- */
#appeal-options { background: var(--tint); }
.flow-intro { max-width: var(--measure); }
.flow { list-style: none; margin: 0; padding: 0; }
.fstep { display: grid; grid-template-columns: 3.2rem 1fr; gap: .9rem; position: relative; padding-bottom: 1.6rem; }
.fstep:not(:last-child)::after {                 /* the connector line */
  content: ""; position: absolute; left: 1.6rem; top: 3rem; bottom: .2rem; width: 2px;
  background: linear-gradient(var(--link), rgba(124,180,255,.25)); transform: translateX(-1px);
}
.fstep:not(:last-child)::before {                /* arrow head */
  content: ""; position: absolute; left: calc(1.6rem - 6px); bottom: 0; border: 6px solid transparent;
  border-top: 8px solid rgba(124,180,255,.6); border-bottom: 0;
}
.fnum {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff; color: #000; font-weight: 800;
  display: grid; place-items: center; font-size: 1.05rem; text-align: center; line-height: 1;
}
.fstep.lose .fnum { background: #3f3f46; color: #fff; font-size: .62rem; padding: .2rem; text-transform: uppercase; letter-spacing: .03em; }
.fbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem .9rem; }
.fbox h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.fbox p { margin: 0 0 .5rem; font-size: .96rem; color: var(--ink-soft); }
.fwhen { display: inline-block; margin: .1rem 0 0 !important; font-size: .82rem !important; font-weight: 700; color: #000 !important; background: var(--link); border-radius: 999px; padding: .2rem .7rem; }
.fnote { margin: -.6rem 0 1.4rem 4.1rem; padding: .7rem 1rem; border-left: 3px solid #f59e0b; background: rgba(245,158,11,.08); border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--ink-soft); }
.fsplit { text-align: center; margin: .4rem auto 1.6rem; max-width: 40rem; font-size: 1.05rem; padding: .8rem 1rem; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); }
.froads { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.froad-h { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--link); margin: 0 0 1rem; }
@media (max-width: 56rem) { .froads { grid-template-columns: 1fr; } }

/* ---------- county drill-down map ---------- */
.cmap { margin: 1rem 0 .4rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.cmap h4 { margin: 0 0 .5rem; font-size: 1rem; }
.cmap-svg svg { display: block; width: 100%; max-height: 420px; height: auto; }
.cmap .cm { stroke: #000; stroke-width: 1; cursor: pointer; outline: none; }
.cmap .cm.vil { stroke: #fff; stroke-width: .8; }
.cmap .cm.exact { fill: #22c55e; } .cmap .cm.may1 { fill: #2f6fd1; } .cmap .cm.local { fill: #14b8a6; }
.cmap .cm.city { fill: #f59e0b; } .cmap .cm.village { fill: #a855f7; }
.cmap .cm:hover, .cmap .cm:focus { filter: brightness(1.35); }
.cmap .cm.on { fill: #fff; }
.cmap-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: .6rem 0; font-size: .82rem; color: var(--muted); }
.cmap-legend .sw { display: inline-block; width: .85rem; height: .85rem; border-radius: 3px; vertical-align: -1px; }
.cmap-info { min-height: 1.4em; }
.nymap-dates .vnames { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
