:root {
  --red: #DD1533;
  --red-dark: #b71129;
  --yellow: #F4B223;
  --orange: #FF4713;
  --ink: #061A2E;
  --text: #343E47;
  --muted: #878783;
  --line: #DDDDD9;
  --bg: #FBFBFC;
  --bg-alt: #F9F9F9;
  --white: #fff;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Roboto", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.demo-banner {
  background: #061A2E;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 72px;
}
.logo img { display: block; height: 40px; width: auto; }
.site-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--red-dark); }

@media (max-width: 900px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg-alt) 100%);
  padding: 3.5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-family: "Roboto Serif", "Roboto", Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.05;
  margin: 0 0 1.75rem;
  color: var(--ink);
  font-weight: 500;
}
.hero h1 strong {
  color: var(--red);
  font-weight: 800;
}
.hero-body p {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.hero-body a { color: var(--red); }

/* ---------- CTA Pills (Payer/Provider/Health Services/Patient) ---------- */
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cta-pill {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta-pill:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.cta-pill-highlight {
  background: var(--ink);
  position: relative;
}
.cta-pill-highlight::before {
  content: "NEW";
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.cta-pill-highlight:hover {
  background: #0b2a47;
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}
.section-light { background: var(--bg-alt); }

.section-heading {
  font-family: "Roboto Serif", "Roboto", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}
.card p { margin: 0; color: var(--muted); flex: 1; }
.card-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}
.card-link:hover { text-decoration: underline; }

.cta-strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--ink);
  color: #fff;
  padding: 2rem 2.25rem;
  border-radius: 14px;
}
.cta-strip h2 { color: #fff; margin: 0 0 0.25rem; }
.cta-strip p { margin: 0; opacity: 0.85; }
.btn-primary {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--red-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7ced6;
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-logo { filter: brightness(0) invert(1); }
.footer-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}
.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
