:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #efece2;
  --ink: #1f2419;
  --muted: #6b7261;
  --accent: #5c6b3f;
  --accent-ink: #3d4a2a;
  --border: #e2ddd0;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(31, 36, 25, 0.06);
}

html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper-grain texture, no glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-ink);
}
.btn-primary:hover svg {
  transform: translateY(2px);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--surface-2);
}
.btn-secondary:hover svg {
  transform: translateX(3px);
}
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.lede {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Hero entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow,
.hero h1,
.hero .lede,
.hero-actions,
.hero-note {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero .lede { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.28s; }
.hero-note { animation-delay: 0.36s; }

/* Sections */
.section {
  padding: 90px 0;
}
.section-alt {
  background: var(--surface-2);
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
  max-width: 640px;
}

/* Feature cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 36, 25, 0.1);
  border-color: var(--accent);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.card-icon svg {
  width: 20px;
  height: 20px;
}
.card h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 36, 25, 0.1);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* Privacy */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.privacy-item {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.privacy-item h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 6px;
}
.privacy-item p {
  font-size: 14px;
  color: var(--muted);
}

/* CTA */
.section-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.section-cta h2 {
  color: #fff;
  margin: 0 auto 14px;
}
.section-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}
.section-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.section-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  padding: 50px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.footer-name {
  font-weight: 700;
  font-size: 16px;
}
.footer-tag {
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-bottom .dot {
  color: var(--border);
  font-weight: 700;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero-actions, .hero-note {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover, .step:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .steps, .privacy-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 60px 0; }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
