/* =============================================================
 * home.css — Home page (health.jeyai.ai) specific styles
 * Depends on: tokens.css, base.css
 * ============================================================= */

/* ---------- Hero section ---------- */
.home-hero {
  background: var(--jy-bg-primary);
  padding: var(--sp-20) 0 var(--sp-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle radial glow behind hero */
.home-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(247,181,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--jy-accent);
  background: var(--jy-accent-bg);
  border: 1px solid var(--jy-accent-subtle);
  border-radius: var(--r-full);
  padding: 6px 16px;
  margin-bottom: var(--sp-6);
}

.home-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800;
  color: var(--jy-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.07;
  max-width: 760px;
  margin: 0 auto var(--sp-6);
}
.home-hero__h1 em {
  font-style: normal;
  color: var(--jy-accent);
}

.home-hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--jy-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--sp-10);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.home-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--jy-border);
}
.home-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--jy-text-secondary);
}
.home-hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jy-accent);
  flex-shrink: 0;
}

/* ---------- Value props section ---------- */
.value-props {
  padding: var(--sp-20) 0;
  background: var(--warm-bg);
}
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.value-card {
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--jy-accent-bg);
  border: 1px solid var(--jy-accent-subtle);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: var(--sp-5);
}
.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--warm-text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.value-card__body {
  font-size: var(--text-sm);
  color: var(--warm-text-2);
  line-height: 1.7;
}

/* ---------- Section heading (shared) ---------- */
.home-section__header {
  text-align: center;
  margin-bottom: var(--sp-10);
}
.home-section__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jy-accent-hover);
  margin-bottom: var(--sp-3);
}
.home-section__h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--warm-text);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}
.home-section__lead {
  font-size: var(--text-lg);
  color: var(--warm-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Dark section overrides */
.home-section__h2--dark { color: var(--jy-text-primary); }
.home-section__lead--dark { color: var(--jy-text-secondary); }

/* ---------- Featured markers grid ---------- */
.markers-section {
  padding: var(--sp-20) 0;
  background: var(--warm-card);
  border-top: 1px solid var(--warm-divider);
}
.markers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
@media (max-width: 480px) {
  .markers-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }
}

.marker-card {
  background: var(--warm-bg);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.marker-card:hover {
  border-color: var(--jy-accent);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--jy-accent-subtle);
  transform: translateY(-1px);
}
.marker-card:focus-visible {
  outline: 3px solid var(--jy-accent);
  outline-offset: 2px;
}
.marker-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-text-3);
  margin-bottom: var(--sp-2);
}
.marker-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--warm-text);
  margin-bottom: var(--sp-2);
  line-height: 1.25;
}
.marker-card__range {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-green);
  background: var(--color-green-bg);
  border: 1px solid var(--color-green-border);
  border-radius: var(--r-full);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.marker-card__desc {
  font-size: var(--text-xs);
  color: var(--warm-text-3);
  line-height: 1.55;
}
.marker-card__arrow {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  color: var(--jy-accent-hover);
  font-weight: 600;
  margin-top: var(--sp-3);
  transition: gap 0.15s ease;
}
.marker-card:hover .marker-card__arrow { gap: var(--sp-2); }

/* ---------- How it works (pipeline teaser) ---------- */
.how-section {
  padding: var(--sp-20) 0;
  background: var(--jy-bg-primary);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
.how-step {
  text-align: center;
  padding: var(--sp-6);
}
.how-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jy-accent-bg);
  border: 1.5px solid var(--jy-accent-subtle);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--jy-accent);
  margin: 0 auto var(--sp-4);
}
.how-step__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--jy-text-primary);
  margin-bottom: var(--sp-2);
}
.how-step__body {
  font-size: var(--text-sm);
  color: var(--jy-text-secondary);
  line-height: 1.65;
}

/* ---------- Final CTA band ---------- */
.home-cta {
  padding: var(--sp-20) 0;
  background: var(--jy-bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--jy-border);
}
.home-cta::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(247,181,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.home-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--jy-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}
.home-cta__title em {
  font-style: normal;
  color: var(--jy-accent);
}
@media (max-width: 480px) {
  .home-cta__title { font-size: var(--text-4xl); }
}
.home-cta__sub {
  font-size: var(--text-xl);
  color: var(--jy-text-secondary);
  max-width: 520px;
  margin: 0 auto var(--sp-10);
  line-height: 1.65;
}

/* ---------- Homepage disclaimer strip ---------- */
.home-disclaimer {
  background: var(--jy-bg-secondary);
  border-top: 1px solid var(--jy-border);
  padding: var(--sp-5) 0;
}
.home-disclaimer__text {
  font-size: var(--text-xs);
  color: var(--jy-text-tertiary);
  text-align: center;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}
.home-disclaimer__text a {
  color: var(--jy-text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-disclaimer__text a:hover { color: var(--jy-text-primary); }
