/* What’s Vegan? — "Gentle Companion" landing page
   Design tokens mirror DESIGN_SYSTEM.md. */

:root{
  --sprout:#6BA368;  --sprout-leaf:#8FC48A; --sprout-deep:#4F7D4C;
  --forest:#23372B;  --forest-deep:#1A271F;
  --honey:#E8B04B;   --clay:#D9584A;
  --cream:#FAF6EF;   --cream-raised:#F6F1E7; --sand:#E4DCCB; --sand-line:#EAE3D5; --stone:#C9BFA8;
  --ink70:#6B6456;   --ink50:#8A8272; --ink40:#A79F8C;
  --vegan-surface:#EDF4EC; --vegan-border:#CFE3CC; --vegan-text:#3F7A3C; --vegan-sub:#5F7A5C;
  --veg-surface:#FBF1DC;   --veg-border:#ECDCAE;   --veg-text:#B5842A;
  --not-surface:#FBECEA;   --not-border:#F0CFCA;   --not-text:#C0483A;
  --need-surface:#F0EBE0;
  --display:'Baloo 2', system-ui, sans-serif;
  --body:'Figtree', system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--cream); color:var(--forest); font-family:var(--body); overflow-x:hidden; }
h1,h2,h3{ font-family:var(--display); margin:0; }
p{ margin:0; }
a{ color:inherit; }

.container{ max-width:1180px; margin:0 auto; padding-left:32px; padding-right:32px; }
.pip{ width:36px; height:36px; }
.pip--lg{ width:88px; height:88px; }
.display{ font-family:var(--display); font-weight:800; font-size:62px; line-height:1.02; }
.heading{ font-family:var(--display); font-weight:800; font-size:42px; }
.heading--light{ color:var(--cream); }
.muted-sm{ font-size:12px; color:var(--ink50); }
.eyebrow{ font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:var(--ink40); font-weight:700; }
.eyebrow--leaf{ color:var(--sprout-leaf); }

/* buttons */
.btn{ display:inline-block; text-decoration:none; font-weight:700; border-radius:12px; }
.btn--primary{ background:var(--sprout); color:#fff; box-shadow:0 4px 0 var(--sprout-deep); }
.btn--sm{ font-size:15px; padding:10px 20px; }
.appstore{ display:inline-flex; align-items:center; gap:12px; background:var(--forest); color:#fff;
  padding:14px 22px; border-radius:14px; text-decoration:none; }
.appstore svg{ width:24px; height:24px; }
.appstore small{ display:block; font-size:11px; opacity:.75; }
.appstore strong{ font-family:var(--display); font-weight:700; font-size:18px; }
.appstore--lg{ padding:16px 26px; }
.appstore--lg svg{ width:26px; height:26px; }
.appstore--lg strong{ font-size:20px; }
/* "Coming soon" state — the App Store badge before the listing is live: same shape,
   visibly inactive (not a link, muted, with a soft dashed ring). */
.appstore--soon{ opacity:.6; cursor:default; background:var(--forest-deep);
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18); }

.pill{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px;
  padding:8px 16px; border-radius:20px; }
.pill--vegan{ background:var(--vegan-surface); color:var(--vegan-text); }

/* nav */
.nav{ position:sticky; top:0; z-index:50; background:rgba(250,246,239,.85);
  backdrop-filter:blur(12px); border-bottom:1px solid var(--sand-line); }
.nav__inner{ display:flex; align-items:center; justify-content:space-between; padding-top:16px; padding-bottom:16px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand__name{ font-family:var(--display); font-weight:800; font-size:20px; color:var(--forest); }
.brand__name--light{ color:var(--cream); font-size:17px; }
.nav__links{ display:flex; align-items:center; gap:28px; }
.nav__links a{ text-decoration:none; color:var(--ink70); font-weight:600; font-size:15px; }
.nav__links a.btn--primary{ color:#fff; }

/* hero */
.hero{ display:flex; gap:56px; align-items:center; flex-wrap:wrap; padding-top:72px; padding-bottom:64px; }
.hero__copy{ flex:1; min-width:340px; }
.hero__copy .display{ margin:24px 0 20px; }
.lede{ font-size:19px; line-height:1.55; color:#54544c; max-width:480px; margin-bottom:32px; }
.hero__cta{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.hero__note{ font-size:14px; color:var(--ink50); }

/* phone mock */
.phone{ flex:none; width:352px; margin:0 auto; }
/* Device body: dark forest bezel with a subtle titanium sheen. */
.phone__screen{ background:linear-gradient(155deg,#2C4436,#141F19); border-radius:60px; padding:14px; box-shadow:0 44px 90px rgba(35,55,43,.34); }
/* The "glass" — the cream screen the UI lives on; clips its own rounded corners. */
.phone__glass{ position:relative; background:var(--cream); border-radius:46px; overflow:hidden; padding-top:40px; }
.phone__island{ position:absolute; top:14px; left:50%; transform:translateX(-50%); width:98px; height:27px; background:#0C120E; border-radius:16px; }
.phone__head{ display:flex; align-items:center; gap:9px; padding:6px 20px 8px; }
.phone__greeting{ font-family:var(--display); font-weight:800; font-size:16px; }
.phone__body{ padding:6px 16px 6px; }
.phone__home{ width:128px; height:5px; border-radius:3px; background:rgba(35,55,43,.22); margin:12px auto 14px; }
.phone__product{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.phone__pname{ font-family:var(--display); font-weight:800; font-size:19px; }
.thumb{ width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:28px; flex:none; }
.thumb--vegan{ background:var(--vegan-surface); } .thumb--veg{ background:var(--veg-surface); } .thumb--not{ background:var(--not-surface); }
.verdict{ display:flex; gap:12px; border-radius:18px; padding:18px; }
.verdict .pip{ width:46px; height:46px; flex:none; }
.verdict--vegan{ background:var(--vegan-surface); border:1px solid var(--vegan-border); }
.verdict__title{ font-family:var(--display); font-weight:800; font-size:21px; color:var(--vegan-text); line-height:1; }
.verdict__sub{ font-size:12px; color:var(--vegan-sub); margin-top:6px; line-height:1.4; }
.chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; }
.chip{ font-size:11px; font-weight:600; padding:5px 10px; border-radius:10px; background:#fff; border:1px solid var(--sand); }

/* bands */
.band{ padding:80px 0; }
.band-pad{ padding-top:80px; padding-bottom:80px; }
.band--raised{ background:var(--cream-raised); border-top:1px solid var(--sand-line); }
.band--dark{ background:var(--forest); color:var(--cream); }
.section-head{ text-align:center; margin-bottom:52px; }
.section-head .heading{ margin-top:12px; }
.section-sub{ font-size:18px; color:var(--ink70); max-width:520px; margin:12px auto 0; }
.band--dark .section-sub{ color:rgba(255,255,255,.8); }

/* how it works cards */
.cards-3{ display:flex; gap:24px; flex-wrap:wrap; }
.card{ flex:1; min-width:260px; background:#fff; border:1px solid var(--sand); border-radius:24px; padding:32px; }
.card .icon{ width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:26px; margin-bottom:20px; }
.card .icon--vegan{ background:var(--vegan-surface); } .card .icon--veg{ background:var(--veg-surface); }
.card .step{ font-family:var(--display); font-weight:800; font-size:14px; color:var(--ink40); }
.card h3{ font-weight:700; font-size:24px; margin:4px 0 10px; }
.card p{ font-size:16px; line-height:1.5; color:var(--ink70); }

/* grades */
.grades{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.gradecard{ border-radius:24px; padding:28px; display:flex; gap:18px; }
.gradecard .pip{ width:60px; height:60px; flex:none; }
.gradecard__title{ font-family:var(--display); font-weight:800; font-size:24px; }
.gradecard p{ font-size:15px; margin-top:6px; line-height:1.45; }
.verdict--veg{ background:var(--veg-surface); border:1px solid var(--veg-border); }
.verdict--not{ background:var(--not-surface); border:1px solid var(--not-border); }
.verdict--need{ background:var(--need-surface); border:1px dashed var(--stone); }

/* catalog */
.catalog{ display:flex; gap:56px; align-items:center; flex-wrap:wrap; }
.catalog__copy{ flex:1; min-width:320px; }
.catalog__copy .heading{ margin:14px 0 18px; font-size:44px; line-height:1.05; }
.catalog__lede{ font-size:18px; line-height:1.55; opacity:.85; max-width:480px; margin-bottom:20px; }
.catalog__note{ font-size:16px; line-height:1.5; opacity:.7; max-width:480px; }
.catalog__list{ flex:none; width:300px; margin:0 auto; background:rgba(255,255,255,.06); border-radius:24px; padding:20px; display:flex; flex-direction:column; gap:12px; }
.crow{ display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.06); border-radius:14px; padding:12px; }
.crow > span:first-of-type{ flex:1; font-family:var(--display); font-weight:700; font-size:15px; }
.crow .thumb{ width:44px; height:44px; border-radius:11px; font-size:22px; }
.badge{ font-family:var(--display); font-weight:700; font-size:12px; padding:5px 11px; border-radius:16px; }
.badge--vegan{ background:var(--sprout); color:#fff; }
.badge--veg{ background:var(--honey); color:var(--forest); }
.badge--not{ background:var(--clay); color:#fff; }

/* marquee */
.marquee{ background:var(--honey); padding:22px 0; overflow:hidden; }
.marquee__track{ display:flex; width:max-content; gap:48px; white-space:nowrap;
  font-family:var(--display); font-weight:700; font-size:18px; color:#5c3f0e;
  animation:marquee 32s linear infinite; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* cta */
.cta{ text-align:center; padding-top:88px; padding-bottom:88px; }
.cta .heading{ margin:16px 0 14px; font-size:48px; }
.cta .section-sub{ margin-bottom:32px; }

/* footer */
.footer{ background:var(--forest-deep); color:var(--cream); padding:40px 0; }
.footer__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer__links{ display:flex; gap:24px; font-size:14px; opacity:.7; }
.footer__copy{ font-size:13px; opacity:.5; }

/* legal / prose pages (privacy, terms, refunds) */
.legal{ max-width:760px; padding-top:48px; padding-bottom:72px; }
.legal h1{ font-size:40px; margin-bottom:6px; }
.legal .updated{ color:var(--ink50); font-size:14px; margin-bottom:6px; }
.legal .tldr{ background:var(--vegan-surface); border:1px solid var(--vegan-border);
  border-radius:16px; padding:18px 20px; margin:22px 0 8px; }
.legal .tldr p{ color:var(--vegan-sub); margin:6px 0 0; }
.legal .tldr strong{ color:var(--vegan-text); font-family:var(--display); }
.legal h2{ font-family:var(--display); font-weight:800; font-size:22px; margin:34px 0 8px; }
.legal h3{ font-weight:700; font-size:16px; margin:20px 0 4px; color:var(--forest); }
.legal p{ color:var(--ink70); line-height:1.65; margin:10px 0; font-size:16px; }
.legal ul.bullets{ margin:10px 0; padding-left:0; list-style:none; }
.legal ul.bullets li{ position:relative; padding-left:22px; margin:9px 0; color:var(--ink70); line-height:1.6; }
.legal ul.bullets li::before{ content:""; position:absolute; left:4px; top:11px; width:7px; height:7px;
  border-radius:2px; background:var(--sprout); }
.legal ul.bullets li b{ color:var(--forest); }
.legal a{ color:var(--sprout-deep); text-decoration:underline; }
.legal .note{ font-size:13.5px; color:var(--ink50); line-height:1.55; border-top:1px solid var(--sand-line);
  margin-top:44px; padding-top:16px; }

/* animations */
.float{ animation:bob 3s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-9px);} }

@media (prefers-reduced-motion: reduce){
  .float, .marquee__track{ animation:none; }
}

/* responsive */
@media (max-width:720px){
  .display{ font-size:44px; } .heading{ font-size:32px; } .cta .heading{ font-size:36px; }
  .nav__links a:not(.btn){ display:none; }
  .grades{ grid-template-columns:1fr; }
  .container{ padding-left:20px; padding-right:20px; }
}

/* ── support form ─────────────────────────────────────────────────────── */
.support{ max-width:640px; padding-top:56px; padding-bottom:80px; }
.support .display{ margin-bottom:10px; }
.support .lede{ font-size:18px; color:var(--ink70); margin:0 0 30px; }
.support__form{ display:flex; flex-direction:column; gap:18px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-weight:700; font-size:14px; color:var(--forest); }
.field input, .field select, .field textarea{
  font-family:var(--body); font-size:16px; color:var(--forest);
  background:#fff; border:1px solid var(--sand); border-radius:12px;
  padding:12px 14px; width:100%; box-sizing:border-box;
}
.field textarea{ min-height:150px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--sprout); box-shadow:0 0 0 3px var(--vegan-surface);
}
/* honeypot — off-screen, never shown to humans */
.field--hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.support__submit{ align-self:flex-start; border:none; cursor:pointer;
  font-family:var(--body); padding:13px 28px; font-size:16px; }
.support__submit[disabled]{ opacity:.6; cursor:default; }
.form-status{ font-size:15px; font-weight:600; border-radius:12px; padding:13px 16px; }
.form-status--ok{ background:var(--vegan-surface); color:var(--vegan-text); border:1px solid var(--vegan-border); }
.form-status--err{ background:#FBECEC; color:#B4322B; border:1px solid #F0CFCC; }
.support__fine{ font-size:13px; color:var(--ink50); margin-top:2px; }
