/* ── Theme tokens — mirrored from app/src/styles/tokens.css (light palette) ── */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --bg: #f2f2ee;
  --card: #ffffff;
  --dark: #1c2620;
  --dark-2: #101310;
  --ink: #14181c;
  --muted: #8a8f8a;
  --hairline: #e6e6e0;
  --cobalt: #2b4fff;
  --amber: #e8a33d;
  --accent: #d7f36b;
  --accent-ink: #14181c;
  --pill: #14181c;
  --surface-2: #f4f4ef;
  --text-2: #6e746e;
  --text-3: #a0a5a0;
  --on-dark-muted: #a9b6ac;

  --r-card: 28px;
  --r-pill: 999px;
  --shadow-card: 0 2px 6px rgba(20, 24, 28, 0.05);
  --shadow-pop: 0 24px 60px -18px rgba(16, 19, 16, 0.45);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }

/* ── Chips ── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--hairline);
  font-size: 0.82rem; font-weight: 600; color: var(--text-2);
}
.chip-lime { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.chip-outline { background: transparent; border-color: rgba(255, 255, 255, 0.18); color: var(--on-dark-muted); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-pill { background: var(--pill); color: #fff; }
.btn-lime { background: var(--accent); color: var(--accent-ink); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-store { background: var(--pill); color: #fff; padding: 12px 22px; text-align: left; }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store small { font-weight: 500; font-size: 0.68rem; opacity: 0.7; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--hairline); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-4u { color: #7ca022; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-weight: 600; font-size: 0.92rem; color: var(--text-2); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } .nav-inner { justify-content: space-between; } }

/* ── Section scaffolding ── */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: var(--on-dark-muted); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Footer ── */
.footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer-tag { color: var(--text-2); font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer-links a { font-weight: 600; font-size: 0.9rem; color: var(--text-2); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--text-3); font-size: 0.78rem; }
