/* Savings landing page. Purpose-built. Independent of prose article styles. */

.rl-page {
  --rl-ink: #0c0a09;         /* stone-950 */
  --rl-ink-2: #1c1917;       /* stone-900 */
  --rl-body: #44403c;        /* stone-700 */
  --rl-muted: #78716c;       /* stone-500 */
  --rl-line: #e7e5e4;
  --rl-line-2: #d6d3d1;
  --rl-bg: #ffffff;
  --rl-bg-2: #fafaf9;
  --rl-accent: #f59e0b;      /* amber-500 - the hero color */
  --rl-accent-2: #b45309;    /* amber-700 */
  --rl-accent-dark: #78350f; /* amber-900 */
  --rl-cream: #fef3c7;       /* amber-100 */
  color: var(--rl-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

/* ---------- HERO ---------- */
.rl-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0a09 0%, #1c1917 40%, #292524 100%);
  color: white;
}
@media (min-width: 768px) {
  .rl-hero { min-height: 88vh; padding: 100px 40px 80px; }
}
.rl-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 25% 15%, rgba(245, 158, 11, 0.14), transparent 60%),
    radial-gradient(ellipse 800px 600px at 80% 85%, rgba(180, 83, 9, 0.10), transparent 60%);
}
.rl-hero-inner {
  position: relative;
  max-width: 1080px;
  width: 100%;
  text-align: center;
  z-index: 1;
}
.rl-hero-eyebrow {
  color: rgba(245, 158, 11, 0.95);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.rl-hero-title {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.rl-hero-num {
  display: block;
  font-size: clamp(72px, 14vw, 200px);
  color: var(--rl-accent);
  text-shadow: 0 8px 40px rgba(245, 158, 11, 0.18);
}
.rl-hero-line {
  display: block;
  font-size: clamp(40px, 7vw, 96px);
  color: white;
  margin-top: 4px;
}
.rl-hero-line-lg {
  display: block;
  font-size: clamp(40px, 7vw, 96px);
  color: white;
  margin-bottom: 6px;
}
.rl-hero-sub {
  margin: 28px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}
.rl-hero-cta {
  margin: 40px 0 0;
}
.rl-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rl-accent);
  color: var(--rl-ink);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.6);
}
.rl-hero-btn:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(245, 158, 11, 0.7);
}
.rl-hero-btn svg { transition: transform 200ms ease; }
.rl-hero-btn:hover svg { transform: translateY(3px); }

/* ---------- STAT STRIP ---------- */
.rl-stats {
  background: var(--rl-ink-2);
  color: white;
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.rl-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 600px) {
  .rl-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (min-width: 960px) {
  .rl-stats-inner { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.rl-stat-tag {
  display: inline-block;
  color: rgba(245, 158, 11, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 3px 10px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
}
.rl-stat-big {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rl-accent);
  line-height: 1;
}
.rl-stat-vs {
  margin-top: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
}
.rl-stat-label {
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.35;
}

/* ---------- CALCULATOR SECTION ---------- */
.rl-calc-section {
  background: linear-gradient(180deg, var(--rl-bg-2) 0%, var(--rl-bg) 100%);
  padding: 80px 24px 100px;
}
.rl-calc-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.rl-eyebrow {
  color: var(--rl-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.rl-calc-h {
  color: var(--rl-ink);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.rl-calc-lede {
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--rl-body);
  font-size: 17px;
  line-height: 1.5;
}

/* Calculator partial (the section is embedded) gets width lift here */
.rl-calc-inner #insights-roi { text-align: left; margin: 0; }

/* ---------- FOOT CTA ---------- */
.rl-foot {
  background: var(--rl-ink);
  color: white;
  padding: 60px 24px;
  text-align: center;
}
.rl-foot-inner {
  max-width: 720px;
  margin: 0 auto;
}
.rl-foot-line {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  margin: 0 0 20px;
}
.rl-foot-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}
.rl-foot-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ---------- Recompose the calculator card for landing context ---------- */
.rl-calc-section #insights-roi .roi-card {
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: 0 4px 8px -2px rgba(0,0,0,0.06), 0 30px 60px -20px rgba(0,0,0,0.22);
}
@media (min-width: 900px) {
  .rl-calc-section #insights-roi .roi-card { padding: 56px 48px; }
}
.rl-calc-section #insights-roi .roi-card-head {
  display: none; /* headline lives in the outer landing section */
}
.rl-calc-section #insights-roi .roi-stat-primary .roi-stat-value {
  font-size: clamp(32px, 4vw, 48px);
}

/* ---------- CITATIONS ---------- */
.rl-cites {
  background: var(--rl-bg-2);
  padding: 72px 24px 88px;
  border-top: 1px solid var(--rl-line);
}
.rl-cites-inner {
  max-width: 900px;
  margin: 0 auto;
}
.rl-cites-h {
  color: var(--rl-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.rl-cites-lede {
  color: var(--rl-body);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 640px;
}
.rl-cites-list {
  list-style: decimal;
  padding-left: 24px;
  margin: 0;
  color: var(--rl-body);
  font-size: 15px;
  line-height: 1.6;
}
.rl-cites-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rl-line);
}
.rl-cites-list li:last-child { border-bottom: none; }
.rl-cites-list li::marker {
  color: var(--rl-muted);
  font-weight: 700;
}
.rl-cites-label {
  color: var(--rl-ink);
  font-weight: 700;
  margin-right: 4px;
}
.rl-cites-list a {
  color: var(--rl-accent-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.rl-cites-list a:hover {
  color: var(--rl-accent-dark);
}
