/* Why This Health Plan marketing — static site, mobile-first */
:root {
  --color-bg: #0c1222;
  --color-surface: #121a2e;
  --color-elevated: #1a2540;
  --color-text: #e8edf7;
  --color-muted: #9aa7c0;
  --color-accent: #3d8bfd;
  --color-accent-dim: #2a5fc4;
  --color-border: rgba(255, 255, 255, 0.08);
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --space: clamp(1rem, 3vw, 1.5rem);
  --radius: 12px;
  --max-w: 72rem;
  --header-h: 3.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #6aa8ff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 18, 34, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--color-text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

@media (max-width: 48rem) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem var(--space) 1.25rem;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 48.01rem) {
  .nav-toggle {
    display: none;
  }
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (min-width: 48.01rem) {
  .site-nav a {
    padding: 0.5rem 0.25rem;
  }
}

.site-nav a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dim) 100%);
  color: #fff;
  text-decoration: none;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--color-elevated);
  text-decoration: none;
  color: var(--color-text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(61, 139, 253, 0.18),
      transparent
    ),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(90, 180, 255, 0.1), transparent);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space) clamp(3rem, 7vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 0;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 40ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}

/* Sections */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space);
}

.use-cases {
  background: var(--color-surface);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .use-cases__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.card {
  background: var(--color-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  height: 100%;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.cobra-teaser {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.how {
  text-align: center;
}

.how p.sub {
  color: var(--color-muted);
  max-width: 42ch;
  margin: 0.5rem auto 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 50rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-accent-dim);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

/* Disclaimer */
.disclaimer {
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(200, 160, 50, 0.08);
  border: 1px solid rgba(200, 160, 50, 0.25);
  border-radius: var(--radius);
  color: #d4c8a8;
  font-size: 0.9rem;
  line-height: 1.55;
}

.disclaimer p {
  margin: 0 0 0.5rem;
}

.disclaimer p:last-child {
  margin: 0;
}

.disclaimer strong {
  color: #eee5c8;
}

/* CTA block */
.bottom-cta {
  background: linear-gradient(180deg, var(--color-elevated) 0%, var(--color-surface) 100%);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.bottom-cta .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bottom-cta p {
  color: var(--color-muted);
  max-width: 40ch;
  margin: 0.75rem auto 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem var(--space);
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 40rem) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-text);
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.25em;
}

.legal .meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal ul {
  color: var(--color-muted);
  max-width: 60ch;
}

.legal ul {
  padding-left: 1.25rem;
}

/* Cookie banner */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-bar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: 50ch;
}

/* Nav toggle */
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--color-elevated);
}

@media (min-width: 48.01rem) {
  .cookie-bar {
    padding: 0.9rem 1.5rem;
  }
}
