/* RunTheFundraiser platform brand (marketing + app shell) */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Palette */
  --rtf-forest: #1e2b22;
  --rtf-navy: #1e2b22;
  --rtf-coral: #e0794a;
  --rtf-coral-hover: #c96840;
  --rtf-cream: #fbf6ec;
  --rtf-ink: #2a2118;
  --rtf-slate: #5c5348;
  --rtf-sage: #8fa888;
  --rtf-sage-tint: #e7efe3;
  --rtf-green: #8fa888;
  --rtf-border: #e8e0d4;
  --rtf-white: #ffffff;
  --rtf-navy-muted: #2d3d32;

  /* Semantic */
  --rtf-text-primary: var(--rtf-ink);
  --rtf-text-secondary: var(--rtf-slate);
  --rtf-surface-page: var(--rtf-cream);
  --rtf-surface-raised: var(--rtf-white);
  --rtf-surface-inverse: var(--rtf-forest);
  --rtf-action-primary: var(--rtf-coral);
  --rtf-action-primary-hover: var(--rtf-coral-hover);
  --rtf-status-success-bg: var(--rtf-sage-tint);
  --rtf-status-warning-bg: #fef6e8;
  --rtf-status-warning-border: #e8d4b0;
  --rtf-status-danger: #b33a3a;
  --rtf-status-danger-bg: #fef2f2;
  --rtf-status-danger-border: #fca5a5;
  --rtf-focus-ring: rgba(224, 121, 74, 0.35);

  /* Layout */
  --rtf-max: 68rem;
  --rtf-max-app: 72rem;
  --rtf-radius-sm: 16px;
  --rtf-radius: 20px;
  --rtf-radius-lg: 24px;
  --rtf-radius-pill: 999px;
  --rtf-radius-input: 12px;

  /* Spacing */
  --rtf-space-2: 0.5rem;
  --rtf-space-3: 0.75rem;
  --rtf-space-4: 1rem;
  --rtf-space-5: 1.25rem;
  --rtf-space-6: 1.5rem;
  --rtf-space-8: 2rem;
  --rtf-space-10: 2.5rem;
  --rtf-space-12: 3rem;

  /* Typography */
  --rtf-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --rtf-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rtf-font-data: var(--rtf-font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rtf-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--rtf-ink);
  background: var(--rtf-cream);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--rtf-coral);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--rtf-coral-hover);
}

h1,
h2,
h3 {
  font-family: var(--rtf-font-display);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--rtf-ink);
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  font-family: var(--rtf-font-body);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--rtf-slate);
  max-width: 38rem;
}

.muted {
  color: var(--rtf-slate);
  font-size: 0.9375rem;
}

.mono {
  font-family: var(--rtf-font-body);
  font-size: 0.9375rem;
  color: var(--rtf-slate);
}

.container {
  width: min(100% - 2rem, var(--rtf-max));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--rtf-cream);
  color: var(--rtf-ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rtf-border);
  padding-top: env(safe-area-inset-top);
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header a:hover {
  color: var(--rtf-coral);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  min-height: 3.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--rtf-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9375rem;
}

.nav-desktop .active {
  color: var(--rtf-coral);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rtf-border);
  border-radius: 999px;
  background: var(--rtf-white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin-inline: auto;
  background: var(--rtf-ink);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--rtf-border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.625rem 0;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Buttons */

/* `.btn` sets display; respect [hidden] for pre-launch nav gating. */
[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-family: var(--rtf-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--rtf-coral);
  color: var(--rtf-white);
  border-color: var(--rtf-coral);
}

.btn-primary:hover {
  background: var(--rtf-coral-hover);
  border-color: var(--rtf-coral-hover);
  color: var(--rtf-white);
}

.btn-ghost {
  background: transparent;
  color: var(--rtf-ink);
  border-color: var(--rtf-border);
}

.btn-ghost:hover {
  background: var(--rtf-sage-tint);
  color: var(--rtf-ink);
}

.btn-ghost-light {
  background: var(--rtf-white);
  color: var(--rtf-ink);
  border-color: var(--rtf-border);
}

.btn-ghost-light:hover {
  background: var(--rtf-sage-tint);
  color: var(--rtf-ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-brand img {
  width: 3.5rem;
  height: 3.5rem;
}

.hero-brand-name {
  font-family: var(--rtf-font-body);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--rtf-ink);
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.callout {
  padding: 1rem 1.25rem;
  border-radius: var(--rtf-radius-sm);
  border: 1px solid var(--rtf-border);
  background: var(--rtf-white);
  margin: 1.5rem 0;
}

.callout-success {
  border-color: #c5d4c0;
  background: var(--rtf-sage-tint);
}

.callout-success strong {
  color: var(--rtf-forest);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--rtf-white);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  padding: 1.5rem 1.5rem;
}

.card h3 {
  margin-bottom: 0.375rem;
  font-family: var(--rtf-font-display);
  font-weight: 600;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--rtf-sage-tint);
  border: 1px solid #c5d4c0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rtf-font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--rtf-coral);
  margin-bottom: 0.75rem;
}

.card-icon.verified-card-icon {
  background: var(--rtf-sage-tint);
  border-color: #c5d4c0;
}

.demo-verified {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 0.25rem;
}

/* Sections */

.section {
  padding: var(--rtf-space-10) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--rtf-space-12) 0;
  }
}

.section-alt {
  background: var(--rtf-white);
  border-block: 1px solid var(--rtf-border);
}

.section-header {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step .muted,
.card .muted,
.faq-item p {
  text-wrap: pretty;
}

.verified-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.verified-heading-badge {
  flex-shrink: 0;
}

.card-verified .muted {
  max-width: 36rem;
}

.step {
  padding: 1.5rem;
  background: var(--rtf-white);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--rtf-coral);
  color: var(--rtf-white);
  font-family: var(--rtf-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

/* Surface preview (hero aside) */

.surface-preview {
  display: grid;
  gap: 0.75rem;
}

.surface {
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  overflow: hidden;
  background: var(--rtf-white);
}

.surface-bar {
  padding: 0.5rem 0.75rem;
  background: var(--rtf-cream);
  border-bottom: 1px solid var(--rtf-border);
  font-family: var(--rtf-font-data);
  font-size: 0.75rem;
  color: var(--rtf-slate);
}

.surface-body {
  padding: 1rem 1.125rem;
}

.surface-body .stat {
  font-family: var(--rtf-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rtf-coral);
}

.surface-tracker {
  background: var(--rtf-navy);
  color: var(--rtf-white);
}

.surface-tracker .surface-bar {
  background: #0d1015;
  border-color: #0d1015;
  color: #9aa3ae;
}

.surface-tracker .stat {
  color: var(--rtf-white);
  font-size: 2rem;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  overflow: hidden;
  background: var(--rtf-white);
}

.faq-item {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--rtf-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.faq-item p {
  margin: 0;
  color: var(--rtf-slate);
  font-size: 0.9375rem;
}

/* Pricing */

.price-hero {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--rtf-white);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  margin-bottom: 2rem;
}

.price-amount {
  font-family: var(--rtf-font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--rtf-sage);
  line-height: 1;
  margin: 0.5rem 0;
}

/* Not list */

.not-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.not-list li {
  padding-left: 1.375rem;
  position: relative;
  color: var(--rtf-slate);
}

.not-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--rtf-coral);
}

/* Auth */

.auth-page {
  padding-top: 1rem;
}

.auth-layout {
  display: grid;
  gap: 2rem;
  max-width: var(--rtf-max);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr 26rem;
    gap: 3rem;
    padding: 1rem 1.5rem 2rem;
  }
  .auth-layout-narrow {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

.auth-aside {
  padding: 1rem 0;
}

.auth-aside-logo {
  margin-bottom: 1.25rem;
}

.auth-aside h1 {
  font-family: var(--rtf-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--rtf-ink);
}

.auth-aside-lead {
  color: var(--rtf-slate);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.auth-aside-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--rtf-slate);
  line-height: 1.7;
}

.auth-panel {
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem;
  background: var(--rtf-white);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  box-shadow: 0 12px 40px rgba(42, 33, 24, 0.06);
}

.auth-panel-signup {
  width: 100%;
}

.auth-panel-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.auth-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rtf-coral);
  margin: 0 0 0.35rem;
}

.auth-panel-title {
  font-family: var(--rtf-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.35rem;
  color: var(--rtf-ink);
}

.auth-panel-sub {
  text-align: center;
  color: var(--rtf-slate);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.auth-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--rtf-slate);
  margin: 0 0 1rem;
  padding: 0.75rem 0.875rem;
  background: var(--rtf-cream);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  cursor: pointer;
}

.auth-terms-label input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--rtf-coral);
}

.auth-terms-hint {
  text-align: center;
  color: var(--rtf-slate);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.clerk-mount {
  min-height: 8rem;
  margin-top: 0.25rem;
}

/* Fallback if Clerk renders chrome despite appearance overrides */
.clerk-mount .cl-header,
.clerk-mount .cl-logoBox,
.clerk-mount .cl-footer,
.clerk-mount .cl-footerAction,
.clerk-mount .cl-footerPages {
  display: none !important;
}

.clerk-mount .cl-formButtonPrimary {
  margin-top: 0.25rem;
}

.clerk-mount .cl-badge {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
}

.auth-footer-link {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  text-align: center;
}

.auth-next-steps {
  margin-top: 1rem;
}

.terms-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.9375rem;
  cursor: pointer;
}

.terms-inline input {
  margin-top: 0.2rem;
  accent-color: var(--rtf-coral);
}

/* Legacy auth-panel label (manage) */

.manage-body .auth-panel label:not(.auth-terms-label):not(.terms-inline) {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--rtf-slate);
  margin: 1rem 0 1.25rem;
  cursor: pointer;
}

.auth-panel input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  background: var(--rtf-forest);
  color: rgba(251, 246, 236, 0.75);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  line-height: 1.65;
}

.site-footer a {
  color: var(--rtf-cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--rtf-white);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  color: var(--rtf-white);
  font-family: var(--rtf-font-display);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-col-title {
  font-size: 0.8125rem;
}

.footer-tagline {
  margin: 0;
  line-height: 1.65;
}

.site-footer-minimal {
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.site-footer-minimal .footer-bottom {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rtf-navy-muted);
  color: rgba(251, 246, 236, 0.55);
}

.page-title {
  padding: 2.5rem 0 1rem;
}

.page-main {
  padding-bottom: 2rem;
}

/* Pre-launch waitlist */
.coming-soon-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--rtf-coral);
  background: rgba(224, 121, 74, 0.1);
  border: 1px solid rgba(224, 121, 74, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  max-width: 28rem;
  margin-top: 1.25rem;
}

.waitlist-form input[type="email"] {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  font: inherit;
  background: var(--rtf-white);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid rgba(224, 121, 74, 0.35);
  border-color: var(--rtf-coral);
}

.waitlist-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-message {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.9375rem;
}

.waitlist-message-success {
  color: var(--rtf-green);
}

.waitlist-message-error {
  color: #b42318;
}

.hero-waitlist-note {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--rtf-slate);
}

.mission-section {
  background: var(--rtf-forest);
  color: var(--rtf-cream);
}

.mission-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.mission-label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rtf-coral);
}

.mission-quote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
  font-family: var(--rtf-font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--rtf-cream);
  text-wrap: balance;
}

.mission-body {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(251, 246, 236, 0.88);
}

.mission-body:last-child {
  margin-bottom: 0;
}

/* Three-moments relay: signature visual language */

.relay-preview {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.relay-moment {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.25rem 0;
}

.relay-moment + .relay-moment {
  margin-top: 0.5rem;
}

.relay-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--rtf-coral);
  color: var(--rtf-white);
  font-family: var(--rtf-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.relay-moment:not(:last-child) .relay-step::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: calc(100% + 1.5rem);
  border-left: 2px dotted var(--rtf-sage);
  margin-top: 0.35rem;
}

.relay-card {
  background: var(--rtf-white);
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius);
  padding: 1.25rem 1.375rem;
  flex: 1;
}

.relay-card.relay-card-dark {
  background: var(--rtf-forest);
  border-color: var(--rtf-forest);
  color: var(--rtf-cream);
}

.relay-who {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--rtf-coral);
}

.relay-card-dark .relay-who {
  color: rgba(251, 246, 236, 0.75);
}

.relay-action {
  margin: 0 0 0.5rem;
  font-family: var(--rtf-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rtf-ink);
}

.relay-card-dark .relay-action {
  color: var(--rtf-cream);
}

.relay-detail {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--rtf-slate);
}

.relay-card-dark .relay-detail {
  color: rgba(251, 246, 236, 0.8);
}

.relay-stat {
  font-family: var(--rtf-font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--rtf-coral);
  line-height: 1.1;
  margin: 0.35rem 0;
}

.relay-card-dark .relay-stat {
  color: var(--rtf-cream);
}

.relay-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .relay-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .relay-grid-3 .relay-moment {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
  }

  .relay-grid-3 .relay-step {
    margin: 0 auto 0.75rem;
  }

  .relay-grid-3 .relay-moment:not(:last-child) .relay-step::after {
    display: none;
  }

  .relay-grid-3 .relay-moment:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    width: calc(100% - 2rem);
    height: 0;
    border-top: 2px dotted var(--rtf-sage);
    transform: translateX(50%);
    pointer-events: none;
  }

  .relay-grid-3 .relay-moment {
    position: relative;
  }
}

.cta-band {
  background: var(--rtf-forest);
  color: var(--rtf-cream);
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--rtf-cream);
  font-family: var(--rtf-font-display);
}

.cta-band .lead {
  color: rgba(251, 246, 236, 0.85);
  margin-inline: auto;
}

.cta-band .btn-primary {
  margin-top: 0.5rem;
}

.callout-sage {
  border-color: #c5d4c0;
  background: var(--rtf-sage-tint);
}

.callout-sage p {
  margin: 0;
  line-height: 1.65;
  color: var(--rtf-ink);
}

/* Legal pages */
.legal-doc {
  max-width: 42rem;
  padding-bottom: 3rem;
}

.legal-doc section {
  margin-top: 2rem;
}

.legal-doc section h3 {
  font-size: 1.0625rem;
  margin-top: 1.25rem;
}

.legal-summary {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rtf-border);
  border-radius: var(--rtf-radius-sm);
  background: var(--rtf-white);
}

.legal-definitions dt {
  font-weight: 600;
  margin-top: 0.75rem;
}

.legal-definitions dd {
  margin: 0.25rem 0 0;
  color: var(--rtf-slate);
}

.legal-doc-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rtf-border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 1rem 0;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--rtf-border);
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--rtf-white);
  font-weight: 600;
}

.legal-table td {
  color: var(--rtf-slate);
}
