/* ============================================================================
   BiteBop — "Ink & Zest" landing site
   Warm cream light theme for marketing surfaces; the app's dark-mode UI is shown
   as dark "product islands" (phones + data panels) via scoped token overrides.
   One loud accent on a calm canvas. Numbers are the hero.
   ========================================================================== */

/* ----------  Tokens (light / cream)  ------------------------------------- */
:root {
  /* Accents */
  --zest:         #C6F24E;   /* primary CTA fill — always ink text on it */
  --zest-text:    #4E6410;   /* zest as text/accent on cream (legible) */
  --zest-graphic: #6E9612;   /* zest for small strokes/icons on cream */
  --iris:         #8B7CFF;   /* projection / forecast, premium accents (fills) */
  --iris-text:    #4F41B8;   /* iris as text on cream */
  --ember:        #FF7A45;
  --sky:          #4FC3F7;
  --gold:         #F5C542;
  --alert:        #E23B40;

  --ink:          #0D0F12;   /* dark ink — text-on-zest, dark product islands */

  /* Surfaces */
  --canvas:       #FAF8F3;   /* warm cream page canvas — never clinical white */
  --ink-surface:  #FFFFFF;   /* card fill (repointed dark inside product islands) */
  --ink-elevated: #F1EDE4;
  --surface-2:    #F1EDE4;
  --cream:        #FAF8F3;

  /* Text */
  --text-1: #14171D;
  --text-2: #5A6472;
  --text-3: #8A94A3;

  /* Lines & fills */
  --hairline: rgba(13,15,18,.09);
  --hairline-2: rgba(13,15,18,.15);
  --fill-soft: rgba(13,15,18,.04);
  --card-shadow: 0 2px 14px rgba(20,23,29,.06);

  /* Type */
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-card: 20px;
  --r-btn: 16px;
  --r-sheet: 28px;

  /* Layout */
  --maxw: 1160px;
  --gutter: 24px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------  Reset  ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--canvas);
  color: var(--text-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--zest-text); outline-offset: 3px; border-radius: 4px; }

/* ----------  Dark "product islands"  -------------------------------------
   Phones, data panels and floating chips depict the app's dark-mode UI. We
   re-point the surface/text tokens to dark values for their subtrees, and set
   an explicit color so inherited text flips light too.                       */
.phone-screen, .panel, .chip {
  --ink-surface:  #16191F;
  --ink-elevated: #1F242C;
  --text-1: #F5F7F2;
  --text-2: #9BA3AF;
  --text-3: #7B8494;
  --hairline: rgba(255,255,255,.08);
  --hairline-2: rgba(255,255,255,.14);
  --fill-soft: rgba(255,255,255,.05);
  --zest-text: #C6F24E;
  --zest-graphic: #C6F24E;
  --iris-text: #8B7CFF;
  color: var(--text-1);
}

/* Numbers never jitter */
.tnum, .metric, .hero-metric { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ----------  Ambient background glow  ------------------------------------ */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(130px); opacity: .55;
}
.aurora::before {
  width: 620px; height: 620px; top: -240px; left: -140px;
  background: radial-gradient(circle, rgba(198,242,78,.5), transparent 70%);
}
.aurora::after {
  width: 560px; height: 560px; top: 340px; right: -180px;
  background: radial-gradient(circle, rgba(139,124,255,.28), transparent 70%);
}

/* ----------  Layout helpers  --------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 132px); position: relative; scroll-margin-top: 96px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--zest-text); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow.iris { color: var(--iris-text); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; opacity: .8; }
.lede { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 44ch; }

/* ----------  Buttons  ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px;
  padding: 15px 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--zest); color: var(--ink); }
.btn-primary:hover { background: #d4ff5e; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-1); border-color: var(--hairline-2); }
.btn-ghost:hover { border-color: var(--zest-text); color: var(--zest-text); transform: translateY(-2px); }

/* App Store badge (non-clickable placeholder until the link exists) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px;
  border-radius: 14px; background: #0D0F12; color: #FFFFFF;
  font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s;
}
.appstore:not(.disabled):hover { transform: translateY(-2px); }
.appstore > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.appstore .sub { font-size: 11px; font-weight: 600; opacity: .62; line-height: 1.1; letter-spacing: .02em; }
.appstore .big { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.appstore.disabled { opacity: .5; cursor: not-allowed; }
.appstore.disabled:hover { transform: none; }
.appstore .apple { width: 26px; height: 26px; }
.coming {
  display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--text-3);
  letter-spacing: .02em;
}
.coming b { color: var(--zest-text); font-weight: 700; }

/* ----------  Top nav (floating pill)  ------------------------------------ */
.nav-outer { position: sticky; top: 0; z-index: 60; padding-top: 18px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
  width: min(940px, calc(100% - 32px)); margin-inline: auto;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid var(--hairline);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 10px 34px rgba(20,23,29,.10); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .mark { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--text-2); font-weight: 500; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--zest-text); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: 0; color: var(--text-1); padding: 8px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-appstore-mini { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.open { border-radius: 22px; flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    width: 100%; order: 3; padding: 8px 8px 12px; font-size: 17px;
  }
}

/* ----------  Hero  ------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px); line-height: 1.18; letter-spacing: -.03em;
}
.hero h1 .em { font-style: italic; font-weight: 400; font-family: Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.hero h1 .zest {
  background: var(--zest); color: #0D0F12; padding: .08em .14em .12em; border-radius: 10px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 46ch; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.rating .stars { color: var(--gold); letter-spacing: 2px; }
.rating b { color: var(--text-1); font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { order: -1; margin-inline: auto; }
}

/* ----------  Phone mockup  ----------------------------------------------- */
.hero-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 393 / 852; border-radius: 46px;
  background: linear-gradient(160deg, #23262d, #0b0d10);
  padding: 11px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
.phone.tilt { transform: rotate(3deg); }
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: #0D0F12; border: 1px solid rgba(255,255,255,.05);
}
.notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 92px; height: 26px; background: #000; border-radius: 999px;
}
/* Real device screenshot filling a phone frame */
.phone-screen img.shot {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; background: #0D0F12;
}
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px 6px; font-size: 12px; font-weight: 700; color: var(--text-1);
}
.statusbar .icons { display: flex; gap: 5px; align-items: center; opacity: .85; }
.statusbar .icons span { display: inline-block; width: 16px; height: 10px; }

.screen-pad { padding: 4px 16px 16px; }
.screen-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.micro { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* Floating callout chips around the phone */
.chip {
  position: absolute; z-index: 8; display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: 16px; background: rgba(24,27,34,.92);
  border: 1px solid var(--hairline-2); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); max-width: 220px;
}
.chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .k { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.chip .v { font-size: 14px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.chip.c1 { top: 8%; left: -8%; }
.chip.c2 { top: 40%; right: -14%; }
.chip.c3 { bottom: 9%; left: -10%; }
@media (max-width: 1080px) { .chip.c1 { left: -2%; } .chip.c2 { right: -4%; } .chip.c3 { left: -2%; } }
@media (max-width: 520px) { .chip { display: none; } }

.float { animation: float 6s ease-in-out infinite; }
.float.d1 { animation-delay: -2s; }
.float.d2 { animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ----------  In-app UI fragments (used in mockups)  ---------------------- */
.ring-wrap { display: grid; place-items: center; margin: 10px 0 2px; }
.ring-center { position: absolute; text-align: center; }
.ring-center .n { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ring-center .u { font-size: 9px; font-weight: 700; letter-spacing: .16em; color: var(--text-3); margin-top: 4px; }

.macro-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.macro { }
.macro .lab { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.macro .val { font-size: 15px; font-weight: 800; margin-top: 2px; }
.macro .val small { color: var(--text-3); font-weight: 600; font-size: 11px; }
.macro .bar { height: 4px; border-radius: 3px; background: var(--fill-soft); margin-top: 6px; overflow: hidden; }
.macro .bar i { display: block; height: 100%; border-radius: 3px; }

.mealcard {
  display: flex; gap: 12px; align-items: center; padding: 10px; margin-top: 12px;
  background: var(--ink-surface); border: 1px solid var(--hairline); border-radius: 16px;
}
.mealcard .thumb { width: 52px; height: 52px; border-radius: 12px; flex: none; background-size: cover; }
.mealcard .name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.mealcard .meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.mealcard .check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--zest); color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 900; flex: none; }

/* Shop list rows */
.aisle { margin-top: 14px; }
.aisle h5 { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.grow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.grow .q { width: 26px; height: 26px; border-radius: 8px; background: var(--fill-soft); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--text-2); flex: none; }
.grow .nm { font-weight: 600; }
.grow .pr { margin-left: auto; color: var(--text-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.budget { margin-top: 14px; }
.budget .bar { height: 8px; border-radius: 5px; background: var(--fill-soft); overflow: hidden; }
.budget .bar i { display: block; height: 100%; background: var(--zest); border-radius: 5px; }
.budget .row { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; color: var(--text-2); }
.instacart-btn {
  margin-top: 14px; width: 100%; border: 0; border-radius: 14px; padding: 13px;
  background: var(--zest); color: var(--ink); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ----------  Logo strip / trust  ----------------------------------------- */
.trust { border-block: 1px solid var(--hairline); }
.trust .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; padding-block: 30px; }
.trust .item { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.trust .item svg { color: var(--zest-text); }
.trust .item img.ic-carrot { width: 20px; height: 22px; }

/* Instacart lockup (partner attribution) */
.instacart-lockup {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 11px 20px 11px 16px; border-radius: 999px; background: #FFFFFF;
  border: 1px solid var(--hairline); box-shadow: var(--card-shadow);
}
.instacart-lockup .lbl { font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.instacart-lockup .word { display: inline-flex; align-items: center; gap: 7px; }
.instacart-lockup .word img { width: 21px; height: 25px; }
.instacart-lockup .word b { font-size: 17px; font-weight: 800; color: #1B7A34; letter-spacing: -.01em; }

/* ----------  Feature sections (alternating)  ----------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature.rev .feature-visual { order: 2; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }
.feature .lede { margin-top: 20px; }
.feature .points { margin-top: 24px; display: grid; gap: 14px; }
.point { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.point .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(110,150,18,.16); color: var(--zest-text); display: grid; place-items: center; font-weight: 900; font-size: 12px; margin-top: 1px; }
.point b { color: var(--text-1); font-weight: 700; }

.feature-visual { position: relative; }
@media (max-width: 900px) {
  .feature, .feature.rev { grid-template-columns: 1fr; }
  .feature.rev .feature-visual { order: 0; }
}

/* Panel card that holds a visual */
.panel {
  position: relative; border-radius: var(--r-card); padding: 24px;
  background: linear-gradient(180deg, #16191F, #101318);
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -34px rgba(20,23,29,.5);
  overflow: hidden;
}
.panel .glow { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(400px 200px at 80% -10%, rgba(139,124,255,.18), transparent 70%); }

/* Forecast chart panel */
.forecast-head { display: flex; justify-content: space-between; align-items: baseline; }
.forecast-head .big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.forecast-head .lab { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.milestone-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(139,124,255,.16); color: var(--iris); font-size: 12px; font-weight: 700;
  border: 1px solid rgba(139,124,255,.3);
}
.legend { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.legend i.dash { background: repeating-linear-gradient(90deg, var(--iris) 0 4px, transparent 4px 7px); }

/* TDEE / stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat {
  background: var(--ink-surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 20px;
}
.stat .n { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.stat .n.iris { color: var(--iris); }
.stat .n.zest { color: var(--zest); }
.stat .k { font-size: 13px; color: var(--text-2); margin-top: 4px; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; } }

/* ----------  Steps (how it works)  --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step {
  background: var(--ink-surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 24px; position: relative; overflow: hidden; box-shadow: var(--card-shadow);
}
.step .num { font-size: 13px; font-weight: 800; color: var(--zest-text); letter-spacing: .1em; }
.step h4 { font-size: 18px; margin-top: 14px; letter-spacing: -.02em; }
.step p { color: var(--text-2); font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ----------  Safety band  ------------------------------------------------ */
.band {
  border-radius: 28px; padding: clamp(32px,5vw,56px);
  background: linear-gradient(135deg, #FFFFFF, #F4F0E8);
  border: 1px solid var(--hairline); position: relative; overflow: hidden;
  box-shadow: 0 22px 50px -34px rgba(20,23,29,.18);
}
.band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 260px at 92% 6%, rgba(198,242,78,.28), transparent 70%); }
.band .inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); }
.band .lede { margin-top: 18px; }
.mini-list { display: grid; gap: 12px; }
.mini { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--hairline); font-size: 14px; font-weight: 500; box-shadow: var(--card-shadow); }
.mini .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--zest-graphic); flex: none; }
@media (max-width: 820px) { .band .inner { grid-template-columns: 1fr; } }

/* ----------  Final CTA  -------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.2; }
.cta-final .zest {
  background: var(--zest); color: #0D0F12; padding: .08em .14em .12em; border-radius: 10px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cta-final .lede { margin: 22px auto 0; text-align: center; }
.cta-final .hero-actions { justify-content: center; }

/* ----------  Footer  ----------------------------------------------------- */
footer { border-top: 1px solid var(--hairline); background: var(--surface-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--text-2); font-size: 14px; max-width: 34ch; }
.foot-col h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; font-weight: 700; }
.foot-col a, .foot-col span { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--zest-text); }
.made {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--text-2);
  padding: 12px 14px; background: #FFFFFF; border: 1px solid var(--hairline); border-radius: 14px; max-width: max-content; box-shadow: var(--card-shadow);
}
.made .flag { font-size: 16px; }
.made b { color: var(--text-1); font-weight: 700; }
.foot-bottom {
  border-top: 1px solid var(--hairline); padding-block: 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-3);
}
.foot-bottom a { color: var(--text-3); }
.foot-bottom a:hover { color: var(--text-2); }
.disclaimer {
  font-size: 12px; color: var(--text-3); line-height: 1.6; padding-block: 22px; border-top: 1px solid var(--hairline);
  max-width: 90ch;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ----------  Reveal on scroll  -------------------------------------------
   Content is visible by default. Only when JS is present (.js on <html>) do we
   hide-then-reveal, so a scripting failure can never leave the page blank.     */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------  Legal / content pages  ------------------------------------- */
.page-hero { padding-top: clamp(60px, 10vw, 110px); padding-bottom: 20px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.03em; }
.page-hero .sub { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.updated { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.legal { max-width: 800px; margin-inline: auto; padding-bottom: 90px; }
.legal h2 { font-size: 22px; margin-top: 44px; letter-spacing: -.02em; scroll-margin-top: 100px; }
.legal h3 { font-size: 17px; margin-top: 28px; font-weight: 700; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--zest-text); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text-1); }
.callout {
  margin-top: 24px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255,90,95,.28);
  background: rgba(255,90,95,.07);
}
.callout.iris { border-color: rgba(139,124,255,.3); background: rgba(139,124,255,.08); }
.callout p { margin-top: 0; color: var(--text-1); }
.toc {
  position: sticky; top: 96px; align-self: start; font-size: 14px;
}
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.toc h5 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
.toc a { display: block; color: var(--text-2); padding: 6px 0; text-decoration: none; }
.toc a:hover { color: var(--zest-text); }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* About page */
.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.about-hero h1 { font-size: clamp(34px, 5vw, 60px); }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.value {
  background: var(--ink-surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 26px; box-shadow: var(--card-shadow);
}
.value .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.value h4 { font-size: 18px; letter-spacing: -.02em; }
.value p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }

.venture {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  border-radius: 24px; padding: clamp(28px,4vw,48px);
  background: linear-gradient(135deg, #FFFFFF, #F3EFE7); border: 1px solid var(--hairline);
  box-shadow: 0 22px 50px -34px rgba(20,23,29,.18);
}
.venture .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(139,124,255,.16); color: var(--iris-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.venture h3 { font-size: clamp(26px,3.2vw,36px); margin-top: 16px; }
@media (max-width: 820px) { .venture { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--ink-surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 28px; box-shadow: var(--card-shadow);
}
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); min-width: 0; }
.contact-row:last-child { border-bottom: 0; }
.contact-row > div { min-width: 0; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--fill-soft); display: grid; place-items: center; color: var(--zest-text); flex: none; }
.contact-row .k { font-size: 12px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }
.contact-row .v { font-size: 16px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }

/* Ad-hoc two-column grids (About founder block, Support contact cards) must
   stack on narrow screens — their inline grid-template needs !important here. */
@media (max-width: 720px) {
  .founder-grid, .support-grid { grid-template-columns: 1fr !important; }
}
/* Give the long email room to sit on one line on phones (falls back to wrapping
   on very narrow devices thanks to overflow-wrap above). */
@media (max-width: 480px) {
  .contact-card { padding: 22px 20px; }
  .contact-row { gap: 12px; }
  .contact-row .v { font-size: 15px; }
}
.placeholder-note { color: var(--gold); font-weight: 600; }
