:root {
  --brand: #72a66f;
  --brand-dark: #4a7d48;
  --brand-deep: #2f4f2e;
  --brand-soft: #e8f1e7;
  --brand-tint: #f0f6ef;
  --accent: #b8741a;
  --alert: #d14a3a;
  --ink: #1a1a1a;
  --muted: #555b55;
  --line: #e5e7e5;
  --bg: #ffffff;
  --bg-alt: #f5f7f5;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  border: 0; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.nav .btn { padding: 9px 18px; color: #fff; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); background: #fff; border: 1px solid #d3e4d2; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin: 18px 0 18px; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Phone frame around real app screens (750x1624 designs) */
.phone {
  width: 300px; margin: 0 auto; padding: 10px;
  background: #1a1a1a; border-radius: 46px;
  box-shadow: 0 0 0 2px #3a3a3a, 0 30px 60px -22px rgba(26,26,26,.4);
}
.phone img { width: 100%; height: auto; border-radius: 37px; display: block; }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.problem h3 { margin: 0 0 6px; font-size: 1.05rem; }
.problem p { margin: 0; color: var(--muted); font-size: .95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); }
.role .who { font-size: .8rem; font-weight: 600; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .06em; }
.role h3 { margin: 6px 0 10px; }
.role ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.role li { margin-bottom: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.privacy-band { background: var(--brand-deep); color: #e3eee2; }
.privacy-band h2 { color: #fff; }
.privacy-band .section-head p { color: #b9cfb8; }
.privacy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.privacy-list div { display: flex; gap: 12px; }
.privacy-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: #a9d3a6; margin-top: 2px; }
.privacy-list p { margin: 0; }
.privacy-list b { color: #fff; }

.cta-final { text-align: center; }
.cta-final .cta-row { justify-content: center; }
.disclaimer { max-width: 720px; margin: 32px auto 0; font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal / content pages */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: 0; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.doc p, .doc li { color: #334155; }
.doc .updated { color: var(--muted); font-size: .9rem; }
.callout { background: var(--brand-soft); border: 1px solid #d3e4d2; border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .features, .problem-grid, .roles, .steps { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .features, .problem-grid, .roles, .steps, .privacy-list { grid-template-columns: 1fr; }
  .hero .phone { width: 260px; border-radius: 40px; }
  .hero .phone img { border-radius: 32px; }
}

/* ---------- Motion ---------- */
:root { --ease: cubic-bezier(.22,.61,.36,1); }

.btn { transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(74,125,72,.5); }
.feature, .role, .problem { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.feature:hover, .role:hover, .problem:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15,23,42,.3); border-color: #d3e4d2; }
.site-header { transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(15,23,42,.25); }

/* Only hide things before they animate when JS is running */
.js .hero-in { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }




.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.js .stagger.in > *:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.js .stagger.in > *:nth-child(5) { transition-delay: .32s, .32s, 0s, 0s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .40s, .40s, 0s, 0s; }
.js .stagger.in > *:hover { transform: translateY(-4px); transition-delay: 0s; }

.js .page-in { animation: rise .7s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-in, .js .reveal, .js .stagger > *, .js .page-in { opacity: 1 !important; transform: none !important; }
  }
