/* ============================================================
   RoadsideMemorialGuide.pages.dev
   Design: Warm editorial — dignified, trustworthy, human
   Palette: Deep navy, warm cream, amber accent, slate text
   Typography: Playfair Display (headlines) + Source Serif 4 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=JetBrains+Mono:wght@400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2744;
  --navy-mid:   #243258;
  --navy-light: #3a4d7a;
  --amber:      #c8882a;
  --amber-light:#e8a84a;
  --cream:      #faf7f2;
  --cream-dark: #f0ebe0;
  --slate:      #4a5568;
  --slate-light:#718096;
  --text:       #2d3748;
  --white:      #ffffff;
  --border:     #ddd6c8;
  --border-dark:#c5b89a;
  --success:    #2d7a4a;
  --warning:    #8b5e00;
  --shadow-sm:  0 1px 3px rgba(26,39,68,.08);
  --shadow-md:  0 4px 16px rgba(26,39,68,.12);
  --shadow-lg:  0 8px 32px rgba(26,39,68,.16);
  --radius:     6px;
  --radius-lg:  12px;
  --max-w:      1100px;
  --content-w:  780px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.625rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { margin-bottom: .4rem; }

strong { font-weight: 600; color: var(--navy); }

blockquote {
  border-left: 3px solid var(--amber);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(200,136,42,.06);
  color: var(--slate);
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.content-wrap { max-width: var(--content-w); margin: 0 auto; }

/* ── Header / Nav ── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: .7rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  font-size: .875rem;
  font-weight: 400;
  transition: color .2s;
  letter-spacing: .02em;
}

.site-nav a:hover { color: var(--amber-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: .4rem .7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #2e3f6e 100%);
  color: var(--white);
  padding: 5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(200,136,42,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'Source Serif 4', serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: .75rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover { background: var(--amber-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-1px); }

.btn-sm { padding: .45rem .9rem; font-size: .8rem; }

/* ── State Finder Card (Hero) ── */
.hero-finder {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-finder h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
}

.finder-select {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: .95rem;
  margin-bottom: .75rem;
  appearance: none;
  cursor: pointer;
}

.finder-select option { background: var(--navy); color: var(--white); }
.finder-select:focus { outline: 2px solid var(--amber); }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: .78rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Section ── */
.section { padding: 4rem 1.25rem; }
.section-sm { padding: 2.5rem 1.25rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-mid { background: var(--cream-dark); }

.section-header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: .5rem;
}

.section-dark .section-eyebrow { color: var(--amber-light); }

.section-header p {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 580px;
  margin: .75rem auto 0;
}

.section-dark .section-header p { color: rgba(255,255,255,.7); }

/* ── State Grid ── */
.states-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}

.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}

.state-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.state-card-name {
  font-family: 'Source Serif 4', serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}

.state-badge {
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .03em;
}

.badge-yes { background: rgba(45,122,74,.12); color: var(--success); }
.badge-no  { background: rgba(113,128,150,.12); color: var(--slate); }
.badge-vary { background: rgba(200,136,42,.12); color: var(--warning); }

/* ── Article / Content Cards ── */
.article-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
  display: block;
}

.article-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .6rem;
  line-height: 1.3;
}

.article-card p {
  font-size: .875rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.article-card .read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.article-card .read-more:hover { color: var(--amber); }

/* ── State Page Layout ── */
.state-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3rem 1.25rem;
  border-bottom: 3px solid var(--amber);
}

.state-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.state-hero h1 { color: var(--white); margin-bottom: .75rem; }

.state-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.meta-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: .3rem .85rem;
  font-size: .78rem;
  color: rgba(255,255,255,.88);
}

.meta-pill strong { color: var(--amber-light); }

.state-quick-facts {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  min-width: 260px;
  backdrop-filter: blur(4px);
}

.quick-fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .84rem;
}

.quick-fact-row:last-child { border-bottom: none; }
.quick-fact-row .label { color: rgba(255,255,255,.65); }
.quick-fact-row .value { color: var(--white); font-weight: 600; }
.value-yes { color: #6ee7b7 !important; }
.value-no  { color: #fca5a5 !important; }

/* ── Content Layout (State/Article Pages) ── */
.page-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 1.25rem;
  align-items: start;
}

.page-content h2 {
  font-size: 1.6rem;
  margin: 2.25rem 0 1rem;
  padding-top: .5rem;
  border-top: 2px solid var(--border);
  color: var(--navy);
}

.page-content h2:first-child { border-top: none; margin-top: 0; }

.page-content h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 .75rem;
  color: var(--navy);
}

/* ── Sidebar ── */
.sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: .875rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Playfair Display', serif;
}

.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: .25rem; }
.toc-list a {
  font-size: .83rem;
  color: var(--slate);
  text-decoration: none;
  display: block;
  padding: .2rem 0;
  border-bottom: 1px solid transparent;
}
.toc-list a:hover { color: var(--navy); }

.apply-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.apply-box h4 { color: var(--white); font-family: 'Playfair Display', serif; margin-bottom: .6rem; }
.apply-box p { font-size: .83rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }

/* ── Info Boxes ── */
.info-box {
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .92rem;
}

.info-box-blue {
  background: rgba(26,39,68,.06);
  border-left: 3px solid var(--navy);
}

.info-box-amber {
  background: rgba(200,136,42,.08);
  border-left: 3px solid var(--amber);
}

.info-box-green {
  background: rgba(45,122,74,.07);
  border-left: 3px solid var(--success);
}

.info-box-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  font-size: 1rem;
}

/* ── Step List ── */
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.step-list li::before {
  content: counter(steps);
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: .85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ── Data Table ── */
.data-table-wrap { overflow-x: auto; margin: 1.5rem 0; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  text-align: left;
  padding: .75rem 1rem;
  font-size: .8rem;
  letter-spacing: .03em;
}

.data-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: rgba(240,235,224,.4); }
.data-table tr:hover td { background: rgba(200,136,42,.05); }

/* ── FAQ ── */
.faq-list { margin: 1.5rem 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover { background: rgba(26,39,68,.03); }

.faq-icon {
  font-size: 1.1rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .9rem 1.25rem;
  font-size: .8rem;
  color: var(--slate-light);
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  align-items: center;
}

.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { color: var(--border-dark); }

/* ── Tool: State Program Finder ── */
.tool-section {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.tool-section h2 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  border: none;
  padding: 0;
}

.tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .75rem;
  align-items: end;
  margin: 1.25rem 0;
}

.form-group { display: flex; flex-direction: column; gap: .35rem; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-control {
  padding: .65rem .9rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  width: 100%;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,.1);
}

.result-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.25rem;
  display: none;
}

.result-box.visible { display: block; }

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.result-state-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}

.result-item {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

.result-item-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: .25rem;
}

.result-item-value {
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 1.25rem 2rem;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-top: .75rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--amber-light); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

.footer-disclaimer {
  max-width: var(--max-w);
  margin: 1rem auto 0;
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
}

/* ── Inline disclaimer ── */
.disclaimer {
  background: rgba(200,136,42,.06);
  border: 1px solid rgba(200,136,42,.2);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  font-size: .82rem;
  color: var(--slate);
  margin: 2rem 0 1rem;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-finder { display: none; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .tool-row { grid-template-columns: 1fr 1fr; }
  .tool-row .btn { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.15);
    gap: .75rem;
    z-index: 200;
  }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .data-table { font-size: .8rem; }
  .tool-row { grid-template-columns: 1fr; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .sidebar { display: none; }
  .page-layout { display: block; }
  body { font-size: 12pt; color: #000; }
}

/* ── Analytics placeholder ── */
/* GA4 + GSC + AdSense + Clarity — uncomment and replace after approval
   <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
   <script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-XXXXXXXXXX');</script>
   <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX" crossorigin="anonymous"></script>
   <script type="text/javascript">(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y)})(window, document, "clarity", "script", "XXXXXXXX");</script>
*/
