:root {
  --bg: #071018;
  --bg-soft: #0d1822;
  --panel: #111f2b;
  --panel-2: #162938;
  --ink: #eef4f7;
  --muted: #b7c5cf;
  --line: rgba(185, 207, 220, 0.2);
  --cyan: #76c7df;
  --blue: #6da4cf;
  --green: #90d89b;
  --green-2: #7fcfaf;
  --warning: #dec071;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(118, 199, 223, 0.08), transparent 28rem),
    radial-gradient(circle at 78% 14%, rgba(144, 216, 155, 0.07), transparent 30rem),
    linear-gradient(180deg, #071018 0%, #0d1822 48%, #071018 100%);
  line-height: 1.6;
}

a {
  color: var(--cyan);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  color: var(--bg);
  background: var(--ink);
}

.skip-link:focus {
  left: 8px;
}

.shell {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(7, 16, 24, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 164px;
  max-width: 45vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(118, 199, 223, 0.18));
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--green);
}

.hero,
.state-hero {
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.state-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
summary {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.35rem, 5.5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0;
  font-size: 1.12rem;
}

.lead {
  max-width: 740px;
  color: #d2dee6;
  font-size: 1.16rem;
}

.microcopy {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #061018;
  background: linear-gradient(135deg, #a7d9e7, #b3e3ba);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.button.primary:hover {
  filter: brightness(1.04);
}

.button.secondary {
  color: #d7eef5;
  background: rgba(17, 31, 43, 0.78);
  border-color: rgba(185, 207, 220, 0.28);
}

.hero-panel,
.info-card,
.contact-card,
.guide,
.contact-form,
.estimator {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 41, 56, 0.96), rgba(13, 24, 34, 0.96));
  box-shadow: var(--shadow);
}

.hero-panel,
.info-card,
.contact-card {
  padding: 24px;
}

.hero-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.signal-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 34px 12px 12px;
  border: 1px solid rgba(185, 207, 220, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.38);
}

.signal-list li::after {
  content: "->";
  position: absolute;
  right: 12px;
  top: 11px;
  color: rgba(179, 227, 186, 0.9);
  font-size: 1rem;
  font-weight: 900;
}

.signal-list span,
.step-orb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #061018;
  background: linear-gradient(135deg, #9fd5e5, #a9dfb1);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin: 26px 0;
  padding: 18px;
  border: 1px dashed rgba(185, 207, 220, 0.34);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(17, 31, 43, 0.58);
  text-align: center;
}

.ad-slot span {
  display: block;
  color: #9aadb9;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.ad-slot strong {
  color: var(--ink);
}

.section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p,
.guide p,
.contact-card p,
.info-card p,
.legal p {
  color: #c0cbd3;
}

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

.state-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(17, 31, 43, 0.88);
  text-decoration: none;
}

.state-card:hover {
  border-color: rgba(144, 216, 155, 0.58);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.state-card::after {
  content: "->";
  justify-self: end;
  grid-column: 2;
  color: #a9dfb1;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-2px);
}

.state-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, #9fd5e5, #a9dfb1);
  font-weight: 900;
}

.state-card small {
  display: block;
  color: var(--muted);
}

.band {
  background: rgba(13, 24, 34, 0.76);
  border-block: 1px solid var(--line);
}

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

.feature-grid article {
  position: relative;
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 31, 43, 0.68);
}

.feature-grid article::after {
  content: "^";
  position: absolute;
  right: 18px;
  top: 14px;
  color: rgba(167, 217, 231, 0.7);
  font-size: 1.35rem;
}

.feature-grid .step-orb {
  margin-bottom: 14px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 44px 0;
  padding: 28px;
  border: 1px solid rgba(185, 207, 220, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 10%, rgba(118, 199, 223, 0.09), transparent 18rem),
    linear-gradient(135deg, rgba(22, 41, 56, 0.98), rgba(13, 24, 34, 0.98));
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 900;
  text-decoration: none;
}

.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.guide,
.contact-form {
  padding: 30px;
}

.guide h2 + p {
  margin-top: 0;
}

.check-list {
  padding-left: 20px;
}

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

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

.sidebar {
  position: sticky;
  top: 98px;
}

.info-card {
  margin-bottom: 14px;
  box-shadow: none;
}

.info-card span {
  display: block;
  color: #a9dfb1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 1.18rem;
}

.estimator {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.72fr);
  gap: 22px;
  margin: 28px 0;
  padding: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(118, 199, 223, 0.08), transparent 18rem),
    rgba(10, 20, 30, 0.92);
}

.estimator-form {
  display: grid;
  gap: 14px;
}

.estimator-result {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(185, 207, 220, 0.22);
  border-radius: 8px;
  color: #e6f1ed;
  background: rgba(13, 28, 34, 0.72);
}

.supplemental-benefits {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 31, 43, 0.64);
}

.supplemental-benefits p {
  color: #c0cbd3;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.benefit-grid article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(185, 207, 220, 0.16);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.42);
}

.benefit-grid span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #061018;
  background: #a9dfb1;
  font-weight: 900;
}

.benefit-grid strong,
.benefit-grid p {
  grid-column: 2;
  margin: 0;
}

.page-title {
  padding: 72px 0 22px;
}

.narrow {
  max-width: 820px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(185, 207, 220, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(7, 16, 24, 0.78);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(118, 199, 223, 0.42);
}

textarea {
  resize: vertical;
}

button.button {
  width: fit-content;
}

.site-footer {
  margin-top: 52px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 200px 180px;
  gap: 24px;
}

.footer-brand {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.footer-grid p {
  color: var(--muted);
}

.footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: #a9dfb1;
  font-weight: 900;
}

.footer-grid a {
  display: block;
  margin: 5px 0;
  text-decoration: none;
}

.bw-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  min-width: 76px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(185, 207, 220, 0.42);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(7, 16, 24, 0.9);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

body.is-bw {
  filter: grayscale(1);
}

@media (max-width: 860px) {
  .nav-shell,
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .state-hero-grid,
  .content-grid,
  .contact-grid,
  .feature-grid,
  .footer-grid,
  .benefit-grid,
  .estimator {
    grid-template-columns: 1fr;
  }

  .hero,
  .state-hero,
  .page-title {
    padding-top: 44px;
  }

  .sidebar {
    position: static;
  }

  .guide,
  .contact-form {
    padding: 20px;
  }
}
