/* 2nd Thought — newspaper tool. Fonts here so all pages pick them up without HTML regen. */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap");

:root {
  --bg: #f6f1e8;
  --paper: #fbf8f2;
  --ink: #141414;
  --muted: #5c564e;
  --line: #d8d0c4;
  --rule: #141414;
  --accent: #1f4f45;
  --accent-hover: #16382f;
  --answer: #eef6f2;
  --warn: #8a4b12;
  --warn-soft: #f8efe4;
  --ad-bg: #efe8dc;
  --ad-line: #d4ccbf;
  --radius: 2px;
  --shadow: none;
  --max: 1080px;
  --rail: 300px;
  --header-h: 4.5rem;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-family: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.0625rem;
  font-family: var(--sans);
  overflow-x: clip;
  max-width: 100%;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* Masthead */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: calc(var(--max) + var(--rail) + 2rem);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.brand {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  min-width: 7rem;
}
.brand strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}
.search-form input[type="search"] {
  width: 100%;
  max-width: 16rem;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}
.search-form input:focus { outline: 0; border-bottom-color: var(--accent); }
.state-picker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.state-picker select {
  display: block;
  margin-top: 0.1rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  max-width: 11rem;
}
.layout {
  max-width: calc(var(--max) + var(--rail) + 2rem);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.main { min-width: 0; }
.hero { margin-bottom: 2rem; max-width: 40rem; }
.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.lede {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 36rem;
}

/* Hub: four large tiles, not a card wall */
.featured-tools {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0 0 2.75rem;
}
.feature-tile {
  display: block;
  padding: 1.75rem 0.15rem 1.85rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  min-height: 8.5rem;
}
.feature-tile:last-child { border-bottom: 0; }
.feature-tile:hover { background: transparent; color: inherit; }
.feature-tile:hover h2 { color: var(--accent); }
.feature-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}
.feature-tile h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.feature-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 28rem;
}

.all-tools h2, .group h2, .popular-pairs h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.tool-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tool-list li {
  display: grid;
  grid-template-columns: minmax(8rem, 16rem) 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.tool-list li.is-hidden { display: none; }
.tool-list a {
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.tool-list a:hover { color: var(--accent); }
.tool-list .desc {
  color: var(--muted);
  font-size: 0.92rem;
}
.popular-pairs { margin: 0 0 2.25rem; }
.popular-pairs p, .pair-links {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.85;
  margin: 0;
}
.pair-links a { margin-right: 0.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; }
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 0.2rem 0.1rem;
  cursor: pointer;
}
.chip[aria-pressed="true"], .chip:hover {
  background: transparent;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.group { margin: 0 0 1.75rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 0; }
.card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 1.1rem 0 1.2rem;
  box-shadow: none;
}
.card h2, .card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.card .card-link { text-decoration: none; color: inherit; display: block; }
.card p.desc { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card.is-hidden { display: none; }
.card.calc {
  background: transparent;
  border: 0;
  padding: 0;
}
.calc-shell { margin: 0 0 1.5rem; }

.ad-feed {
  display: flex; align-items: center; justify-content: center;
  min-height: 90px; background: var(--ad-bg);
  border: 1px dashed var(--ad-line);
  border-radius: 0; color: var(--muted);
  font-family: var(--sans); font-size: 0.75rem;
  margin: 0 0 1.25rem;
}
.rail { display: none; }
.ad-box, .ad-sky, .sponsor {
  background: var(--ad-bg);
  border: 1px dashed var(--ad-line);
  border-radius: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.25rem;
}
.sponsor { min-height: 120px; padding: 1rem; background: transparent; }
.ad-box { width: 300px; height: 250px; margin: 0 auto; }
.ad-sky { width: 300px; height: 600px; margin: 0 auto; }

.calc-grid { display: grid; gap: 1rem 1.25rem; }
.calc-grid.two { grid-template-columns: 1fr; }
label.field {
  display: flex; flex-direction: column; gap: 0.3rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
input[type="number"], input[type="text"], input[type="date"], input[type="time"],
input[type="search"], select, textarea {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.45rem 0;
  font-variant-numeric: tabular-nums;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.row-inline { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.row-inline > * { flex: 1; min-width: 8rem; }
.btn {
  font-family: var(--sans);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 0.92rem;
}
.btn:hover { background: var(--accent-hover); }
.btn.secondary { background: transparent; color: var(--accent); }

/* Giant instant answer — Wise-scale number, newspaper sentence */
.answer {
  margin: 1.75rem 0 1.5rem;
  padding: 1.5rem 0 1.6rem;
  background: transparent;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.answer .answer-line {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 4.6vw, 3.2rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.65rem;
  max-width: 42rem;
}
.answer .answer-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  max-width: 38rem;
}
.answer .answer-wash {
  background: var(--answer);
  margin: 1.15rem -1.25rem 0;
  padding: 1rem 1.25rem;
}
.answer dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  margin: 1rem 0 0;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  max-width: 32rem;
}
.answer dt { color: var(--muted); font-weight: 400; }
.answer dd { margin: 0; font-weight: 650; text-align: right; }

.results {
  margin-top: 1.25rem;
  padding: 1.1rem 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}
.results dl { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; margin: 0; }
.results dt { color: var(--muted); }
.results dd { margin: 0; font-weight: 650; text-align: right; }
.results .net { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.note, .disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
  font-family: var(--sans);
}
.sources-line {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}
.rail > .note {
  font-size: 0.72rem;
  opacity: 0.75;
}
.disclaimer {
  background: var(--warn-soft);
  color: var(--warn);
  padding: 0.7rem 0.85rem;
  border-radius: 0;
}
table.amort {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-family: var(--sans);
  margin-top: 0.6rem;
  font-variant-numeric: tabular-nums;
}
table.amort th, table.amort td {
  text-align: right;
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
table.amort th:first-child, table.amort td:first-child { text-align: left; }

details.advanced, .advanced {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
details.advanced summary {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
details.advanced summary::-webkit-details-marker { display: none; }
details.advanced summary::after { content: " +"; color: var(--accent); }
details.advanced[open] summary::after { content: " −"; }
details.advanced .calc-grid { margin-top: 1rem; }

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 1.25rem 2.75rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-family: var(--sans);
}
.footer-inner { max-width: calc(var(--max) + var(--rail) + 2rem); margin: 0 auto; }
.site-footer a { color: var(--muted); }
.crumb {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
  letter-spacing: 0.02em;
}
.combo { position: relative; }
.combo input { width: 100%; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  max-height: 16rem;
  overflow: auto;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  box-shadow: none;
}
.combo-list li {
  padding: 0.45rem 0.5rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: var(--answer); }

/* Compare From / To destination panels */
.dest-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  align-items: stretch;
}
.dest-panel {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1rem 0 0.35rem;
}
.dest-kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.45rem;
}
.dest-panel input[type="search"] {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.5rem 0.65rem;
  min-height: 2.4rem;
  font-size: 1.02rem;
  width: 100%;
}
.dest-panel input[type="search"]::placeholder {
  color: #9a948b;
  font-style: italic;
  font-weight: 400;
  opacity: 1;
}
.dest-panel input[type="search"]:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
}
.type-hint {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.dest-panel .field {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.swap-places, .place-pair .swap-places {
  justify-self: start;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  min-height: 0;
  min-width: 0;
}
.swap-places:hover, .place-pair .swap-places:hover {
  background: transparent;
  border-bottom-color: var(--accent);
}
.swap-places:focus { outline: 1px solid var(--accent); outline-offset: 2px; }

.place-pair {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.55rem;
  align-items: center;
  grid-column: 1 / -1;
}
.place-pair > .field:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.place-pair > .field:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.place-pair .swap-places {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--sans);
  background: var(--answer);
  color: var(--accent);
  border-radius: 0;
  padding: 0.1rem 0.4rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

@media (min-width: 720px) {
  .featured-tools { grid-template-columns: 1fr 1fr; }
  .feature-tile {
    padding: 2rem 1.5rem 2.15rem 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-tile:nth-child(odd) { padding-right: 1.75rem; border-right: 1px solid var(--line); }
  .feature-tile:nth-child(even) { padding-left: 1.75rem; }
  .feature-tile:nth-child(n+3) { border-bottom: 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .calc-grid.two { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3.05rem; }
  .ad-feed { display: none; }
  .dest-panels {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: end;
  }
  .dest-panel { padding-top: 0.35rem; border-top: 0; }
  .dest-panel.from { padding-right: 0.5rem; }
  .dest-panel.to { padding-left: 0.5rem; }
  .swap-places { justify-self: center; align-self: center; margin-bottom: 0.4rem; }
  .place-pair {
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
  }
  .place-pair > .field:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .place-pair .swap-places { grid-column: 2; grid-row: 1; align-self: end; }
  .place-pair > .field:nth-of-type(2) { grid-column: 3; grid-row: 1; }
  .tool-list li { grid-template-columns: 18rem 1fr; }
}

@media (min-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 4fr) minmax(240px, 1fr); align-items: start; }
  .rail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: sticky;
    top: calc(var(--header-h) + 0.75rem);
    max-width: 300px;
  }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
}

.compare-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
@media (min-width: 720px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  margin-top: 0.35rem;
}
.compare-table th, .compare-table td {
  padding: 0.42rem 0.35rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.compare-table thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
}
.compare-table tbody th {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
}
.compare-table td {
  font-size: 1.12rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.compare-table .src { display: none; }
.sources-line {
  font-size: 0.72rem;
  color: var(--muted);
}
.featured {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 0.55rem 0 0.4rem;
  font-family: var(--sans);
  opacity: 0.72;
}
.featured h3 {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--sans);
  font-weight: 500;
}
.featured a { color: var(--muted); text-decoration: none; font-weight: 500; }
.featured .price-note { color: var(--muted); font-size: 0.72rem; margin: 0.2rem 0 0; }
.rail { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 1039px) {
  .layout { grid-template-columns: 1fr; }
  .rail { display: none; position: static; }
}
.kit-table { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.kit-table td, .kit-table th { padding: 0.5rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: 0.6rem; }
.chart span { flex: 1; background: var(--accent); border-radius: 0; min-height: 2px; opacity: 0.85; }
.warn-inline { color: var(--warn); font-size: 0.85rem; }

/* HARD RULE: content ≥ 80%, ads ≤ 20%. One rail, no takeovers. */
.layout { grid-template-columns: minmax(0, 1fr); }
.main { min-width: 0; }
.ad-feed { display: none; }
.ad-feed.once { display: flex; min-height: 80px; max-height: 110px; margin: 1rem 0; }
@media (min-width: 1040px) {
  .ad-feed, .ad-feed.once { display: none !important; }
  .layout { grid-template-columns: minmax(0, 4fr) minmax(220px, 280px) !important; }
  .rail { max-width: 280px; }
}
.rail .ad-box { width: 100%; max-width: 300px; height: 250px; }
.rail .ad-sky { display: none; }
.calc-card, .card.calc { position: relative; }
.site-header { z-index: 40; }
body.tool .ad-feed { display: none !important; }

/* Subject list — newspaper sections, not a stuffed hamburger */
.nav-toggle {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.35rem 0;
  cursor: pointer;
}
.subject-nav { display: none; }
.subject-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}
.subject-nav .has-sub { position: relative; }
.subject-nav .section-link,
.subject-nav .has-sub > button {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
}
.subject-nav .section-link:hover,
.subject-nav .has-sub > button:hover,
.subject-nav .has-sub > button[aria-expanded="true"],
.subject-nav .has-sub:hover > .section-link {
  background: transparent;
  color: var(--accent);
}
.subject-nav .sub {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  min-width: 15rem;
  max-width: 22rem;
  max-height: min(24rem, 70vh);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 0.4rem 0;
  z-index: 55;
  list-style: none;
  margin: 0;
}
.subject-nav .sub a {
  display: block;
  padding: 0.32rem 0.85rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.subject-nav .sub a:hover { background: var(--answer); color: var(--accent); }
.subject-nav .has-sub:hover > .sub,
.subject-nav .has-sub:focus-within > .sub,
.subject-nav .has-sub.open > .sub { display: block; }
.featured[data-featured] h3 { font-size: 0.72rem; }
body.dual-ads .ad-box { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .subject-nav { display: block; }
  .header-inner { grid-template-columns: auto 1fr auto auto; align-items: baseline; }
  .header-tools { display: contents; }
}
@media (max-width: 1039px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .search-form { grid-column: 1 / -1; }
  .search-form input[type="search"] { max-width: none; }
  .subject-nav {
    display: none;
    grid-column: 1 / -1;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 0.5rem 0 0.15rem;
  }
  .subject-nav.is-open { display: block; }
  .subject-nav > ul { flex-direction: column; }
  .subject-nav .sub {
    position: static;
    max-height: none;
    box-shadow: none;
    border: 0;
    display: none;
    background: transparent;
  }
  .subject-nav .has-sub.open > .sub { display: block; }
  .subject-nav .has-sub:hover > .sub { display: none; }
  .subject-nav .has-sub.open:hover > .sub { display: block; }
  .rail .ad-box { display: none; }
}
.kind-pill {
  font-size: 0.72rem;
  font-family: var(--sans);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.state-links { font-family: var(--sans); font-size: 0.9rem; line-height: 1.8; }

.trading-login { display: none !important; }

.state-links a.is-current {
  font-weight: 650;
  background: var(--answer);
  color: var(--accent);
  padding: 0.1em 0.45em;
  text-decoration: none;
}
.state-quick {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-align: left;
  padding: 0.45rem 1.25rem;
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.state-quick a { color: var(--accent); margin: 0 0.15rem; }

.primary-fields { margin-bottom: 0.25rem; }

/* Phone: never let the page slide sideways while scrolling */
.layout, .header-inner, .footer-inner, .site-header, .state-quick, .main, .hero, .answer, .calc-shell {
  min-width: 0;
  max-width: 100%;
}
.answer .answer-line, .lede, .note, .disclaimer, .tool-list, .compare-table {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.compare-table { table-layout: fixed; }
.ad-box, .ad-sky { max-width: 100%; width: min(300px, 100%); }
.state-quick { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
@media (max-width: 1039px) {
  .answer .answer-line { font-size: clamp(1.55rem, 7vw, 2.35rem); }
  .header-inner, .layout, .site-footer { padding-left: 1rem; padding-right: 1rem; }
  .answer .answer-wash { margin-left: 0; margin-right: 0; }
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  margin-top: 1rem;
  min-width: 0;
}
.split-2 h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--muted);
}
.split-2 dl {
  max-width: none;
}
label.field.chk {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}
label.field.chk input[type="checkbox"] {
  width: auto;
  margin: 0;
}
@media (min-width: 640px) {
  .split-2 { grid-template-columns: 1fr 1fr; }
}
