/* rd-home.css -- AN4-DEMO-HOME-V1 homepage styles.
   New file, never previously cached. Light, modern, mobile-first.
   All rules are scoped to rd-home classes so they never restyle
   shop pages. Reveal animation is gated on .rd-js (added by
   rd-home.js), so with JS off every section is fully visible. */

.rd-home-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
  position: relative;
}
.rd-home-hero-inner {
  display: grid;
  gap: 1.5rem;
}
.rd-home-eyebrow {
  color: #0f766e;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.rd-home-hero h1 {
  color: #0f172a;
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.rd-home-tagline {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}
.rd-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin: 1.25rem 0 .5rem;
}
.rd-home-try-note {
  color: #64748b;
  font-size: .9rem;
}
.rd-home-hero .trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  color: #475569;
  font-size: .9rem;
  margin-top: 1rem;
}
.rd-home-hero-art {
  display: none;
}
.rd-home-stats {
  background: #fff;
  padding: 2rem 0 1rem;
}
.rd-home-stat {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1.25rem .5rem;
  background: #f8fafc;
}
.rd-home-stat-num {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}
.rd-home-features,
.rd-home-how {
  padding: 2rem 0;
}
.rd-home-features h2,
.rd-home-how h2 {
  color: #0f172a;
  text-align: center;
  margin-bottom: 1.5rem;
}
.rd-home-card {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1.25rem;
  background: #fff;
  height: 100%;
}
.rd-home-card h3 {
  color: #0f172a;
  font-size: 1.05rem;
}
.rd-home-card p {
  color: #475569;
  margin-bottom: 0;
}
.rd-home-step {
  text-align: center;
  padding: 1rem;
}
.rd-home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  font-weight: 800;
  margin-bottom: .75rem;
}
.rd-home-links {
  border-top: 1px solid #e2e8f0;
  padding: 1.25rem 0;
  text-align: center;
}
.rd-home-links a {
  margin: 0 .5rem;
}

/* Reveal: hidden only once JS has added .rd-js, so JS-off visitors
   always see full content. Reduced-motion visitors get no motion. */
.rd-js .rd-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.rd-js .rd-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rd-js .rd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .rd-home-hero {
    padding: 3.5rem 0 3rem;
  }
  .rd-home-hero-inner {
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
  }
  .rd-home-hero h1 {
    font-size: 2.5rem;
  }
  .rd-home-hero-art {
    display: block;
    height: 220px;
    border-radius: 1rem;
    background:
      radial-gradient(circle at 30% 30%, #99f6e4 0 22%, transparent 23%),
      radial-gradient(circle at 72% 62%, #fda4af 0 16%, transparent 17%),
      linear-gradient(135deg, #ccfbf1, #e0f2fe);
    border: 1px solid #e2e8f0;
  }
}
