/* ============================================================
   PrenuptialAgreementForm.com — Main Stylesheet
   Design: Clean Legal Resource / Newspaper Editorial
   Palette: Forest Green #1e4d3a | Amber #e8a020 | Charcoal #1a1a1a
   Fonts: Libre Baskerville (headings) + Lato (body) + Courier Prime (code/statutes)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;600;700&family=Courier+Prime:wght@400;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #1e4d3a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 { font-family: 'Libre Baskerville', serif; font-weight: 700; line-height: 1.25; color: #1a1a1a; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 860px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ---- Top Bar ---- */
.topbar {
  background: #1a3d2e;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 0.4rem 0;
  text-align: center;
  letter-spacing: 0.03em;
}
.topbar a { color: rgba(255,255,255,0.85); }

/* ---- Header / Nav ---- */
.site-header {
  background: #fff;
  border-bottom: 2px solid #1e4d3a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; gap: 1rem; }
.site-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.site-logo .logo-icon { width: 36px; height: 36px; background: #1e4d3a; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-logo .logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.site-logo .logo-text { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; font-weight: 700; color: #1e4d3a; line-height: 1.1; }
.site-logo .logo-sub { font-family: 'Lato', sans-serif; font-size: 0.65rem; font-weight: 700; color: #6b7280; letter-spacing: 0.1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.site-nav a, .site-nav .nav-dropdown-trigger {
  font-size: 0.85rem; font-weight: 600; color: #374151; padding: 0.45rem 0.75rem; border-radius: 5px;
  text-decoration: none; transition: background 0.15s, color 0.15s; cursor: pointer; border: none; background: none; font-family: 'Lato', sans-serif;
}
.site-nav a:hover, .site-nav .nav-dropdown-trigger:hover { background: #f0f4f2; color: #1e4d3a; text-decoration: none; }
.site-nav a.nav-cta { background: #e8a020; color: #1a1a1a; font-weight: 700; }
.site-nav a.nav-cta:hover { background: #d4911a; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 220px; z-index: 200; padding: 0.5rem 0;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown-menu:hover { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.83rem; color: #374151; border-radius: 0; }
.nav-dropdown-menu a:hover { background: #f0f4f2; color: #1e4d3a; }
.nav-dropdown-menu .menu-section { padding: 0.35rem 1rem 0.15rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af; }

/* ---- Breadcrumb ---- */
.breadcrumb { padding: 0.6rem 0; font-size: 0.8rem; color: #6b7280; border-bottom: 1px solid #f3f4f6; }
.breadcrumb a { color: #1e4d3a; }
.breadcrumb span { margin: 0 0.4rem; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #1e4d3a 0%, #2d6b52 60%, #1a3d2e 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/110270577/BRtST7kaLyfPWmUjFAkUR3/hero-prenup-QSQH4gb3ogeX2HSVCdZDxe.webp');
  background-size: cover; background-position: center right;
  opacity: 0.15; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge { display: inline-block; background: rgba(232,160,32,0.25); border: 1px solid rgba(232,160,32,0.5); border-radius: 4px; padding: 0.25rem 0.75rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #f0c060; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem; color: #fff; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-primary { display: inline-block; background: #e8a020; color: #1a1a1a; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.15s; }
.btn-primary:hover { background: #d4911a; text-decoration: none; color: #1a1a1a; }
.btn-ghost { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); transition: background 0.15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.25); text-decoration: none; color: #fff; }
.btn-green { display: inline-block; background: #1e4d3a; color: #fff; padding: 0.65rem 1.25rem; border-radius: 6px; font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: background 0.15s; }
.btn-green:hover { background: #163d2e; text-decoration: none; color: #fff; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 1.25rem; backdrop-filter: blur(4px); }
.stat-card .stat-icon { color: #f0c060; margin-bottom: 0.5rem; }
.stat-card .stat-value { font-family: 'Libre Baskerville', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.2rem; }
.stat-card .stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* ---- State Hero (individual state pages) ---- */
.state-hero {
  background: linear-gradient(135deg, #1e4d3a 0%, #2d6b52 100%);
  color: #fff; padding: 2.5rem 0;
}
.state-hero .container { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.state-hero-badges { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.state-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 0.2rem 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; }
.state-badge.upaa { background: rgba(232,160,32,0.3); border-color: rgba(232,160,32,0.5); color: #f0c060; }
.state-badge.cp { background: rgba(59,130,246,0.3); border-color: rgba(59,130,246,0.5); color: #93c5fd; }
.state-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; margin-bottom: 0.75rem; }
.state-hero p.lead { font-size: 0.97rem; color: rgba(255,255,255,0.85); line-height: 1.65; }
.state-info-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 1.25rem; }
.state-info-row { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.state-info-row:last-child { border-bottom: none; }
.state-info-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 0.2rem; }
.state-info-value { font-size: 0.9rem; font-weight: 600; color: #fff; }
.state-info-value.statute { font-family: 'Courier Prime', monospace; font-size: 0.82rem; color: #f0c060; }
.state-info-value.cost { color: #86efac; }

/* ---- Quick Nav Bar ---- */
.quick-nav { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 1.25rem 0; }
.quick-nav .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.quick-nav-item { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.85rem; border-radius: 8px; border: 1px solid #e5e7eb; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.quick-nav-item:hover { border-color: #1e4d3a; box-shadow: 0 2px 8px rgba(30,77,58,0.1); text-decoration: none; }
.quick-nav-icon { color: #1e4d3a; flex-shrink: 0; margin-top: 2px; }
.quick-nav-title { font-weight: 700; font-size: 0.88rem; color: #1a1a1a; margin-bottom: 0.1rem; }
.quick-nav-desc { font-size: 0.78rem; color: #6b7280; }

/* ---- Tabs ---- */
.tabs { border-bottom: 2px solid #e5e7eb; display: flex; gap: 0; margin-bottom: 2rem; }
.tab-btn { padding: 0.75rem 1.25rem; font-size: 0.88rem; font-weight: 600; color: #6b7280; border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; font-family: 'Lato', sans-serif; }
.tab-btn:hover { color: #1e4d3a; }
.tab-btn.active { color: #1e4d3a; border-bottom-color: #1e4d3a; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Content Layout (main + sidebar) ---- */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; padding: 2.5rem 0; align-items: start; }
.content-main {}
.content-sidebar {}

/* ---- Section ---- */
.section { padding: 3rem 0; }
.section--alt { background: #f9fafb; }
.section--dark { background: #1e4d3a; color: #fff; }
.section-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.section-subtitle { color: #6b7280; font-size: 0.95rem; margin-bottom: 2rem; }

/* ---- Cards ---- */
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.5rem; }
.card--hover:hover { border-color: #1e4d3a; box-shadow: 0 4px 12px rgba(30,77,58,0.1); }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-meta { font-size: 0.78rem; color: #6b7280; }

/* ---- State Grid ---- */
.state-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
.state-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.6rem 0.3rem; border-radius: 6px; border: 1px solid #e5e7eb; text-decoration: none; transition: all 0.15s; min-height: 72px; text-align: center; }
.state-tile:hover { border-color: #1e4d3a; background: #f0f4f2; box-shadow: 0 2px 6px rgba(30,77,58,0.12); text-decoration: none; }
.state-tile.cp { border-left: 3px solid #3b82f6; }
.state-tile .abbr { font-size: 1rem; font-weight: 700; color: #1e4d3a; font-family: 'Libre Baskerville', serif; }
.state-tile .name { font-size: 0.65rem; color: #374151; margin-top: 0.1rem; line-height: 1.2; }
.state-tile .tag { font-size: 0.58rem; color: #6b7280; margin-top: 0.15rem; }
.state-tile .cp-badge { font-size: 0.55rem; font-weight: 700; background: #dbeafe; color: #1d4ed8; border-radius: 3px; padding: 0.1rem 0.3rem; margin-top: 0.15rem; }

/* ---- Featured State Cards ---- */
.featured-states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.featured-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; text-decoration: none; transition: all 0.15s; display: block; }
.featured-card:hover { border-color: #1e4d3a; box-shadow: 0 4px 12px rgba(30,77,58,0.1); text-decoration: none; }
.featured-card .fc-state { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; margin-bottom: 0.35rem; }
.featured-card h3 { font-size: 1rem; color: #1a1a1a; margin-bottom: 0.4rem; }
.featured-card p { font-size: 0.8rem; color: #6b7280; line-height: 1.5; margin-bottom: 0.75rem; }
.featured-card .fc-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.fc-tag { font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 3px; }
.fc-tag.upaa { background: #d1fae5; color: #065f46; }
.fc-tag.cp { background: #dbeafe; color: #1d4ed8; }
.fc-tag.common { background: #fef3c7; color: #92400e; }

/* ---- Requirement Steps ---- */
.req-list { list-style: none; }
.req-item { display: flex; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid #f3f4f6; align-items: flex-start; }
.req-item:last-child { border-bottom: none; }
.req-num { width: 28px; height: 28px; background: #1e4d3a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.req-text { font-size: 0.92rem; color: #374151; }

/* ---- Can/Cannot Include ---- */
.can-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.can-box { border-radius: 8px; padding: 1.25rem; }
.can-box.yes { background: #f0fdf4; border: 1px solid #bbf7d0; }
.can-box.no { background: #fff5f5; border: 1px solid #fecaca; }
.can-box h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.can-box.yes h4 { color: #065f46; }
.can-box.no h4 { color: #991b1b; }
.can-item { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.5rem; font-size: 0.85rem; color: #374151; }
.can-item svg { flex-shrink: 0; margin-top: 2px; }

/* ---- Key Facts ---- */
.fact-list { list-style: none; }
.fact-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid #f3f4f6; font-size: 0.88rem; color: #374151; }
.fact-item:last-child { border-bottom: none; }
.fact-check { color: #059669; flex-shrink: 0; margin-top: 2px; }

/* ---- Official Links ---- */
.official-links { display: flex; flex-direction: column; gap: 0.75rem; }
.official-link { display: flex; flex-direction: column; padding: 0.85rem 1rem; border: 1px solid #e5e7eb; border-radius: 6px; text-decoration: none; transition: border-color 0.15s; }
.official-link:hover { border-color: #1e4d3a; text-decoration: none; }
.official-link .ol-name { font-weight: 700; font-size: 0.88rem; color: #1a1a1a; margin-bottom: 0.2rem; }
.official-link .ol-url { font-size: 0.73rem; color: #6b7280; font-family: 'Courier Prime', monospace; }

/* ---- Sidebar ---- */
.sidebar-box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; margin-bottom: 1.25rem; }
.sidebar-box h3 { font-size: 0.95rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #1e4d3a; }
.sidebar-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.45rem 0; border-bottom: 1px solid #f3f4f6; font-size: 0.82rem; }
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row .sr-label { color: #6b7280; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.sidebar-row .sr-value { font-weight: 600; color: #1a1a1a; text-align: right; }
.sidebar-row .sr-value.statute { font-family: 'Courier Prime', monospace; font-size: 0.78rem; color: #1e4d3a; }
.sidebar-row .sr-value.cost { color: #059669; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-links a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; color: #1e4d3a; padding: 0.35rem 0; border-bottom: 1px solid #f3f4f6; text-decoration: none; }
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: #163d2e; }

/* ---- State Nav Bar ---- */
.state-nav-bar { background: #f9fafb; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; padding: 0.75rem 0; }
.state-nav-bar .container { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.state-nav-bar a { font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 4px; color: #374151; text-decoration: none; transition: background 0.12s; }
.state-nav-bar a:hover { background: #e5e7eb; color: #1e4d3a; }
.state-nav-bar a.current { background: #1e4d3a; color: #fff; }
.state-nav-prev-next { display: flex; gap: 0.5rem; margin-left: auto; }
.state-nav-prev-next a { font-size: 0.8rem; font-weight: 600; color: #1e4d3a; padding: 0.25rem 0.6rem; border: 1px solid #1e4d3a; border-radius: 4px; text-decoration: none; }
.state-nav-prev-next a:hover { background: #1e4d3a; color: #fff; }

/* ---- Attorney Notice ---- */
.attorney-notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 1rem 1.25rem; display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.5rem 0; }
.attorney-notice svg { color: #d97706; flex-shrink: 0; margin-top: 2px; }
.attorney-notice p { font-size: 0.85rem; color: #92400e; line-height: 1.5; }
.attorney-notice strong { font-weight: 700; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; font-weight: 700; font-size: 0.95rem; color: #1a1a1a; gap: 1rem; }
.faq-question:hover { color: #1e4d3a; }
.faq-answer { padding: 0 0 1rem; font-size: 0.88rem; color: #374151; line-height: 1.65; display: none; }
.faq-answer.open { display: block; }
.faq-chevron { transition: transform 0.2s; flex-shrink: 0; color: #6b7280; }
.faq-chevron.open { transform: rotate(180deg); }

/* ---- Cost Table ---- */
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.cost-table th { background: #1e4d3a; color: #fff; padding: 0.65rem 0.85rem; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cost-table td { padding: 0.6rem 0.85rem; border-bottom: 1px solid #f3f4f6; }
.cost-table tr:nth-child(even) td { background: #f9fafb; }
.cost-table tr:hover td { background: #f0f4f2; }
.cost-table a { color: #1e4d3a; }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid #f3f4f6; }
.step:last-child { border-bottom: none; }
.step-num { width: 36px; height: 36px; background: #1e4d3a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Libre Baskerville', serif; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.step-content h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.88rem; color: #374151; line-height: 1.6; }

/* ---- Footer ---- */
.site-footer { background: #1a3d2e; color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .logo-text { color: #fff; font-size: 1rem; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-top: 0.75rem; }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.75rem; line-height: 1.5; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 0.4rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.5rem; }

/* ---- Utility ---- */
.text-green { color: #1e4d3a; }
.text-amber { color: #e8a020; }
.text-muted { color: #6b7280; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.font-mono { font-family: 'Courier Prime', monospace; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.rounded { border-radius: 6px; }
.rounded-lg { border-radius: 10px; }
.border { border: 1px solid #e5e7eb; }
.bg-white { background: #fff; }
.bg-light { background: #f9fafb; }
.bg-green { background: #1e4d3a; }
.shadow-sm { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.w-full { width: 100%; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .state-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .state-hero .container { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }
}
@media (max-width: 768px) {
  .state-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-states { grid-template-columns: 1fr 1fr; }
  .quick-nav .container { grid-template-columns: 1fr 1fr; }
  .can-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 480px) {
  .state-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-states { grid-template-columns: 1fr; }
  .quick-nav .container { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}

/* ============================================================
   V2 ADDITIONS — Classes used by rebuild_exact.py generated pages
   ============================================================ */

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: #1e4d3a;
  color: #d4edda;
  text-align: center;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.45rem 1rem;
}

/* ---- Site Header (override for v2 flat structure) ---- */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.6rem 1.5rem !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: #1e4d3a;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e4d3a;
  line-height: 1.2;
  vertical-align: middle;
}
.logo-text small {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { background: #f0faf5; color: #1e4d3a; text-decoration: none; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: #374151;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 2px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  gap: 0.1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}

/* ---- Nav Dropdown (v2) ---- */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
  background: none;
  border: none;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.nav-dropdown-btn:hover { background: #f0faf5; color: #1e4d3a; }
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 220px;
  z-index: 200;
  padding: 0.5rem 0;
  max-height: 400px;
  overflow-y: auto;
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-content a {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  color: #374151;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown-content a:hover { background: #f0faf5; color: #1e4d3a; }

/* ---- Page Main ---- */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* ---- Breadcrumb (v2) ---- */
.breadcrumb {
  padding: 0.6rem 0;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: #1e4d3a; }

/* ---- Page Hero (non-state pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #1e4d3a 0%, #163a2b 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.85); margin: 0; font-size: 1rem; }

/* ---- State Hero (v2 — flat structure, no .container inside) ---- */
.state-hero {
  background: linear-gradient(135deg, #1e4d3a 0%, #163a2b 100%) !important;
  color: #fff !important;
  padding: 2.5rem 2rem 2rem !important;
  border-radius: 8px !important;
  margin-bottom: 2rem !important;
}
.state-hero-content { max-width: 800px; }
.state-hero .state-abbr {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  display: block;
}
.state-hero h1 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.state-hero .state-badges { margin-bottom: 0.75rem; }
.state-hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.state-hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.meta-item {}
.meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 0.15rem;
}
.meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

/* ---- Badges (v2) ---- */
.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.badge-cp {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-upaa {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.badge-state {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ---- Tabs (v2) ---- */
.tabs-container { margin-bottom: 2rem; }
.tabs {
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.25rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: #1e4d3a; }
.tab-btn.active { color: #1e4d3a; border-bottom-color: #1e4d3a; }
.tab-pane { display: none; padding-top: 1.75rem; }
.tab-pane.active { display: block; }
.tab-content-wrap {
  display: flex;
  gap: 2rem;
  width: 100%;
  align-items: flex-start;
}
.tab-content-main { flex: 1; min-width: 0; }
.tab-sidebar { width: 280px; flex-shrink: 0; }

/* ---- Content Layout (v2) ---- */
.content-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.content-main { flex: 1; min-width: 0; }
.content-sidebar { width: 280px; flex-shrink: 0; }

/* ---- Sidebar Card (v2) ---- */
.sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sidebar-links a {
  font-size: 0.85rem;
  color: #1e4d3a;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f9fafb;
  text-decoration: none;
}
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-table { width: 100%; font-size: 0.82rem; border-collapse: collapse; }
.sidebar-table tr { border-bottom: 1px solid #f3f4f6; }
.sidebar-table td { padding: 0.4rem 0; color: #374151; }
.sidebar-table .cost-value { font-weight: 700; color: #1e4d3a; text-align: right; }

/* ---- States Grid (v2 homepage) ---- */
.states-section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.states-section h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.section-intro { color: #6b7280; font-size: 0.9rem; margin-bottom: 1.5rem; }
.legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
}
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.state-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  display: block;
}
.state-card:hover {
  border-color: #1e4d3a;
  box-shadow: 0 4px 12px rgba(30,77,58,0.12);
  transform: translateY(-2px);
  text-decoration: none;
}
.state-abbr {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
  display: block;
}
.state-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.state-badges {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.state-cost { font-size: 0.75rem; color: #6b7280; font-weight: 600; }

/* ---- Hero Section (homepage v2) ---- */
.hero-section {
  position: relative;
  background: #1e4d3a;
  color: #fff;
  padding: 4rem 1.5rem 3.5rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,77,58,0.92) 0%, rgba(10,40,28,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }

/* ---- Stats Bar (homepage v2) ---- */
.stats-bar {
  background: #163a2b;
  padding: 1.25rem 1.5rem;
}
.stats-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #e8a020;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---- Info Strip (key facts bar) ---- */
.info-strip {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.75rem 1.5rem;
}
.info-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.info-strip-item {
  padding: 1rem 1.25rem;
  border-left: 3px solid #1e4d3a;
  background: #f8fdf9;
}
.info-strip-item strong {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e4d3a;
  margin-bottom: 0.25rem;
}
.info-strip-item p { font-size: 0.88rem; color: #374151; margin: 0; line-height: 1.4; }

/* ---- Lists (v2) ---- */
.fact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.fact-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  background: #1e4d3a;
  border-radius: 50%;
}
.fact-list li:last-child { border-bottom: none; }
.requirements-list { margin: 0 0 1.25rem 1.25rem; }
.requirements-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid #f3f4f6;
}
.requirements-list li:last-child { border-bottom: none; }
.resource-links { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.resource-links li { padding: 0.4rem 0; border-bottom: 1px solid #f3f4f6; }
.resource-links li:last-child { border-bottom: none; }
.resource-links a { font-size: 0.88rem; color: #1e4d3a; font-weight: 600; }

/* ---- Can/Cannot Include (v2) ---- */
.can-include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.can-include, .cannot-include {
  padding: 1.25rem;
  border-radius: 6px;
}
.can-include { background: #f0fdf4; border: 1px solid #bbf7d0; }
.can-include h4 { color: #166534; margin-top: 0; }
.cannot-include { background: #fff5f5; border: 1px solid #fecaca; }
.cannot-include h4 { color: #991b1b; margin-top: 0; }
.can-include ul, .cannot-include ul { margin: 0.5rem 0 0 1.25rem; }
.can-include li, .cannot-include li { font-size: 0.85rem; margin-bottom: 0.3rem; }

/* ---- Attorney Note (v2) ---- */
.attorney-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #e8a020;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #374151;
}
.attorney-note strong { color: #92400e; }

/* ---- Resources Section (v2) ---- */
.resources-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid #f3f4f6; }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.resource-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.resource-card:hover { border-color: #1e4d3a; box-shadow: 0 2px 8px rgba(30,77,58,0.1); }
.resource-card h4 { font-size: 0.9rem; margin: 0 0 0.4rem; }
.resource-card p { font-size: 0.82rem; color: #6b7280; margin: 0 0 0.75rem; }
.resource-card a { font-size: 0.82rem; font-weight: 700; color: #1e4d3a; }

/* ---- State Links Grid (v2) ---- */
.state-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.state-links-grid a {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e4d3a;
  text-align: center;
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s;
}
.state-links-grid a:hover { background: #f0faf5; border-color: #1e4d3a; text-decoration: none; }

/* ---- Cost Table (v2) ---- */
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0 1.5rem; }
.cost-table th {
  background: #1e4d3a; color: #fff; padding: 0.6rem 0.75rem;
  text-align: left; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cost-table td { padding: 0.55rem 0.75rem; border-bottom: 1px solid #f3f4f6; color: #374151; }
.cost-table tr:hover td { background: #f9fafb; }
.cost-table a { color: #1e4d3a; font-weight: 600; }
.cost-value { font-weight: 700; color: #1e4d3a; }

/* ---- FAQ (v2) ---- */
.faq-list { margin: 0; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 2rem 1rem 0;
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.15s;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: #1e4d3a;
}
.faq-question.open::after { content: '\2212'; }
.faq-question:hover { color: #1e4d3a; }
.faq-answer { display: none; padding: 0 0 1.25rem; font-size: 0.9rem; line-height: 1.65; color: #374151; }
.faq-answer.open { display: block; }
.faq-answer a { color: #1e4d3a; font-weight: 600; }

/* ---- Sample Doc (v2) ---- */
.sample-doc {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}
.sample-doc h3 { font-family: 'Courier Prime', monospace; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 1.5rem 0 0.5rem; }
.sample-center { text-align: center; margin-bottom: 1rem; }
.sample-sig { margin-top: 2rem; font-style: italic; }
.sig-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0; }

/* ---- Page Nav (state nav bar) ---- */
.state-nav-bar {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  margin-bottom: 1rem;
}
.page-nav {
  display: flex;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.page-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
}
.page-nav a:hover { color: #1e4d3a; background: #f0faf5; }

/* ---- Footer (v2) ---- */
.site-footer {
  background: #1a1a1a !important;
  color: #9ca3af !important;
  padding: 3rem 1.5rem 1.5rem !important;
  margin-top: 4rem !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
  text-decoration: none;
}
.footer-col a:hover { color: #d4edda; }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.6;
}
.footer-bottom p { margin-bottom: 0.4rem; }

/* ---- Responsive (v2) ---- */
@media (max-width: 900px) {
  .content-wrap { flex-direction: column; }
  .content-sidebar { width: 100%; }
  .tab-content-wrap { flex-direction: column; }
  .tab-sidebar { width: 100%; }
  .can-include-grid { grid-template-columns: 1fr; }
  .sig-block { grid-template-columns: 1fr; }
  .state-hero-meta { gap: 1rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .states-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .stats-grid { gap: 1.25rem; }
  .hero-section { padding: 2.5rem 1.25rem 2rem; }
  .state-hero { padding: 1.75rem 1.25rem 1.5rem !important; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-main { padding: 1rem 1rem 2rem; }
  .sample-doc { padding: 1.25rem; }
  .info-strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { justify-content: center; }
  .info-strip-grid { grid-template-columns: 1fr; }
}
