/* =========================================
   CARDINAL — Heart Health Landing Page
   ========================================= */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #E8503A;
  --accent-hover: #c43d26;
  --accent-light: #FAE8E5;
  --border: #E0D9D0;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* ---- HERO ---- */
.hero {
  background: var(--bg);
  padding: 5rem 5% 4rem;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  max-width: 520px;
}

.hero-sub--accent {
  color: var(--fg);
  font-weight: 500;
}

.hero-stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat__number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat__label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  background: var(--bg-alt);
  padding: 6rem 5%;
}

.how-it-works__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.capability {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}

.capability__icon {
  margin-bottom: 1.25rem;
}

.capability__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
  font-family: 'DM Sans', sans-serif;
}

.capability__body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- RISK TIMELINE ---- */
.risk-timeline {
  padding: 6rem 5%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.risk-timeline__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.risk-timeline__image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
}

.risk-timeline__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.risk-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.risk-comparison {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.risk-comparison__item { padding: 0; }

.risk-comparison__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}

.risk-comparison__desc {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.5;
}

.risk-comparison__divider {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 6rem 5%;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.outcomes__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.outcomes-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.outcomes__visual {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.outcomes__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- VISION ---- */
.vision {
  padding: 6rem 5%;
  background: var(--fg);
  color: var(--white);
}

.vision__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.vision__img {
  border-radius: 4px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
  opacity: 0.9;
}

.vision__headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.vision__body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg);
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: right;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content,
  .risk-timeline__inner,
  .outcomes__inner,
  .vision__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image,
  .risk-timeline__image,
  .outcomes__visual {
    max-width: 100%;
    margin: 0 auto;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-row {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 5% 2.5rem;
  }

  .hero-stat-row {
    flex-direction: column;
    gap: 1rem;
  }

  .how-it-works,
  .risk-timeline,
  .outcomes,
  .vision {
    padding: 4rem 5%;
  }

  .risk-comparison {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}