:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eef3fd;
  --ink: #0b1324;
  --muted: #556176;
  --line: #e3e8f0;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --navy: #0b1324;
  --success: #0f766e;
  --warning: #9a3412;
  --radius: 20px;
  --shadow: 0 2px 4px #0b13240a, 0 14px 34px #0b132414;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 99; background: var(--paper); padding: .75rem 1rem; border-radius: 12px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: white; font-size: 1.15rem; }
.brand-copy small { display: block; color: var(--muted); font-size: .63rem; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a { text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav-links .nav-cta { padding: .65rem .9rem; border-radius: 12px; background: var(--accent); color: white; }
.hero { position: relative; overflow: hidden; padding: 5.7rem 0 5rem; color: white; background: radial-gradient(circle at 85% 15%, #1d4ed8 0, transparent 38%), linear-gradient(135deg, #081225, #0e2a59 70%, #153f83); }
.hero::after { content: ""; position: absolute; inset: auto -10% -65% 38%; height: 470px; border-radius: 50%; background: rgba(147,197,253,.15); transform: rotate(-8deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.eyebrow { margin: 0 0 .9rem; color: #bfdbfe; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(2.6rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.2rem; }
.hero p.lead { max-width: 690px; margin: 1.35rem 0 0; color: #dbeafe; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 750; cursor: pointer; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-light { background: white; color: var(--navy); }
.button-outline { border-color: rgba(255,255,255,.4); color: white; background: rgba(255,255,255,.06); }
.hero-panel { padding: 1.35rem; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: var(--shadow); }
.hero-panel strong { display: block; margin-bottom: .35rem; font-size: 1.05rem; }
.hero-panel p { margin: 0; color: #dbeafe; }
.hero-panel hr { margin: 1rem 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); }
.section { padding: 5rem 0; }
.section-soft { background: var(--wash); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p { max-width: 680px; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 1px 2px #0b132408; }
.card p { margin: .65rem 0 0; color: var(--muted); }
.card .tag { display: inline-block; margin-bottom: .8rem; padding: .28rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.route-card { display: flex; flex-direction: column; min-height: 220px; }
.route-card .button { margin-top: auto; align-self: flex-start; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 850; font-size: 1.05rem; }
.notice { padding: 1rem 1.15rem; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--accent-soft); }
.notice strong { display: block; }
.notice p { margin: .2rem 0 0; color: var(--muted); }
.form-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.form-shell header { padding: 1.3rem 1.4rem 1rem; border-bottom: 1px solid var(--line); }
.form-shell header p { margin: .35rem 0 0; color: var(--muted); }
.form-frame { display: block; width: 100%; min-height: 835px; border: 0; }
.contact-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-radius: 18px; background: var(--navy); color: white; }
.contact-strip p { margin: 0; color: #cbd5e1; }
.contact-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.contact-links a { padding: .6rem .75rem; border-radius: 10px; background: rgba(255,255,255,.1); text-decoration: none; font-weight: 700; }
.county-tools { display: flex; gap: .7rem; margin-bottom: 1.5rem; }
.county-tools input, .county-tools select { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; }
.county-card { position: relative; overflow: hidden; }
.county-card::after { content: attr(data-state); position: absolute; right: 1rem; top: .8rem; color: #cbd5e1; font-size: 2.25rem; font-weight: 900; letter-spacing: -.08em; }
.county-card h3, .county-card p { position: relative; z-index: 1; }
.service-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.service-list li { padding: .45rem .68rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-size: .86rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); }
.site-footer { padding: 2.2rem 0; color: #cbd5e1; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: white; text-decoration: none; }
.muted { color: var(--muted); }
.hide { display: none !important; }

@media (max-width: 860px) {
  .hero-grid, .section-head, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-panel { max-width: 620px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .form-frame { min-height: 970px; }
}
@media (max-width: 540px) {
  .wrap { width: min(100% - 1.2rem, 1160px); }
  .nav { min-height: 66px; }
  .brand-copy small { display: none; }
  .hero { padding: 3.7rem 0; }
  .section { padding: 3.7rem 0; }
  .county-tools, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .contact-strip { align-items: flex-start; }
}
