/* Tracker landing page — page-specific styles, built on top of style.css tokens */

/* ---- text wrap fix (no orphaned last word on headings) ---- */
.tracker-balance {
  text-wrap: balance;
}

/* ---- hero: tighten mobile height + hero-to-next spacing ---- */
.tracker-hero {
  padding-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .tracker-hero {
    padding-top: 88px;
    padding-bottom: var(--space-3);
  }
  .tracker-hero .hero-2-headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .tracker-hero .hero-2-sub {
    font-size: 0.98rem;
    margin-bottom: var(--space-3);
  }
  .tracker-hero .hero-2-ctas {
    margin-bottom: var(--space-3);
  }
  .tracker-hero .hero-2-grid {
    gap: var(--space-3);
  }
}

/* ---- hero product visual (cover only, single dominant image) ---- */
.tracker-hero-cover.hero-2-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

@media (max-width: 1024px) {
  .tracker-hero-cover.hero-2-visual {
    height: 400px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .tracker-hero-cover.hero-2-visual {
    height: 320px;
  }
}

.tracker-hero-cover img {
  max-width: 82%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 28px 56px -18px rgba(46, 36, 32, 0.4);
}

/* ---- sections: tighter rhythm ---- */
.tracker-section {
  padding: 3.5rem 0;
}

@media (max-width: 768px) {
  .tracker-section {
    padding: 2.25rem 0;
  }
}

.tracker-section--alt {
  background: var(--bg-secondary);
}

.tracker-intro {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

@media (max-width: 768px) {
  .tracker-intro {
    margin-bottom: 1.25rem;
  }
}

.tracker-intro .label {
  display: block;
  margin-bottom: 0.6rem;
}

.tracker-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.tracker-intro p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- What's inside — feature list ---- */
.tracker-features {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.tracker-feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
}

.tracker-feature-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.tracker-feature p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 0.96rem;
}

.tracker-feature strong {
  color: var(--text-dark);
}

/* ---- inline CTA (after What's Inside) ---- */
.tracker-inline-cta {
  text-align: center;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .tracker-inline-cta {
    margin-top: 1.25rem;
  }
  .tracker-inline-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Format choice cards ---- */
.tracker-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .tracker-format-grid {
    grid-template-columns: 1fr;
  }
}

.tracker-format-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tracker-format-card--primary {
  border: 1.5px solid var(--accent);
  box-shadow: 0 16px 34px -18px rgba(181, 124, 134, 0.5);
}

.tracker-format-badge {
  position: absolute;
  top: -0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

/* Same badge component, quieter neutral tone — used where a card must
   read as an instant digital product without competing with the
   primary Perimenopause accent color. */
.tracker-format-badge--muted {
  background: var(--text-muted);
}

.tracker-format-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.tracker-format-card p {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.tracker-format-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---- sister product cross-sell ---- */
/* Reuses .tracker-format-card as-is (same border, radius, spacing,
   typography, CTA treatment as the Perimenopause format cards) so it
   reads as one designed system. Only the width is narrower/centered
   and the badge uses the muted variant, to stay visually secondary. */
.tracker-crosssell {
  padding-top: 0;
}

.tracker-crosssell-label {
  display: block;
  text-align: center;
  margin-bottom: 0.85rem;
}

.tracker-crosssell-card {
  max-width: 360px;
  margin: 0 auto;
}
