/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--rs-font-body);
  background: var(--rs-cream);
  color: var(--rs-ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Shared ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--rs-cherry); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rs-cream);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--rs-font-display);
  font-size: 26px;
  color: var(--rs-ink);
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--rs-radius-pill);
  font-family: var(--rs-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}

.btn:hover { opacity: 0.88; text-decoration: none; }
.btn:active { transform: scale(0.97); }

.btn-cherry { background: var(--rs-cherry); color: #fff; }
.btn-mint   { background: var(--rs-mint);   color: var(--rs-ink); }
.btn-lg     { padding: 14px 32px; font-size: 16px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(126, 216, 204, 0.22);
  color: var(--rs-mint-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--rs-radius-pill);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--rs-font-serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--rs-ink);
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--rs-cherry);
}

.hero-sub {
  font-size: 17px;
  color: rgba(26, 26, 26, 0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-link {
  font-size: 14px;
  color: var(--rs-ink);
  opacity: 0.6;
}

.hero-link:hover { opacity: 1; text-decoration: none; color: var(--rs-cherry); }

/* ── Section shared ───────────────────────────────────────────────────────── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--rs-vanilla);
}

.section-title {
  font-family: var(--rs-font-serif);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: rgba(26, 26, 26, 0.55);
  font-size: 15px;
  margin-bottom: 44px;
}

/* ── How It Works ─────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  border-radius: var(--rs-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--rs-shadow);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rs-mint);
  color: var(--rs-ink);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--rs-font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.6);
  line-height: 1.6;
}

/* ── Value Props ──────────────────────────────────────────────────────────── */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prop {
  text-align: center;
  padding: 32px 20px;
}

.prop-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.prop-title {
  font-family: var(--rs-font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prop-desc {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.6);
  line-height: 1.6;
}

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--rs-mint);
  padding: 60px 0;
  text-align: center;
}

.cta-banner .section-title { color: var(--rs-ink); margin-bottom: 12px; }
.cta-banner .section-sub   { color: rgba(26, 26, 26, 0.65); margin-bottom: 28px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--rs-ink);
  color: rgba(253, 250, 245, 0.5);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--rs-font-display);
  font-size: 18px;
  color: var(--rs-mint);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(253, 250, 245, 0.5);
  font-size: 13px;
}

.footer-links a:hover { color: var(--rs-mint); text-decoration: none; }

/* ── Modal ────────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--rs-cream);
  border-radius: var(--rs-radius-lg);
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: translateY(12px);
  transition: transform 0.2s;
  position: relative;
}

.modal-backdrop.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: rgba(26,26,26,0.35);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover { color: var(--rs-ink); }

.modal-icon { font-size: 40px; margin-bottom: 12px; display: block; }

.modal-title {
  font-family: var(--rs-font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--rs-ink);
}

.modal-sub {
  font-size: 14px;
  color: rgba(26,26,26,0.6);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: var(--rs-radius-pill);
  border: 1.5px solid var(--rs-border, rgba(0,0,0,0.12));
  background: none;
  font-family: var(--rs-font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: rgba(26,26,26,0.55);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.modal-tab.active {
  background: var(--rs-mint);
  border-color: var(--rs-mint);
  color: var(--rs-ink);
  font-weight: 600;
}

.modal-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.modal-input {
  flex: 1;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--rs-radius-pill);
  font-family: var(--rs-font-body);
  font-size: 14px;
  padding: 11px 16px;
  outline: none;
  transition: border-color 0.15s;
  color: var(--rs-ink);
}

.modal-input:focus { border-color: var(--rs-mint); }
.modal-input::placeholder { color: rgba(26,26,26,0.35); }

.modal-success {
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}

.modal-success.show { display: block; }

.modal-success-icon { font-size: 36px; margin-bottom: 10px; display: block; }

.modal-success-text {
  font-size: 15px;
  color: rgba(26,26,26,0.7);
  line-height: 1.6;
}

.modal-fine {
  font-size: 11px;
  color: rgba(26,26,26,0.35);
  text-align: center;
  margin-top: 10px;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 52px 0 48px; }

  .steps,
  .props {
    grid-template-columns: 1fr;
  }

  .footer-inner { flex-direction: column; text-align: center; }
}
