:root {
  --ink: #17202a;
  --muted: #5a6875;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #c2410c;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--brand-dark);
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > * {
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

.g-3,
.g-4,
.g-5 {
  row-gap: 24px;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-lg-center {
  align-items: center;
}

.ms-auto {
  margin-left: auto;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

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

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  padding: 10px 16px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-lg {
  font-size: 1.02rem;
  padding: 13px 20px;
}

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

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.form-label {
  display: block;
  font-weight: 750;
  margin-bottom: 7px;
}

.form-control,
.form-select {
  appearance: none;
  background: #fff;
  border: 1px solid #bfccd8;
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font: inherit;
  padding: 11px 13px;
  width: 100%;
}

.form-control-lg,
.input-group-lg .form-control {
  font-size: 1.05rem;
  padding: 13px 15px;
}

.input-group {
  display: flex;
}

.input-group .form-control {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.input-group .btn {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.alert {
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.alert-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-button {
  background: #fff;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 16px 18px;
  text-align: left;
  width: 100%;
}

.accordion-body {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 16px 18px;
}

.collapse:not(.show) {
  display: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  padding: 14px 0;
}

.navbar .container,
.navbar-collapse,
.navbar-nav {
  align-items: center;
  display: flex;
}

.navbar-toggler {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  height: 40px;
  margin-left: auto;
  width: 46px;
}

.navbar-toggler-icon {
  background: linear-gradient(var(--ink), var(--ink)) center/22px 2px no-repeat;
  display: block;
  height: 100%;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  background: var(--ink);
  content: "";
  height: 2px;
  left: 12px;
  position: absolute;
  width: 22px;
}

.navbar-toggler-icon::before {
  top: 12px;
}

.navbar-toggler-icon::after {
  bottom: 12px;
}

.navbar-brand {
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.navbar-nav {
  gap: 8px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-link {
  color: var(--ink);
  display: inline-flex;
  font-weight: 600;
  padding: 8px 10px;
  text-decoration: none;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
}

.hero-section {
  background: linear-gradient(180deg, #f7fbfa 0%, #fff 100%);
  padding: 86px 0 58px;
}

.hero-section h1,
.page-intro h1 {
  font-size: clamp(2.35rem, 4vw, 4.45rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 850;
}

.lead {
  color: var(--muted);
  max-width: 760px;
}

.eyebrow {
  color: var(--accent);
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.trust-note {
  color: var(--muted);
  font-size: .95rem;
}

.search-panel,
.feature-card,
.utility-box,
.form-card,
.contact-card,
.calculator,
.sidebar-box,
.directory-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-panel {
  box-shadow: 0 24px 60px rgba(23, 32, 42, .10);
  padding: 28px;
}

.search-panel h2,
.utility-box h2,
.sidebar-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.state-search {
  display: grid;
  gap: 12px;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 830;
  line-height: 1.12;
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  align-items: center;
  background: #e6f5f2;
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.feature-card p,
.directory-item p,
.tool-link small {
  color: var(--muted);
}

.state-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.state-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  padding: 14px 16px;
  text-decoration: none;
}

.utility-box {
  padding: 26px;
}

.tool-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 20px;
  text-decoration: none;
}

.tool-link span {
  color: var(--ink);
  font-weight: 800;
}

.cta-band {
  background: var(--brand-dark);
  color: #fff;
  padding: 46px 0;
}

.cta-band .container {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.page-shell {
  padding: 38px 0 76px;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.breadcrumbs a {
  text-decoration: none;
}

.page-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.state-filter {
  margin-bottom: 28px;
  max-width: 680px;
}

.state-directory {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.directory-item {
  padding: 22px;
}

.directory-item h2 {
  font-size: 1.15rem;
  font-weight: 800;
}

.text-link {
  font-weight: 800;
}

.guide-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 820;
}

.guide-table th {
  width: 240px;
}

.guide-sidebar {
  position: sticky;
  top: 92px;
}

.sidebar-box {
  margin-bottom: 16px;
  padding: 20px;
}

.sidebar-box a:not(.btn) {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: block;
  padding: 9px 0;
  text-decoration: none;
}

.form-card,
.calculator,
.contact-card {
  padding: 26px;
}

.calculator .form-label {
  margin-top: 14px;
}

.result-panel {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding: 22px;
}

.state-fee-note {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  margin-top: 14px;
  padding: 14px 16px;
}

.cta-band a {
  color: #fff;
  font-weight: 800;
}

.cta-band .btn-light {
  color: var(--brand-dark);
}

.result-panel strong {
  font-size: 2.3rem;
}

.site-footer {
  background: #101820;
  color: #dbe4ed;
  padding: 52px 0 28px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer a {
  color: #dbe4ed;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

  .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  color: #aebdcc;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }

  .ms-lg-2 {
    margin-left: .5rem;
  }
}

@media (min-width: 1200px) {
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

@media (max-width: 991px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    align-items: stretch;
    display: grid;
    margin-top: 14px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 58px;
  }

  .search-panel,
  .form-card,
  .calculator,
  .contact-card {
    padding: 20px;
  }

  .guide-table th,
  .guide-table td {
    display: block;
    width: 100%;
  }
}
