/* pages.css: guide and county pages (app/site). Loaded after site.css and built only on its tokens
   (--ink, --accent, --aca, --hpg, --line, --radius...), so a restyle of site.css carries over.
   Owned by the SEO pages chat; the home page does not load this file. */

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.top { gap: 16px; flex-wrap: wrap; }
.top-nav { display: flex; align-items: center; gap: 18px; font-weight: 650; font-size: 15px; }
.top-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.top-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.top-nav .lang { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 14px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

.page-head { padding: 22px 0 8px; max-width: 820px; }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.page-head .lede { max-width: 40em; }
.updated { font-size: 13px; margin-top: 12px; }
.cities { margin-top: 10px; font-size: 15px; }

.facts-strip { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts-strip li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: grid; min-width: 120px; }
.facts-strip span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts-strip strong { font-size: 22px; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; padding: 16px 0 24px; }
.page-grid .prose { max-width: 760px; }
.prose section { scroll-margin-top: 16px; }
.prose h2 { font-size: 25px; margin-top: 40px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul + p, .prose ol + p, .prose .tbl-wrap + p { margin-top: 12px; }
.prose a { text-underline-offset: 3px; }

.toc { position: sticky; top: 16px; border-left: 3px solid var(--line); padding: 4px 0 4px 18px; font-size: 14.5px; }
.toc-h { font-weight: 750; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--aca); text-decoration: underline; }

.note { background: var(--warn-soft, #FFF4EC); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; color: var(--ink); }
.small { font-size: 14px !important; }
.src { font-size: 12.5px; color: var(--muted); margin-top: 6px !important; }

.tbl-wrap { overflow-x: auto; margin: 16px 0 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl caption { text-align: left; font-weight: 750; padding: 12px 14px 4px; }
.tbl th, .tbl td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th { font-weight: 650; }
.tbl.num td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.warn th, .tbl tr.warn td, .tbl td.you { color: var(--warn, #C9431A); font-weight: 650; }
.tag { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.timeline { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.timeline li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; margin: 0; }
.timeline li.key { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.timeline time { font-weight: 800; font-size: 18px; color: var(--ink); }
.timeline span { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }

.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.pc { padding: 16px 18px; border-top: 4px solid var(--aca); }
.pc.hpg { border-top-color: var(--hpg); }
.pc-h { font-weight: 700; font-size: 14.5px; margin-bottom: 8px !important; color: var(--ink) !important; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.pc li span { flex: 1; font-size: 15px; }
.pc li strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.pc li small { color: var(--muted); }

.zips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.zips span { font-size: 13px; font-variant-numeric: tabular-nums; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink-2); }

.county-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.county-grid li { margin: 0 !important; }
.county-grid a { display: grid; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--ink); height: 100%; }
.county-grid a:hover { border-color: var(--aca); }
.county-grid strong { font-size: 17px; }
.county-grid span { font-size: 14px; }
.county-grid .cnt { color: var(--aca); font-weight: 650; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 10px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 12px; }

.related { padding: 8px 0 32px; }
.related h2 { font-size: 22px; margin-bottom: 14px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rel { display: grid; gap: 6px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.rel:hover { border-color: var(--aca); }
.rel .kick { margin: 0; font-size: 11.5px; }
.rel strong { font-size: 17px; line-height: 1.25; }
.rel .muted { font-size: 14px; line-height: 1.45; }

.zip-cta { margin: 8px 0 24px; }
.zip-cta .cta-note { font-size: 14px; margin-top: 8px; }
.zip-form { display: grid; gap: 6px; min-width: 300px; }
.zip-form label { color: #C8D3E2; font-size: 13px; font-weight: 650; }
.zip-row { display: flex; gap: 8px; }
.zip-row input { font: inherit; font-size: 17px; width: 130px; border: 0; border-radius: 10px; padding: 12px; }
.zip-row .btn { white-space: nowrap; }

.seo-foot .foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 12px; }
.seo-foot .foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.seo-foot .foot-cols div:first-child ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.seo-foot .foot-cols a { color: var(--ink-2); text-decoration: none; }
.seo-foot .foot-cols a:hover { text-decoration: underline; }
.foot-h { font-weight: 750; color: var(--ink); font-size: 14px; margin-bottom: 8px !important; }

@media (max-width: 900px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .seo-foot .foot-cols { grid-template-columns: 1fr 1fr; }
  .seo-foot .foot-cols div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .top-nav { gap: 12px; font-size: 14px; width: 100%; justify-content: space-between; }
  .timeline, .price-cards, .price-pair { grid-template-columns: 1fr; }
  .prose p, .prose li { font-size: 16.5px; }
  .zip-form { min-width: 0; }
  .zip-row input { flex: 1; width: auto; }
  .seo-foot .foot-cols div:first-child ul { grid-template-columns: 1fr; }
}
