/* Shared page system (Linear as the guide). One file so every page matches:
   left-aligned hero, heading-left / lede-right sections, hairline columns. */
.rr-sec { padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
@media (min-width: 768px) { .rr-sec { padding: 7rem 0; } }
.rr-sec-in { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .rr-sec-in { padding: 0 1.5rem; } }
@media (min-width: 768px) { .rr-sec-in { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .rr-sec-in { padding: 0 3rem; } }
.rr-statement { font-size: clamp(1.6rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; color: #fff; margin: 0; text-wrap: balance; }
.rr-statement span { color: rgba(255,255,255,0.42); }
.rr-sec-head { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .rr-sec-head { grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; } }
.rr-sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; color: #fff; margin: 0; text-align: left; }
.rr-lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.45; color: rgba(255,255,255,0.8); margin: 0; }
.rr-more { display: inline-block; margin-top: 1.25rem; font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; }
.rr-more:hover { color: #fff; }
.rr-cols { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .rr-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.rr-cols > div { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.rr-cols h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0 0 0.6rem; }
.rr-cols p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }
.rr-cols code { font-size: 0.9em; color: #6ee7b7; }
.rr-links { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .rr-links { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.rr-links > div { display: flex; flex-direction: column; gap: 0.6rem; }
.rr-links-h { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0 0 0.35rem; }
.rr-links a { font-size: 15px; color: rgba(255,255,255,0.8); text-decoration: none; }
.rr-links a:hover { color: #fff; }

/* Headings follow their container (app.css centred every h2 site-wide). */
.dark-site h2 { text-align: inherit; }

/* Page hero */
.rr-hero { padding: 6.5rem 0 3.5rem; }
@media (min-width: 768px) { .rr-hero { padding: 9rem 0 5rem; } }
.rr-h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; color: #fff; margin: 0; text-align: left; text-wrap: balance; max-width: 18ch; }
.rr-hero-lede { margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; color: rgba(255,255,255,0.6); max-width: 40rem; }
.rr-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; align-items: center; }
.rr-ghost { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 0.6rem; padding: 0.7rem 1.25rem; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85); text-decoration: none; transition: background 0.15s; }
.rr-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.rr-note { margin-top: 1rem; font-size: 13px; color: rgba(255,255,255,0.4); }

/* Stats: plain numbers over a hairline, no boxes */
.rr-stats { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.rr-stats > div { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; }
.rr-stats b { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.rr-stats span { display: block; margin-top: 0.4rem; font-size: 14px; color: rgba(255,255,255,0.5); }

/* Three-up columns */
@media (min-width: 900px) { .rr-cols-3 { grid-template-columns: repeat(3, 1fr) !important; } }

/* FAQ: question and answer on a hairline */
.rr-faq { display: grid; gap: 0; }
.rr-faq > div { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: grid; gap: 0.5rem; }
@media (min-width: 768px) { .rr-faq > div { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.rr-faq h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0; }
.rr-faq p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }
.rr-faq a { color: #6ee7b7; }

/* Closing line */
.rr-close { text-align: center; }
.rr-close h2 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: #fff; margin: 0; text-wrap: balance; text-align: center; }
.rr-close h2 span { color: rgba(255,255,255,0.45); }
.rr-close .rr-actions { justify-content: center; }

/* Primary button, site-wide (the homepage adds its own glow on top). */
.cta-primary { background: rgb(16, 185, 129); color: #fff; font-weight: 600; border-radius: 12px; border: 1px solid rgba(52, 211, 153, 0.3); text-decoration: none; transition: background 0.2s, transform 0.2s; }
.cta-primary:hover { background: rgb(52, 211, 153); color: #fff; transform: translateY(-1px); }
.cta-primary:active { transform: translateY(0) scale(0.98); }
