:root {
  --bg: #eef9ff;
  --bg-alt: #fffaf3;
  --text: #12213b;
  --muted: #5d6982;
  --line: rgba(15, 26, 48, 0.08);
  --accent-a: #0ea5e9;
  --accent-b: #fb7185;
  --accent-c: #34d399;
  --accent-d: #f59e0b;
  --radius-xl: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 70px rgba(17, 35, 64, 0.12);
  --header-h: 82px;
  --stage-darkness: 0;
  --stage-accent-a: 0, 232, 255;
  --stage-accent-b: 255, 60, 193;
  --stage-accent-c: 255, 143, 31;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 12% 8%, #fff 0%, transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(14, 165, 233, 0.16) 0%, transparent 32%),
    linear-gradient(145deg, var(--bg) 0%, #fcfdff 52%, var(--bg-alt) 100%);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.45;
  background: transparent;
}

body.stage-tone-claims {
  --stage-accent-a: 0, 232, 255;
  --stage-accent-b: 255, 60, 193;
  --stage-accent-c: 255, 143, 31;
}

body.stage-tone-rx {
  --stage-accent-a: 255, 60, 193;
  --stage-accent-b: 0, 232, 255;
  --stage-accent-c: 255, 143, 31;
}

body.stage-tone-privacy {
  --stage-accent-a: 255, 143, 31;
  --stage-accent-b: 0, 232, 255;
  --stage-accent-c: 255, 60, 193;
}

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

.bg-shift {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--stage-darkness);
  background:
    radial-gradient(circle at 74% 12%, rgba(var(--stage-accent-a), 0.34), transparent 44%),
    radial-gradient(circle at 18% 72%, rgba(var(--stage-accent-b), 0.26), transparent 52%),
    linear-gradient(160deg, rgba(12, 101, 255, 0.28), rgba(var(--stage-accent-c), 0.22));
  transition: opacity 200ms linear;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 14px;
}

.header-inner {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(16, 35, 61, 0.08);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled .header-inner {
  border-color: rgba(16, 35, 61, 0.18);
  box-shadow: 0 15px 32px rgba(16, 35, 61, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(16, 35, 61, 0.07);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
}

.hero-stage {
  padding-top: calc(var(--header-h) + 52px);
  min-height: max(100vh, 780px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f658f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: "DM Serif Text", serif;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 54ch;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  padding: 12px 20px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(118deg, #0ea5e9 0%, #06b6d4 52%, #34d399 100%);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.32);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: clamp(460px, 58vh, 640px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 32% 18%, rgba(251, 113, 133, 0.25), transparent 42%),
    radial-gradient(circle at 76% 14%, rgba(14, 165, 233, 0.32), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(246, 252, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 22px 50px rgba(21, 44, 71, 0.15);
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 180deg, rgba(255, 255, 255, 0.1), rgba(251, 113, 133, 0.22), rgba(14, 165, 233, 0.24), rgba(52, 211, 153, 0.2), rgba(255, 255, 255, 0.1));
  filter: blur(80px);
  opacity: 0.8;
}

.problem-stage {
  position: relative;
  height: 170vh;
  margin-top: 18px;
  --problem-bg-opacity: 0;
}

.problem-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(113, 216, 255, 0.54), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(32, 126, 255, 0.44), transparent 44%),
    linear-gradient(165deg, #198bff 0%, #1f70ff 58%, #1755df 100%);
  opacity: var(--problem-bg-opacity);
  transition: opacity 120ms linear;
}

.problem-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.problem-label {
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(232, 244, 255, 0.88);
}

.problem-copy {
  margin: 0;
  max-width: 17ch;
  font-family: "DM Serif Text", serif;
  font-size: clamp(2.45rem, 6.1vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.problem-line {
  --line-fill: 0;
  display: block;
  background: linear-gradient(
    90deg,
    rgba(242, 248, 255, 1) calc(var(--line-fill) * 100%),
    rgba(242, 248, 255, 0.5) calc(var(--line-fill) * 100%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.problem-description {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 1.04rem;
  color: rgba(231, 242, 255, 0.86);
}

.shape {
  position: absolute;
  border-radius: 36% 64% 53% 47% / 40% 38% 62% 60%;
  transform-origin: center;
  transition: transform 300ms linear;
}

.shape-one {
  width: 210px;
  height: 210px;
  top: 14%;
  left: 12%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(14, 165, 233, 0.84));
}

.shape-two {
  width: 260px;
  height: 260px;
  top: 12%;
  right: 10%;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.9), rgba(251, 113, 133, 0.78));
}

.shape-three {
  width: 185px;
  height: 185px;
  bottom: 9%;
  left: 30%;
  background: radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.92), rgba(52, 211, 153, 0.82));
}

.shape-four {
  width: 140px;
  height: 140px;
  top: 52%;
  right: 21%;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.95), rgba(245, 158, 11, 0.8));
}

.shape-five {
  width: 118px;
  height: 118px;
  bottom: 18%;
  right: 7%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.9), rgba(16, 185, 129, 0.86));
}

.glass-card {
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.floating-card {
  position: absolute;
  width: min(310px, 62%);
  padding: 18px;
  z-index: 2;
  transition: transform 280ms linear;
}

.card-procedure {
  top: 7%;
  left: 9%;
}

.card-rx {
  top: 31%;
  right: 6%;
}

.card-provider {
  bottom: 8%;
  left: 16%;
}

.card-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #266892;
}

.floating-card h3 {
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 1.22;
}

.card-meta {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.pill-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.map-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1a3558;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.pill.primary {
  color: #0f648f;
  background: rgba(191, 232, 253, 0.8);
}

.pill.success {
  color: #0f7f58;
  background: rgba(196, 246, 227, 0.82);
}

.features-stage {
  padding: 44px 0 84px;
}

.features-heading {
  position: sticky;
  top: calc(var(--header-h) + 6px);
  z-index: 14;
  padding: 12px 0 26px;
  margin-bottom: 2px;
  background: none;
}

.features-label {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(24, 37, 56, 0.56);
}

.features-heading h2 {
  margin: 10px 0 0;
  width: 100%;
  font-family: "DM Serif Text", serif;
  font-size: clamp(2.02rem, 3.3vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.feature-track {
  --feature-count: 3;
  height: calc(var(--feature-count) * 92vh);
}

.mobile-feature-list {
  display: none;
}

.mobile-feature-card {
  padding: 22px;
}

.mobile-feature-card h3 {
  margin: 10px 0 0;
  font-family: "DM Serif Text", serif;
  font-size: clamp(1.26rem, 3.9vw, 1.7rem);
  line-height: 1.2;
}

.mobile-feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mobile-feature-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.mobile-feature-card li {
  line-height: 1.34;
}

.feature-pin {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  min-height: calc(100vh - var(--header-h) - 34px);
  display: flex;
  align-items: center;
}

.feature-lane {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
}

.feature-art {
  position: relative;
  min-height: clamp(430px, 62vh, 560px);
  transform: translateZ(0);
  --art-progress: 0;
}

.art-shape {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 52% 44% 56% 48%;
  filter: saturate(1.05);
  transition: transform 300ms ease, opacity 300ms ease;
}

.art-shape-a {
  width: 250px;
  height: 250px;
  top: 9%;
  left: 2%;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95), rgba(0, 232, 255, 0.86));
  transform: translateY(calc(var(--art-progress) * -18px));
}

.art-shape-b {
  width: 290px;
  height: 290px;
  top: 12%;
  right: 5%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 58, 192, 0.82));
  transform: translateY(calc(var(--art-progress) * 14px));
}

.art-shape-c {
  width: 210px;
  height: 210px;
  bottom: 9%;
  left: 28%;
  background: radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.95), rgba(255, 143, 31, 0.84));
  transform: translateY(calc(var(--art-progress) * -10px));
}

.mini-shot {
  position: absolute;
  width: min(285px, 74%);
  padding: 16px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.38));
  box-shadow: 0 20px 48px rgba(16, 35, 64, 0.14);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform 320ms ease, opacity 320ms ease, box-shadow 320ms ease;
}

.mini-shot h4 {
  margin: 8px 0 0;
  font-size: 1.02rem;
  line-height: 1.24;
}

.mini-shot p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.shot-claims {
  left: 6%;
  top: 6%;
}

.shot-rx {
  right: 4%;
  top: 34%;
}

.shot-provider {
  left: 18%;
  bottom: 8%;
}

.feature-art.focus-claims .shot-claims,
.feature-art.focus-rx .shot-rx,
.feature-art.focus-privacy .shot-provider {
  box-shadow: 0 28px 52px rgba(16, 35, 64, 0.2);
  transform: translateY(-8px) scale(1.015);
}

.feature-art.focus-claims .shot-rx,
.feature-art.focus-claims .shot-provider,
.feature-art.focus-rx .shot-claims,
.feature-art.focus-rx .shot-provider,
.feature-art.focus-privacy .shot-claims,
.feature-art.focus-privacy .shot-rx {
  opacity: 0.56;
}

.feature-art.focus-rx .art-shape-b {
  transform: translateY(calc(var(--art-progress) * 14px)) scale(1.04);
}

.feature-art.focus-privacy .art-shape-c {
  transform: translateY(calc(var(--art-progress) * -10px)) scale(1.07);
}

.feature-phase-card {
  padding: 24px;
  min-height: clamp(430px, 62vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #1a6a95;
  font-weight: 700;
}

.feature-phase-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.feature-phase-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-phase-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #1f2d45;
}

.feature-phase-card li {
  font-size: 0.92rem;
  line-height: 1.36;
}

.phase-metrics {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.79rem;
  font-weight: 600;
  color: #133a61;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-data {
  display: none;
}

.value-strip {
  padding: 6px 0 108px;
}

.value-label {
  margin-bottom: 10px;
}

.value-title {
  margin: 0;
  font-family: "DM Serif Text", serif;
  font-size: clamp(1.82rem, 3vw, 2.6rem);
  line-height: 1.14;
  max-width: 24ch;
}

.value-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.value-card {
  padding: 24px;
}

.value-card h3 {
  margin: 0;
  font-family: "DM Serif Text", serif;
  font-size: 1.35rem;
}

.value-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

.page-hero {
  padding: calc(var(--header-h) + 58px) 0 40px;
}

.page-hero h1 {
  margin: 0;
  font-family: "DM Serif Text", serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.page-hero p {
  margin: 12px 0 0;
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 64ch;
}

.simple-grid {
  padding: 0 0 100px;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.simple-grid .glass-card {
  padding: 22px;
}

.simple-grid h3 {
  margin: 0;
  font-family: "DM Serif Text", serif;
}

.simple-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-shell {
  padding: 0 0 110px;
  display: grid;
  grid-template-columns: 1fr;
}

.contact-card {
  padding: 28px;
  max-width: 760px;
}

.contact-card p {
  color: var(--muted);
}

.form-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: #29435f;
}

input,
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 40, 70, 0.15);
  border-radius: 12px;
  padding: 12px 13px;
}

textarea {
  min-height: 134px;
  resize: vertical;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy.reveal-up {
  animation-delay: 90ms;
}

.hero-visual.reveal-up {
  animation-delay: 170ms;
}

.value-grid.reveal-up {
  animation-delay: 120ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 76px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px rgba(18, 38, 66, 0.14);
    min-width: 235px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 510px;
  }

  .floating-card {
    width: min(340px, 78%);
  }

  .feature-track {
    display: none;
  }

  .features-heading {
    position: static;
    background: none;
  }

  .mobile-feature-list {
    display: grid;
    gap: 14px;
  }

  .value-grid,
  .simple-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

}

@media (max-width: 620px) {
  .header-inner {
    border-radius: 18px;
  }

  .hero-stage {
    min-height: max(100vh, 860px);
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }

  .hero-visual {
    min-height: 540px;
  }

  .floating-card {
    padding: 14px;
    width: min(290px, 84%);
  }

  .card-procedure {
    top: 7%;
    left: 6%;
  }

  .card-rx {
    top: 35%;
    right: 4%;
  }

  .card-provider {
    bottom: 7%;
    left: 10%;
  }

  .features-heading h2,
  .value-title {
    font-size: clamp(1.62rem, 8vw, 2.1rem);
  }

  .problem-stage {
    height: 155vh;
  }

  .problem-copy {
    font-size: clamp(2.1rem, 9vw, 3.1rem);
  }

  .problem-description {
    font-size: 0.98rem;
  }
}
