:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --panel: rgba(0, 0, 0, 0.02);
  --panel2: rgba(0, 0, 0, 0.04);
  --text: rgba(0, 0, 0, 0.87);
  --muted: rgba(0, 0, 0, 0.6);
  --faint: rgba(0, 0, 0, 0.45);
  --accent: #0066cc;
  --accent2: #00994d;
  --danger: #cc0000;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg-subtle);
  color: var(--text);
}

a {
  color: inherit;
}

.container {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 80px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: var(--panel2);
}

.hero {
  padding: 26px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--shadow);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.4px;
  color: var(--text);
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

.callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 18px;
}

@media (max-width: 760px) {
  .callouts {
    grid-template-columns: 1fr;
  }
}

.callout {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
}

.calloutTitle {
  font-weight: 650;
  color: var(--text);
}

.calloutBody {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.ctaRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

button,
.secondary {
  font: inherit;
}

.primaryLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 650;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

.primaryLink:hover {
  filter: brightness(1.1);
}

.primary {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 650;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.primary:hover {
  filter: brightness(1.1);
}

.secondary {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.secondary:hover {
  background: var(--panel2);
}

.disclaimer {
  margin-top: 14px;
  color: var(--faint);
  font-size: 12px;
  max-width: 90ch;
}

.stepsPreview {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.checklist {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 4px 24px var(--shadow);
}

.checklistHeader h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.checklistLayout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .checklistLayout {
    grid-template-columns: 1fr;
  }
}

.toc {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: 16px;
  padding: 12px;
  position: sticky;
  top: 16px;
  align-self: start;
}

@media (max-width: 900px) {
  .toc {
    position: static;
  }
}

.toc h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}

.tocList {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.tocList a {
  color: inherit;
  text-decoration: none;
}

.tocList a:hover {
  text-decoration: underline;
  color: var(--accent);
}

.steps {
  display: grid;
  gap: 10px;
}

.stepDetails {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
}

.stepDetails summary {
  cursor: pointer;
  padding: 12px 12px;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.stepDetails summary::-webkit-details-marker {
  display: none;
}

.stepDetails summary:hover {
  background: var(--panel);
}

.stepSummaryTitle {
  font-weight: 700;
  color: var(--text);
}

.stepSummaryMeta {
  color: var(--faint);
  font-size: 12px;
  white-space: nowrap;
}

.stepBody {
  padding: 0 12px 12px;
}

.stepBody p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.stepBody h4 {
  margin: 12px 0 8px;
  font-size: 13px;
  color: var(--text);
}

/* Provider table */
.providerTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.providerTable th,
.providerTable td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.providerTable th {
  font-weight: 650;
  color: var(--text);
  background: var(--bg-subtle);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.providerTable th:first-child {
  border-radius: 8px 0 0 0;
}

.providerTable th:last-child {
  border-radius: 0 8px 0 0;
}

.providerTable tbody tr:hover {
  background: var(--bg-subtle);
}

.providerTable tbody tr:last-child td {
  border-bottom: none;
}

.providerLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.providerLink:hover {
  color: var(--accent);
}

.providerLogo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--panel2);
  object-fit: contain;
}

.outHint {
  font-size: 12px;
  color: var(--accent);
  margin-left: 4px;
}

.prosConsList {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
}

.prosConsList li {
  margin-bottom: 4px;
}

.prosConsList li:last-child {
  margin-bottom: 0;
}

/* Mobile: stack table rows into cards */
@media (max-width: 700px) {
  .providerTable thead {
    display: none;
  }

  .providerTable tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--bg);
  }

  .providerTable tbody tr:hover {
    background: var(--bg);
  }

  .providerTable td {
    display: block;
    padding: 4px 0;
    border-bottom: none;
  }

  .providerTable td:first-child {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  .providerTable td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }

  .providerTable td:first-child::before {
    display: none;
  }

  .prosConsList {
    padding-left: 0;
    list-style: none;
  }

  .prosConsList li::before {
    content: "• ";
  }
}

.stepsPreview h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.stepsList {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.fineprint {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
}

.pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
}

.faq {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 4px 24px var(--shadow);
}

.faq h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.faq details:first-of-type {
  border-top: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--text);
}

.faq summary:hover {
  color: var(--accent);
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.bullets {
  margin: 8px 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.bullets li {
  margin-bottom: 4px;
}

.tocList a:focus-visible,
.providerLink:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Landing page */
.stateGrid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.stateCard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.stateCard:hover {
  border-color: var(--accent);
  background: var(--bg-subtle);
}

.stateArrow {
  color: var(--accent);
}

.requestSection {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.requestSection h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.requestForm {
  margin-top: 16px;
}

.formRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.formInput {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
}

.formInput:focus {
  outline: none;
  border-color: var(--accent);
}

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