/* Home page (scoped under body.rx) */
body.rx .rx-home-hero .rx-hero-grid{align-items:center}
body.rx .rx-home-hero .rx-eyebrow{color:var(--rx-teal-soft);margin:0 0 .4rem}
body.rx .rx-home-hero .rx-home-eyebrow2{color:rgba(255,255,255,.8);margin-bottom:1.1rem}
body.rx .rx-home-hero h1{font-size:clamp(1.9rem,3.6vw,3rem);max-width:19em}
body.rx .rx-home-hero .rx-actions{gap:.75rem}
body.rx .rx-home-hero-media{min-height:380px}
body.rx .rx-home-hero-media .rx-home-brain{position:absolute;inset:0;margin:auto;width:112%;max-width:none;opacity:.9;filter:drop-shadow(0 0 40px rgba(139,108,246,.5))}
body.rx .rx-home-hero-media .rx-home-phone{position:relative;width:auto;height:min(460px,52vh);max-width:100%;border-radius:28px;box-shadow:0 24px 70px rgba(10,14,46,.6),0 0 0 1px rgba(185,165,255,.35)}

/* heartbeat recolored for the dark hero: teal -> lavender */
body.rx .rx-home-hero .heartbeat-divider{height:clamp(64px,7vw,100px);margin:2.2rem 0 1.2rem}
body.rx .rx-home-hero .heartbeat-stop-mint{stop-color:#5fe0d6}
body.rx .rx-home-hero .heartbeat-stop-lavender{stop-color:#b9a5ff}
body.rx .rx-home-hero .heartbeat-line{opacity:.55;stroke-width:2.5}
body.rx .rx-home-hero .heartbeat-dot{fill:#fff;stroke:#5fe0d6}

/* why this is different: 4 glass cards */
body.rx .rx-home-why{padding-bottom:1rem}
body.rx .rx-home-why .rx-eyebrow{margin-bottom:1rem}
body.rx .rx-home-why-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.rx .rx-home-why-grid li{display:flex;flex-direction:column;gap:.9rem;padding:1.3rem;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(185,165,255,.28);color:rgba(255,255,255,.85);font-size:.97rem;line-height:1.45}
body.rx .rx-home-why-grid li strong{display:block;color:#fff;font-size:1.05rem;margin-bottom:.2rem}

/* stats band */
body.rx .rx-home-proof{padding-block:56px}
body.rx .rx-home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}
body.rx .rx-home-stats div{display:flex;flex-direction:column;gap:.4rem;padding-left:1.1rem;border-left:2px solid rgba(185,165,255,.45)}
body.rx .rx-home-stats strong{font-size:clamp(2rem,3.6vw,2.9rem);font-weight:700;line-height:1;color:#fff;letter-spacing:-.02em}
body.rx .rx-home-stats span{color:rgba(255,255,255,.8);font-size:.95rem;line-height:1.35}

/* thesis + moat */
body.rx .rx-home-thesis{align-items:center;gap:56px}
body.rx .rx-home-thesis .rx-h2{font-size:clamp(1.8rem,3.2vw,2.6rem)}
body.rx .rx-home-thesis .rx-lede{max-width:62ch}
body.rx .rx-home-strong{font-weight:700;color:var(--rx-navy);font-size:1.1rem;margin:0}
body.rx .rx-home-moat{background:var(--rx-lilac);border:1px solid var(--rx-lilac-2);padding:2rem;display:flex;flex-direction:column;gap:.8rem}
body.rx .rx-home-moat .rx-card-title{font-size:1.35rem;margin:0}
body.rx .rx-home-moat p{margin:0}
body.rx .rx-home-flow{list-style:none;margin:1rem 0 0;padding:1.2rem 0 0;border-top:1px solid var(--rx-lilac-2);display:flex;align-items:flex-start;justify-content:space-between;gap:.4rem}
body.rx .rx-home-flow li{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;font-size:.85rem;font-weight:600;color:var(--rx-navy);flex:1 1 0;min-width:0}
body.rx .rx-home-flow .rx-home-flow-arrow{flex:0 0 auto;color:var(--rx-purple);font-size:1.2rem;margin-top:.6rem}
body.rx .rx-home-flow .rx-icon{background:#fff}
body.rx .rx-home-flow-key .rx-icon{background:var(--rx-purple);color:#fff}
body.rx .rx-home-flow-key{color:var(--rx-purple)}

/* routes */
body.rx .rx-home-routes{margin-top:2.4rem;align-items:stretch}
body.rx .rx-home-routes .rx-card{display:flex;flex-direction:column;gap:.8rem;height:100%}
body.rx .rx-home-routes .rx-chip{align-self:flex-start}
body.rx .rx-home-routes .rx-card-title{margin:0;font-size:1.25rem}
body.rx .rx-home-routes .rx-card p{margin:0}
body.rx .rx-home-routes .rx-card-foot{margin-top:auto;padding-top:.6rem}

/* pilot quote */
body.rx .rx-home-pilot{padding-block:72px}
body.rx .rx-home-quote{max-width:26em;margin:0 auto;font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.25;color:#fff;font-weight:600}
body.rx .rx-home-quote .v2-quote{color:#fff;font-style:normal}
body.rx .rx-home-pilot-text{max-width:42rem;margin:1.2rem auto 0;color:rgba(255,255,255,.85);font-size:1.05rem}
body.rx .rx-home-pilot-cta{margin-top:1.8rem;display:flex;justify-content:center}

body.rx .rx-home-notewrap{padding:28px 0 40px}
body.rx .rx-home-note{max-width:68ch;margin:0 auto;font-size:.85rem;line-height:1.55;color:var(--rx-text)}

@media (max-width:1000px){
  body.rx .rx-home-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  body.rx .rx-home-hero-media{min-height:320px}
  body.rx .rx-home-hero-media .rx-home-phone{height:380px}
  body.rx .rx-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  body.rx .rx-home-why-grid{grid-template-columns:1fr}
  body.rx .rx-home-stats{gap:28px 16px}
  body.rx .rx-home-stats strong{font-size:1.8rem}
  body.rx .rx-home-flow{flex-wrap:wrap;justify-content:center}
  body.rx .rx-home-flow li{flex:0 0 40%}
  body.rx .rx-home-flow .rx-home-flow-arrow{display:none}
  body.rx .rx-home-moat{padding:1.4rem}
}
@media (max-width:560px){
  body.rx .rx-home-hero-media .rx-home-brain{width:100%}
  body.rx .rx-home-hero-media{overflow:hidden}
}
