/* =========================================================
   Covara — home page additions (index.html only)
   Layers on top of styles.css (reuses its brand tokens). New
   patterns brought over from the covara.care marketing page;
   everything else reuses shared classes so other pages are
   untouched.
   ========================================================= */

/* ---------- Hero (centered, text-forward) ---------- */
.home-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.home-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-hero-inner h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  max-width: 15ch;
}
.home-hero-inner .lead {
  max-width: 62ch;
  margin: 18px auto 0;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}
.home-hero-inner .hero-ctas { margin-top: 26px; justify-content: center; flex-wrap: wrap; }
.home-hero-inner .hero-foot { margin-top: 18px; }
.home-hero-inner .hero-stats {
  margin-top: 10px;
  font-weight: 600;
  color: var(--indigo);
}
[data-theme="dark"] .home-hero-inner .hero-stats { color: var(--blush); }

/* ---------- "Now in pre-launch" pill ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--softblush);
  border: 1px solid var(--line-strong);
  color: var(--blush-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blush-700);
  box-shadow: 0 0 0 0 rgba(194, 111, 111, 0.5);
  animation: pillPulse 2.2s ease-out infinite;
}
@keyframes pillPulse {
  0%   { box-shadow: 0 0 0 0 rgba(194, 111, 111, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(194, 111, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 111, 111, 0); }
}
@media (prefers-reduced-motion: reduce) { .pill-dot { animation: none; } }

/* ---------- Intro paragraph under a section head ---------- */
.lede {
  max-width: 70ch;
  margin: 0 0 8px;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 5-step "How it works" ---------- */
.steps-list { margin-top: 26px; }

/* ---------- "What families see" checklist ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-self: start;
}
/* Prominent full-width variant: two columns of check items. */
.check-list-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}
@media (max-width: 680px) { .check-list-grid { grid-template-columns: 1fr; } }
.check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--softblush);
  color: var(--blush-700);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Clear scope: can / cannot ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.scope-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.scope-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.scope-ico {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex: none;
}
.scope-can { border-top: 3px solid #3F7A57; }
.scope-can .scope-ico { background: #E5F1E8; color: #3F7A57; }
.scope-cannot { border-top: 3px solid var(--blush-700); }
.scope-cannot .scope-ico { background: var(--softblush); color: var(--blush-700); }
.scope-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scope-col li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}
.scope-col li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- Resource Center cards ---------- */
.resource-cards { margin-top: 26px; }
.resource-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--panel-alt);
  color: var(--muted-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .scope-grid { grid-template-columns: 1fr; }
}
