/* Jila brand tokens — shared with app theme (Claude-inspired) */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F0EEE6;
  --border: #E8E6DD;
  --ink: #1F1E1D;
  --ink-soft: #3D3C38;
  --ink-2: #6E6C66;
  --accent: #D97757;
  --accent-press: #C25F3F;
  --success: #7D9B76;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-press); }

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

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600; }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
/* CTA button inside nav must keep white text (beats .nav-links a specificity) */
.nav-links a.btn-primary { color: #FFF; }
.nav-links a.btn-primary:hover { color: #FFF; }
@media (max-width: 680px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #FFF; }
.btn-primary:hover { background: var(--accent-press); color: #FFF; }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); max-width: 800px; margin: 0 auto 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede { font-size: 20px; color: var(--ink-2); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-img {
  max-width: 880px; margin: 0 auto; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  background: var(--surface-alt);
}
.hero-img img { width: 100%; display: block; }

/* Sections — uniform 80px vertical rhythm; scroll-margin keeps sticky header from covering anchored sections */
section { padding: 80px 0; scroll-margin-top: 64px; }
.section-label { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
section h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-intro { color: var(--ink-2); font-size: 18px; max-width: 640px; margin-bottom: 48px; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card img.card-illo { width: 100%; border-radius: 10px; margin-bottom: 20px; border: 1px solid var(--border); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* How it works */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: "Fraunces", Georgia, serif;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* Privacy band */
.band {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 760px) { .band .inner { grid-template-columns: 1fr; } }

/* CTA */
.cta-final { text-align: center; padding: 96px 0; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final p { color: var(--ink-2); margin-bottom: 32px; }
.store-note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--ink-2); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-2); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 24px; margin-bottom: 16px; }
