/* ─── Riverstone Brand Palette ─── */
:root {
  --primary: #1D9E75;
  --primary-light: #E1F5EE;
  --primary-dark: #0F6E56;
  --secondary: #6A8FA8;
  --secondary-light: #E0EDF4;
  --secondary-dark: #3D6478;
  --highlight: #C4930A;
  --highlight-light: #FDF4D5;
  --warm-accent: #D86F3A;
  --background: #F7F3EE;
  --surface: #EDE6DC;
  --border: #C8B9A3;
  --subtle-text: #8A7F74;
  --ink: #2A2520;
  --white: #FFFFFF;
  --font-family: 'Lora', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.nav-brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--subtle-text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--ink);
}

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

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--subtle-text);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--subtle-text);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary-light);
}

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

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--subtle-text);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--ink);
}

/* ─── How It Works ─── */
.how-it-works {
  background: var(--white);
  border-top: 1px solid var(--surface);
  border-bottom: 1px solid var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.step p {
  font-size: 0.9rem;
  color: var(--subtle-text);
  line-height: 1.6;
}

/* ─── Who It's For ─── */
.who-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.who-card {
  background: var(--white);
  border: 1px solid var(--surface);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.who-card:hover {
  box-shadow: 0 4px 24px rgba(42, 37, 32, 0.06);
}

.who-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.who-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.who-card p {
  font-size: 0.9rem;
  color: var(--subtle-text);
  line-height: 1.6;
}

/* ─── About / Values ─── */
.about {
  background: var(--white);
  border-top: 1px solid var(--surface);
  border-bottom: 1px solid var(--surface);
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--subtle-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.about-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  margin-top: 28px;
}

/* ─── CTA Banner ─── */
.cta-banner {
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.cta-banner p {
  font-size: 1rem;
  color: var(--subtle-text);
  margin-bottom: 28px;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: var(--surface);
  padding: 48px 0 32px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--subtle-text);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--border);
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: var(--subtle-text);
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .who-cards { grid-template-columns: 1fr; gap: 20px; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .hero-actions { flex-direction: column; }
}
