/* TaxPrepFinder — Navy + Gold editorial palette */
:root {
  --navy:        #0b2545;
  --navy-700:    #143a6b;
  --navy-50:     #eaf0f9;
  --gold:        #c9a14a;
  --gold-soft:   #f4e7c4;
  --gold-deep:   #8a6720;
  --ink:         #1a2233;
  --ink-soft:    #4a5568;
  --ink-mute:    #6b7689;
  --paper:       #faf7f0;
  --paper-2:     #f4efe2;
  --line:        #e3dccb;
  --line-strong: #cdc5af;
  --white:       #ffffff;
  --accent:      #b03a2e;
  --green:       #2f7d4f;
  --shadow-sm:   0 1px 2px rgba(11,37,69,.06);
  --shadow:      0 1px 2px rgba(11,37,69,.05), 0 8px 22px rgba(11,37,69,.08);
  --shadow-lg:   0 6px 24px rgba(11,37,69,.10), 0 24px 48px rgba(11,37,69,.10);
  --radius:      8px;
  --radius-lg:   16px;
  --max:         1200px;
  --serif:       "Source Serif 4", ui-serif, Georgia, "Iowan Old Style", serif;
  --sans:        "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--gold-deep); text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.018em; color: var(--navy); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 1.55rem; margin-top: 2rem; }
h3 { font-size: 1.08rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Topbar */
.topbar { background: var(--navy); color: #c2d0e6; font-size: .8rem; letter-spacing: .01em; }
.topbar-row { display: flex; justify-content: space-between; padding: .5rem 1.25rem; gap: 1rem; }
.topbar-stat strong { color: var(--gold); font-weight: 700; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.25rem; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--navy); font-size: 1.18rem; font-weight: 600; }
.brand:hover { color: var(--navy); text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; border-radius: 8px; box-shadow: var(--shadow-sm); }
.brand-text strong { font-weight: 800; }
.primary-nav { display: flex; gap: 1.6rem; font-size: .94rem; font-weight: 500; }
.primary-nav a { color: var(--ink-soft); position: relative; padding: .25rem 0; }
.primary-nav a:hover { color: var(--navy); text-decoration: none; }
.primary-nav a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); border-radius: 2px; }

.site-main { padding: 1.5rem 1.25rem 4rem; }

/* Crumbs */
.crumbs { font-size: .82rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--navy); }
.crumbs span { color: var(--navy); font-weight: 500; }

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 380px at 80% -20%, rgba(201,161,74,.18), transparent 60%),
    linear-gradient(180deg, #0b2545 0%, #143a6b 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 3.2rem 3rem 2.6rem;
  margin-bottom: 2rem; box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
  pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; }
.hero .eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); font-weight: 600; padding: .25rem .55rem; border: 1px solid rgba(201,161,74,.5); border-radius: 999px; margin-bottom: 1.1rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 0 .5em; }
.hero h1 .accent { color: var(--gold); }
.hero .lede { font-size: 1.12rem; color: #d4dcea; max-width: 60ch; margin: 0 0 1.8rem; }

.search-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: grid; gap: .85rem; max-width: 720px; }
.search-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.search-card-head h2 { margin: 0; font-size: 1rem; color: var(--navy); }
.search-tabs { display: inline-flex; gap: .25rem; background: var(--paper-2); padding: .2rem; border-radius: 999px; }
.search-tabs span { padding: .25rem .7rem; font-size: .78rem; color: var(--ink-mute); border-radius: 999px; }
.search-tabs span.active { background: var(--white); color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }
.state-picker { display: grid; grid-template-columns: 1fr 1fr auto; gap: .6rem; }
.state-picker label { display: block; font-size: .78rem; color: var(--ink-mute); margin-bottom: .25rem; font-weight: 500; }
.state-picker select, .state-picker input { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line-strong); border-radius: 6px; font-family: var(--sans); font-size: .95rem; background: var(--white); color: var(--ink); appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b2545' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2rem; }
.state-picker input { background-image: none; padding-right: .8rem; }
.search-card .picker-go { align-self: end; padding: .65rem 1.2rem; background: var(--navy); color: #fff; border: none; border-radius: 6px; font-family: var(--sans); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .15s; }
.search-card .picker-go:hover { background: var(--navy-700); }
.search-quicklinks { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .25rem; }
.search-quicklinks span { font-size: .8rem; color: var(--ink-mute); margin-right: .25rem; }
.search-quicklinks a { display: inline-block; font-size: .82rem; padding: .25rem .65rem; background: var(--navy-50); color: var(--navy-700); border-radius: 999px; }
.search-quicklinks a:hover { background: var(--navy); color: #fff; text-decoration: none; }

.hero-trust { display: flex; gap: 2rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-trust div { color: #c2d0e6; font-size: .85rem; }
.hero-trust strong { display: block; color: var(--gold); font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Stats strip */
.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.quick-stats > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: left; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-weight: 800; color: var(--navy); font-size: 1.85rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-label { color: var(--ink-mute); font-size: .82rem; }
.stat-num + .stat-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); margin: .35rem 0 .4rem; }

/* Section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 2.4rem 0 1rem; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.4rem; }
.section-head .kicker { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold-deep); font-weight: 600; margin-bottom: .35rem; }
.muted-link { color: var(--ink-mute); font-size: .9rem; font-weight: 500; }
.muted-link:hover { color: var(--navy); }
.muted { color: var(--ink-mute); font-size: .85rem; }

/* State grid */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.state-grid.wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.state-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: grid; gap: .12rem; transition: all .14s ease; color: var(--ink); border-left: 3px solid transparent; }
.state-tile:hover { border-color: var(--line-strong); border-left-color: var(--gold); transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow); }
.state-code { font-weight: 800; color: var(--gold-deep); font-size: .72rem; letter-spacing: .12em; }
.state-name { font-weight: 600; color: var(--navy); }
.state-count { font-size: .78rem; color: var(--ink-mute); }

/* Two-column with sidebar */
.two-col { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); gap: 2rem; margin: 2rem 0; align-items: start; }
.sidebar { display: grid; gap: 1.2rem; position: sticky; top: 4.5rem; }
.sidebar h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin: 0 0 .5rem; font-weight: 700; }
.sidebar-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.credential-list, .link-list { list-style: none; padding: 0; margin: 0; }
.credential-list li, .link-list li { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.credential-list li:last-child, .link-list li:last-child { border-bottom: none; }
.credential-list .count { color: var(--ink-mute); font-variant-numeric: tabular-nums; font-weight: 600; }

/* Related Resources block (PBN sidebar) */
.related-resources { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.rr-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); margin: 0 0 .8rem; font-weight: 700; }
.rr-list { list-style: none; padding: 0; margin: 0; }
.rr-list li { padding: .55rem 0; border-bottom: 1px dashed var(--line-strong); }
.rr-list li:last-child { border-bottom: none; }
.rr-list a { display: block; font-size: .92rem; line-height: 1.35; color: var(--navy); font-weight: 500; }
.rr-list a:hover { color: var(--gold-deep); }
.rr-meta { display: block; font-size: .72rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-top: .15rem; }

/* Inline editorial callout */
.inline-callout { background: var(--navy-50); border-left: 3px solid var(--gold); padding: .8rem 1rem; border-radius: 0 6px 6px 0; margin: 1.5rem 0; font-size: .95rem; }
.inline-callout a { color: var(--navy); font-weight: 600; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.prep-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; display: block; color: var(--ink); transition: all .14s ease; border-top: 3px solid transparent; }
.prep-card:hover { border-color: var(--line-strong); border-top-color: var(--gold); transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); }
.prep-cred { display: inline-block; font-size: .68rem; font-weight: 700; padding: .22rem .55rem; border-radius: 4px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.prep-cred-cpa       { background: #eef3fa; color: #143a6b; border: 1px solid #d6e1f1; }
.prep-cred-ea        { background: #faf1d9; color: #8a6720; border: 1px solid #ecdfb4; }
.prep-cred-afsp      { background: #e8f1ee; color: #2f5e4d; border: 1px solid #d2e3dd; }
.prep-cred-attorney  { background: #f6e5e2; color: #813a2e; border: 1px solid #ecccc6; }
.prep-cred-franchise { background: #ede8da; color: #6b5d2c; border: 1px solid #ddd5bd; }
.prep-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; color: var(--navy); }
.prep-firm { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .25rem; }
.prep-loc, .prep-meta { font-size: .82rem; color: var(--ink-mute); margin: .15rem 0 0; }

.prep-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.prep-list li { display: contents; }

/* Pager */
.pager { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.8rem 0; }
.pager a, .pager-current { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; color: var(--navy); background: var(--white); font-weight: 500; }
.pager-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager a:hover { text-decoration: none; border-color: var(--navy); color: var(--navy); }

/* Featured */
.featured { margin: 2.5rem 0; }

/* Hero secondary headers (state, city, cred) */
.state-header, .city-header, .cred-header, .guide-header { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.5rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); border-left: 5px solid var(--gold); }
.big-state-code { font-weight: 800; font-size: 2.4rem; color: var(--white); background: var(--navy); border-radius: var(--radius); padding: .35rem 1.1rem; line-height: 1.1; letter-spacing: .04em; box-shadow: var(--shadow-sm); }
.cred-header .prep-cred { font-size: .92rem; padding: .35rem .8rem; }

/* Page lede */
.page-lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 70ch; margin: 0 0 .5rem; }

/* City chips */
.city-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.city-chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--white); border: 1px solid var(--line); padding: .4rem .85rem; border-radius: 999px; font-size: .9rem; color: var(--navy); font-weight: 500; }
.city-chip:hover { border-color: var(--gold); text-decoration: none; }
.city-chip em { font-style: normal; font-weight: 700; color: var(--gold-deep); font-size: .78rem; }

/* Profile */
.prep-profile-head { background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 2rem; margin-bottom: 1.5rem; border-top: 5px solid var(--navy); }
.prep-credtitle { color: var(--ink-soft); margin: 0; font-weight: 500; }
.prep-firm-large { font-size: 1.15rem; margin: .35rem 0 0; color: var(--ink); font-weight: 500; }
.prep-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2.2fr; gap: 1.5rem; align-items: start; }
.prep-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 4.5rem; }
.prep-info h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin-top: 1.4rem; }
.prep-info h2:first-of-type { margin-top: 0; }
.prep-info address { font-style: normal; color: var(--ink); }
.kv { list-style: none; padding: 0; margin: 0 0 .5rem; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.kv li:last-child { border-bottom: none; }
.kv li span:first-child { color: var(--ink-mute); }
.kv li span:last-child { font-weight: 500; color: var(--navy); text-align: right; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.prep-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 2rem; }
.prep-body h2 { color: var(--navy); border-bottom: 2px solid var(--gold-soft); padding-bottom: .35rem; }
.bullets { columns: 2; column-gap: 2rem; padding-left: 1.2rem; margin: 0; }
.bullets li { break-inside: avoid; margin-bottom: .35rem; }

/* Cred cards */
.cred-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.cred-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--ink); border-top: 3px solid var(--gold); transition: all .14s ease; }
.cred-card:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); border-top-color: var(--navy); }
.cred-card h2 { margin: .3rem 0 .5rem; font-size: 1.25rem; }
.cred-card p { color: var(--ink-soft); font-size: .94rem; }
.cred-count { font-size: .85rem; color: var(--gold-deep); font-weight: 600; margin-top: .85rem; }

/* Specialty grid */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .55rem; margin: 1.5rem 0; }
.spec-tile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); padding: .75rem 1rem; border-radius: var(--radius); color: var(--navy); }
.spec-tile:hover { border-color: var(--gold); text-decoration: none; }
.spec-label { font-size: .92rem; }
.spec-count { font-weight: 700; color: var(--gold-deep); font-variant-numeric: tabular-nums; }

/* Prose / articles */
.prose { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 2.2rem; margin: 1.5rem 0; }
.prose.narrow { max-width: 76ch; margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 1.7em; color: var(--navy); }
.prose h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--gold); margin-top: .35rem; border-radius: 2px; }
.prose h3 { margin-top: 1.4em; color: var(--navy); }
.prose p { margin: .9em 0; color: var(--ink); }
.prose code { background: var(--paper-2); padding: .14em .4em; border-radius: 3px; font-size: .9em; color: var(--gold-deep); }
.prose blockquote { border-left: 3px solid var(--gold); padding: .25rem 0 .25rem 1.1rem; color: var(--ink-soft); font-style: italic; margin: 1.5rem 0; }
.prose ul li, .prose ol li { margin: .35rem 0; }

/* Article body — long-form guides */
.article-body { font-family: var(--serif); font-size: 1.06rem; line-height: 1.72; }
.article-body h2 { font-family: var(--sans); }
.article-body h3 { font-family: var(--sans); }

/* Empty state */
.empty { background: var(--paper-2); border-radius: var(--radius); padding: 1.5rem; color: var(--ink-soft); }

/* Footer recommend strip */
.footer-recommend { background: var(--navy-50); border-top: 1px solid var(--line); padding: 2.2rem 0; margin-top: 4rem; }
.fr-head { color: var(--navy); margin: 0 0 1.2rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.fr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; color: var(--ink); display: grid; gap: .25rem; transition: all .14s; border-left: 3px solid var(--gold); }
.fr-card:hover { transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow); border-left-color: var(--navy); }
.fr-kicker { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); font-weight: 700; }
.fr-title { font-weight: 600; color: var(--navy); font-size: .94rem; line-height: 1.35; }

/* Footer */
.site-footer { background: var(--navy); color: #c2d0e6; padding: 2.8rem 0 1.5rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 1.8rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .85rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin: .42rem 0; }
.site-footer a { color: #c2d0e6; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand { font-size: 1.18rem; color: #fff; margin: 0 0 .55rem; font-weight: 700; }
.footer-brand strong { color: var(--gold); font-weight: 800; }
.footer-mission { color: #97a8c0; font-size: .88rem; line-height: 1.55; }
.footer-bottom { border-top: 1px solid #1d3a64; padding-top: 1.1rem; color: #7e8fa8; font-size: .8rem; }

/* Guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.guide-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--ink); border-left: 3px solid var(--navy); transition: all .14s; }
.guide-card:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); border-left-color: var(--gold); }
.guide-card .gc-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); font-weight: 700; }
.guide-card h3 { margin: .35rem 0 .5rem; color: var(--navy); font-size: 1.1rem; }
.guide-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* Cred-state hub header */
.hub-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.hub-summary > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.hub-summary strong { display: block; font-size: 1.5rem; color: var(--navy); font-weight: 800; }
.hub-summary span { color: var(--ink-mute); font-size: .82rem; }

/* TOC */
.toc { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1rem 0 1.75rem; }
.toc h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin: 0 0 .55rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; font-size: .92rem; }
.toc li { margin: .2rem 0; break-inside: avoid; }

/* Dense link list (used on cred-city pages) */
.dense-links { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.dense-links li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; font-size: .94rem; color: var(--ink-soft); border-left: 3px solid var(--gold-soft); }
.dense-links li a { color: var(--navy); font-weight: 600; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.side-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin: 0 0 .6rem; font-weight: 700; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.side-card li:last-child { border-bottom: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); border-radius: 6px; padding: .35rem .55rem; color: var(--navy); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px 0; border-radius: 1px; }

/* Responsive */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding: 2rem 1.4rem 1.6rem; border-radius: 12px; }
  .hero h1 { font-size: clamp(1.85rem, 6vw, 2.3rem); margin-bottom: .35em; }
  .hero .lede { font-size: 1rem; margin-bottom: 1.2rem; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .quick-stats > div { padding: .9rem 1rem; }
  .stat-num { font-size: 1.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 1.4rem; }
  .sidebar { position: static; }
  .prep-grid { grid-template-columns: 1fr; }
  .prep-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .bullets { columns: 1; }
  .state-picker { grid-template-columns: 1fr; gap: .5rem; }
  .search-card .picker-go { width: 100%; padding: .8rem 1rem; }
  .toc ol { columns: 1; }
  .hero-trust { gap: 1rem; padding-top: 1rem; margin-top: 1.2rem; }
  .hero-trust strong { font-size: 1.15rem; }
  .hero-trust div { font-size: .78rem; }
  .state-header, .city-header, .cred-header, .guide-header { flex-direction: column; padding: 1.2rem; gap: 1rem; }
  .big-state-code { font-size: 1.8rem; align-self: flex-start; }
  .prose { padding: 1.4rem 1.4rem; border-radius: 12px; }
  .prep-profile-head { padding: 1.4rem; }
  .prep-body { padding: 1.3rem 1.4rem; }
  .header-row { padding: .7rem 1.2rem; }
  .brand { font-size: 1.05rem; }
  .primary-nav { gap: .9rem; font-size: .82rem; }
  .primary-nav a { padding: .15rem 0; }
}
@media (max-width: 720px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .hero { padding: 1.7rem 1.1rem 1.4rem; }
  .hero .eyebrow { font-size: .68rem; margin-bottom: .8rem; }
  .search-card { padding: 1rem; gap: .7rem; }
  .search-card-head h2 { font-size: .92rem; }
  .search-quicklinks { gap: .3rem; }
  .search-quicklinks span { display: block; width: 100%; }
}
@media (max-width: 600px) {
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .topbar-stat { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero h1 { font-size: 1.7rem; }
  .city-chips { gap: .35rem; }
  .city-chip { padding: .35rem .7rem; font-size: .85rem; }
  h2 { font-size: 1.3rem; }
  .section-head { margin: 1.8rem 0 .8rem; }
}
