/* ── Section spacing ──────────────────────────────────────────────────────────── */
section { padding: 90px 0; }
.section-tint { background: var(--rx-bg-tint); }
.hero-stats { color: var(--rx-muted); font-size: 14px; }
.hero-stats .sep { opacity: .4; }

.trust-band {
  padding: 28px 0;
  border-top: 1px solid var(--rx-line);
  border-bottom: 1px solid var(--rx-line);
  background: #fff;
}
.trust-band-inner { color: var(--rx-muted); font-size: 14px; }
.trust-band-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.trust-band-logos { opacity: .85; }
.app-preview-header {
  background: var(--rx-sky);
  padding: 22px 24px;
  color: var(--rx-ink);
  position: relative;
}
.app-preview-card {
  border-radius: var(--rx-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.app-preview-greeting {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.app-preview-sub { opacity: .85; }
.app-preview-caption h3 { font-size: 22px; }
.app-preview-caption p { color: var(--rx-ink-soft); margin: 0; }

/* ── Decorative wave ─────────────────────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  height: 22px;
  position: absolute;
  bottom: -1px;
  left: 0;
}
.section-deep {
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(123,182,217,0.18), transparent 60%),
    linear-gradient(180deg, #0E3A66 0%, #0B2440 100%);
  color: #E8F1FA;
}
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .lead-rx { color: #B9CCE2; }
.section-deep .eyebrow { color: #7BB6D9; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(123,182,217,0.35), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(30,123,200,0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
}
.hero .badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--rx-line);
  border-radius: 999px; padding: 6px 12px 6px 8px;
  font-size: 13px; color: var(--rx-ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero .badge-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}

/* phone frame */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: 320px; aspect-ratio: 9/19.5;
  background: #0B2440; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.06);
  position: relative; transform: rotate(-3deg);
}
.phone::after {
  content: ""; position: absolute; top: 130px; right: -2px;
  width: 3px; height: 60px; background: #1c3253; border-radius: 0 2px 2px 0;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: #fff;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #0B2440; border-radius: 16px; z-index: 2;
}

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--rx-line);
  border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.float-card .t { font-weight: 600; color: var(--rx-ink); line-height: 1.1; }
.float-card .s { font-size: 12px; color: var(--rx-muted); }
.float-a { top: 36px; left: -8px; }
.float-b { bottom: 80px; right: -16px; }
@media (max-width: 991px) { .float-a, .float-b { display: none; } }

/* ── Section intro ───────────────────────────────────────────────────────────── */
.section-intro { margin-bottom: 48px; }

/* ── Feature grid ────────────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--rx-line);
  border-radius: var(--rx-radius-lg); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFE0EF; }
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #E8F2FB, #D0E3F3); color: var(--rx-primary);
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--rx-ink-soft); font-size: 15px; margin: 0; }

/* ── How it works ────────────────────────────────────────────────────────────── */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
@media (max-width: 900px) { .step-row { grid-template-columns: 1fr; } }
.step .num {
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 12px; letter-spacing: .15em;
  color: var(--rx-primary);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.step .num::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--rx-primary);
  border: 1px solid #CFE0EF; display: grid; place-items: center;
}
.step .num.s1::before { content: "1"; }
.step .num.s2::before { content: "2"; }
.step .num.s3::before { content: "3"; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--rx-ink-soft); }

/* ── Stat tiles ──────────────────────────────────────────────────────────────── */
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-tiles .tile {
  border-radius: 14px; padding: 16px; min-height: 96px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stat-tiles .tile.t1 { background: #D9EAD8; color: #2D5A2A; }
.stat-tiles .tile.t2 { background: #F7E2B7; color: #6E5320; }
.stat-tiles .tile.t3 { background: #CFE9E5; color: #245C57; }
.stat-tiles .num { font-size: 28px; font-weight: 800; line-height: 1; }
.stat-tiles .lbl { font-size: 13px; font-weight: 600; opacity: .85; }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq details {
  border: 1px solid var(--rx-line); border-radius: 12px;
  padding: 18px 20px; background: #fff; margin-bottom: 10px;
  transition: border-color .2s;
}
.faq details[open] { border-color: #BBD2E7; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--rx-ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 400; font-size: 24px; color: var(--rx-primary); margin-left: 12px;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .ans { margin-top: 12px; color: var(--rx-ink-soft); font-size: 15px; }

/* ── CTA section wrapper ─────────────────────────────────────────────────────── */
.cta-section { padding: 60px 0; }
.cta-eyebrow { color: #7BB6D9; }
.cta-store-row { justify-content: flex-end; }
.store-btn-light {
  background: #fff;
  color: #0B2440;
  border-color: #fff;
}
.store-btn-light .small { color: #3A5275; }
.store-btn-light:hover { background: #E8F2FB; color: #0B2440; }

/* ── CTA banner ──────────────────────────────────────────────────────────────── */
.cta-banner {
  border-radius: var(--rx-radius-lg);
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(123,182,217,0.45), transparent 60%),
    linear-gradient(135deg, #0E3A66 0%, #145A98 100%);
  color: #fff; padding: 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden; position: relative;
}
@media (max-width: 900px) { .cta-banner { grid-template-columns: 1fr; padding: 32px; } }
.cta-banner h2 { color: #fff; }
.cta-banner .sub { color: #BFD4EA; max-width: 460px; }

