
:root {
  --ink:#14213d;
  --blue:#1f4e79;
  --pale:#eef4f8;
  --paper:#ffffff;
  --text:#253247;
  --muted:#667085;
  --line:#dfe7ee;
  --warm:#f7f4ee;
  --danger:#8d2f23;
  --radius:18px;
}

* { box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#f7f9fb;
}

a { color:inherit; }

.topbar {
  min-height:72px;
  background:white;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px max(20px,calc((100vw - 1180px)/2));
  position:sticky;
  top:0;
  z-index:20;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.logo {
  background:var(--ink);
  color:white;
  font-weight:900;
  padding:10px 11px;
  border-radius:11px;
  letter-spacing:.04em;
}

.brand strong,
.brand span {
  display:block;
}

.brand span {
  font-size:.78rem;
  color:var(--muted);
}

nav {
  display:flex;
  gap:22px;
  align-items:center;
}

nav a {
  text-decoration:none;
  font-weight:650;
  font-size:.9rem;
}

.menuButton {
  display:none;
  border:0;
  background:none;
  font-size:1.6rem;
}

.hero {
  background:
    linear-gradient(115deg,rgba(20,33,61,.97),rgba(31,78,121,.90));
  color:white;
  padding:80px 20px;
}

.heroContent,
.finder,
.sourceSection,
.toolsSection,
.researchCallout,
.supportCallout {
  max-width:1180px;
  margin:auto;
}

.eyebrow {
  font-size:.76rem;
  letter-spacing:.16em;
  font-weight:850;
  text-transform:uppercase;
  opacity:.78;
  margin-bottom:12px;
}

h1 {
  max-width:850px;
  font-size:clamp(2.2rem,6vw,4.5rem);
  line-height:1.03;
  margin:0;
  letter-spacing:-.04em;
}

.lead {
  font-size:1.12rem;
  max-width:760px;
  line-height:1.65;
  margin:25px 0;
  opacity:.95;
}

.heroNotice {
  max-width:760px;
  padding:14px 16px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  font-size:.88rem;
}

.finder,
.sourceSection,
.toolsSection {
  padding:65px 20px;
}

.sectionHeading {
  display:flex;
  gap:15px;
  align-items:flex-start;
  margin-bottom:25px;
}

.step {
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  background:var(--ink);
  color:white;
  display:grid;
  place-items:center;
  font-weight:800;
}

h2 {
  margin:0 0 8px;
  font-size:clamp(1.7rem,4vw,2.6rem);
  letter-spacing:-.025em;
}

.sectionHeading p,
.sectionIntro p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.issueGrid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.issueCard {
  text-align:left;
  cursor:pointer;
  padding:24px;
  border-radius:var(--radius);
  border:2px solid transparent;
  background:white;
  box-shadow:0 5px 22px rgba(20,33,61,.06);
  color:var(--text);
}

.issueCard:hover,
.issueCard.active {
  border-color:var(--blue);
  transform:translateY(-1px);
}

.issueCard .icon {
  font-size:1.8rem;
  display:block;
  margin-bottom:15px;
}

.issueCard strong,
.issueCard span {
  display:block;
}

.issueCard strong {
  font-size:1.08rem;
  margin-bottom:8px;
}

.issueCard span:last-child {
  color:var(--muted);
  line-height:1.45;
  font-size:.9rem;
}

.stateChooser {
  margin-top:45px;
  padding-top:40px;
  border-top:1px solid var(--line);
}

.selectRow {
  display:flex;
  gap:12px;
}

select {
  width:100%;
  min-height:50px;
  padding:0 15px;
  border:1px solid #cbd5df;
  border-radius:12px;
  background:white;
  font-size:1rem;
}

.primaryButton,
.secondaryButton {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:50px;
  padding:0 20px;
  border-radius:12px;
  text-decoration:none;
  border:0;
  cursor:pointer;
  font-weight:800;
  white-space:nowrap;
}

.primaryButton {
  color:white;
  background:var(--blue);
}

.secondaryButton {
  color:var(--ink);
  background:white;
  border:1px solid var(--line);
}

.sourceSection {
  background:var(--pale);
  max-width:none;
}

.sourceSection > * {
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

.sectionIntro {
  margin-bottom:28px;
}

.sourceGrid {
  max-width:1180px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.sourceGrid article {
  background:white;
  border:1px solid var(--line);
  padding:20px;
  border-radius:15px;
}

.sourceGrid h3 {
  margin:14px 0 7px;
}

.sourceGrid p {
  color:var(--muted);
  line-height:1.45;
  font-size:.9rem;
}

.source {
  display:inline-block;
  padding:5px 8px;
  border-radius:7px;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.08em;
}

.law { background:#e9efff; }
.rule { background:#f1eaff; }
.cases { background:#e8f6ef; }
.policy { background:#fff0e4; }
.guidance { background:#e7f6fa; }
.form { background:#f4f1e8; }
.help { background:#fdebec; }

.toolGrid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.toolGrid a {
  text-decoration:none;
  padding:22px;
  background:white;
  border:1px solid var(--line);
  border-radius:15px;
}

.toolGrid strong,
.toolGrid span {
  display:block;
}

.toolGrid span {
  color:var(--muted);
  font-size:.9rem;
  margin-top:7px;
  line-height:1.4;
}

.researchCallout,
.supportCallout {
  margin-top:20px;
  margin-bottom:20px;
  padding:40px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.researchCallout {
  color:white;
  background:var(--ink);
}

.researchCallout p,
.supportCallout p {
  max-width:720px;
  line-height:1.55;
}

.supportCallout {
  background:var(--warm);
}

footer {
  margin-top:60px;
  padding:35px 20px;
  border-top:1px solid var(--line);
  background:white;
  text-align:center;
}

footer strong,
footer span {
  display:block;
}

footer span {
  margin:8px 0 15px;
  color:var(--muted);
  font-size:.82rem;
}

footer a {
  margin:0 8px;
  font-size:.82rem;
}

.page {
  max-width:1000px;
  margin:auto;
  padding:45px 20px 90px;
}

.pageHeader {
  margin-bottom:30px;
}

.pageHeader p {
  color:var(--muted);
  line-height:1.5;
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  margin:14px 0;
}

.field {
  display:grid;
  gap:7px;
  margin-bottom:14px;
}

.field label {
  font-weight:700;
  font-size:.85rem;
}

input, textarea {
  width:100%;
  padding:12px;
  border:1px solid #cbd5df;
  border-radius:10px;
  font:inherit;
}

textarea {
  min-height:95px;
  resize:vertical;
}

.savedItem {
  padding:14px 0;
  border-top:1px solid var(--line);
}

.savedItem:first-child {
  border-top:0;
}

.muted {
  color:var(--muted);
}

@media (max-width:800px) {

  nav {
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    background:white;
    padding:20px;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
  }

  nav.open { display:flex; }

  .menuButton { display:block; }

  .issueGrid,
  .sourceGrid,
  .toolGrid {
    grid-template-columns:1fr;
  }

  .selectRow,
  .researchCallout,
  .supportCallout {
    flex-direction:column;
    align-items:stretch;
  }

  .hero {
    padding:55px 20px;
  }

  .researchCallout,
  .supportCallout {
    margin-left:20px;
    margin-right:20px;
    padding:28px;
  }
}


.legalDisclaimer {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 0 18px;
  font-size: 0.86rem;
  line-height: 1.55;
  opacity: 0.78;
  text-align: center;
}
