/* ======================================================
   FOODIFY — Marketing site v2
   Aesthetic: Editorial cream + cinematic dark
   Display: Bricolage Grotesque  /  Body: Plus Jakarta Sans
   ====================================================== */

*,*::before,*::after { box-sizing: border-box; }

:root {
  /* Brand — matched to app `appAccent` (foodifyGreen) */
  --green:        #3DDC84;
  --green-hi:     #4FE89A;
  --green-soft:   #C8F4DC;
  --green-tint:   #E8FAEF;

  /* Light, cool app palette */
  --cream:        #F4F5F7;     /* primary bg (matches app background) */
  --cream-2:      #ECEDEF;     /* slightly deeper */
  --paper:        #FFFFFF;     /* surface card */
  --paper-2:      #FAFBFC;

  /* Ink — neutral, slightly cool */
  --ink:          #0A0A0C;
  --ink-2:        #1C1C1F;
  --ink-3:        #5A5A60;
  --ink-4:        #8E8E93;
  --ink-5:        #C7C7CC;
  --line:         #E3E4E8;
  --line-soft:    #EFF0F3;

  /* Accents from app */
  --orange:       #FF7A39;
  --berry:        #E55353;
  --amber:        #F4B23A;

  /* Type */
  --font-display: "Bricolage Grotesque", "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-brand:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Legacy aliases (used by legal pages) */
  --green-deep: var(--green);
  --surface:    var(--paper);
  --surface-2:  var(--paper-2);
  --bg:         var(--cream);

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-soft:  0 2px 4px rgba(14,20,17,.04), 0 8px 24px rgba(14,20,17,.06);
  --shadow-card:  0 1px 2px rgba(14,20,17,.05), 0 16px 48px rgba(14,20,17,.08);
  --shadow-phone: 0 24px 48px -8px rgba(14,20,17,.28), 0 60px 120px -20px rgba(14,20,17,.22), 0 2px 0 rgba(255,255,255,.4) inset;
}

html { -webkit-text-size-adjust: 100%; }
html:not(:has(.no-smooth)) { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain over everything for warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 1;
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; padding: 0; }
em { font-style: italic; }

/* z-index over the grain */
.container, nav, footer, main { position: relative; z-index: 2; }

/* ======================================================
   Layout
   ====================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; }

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
}

/* ======================================================
   Wordmark
   ====================================================== */
.wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.wordmark .accent { color: var(--green); }

/* ======================================================
   NAV
   ====================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,245,247,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  background: rgba(244,245,247,.92);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__brand { font-size: 28px; }

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav__links a { position: relative; transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--green-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.65,0,.35,1);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--r-pill);
  transition: transform .15s ease, background .2s ease;
}
.nav__cta:hover { background: #1A2520; transform: translateY(-1px); }
.nav__cta svg { width: 14px; height: 14px; }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ======================================================
   HERO
   ====================================================== */

.hero {
  position: relative;
  padding: 56px 0 160px;
  overflow: hidden;
}

/* large blurred orb behind */
.hero::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  right: -240px;
  top: -120px;
  background: radial-gradient(circle at 50% 50%, rgba(45,212,119,.20), rgba(45,212,119,0) 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  left: -200px;
  bottom: -150px;
  background: radial-gradient(circle at 50% 50%, rgba(255,122,57,.16), rgba(255,122,57,0) 60%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero__eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-hi);
  box-shadow: 0 0 0 0 rgba(45,212,119,.6);
  animation: pulse 2s ease-out infinite;
  margin-left: 6px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,212,119,.6); }
  70% { box-shadow: 0 0 0 10px rgba(45,212,119,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,119,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "wdth" 100;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero__title .u {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
}
.hero__title .u svg {
  position: absolute;
  bottom: -8px;
  left: -8%;
  width: 116%;
  height: 28px;
  stroke: var(--green-hi);
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: scribble 1.4s 1.1s cubic-bezier(.22,.8,.3,1) forwards;
}
@keyframes scribble {
  to { stroke-dashoffset: 0; }
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-3);
  max-width: 460px;
  margin: 0 0 36px;
  font-weight: 450;
  line-height: 1.55;
}
.hero__sub b { color: var(--ink-2); font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn-store:hover {
  background: #1A2520;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14,20,17,.18);
}
.btn-store svg { width: 26px; height: 26px; flex-shrink: 0; }
.btn-store__small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 1px;
  text-transform: uppercase;
}
.btn-store__big {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: transparent;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 600;
  font-size: 14.5px;
  transition: gap .2s ease;
}
.btn-ghost:hover { gap: 14px; }

/* Hero rating bar */
.hero__rating {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__rating .avatars {
  display: flex;
}
.hero__rating .avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid var(--cream);
  object-fit: cover;
  margin-left: -10px;
}
.hero__rating .avatars img:first-child { margin-left: 0; }
.hero__rating .meta { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.hero__rating .meta b { color: var(--ink); font-weight: 700; }
.hero__rating .stars { color: #F4B23A; letter-spacing: 1px; font-size: 13px; }

/* Hero visual — single phone, food image atmosphere */
.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
}

.hero__food {
  position: absolute;
  inset: 0;
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
  animation: blob 18s ease-in-out infinite;
}
.hero__food img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
@keyframes blob {
  0%,100% { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; transform: rotate(-3deg) scale(1); }
  50% { border-radius: 55% 45% 45% 55% / 50% 60% 40% 50%; transform: rotate(-1deg) scale(1.02); }
}

.hero__phone {
  position: absolute;
  top: 50%; left: 50%;
  width: 56%;
  transform: translate(-50%, -50%) rotate(6deg);
  animation: floatY 6.5s ease-in-out infinite;
  height: auto;
}
@keyframes floatY {
  0%,100% { transform: translate(-50%, -50%) rotate(6deg) translateY(0); }
  50%     { transform: translate(-50%, -50%) rotate(6deg) translateY(-14px); }
}

/* Floating live callout — clean, single */
.hero__callout {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  z-index: 3;
  animation: floatY 5s ease-in-out -2s infinite;
}
.hero__callout--top {
  top: 6%;
  left: -4%;
  max-width: 220px;
}
.hero__callout--bot {
  bottom: 4%;
  right: -2%;
  max-width: 240px;
  animation-delay: -3s;
}
.hero__callout .ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--green-tint);
  flex-shrink: 0;
}
.hero__callout small {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  margin-bottom: 2px;
  font-weight: 700;
}
.hero__callout strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .hero { padding: 32px 0 100px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { justify-self: center; max-width: 440px; aspect-ratio: 1 / 1.05; }
  .hero__callout--top { left: -6%; }
  .hero__callout--bot { right: -6%; }
}

/* ======================================================
   Phone mock — clean, properly sized
   ====================================================== */

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0A0D0B;
  border-radius: 14% / 6.5%;
  padding: 2.6%;
  box-shadow: var(--shadow-phone);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11.5% / 5.3%;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone__notch {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 2.4%;
  background: #0A0D0B;
  border-radius: 999px;
  z-index: 3;
}
/* side keys (subtle) */
.phone::before, .phone::after {
  content: "";
  position: absolute;
  background: #1A1F1C;
  border-radius: 2px;
}
.phone::before {
  left: -2px;
  top: 18%;
  width: 3px;
  height: 7%;
  box-shadow: 0 12% 0 #1A1F1C, 0 22% 0 #1A1F1C;
}
.phone::after {
  right: -2px;
  top: 22%;
  width: 3px;
  height: 12%;
}

/* Hero phone — high specificity to override generic .phone width:100% */
.hero .hero__phone.phone {
  position: absolute;
  top: 50%; left: 50%;
  width: 56%;
  transform: translate(-50%, -50%) rotate(6deg);
  animation: floatY 6.5s ease-in-out infinite;
}

/* ======================================================
   MARQUEE (food strip) — atmosphere divider
   ====================================================== */

.foodstrip {
  background: var(--ink);
  color: var(--cream);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
}
.foodstrip__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
}
.foodstrip__track span { display: inline-flex; align-items: center; gap: 56px; }
.foodstrip__track .dot {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--green-hi);
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ======================================================
   FEATURE BLOCKS — big alternating
   ====================================================== */

.shead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.shead__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.shead__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.shead__title em {
  font-style: italic;
  color: var(--ink-3);
  font-weight: 400;
}
.shead__title .a { color: var(--green); }
.shead__sub {
  font-size: 18px;
  color: var(--ink-3);
  margin: 0;
  text-wrap: pretty;
}

/* Big spotlight block: huge phone + copy */
.spot {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 140px;
  position: relative;
}
.spot:last-child { margin-bottom: 0; }

.spot--reverse .spot__media { order: 2; }

.spot__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
}

.spot__bg {
  position: absolute;
  inset: 0;
  border-radius: 32% 68% 50% 50% / 60% 40% 60% 40%;
  overflow: hidden;
  background: var(--cream-2);
}
.spot__bg img { width: 100%; height: 100%; object-fit: cover; }
.spot--alt .spot__bg { background: linear-gradient(135deg, var(--green-tint), var(--cream-2)); }

.spot__phone {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 20px 40px rgba(14,20,17,.18));
}
.spot--reverse .spot__phone { transform: translate(-50%, -50%) rotate(4deg); }

.spot__tag {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.spot__tag .ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--green-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.spot__num {
  position: absolute;
  top: -16px;
  left: -16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 96px;
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
  z-index: 2;
}
.spot__num small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
}

.spot__copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 12px 0 20px;
  text-wrap: balance;
}
.spot__copy h2 em {
  font-style: italic;
  color: var(--ink-3);
}
.spot__copy h2 .a { color: var(--green); }

.spot__copy .lede {
  font-size: 18.5px;
  color: var(--ink-3);
  margin: 0 0 28px;
  text-wrap: pretty;
}

.spot__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.spot__list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.spot__list li:first-child { border-top: 0; padding-top: 0; }
.spot__list .ic {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}
.spot__list b { display: block; font-weight: 700; margin-bottom: 4px; color: var(--ink); font-size: 16px; }
.spot__list span { color: var(--ink-3); font-size: 15px; line-height: 1.5; }

@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .spot--reverse .spot__media { order: 0; }
  .spot__media { max-width: 440px; margin: 0 auto; }
  .spot__num { font-size: 72px; top: -8px; left: 0; }
}

/* ======================================================
   FOOD FULL-BLEED EDITORIAL BAND
   ====================================================== */

.editorial {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,20,17,.95) 0%, rgba(14,20,17,.7) 40%, rgba(14,20,17,.4) 100%);
}
.editorial .container { position: relative; z-index: 1; }
.editorial__copy { max-width: 720px; padding: 96px 0; }
.editorial__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
}
.editorial__quote em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(45,212,119,.35) 60%);
  padding: 0 4px;
}
.editorial__attr {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

/* ======================================================
   FEATURE GRID — compact 4
   ====================================================== */

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gcard {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gcard:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-card);
}
.gcard .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.gcard.dark .ic { background: var(--ink); color: var(--green-hi); }
.gcard h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.gcard p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 980px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }

/* ======================================================
   COACH / MASCOT
   ====================================================== */

.coach {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}
.coach__inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 80px;
  align-items: center;
}
.coach__art {
  position: relative;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.coach__chip-bg {
  position: absolute;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(61,220,132,.18), rgba(61,220,132,0) 70%);
}
.coach__char {
  position: relative;
  width: 320px; height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 12px solid #fff;
  box-shadow: 0 40px 80px rgba(61,220,132,.22);
  z-index: 1;
  animation: bobR 5s ease-in-out infinite;
}
.coach__char img {
  position: absolute;
  width: 100%;
  top: -32%;
  transform: scale(1.55);
  transform-origin: center 28%;
}
@keyframes bobR {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%     { transform: translateY(-12px) rotate(1.5deg); }
}

.bubble {
  position: absolute;
  background: #fff;
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  font-weight: 500;
  font-size: 14.5px;
  max-width: 260px;
  z-index: 2;
  border: 1px solid var(--line-soft);
}
.bubble strong { font-weight: 700; }
.bubble::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  background: #fff;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  transform: rotate(45deg);
}
.bubble.user {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.bubble.user::after { background: var(--ink); border-color: var(--ink); }

.bubble.b1 { top: 6%; right: 0; animation: bubbleFloat 6s ease-in-out infinite; }
.bubble.b1::after { bottom: -7px; left: 30%; }

.bubble.b2 { bottom: 20%; left: 0; animation: bubbleFloat 6s ease-in-out -2s infinite; }
.bubble.b2::after { top: -7px; right: 30%; }

.bubble.b3 { bottom: 4%; right: 8%; animation: bubbleFloat 6s ease-in-out -4s infinite; }
.bubble.b3::after { top: -7px; left: 20%; }

@keyframes bubbleFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .coach__inner { grid-template-columns: 1fr; gap: 32px; }
  .coach__art { min-height: 380px; }
  .coach__char { width: 240px; height: 240px; border-width: 8px; }
}

/* ======================================================
   GALLERY — screen film
   ====================================================== */

.gallery {
  background: var(--ink);
  color: var(--cream);
  padding: 120px 0 80px;
  overflow: hidden;
}
.gallery .shead__title { color: #fff; }
.gallery .shead__sub { color: rgba(255,255,255,.55); }
.gallery .shead__eyebrow { background: var(--green-hi); color: var(--ink); }

.gallery__track {
  display: flex;
  gap: 28px;
  padding: 32px 28px 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.gitem {
  flex: 0 0 230px;
  scroll-snap-align: center;
  transition: transform .35s cubic-bezier(.22,.8,.3,1);
}
.gitem:hover { transform: translateY(-12px); }
.gitem .phone { box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.gitem .label {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
}
.gitem .sub {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ======================================================
   STATS — huge numbers
   ====================================================== */

.stats {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--green-tint) 100%);
  color: var(--ink);
  padding: 88px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: end;
}
.stat {
  border-top: 2px solid var(--green-soft);
  padding-top: 22px;
}
.stat__big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.stat__big .a { color: var(--green); }
.stat__lab {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 10px;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 820px) {
  .stats { padding: 56px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ======================================================
   TESTIMONIALS
   ====================================================== */

.tests__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tcard {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.tcard__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.tcard__quote em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 60%, rgba(45,212,119,.3) 60%);
  padding: 0 3px;
}
.tcard__person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tcard__person img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.tcard__person .name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
.tcard__person .role {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-top: 2px;
}
.tcard__stars {
  color: #F4B23A;
  font-size: 14px;
  letter-spacing: 2px;
}

@media (max-width: 920px) {
  .tests__grid { grid-template-columns: 1fr; }
}

/* ======================================================
   PRIVACY
   ====================================================== */

.priv {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line);
}
.priv h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.priv h2 em { font-style: italic; color: var(--green); }
.priv p { color: var(--ink-3); margin: 0 0 28px; font-size: 16.5px; }
.priv__list {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: grid;
  gap: 16px;
}
.priv__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
}
.priv__list li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--green);
  margin-top: 2px;
}
.priv__visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink) 0%, #1A2520 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.priv__visual .grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(45,212,119,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(45,212,119,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.priv__visual .ring {
  position: absolute;
  border: 1.5px solid rgba(45,212,119,.25);
  border-radius: 50%;
  animation: ringPulse 3.5s ease-out infinite;
}
.priv__visual .ring.r1 { width: 180px; height: 180px; }
.priv__visual .ring.r2 { width: 260px; height: 260px; animation-delay: -1.2s; }
.priv__visual .ring.r3 { width: 340px; height: 340px; animation-delay: -2.4s; }
@keyframes ringPulse {
  0% { transform: scale(.7); opacity: .55; }
  100% { transform: scale(1.15); opacity: 0; }
}
.priv__visual .shield {
  position: relative;
  width: 132px; height: 132px;
  border-radius: 36px;
  background: var(--green-hi);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(45,212,119,.32);
}
.priv__visual .shield svg { width: 62px; height: 62px; }

@media (max-width: 900px) {
  .priv { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .priv__visual { min-height: 280px; }
}

/* ======================================================
   FAQ
   ====================================================== */

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  color: var(--ink-3);
  transition: transform .25s ease, color .25s ease;
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "−";
  color: var(--green);
}
.faq__item[open] summary { padding-bottom: 8px; }
.faq__item .answer {
  padding: 0 8px 28px;
  color: var(--ink-3);
  font-size: 16.5px;
  max-width: 640px;
  line-height: 1.6;
}

/* ======================================================
   FINAL CTA
   ====================================================== */

.cta {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: 96px 28px;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(45,212,119,.25), rgba(45,212,119,0) 60%);
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #fff;
  position: relative;
  text-wrap: balance;
}
.cta h2 em { font-style: italic; color: var(--green-hi); }
.cta p {
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 17px;
  position: relative;
}
.cta .ctas {
  display: inline-flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
.cta .btn-store--light {
  background: var(--green-hi);
  color: var(--ink);
}
.cta .btn-store--light:hover { background: #4DE48A; }
.cta__note {
  margin-top: 28px;
  font-size: 12.5px;
  color: rgba(255,255,255,.42);
  position: relative;
}

/* ======================================================
   FOOTER
   ====================================================== */

.foot {
  padding: 64px 0 56px;
  border-top: 1px solid var(--line);
  margin-top: 100px;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.foot__brand .wordmark { font-size: 36px; margin-bottom: 16px; display: inline-block; }
.foot__brand p { color: var(--ink-3); font-size: 14.5px; max-width: 340px; margin: 0; }
.foot__col h4 {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
  font-weight: 700;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot__col a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.foot__col a:hover { color: var(--green); }
.foot__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .foot__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ======================================================
   REVEAL
   ====================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,.8,.3,1), transform .9s cubic-bezier(.22,.8,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.r-d1 { transition-delay: .08s; }
.r-d2 { transition-delay: .16s; }
.r-d3 { transition-delay: .24s; }
.r-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ======================================================
   LEGAL pages
   ====================================================== */

.legal { padding: 72px 0 96px; }
.legal__inner {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 64px;
}
.legal__crumb {
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 600;
  margin-bottom: 12px;
}
.legal__crumb a { color: var(--ink-4); }
.legal__crumb a:hover { color: var(--green); }

.legal h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 14px;
}
.legal__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-3);
}
.legal__meta b { color: var(--ink); margin-right: 4px; font-weight: 600; }

.legal__lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 28px 0 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--green-hi);
  background: var(--green-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  line-height: 1.6;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin: 56px 0 14px;
  scroll-margin-top: 100px;
}
.legal h2 .num { color: var(--green); font-weight: 500; margin-right: 12px; }
.legal h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 28px 0 8px;
}

.legal p, .legal li {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal ul, .legal ol { padding-left: 22px; }
.legal ul li, .legal ol li { margin-bottom: 8px; }
.legal a { color: var(--green); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal code {
  background: var(--cream-2);
  padding: 2px 6px;
  border-radius: 5px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 13.5px;
}

.legal__toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 32px 0 48px;
}
.legal__toc h4 {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  font-weight: 700;
}
.legal__toc ol { list-style: none; padding: 0; margin: 0; columns: 2; gap: 16px; }
.legal__toc li {
  margin-bottom: 8px;
  font-size: 14.5px;
  break-inside: avoid;
}
.legal__toc a { color: var(--ink-2); font-weight: 600; }
.legal__toc a:hover { color: var(--green); }

.legal__divider { height: 1px; background: var(--line); margin: 48px 0; }

.legal__contact {
  background: var(--green-tint);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin-top: 32px;
}
.legal__contact h3 { margin-top: 0; }
.legal__contact p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .legal__inner { padding: 40px 24px; }
  .legal__toc ol { columns: 1; }
}

/* ======================================================
   HOW IT WORKS — 3 steps
   ====================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 28px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.step__num {
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--green-hi);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 23px; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.step p { font-size: 15px; color: var(--ink-3); margin: 0; line-height: 1.55; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 16px; } }

/* ======================================================
   HERO trust pills (honest, no fabricated rating)
   ====================================================== */
.trustbar { display: flex; flex-wrap: wrap; gap: 10px; }
.trustbar .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 15px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  backdrop-filter: blur(8px);
}
.trustbar .pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); flex-shrink: 0; }

/* ======================================================
   STICKY mobile download bar
   ====================================================== */
.dlbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(244,245,247,.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.22,.8,.3,1);
}
.dlbar.show { transform: translateY(0); }
.dlbar__brand { display: flex; align-items: center; gap: 10px; }
.dlbar__brand img { width: 36px; height: 36px; border-radius: 9px; }
.dlbar__brand b { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: block; line-height: 1.1; }
.dlbar__brand small { font-size: 11.5px; color: var(--ink-3); }
.dlbar .btn-store { padding: 10px 16px; }
.dlbar .btn-store svg { width: 20px; height: 20px; }
.dlbar .btn-store__small { font-size: 9px; }
.dlbar .btn-store__big { font-size: 15px; }
@media (max-width: 820px) { .dlbar { display: flex; } }

/* ======================================================
   "And there's more" — feature highlights (in stats band)
   ====================================================== */
.morefeat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
  max-width: 1000px;
  margin: 0 auto;
}
.morefeat__item { display: flex; gap: 15px; align-items: flex-start; }
.morefeat__ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 23px; line-height: 1;
}
.morefeat__item b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500; font-size: 17.5px;
  letter-spacing: -0.01em; margin-bottom: 4px; color: var(--ink);
}
.morefeat__item p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 900px) { .morefeat { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; } }
@media (max-width: 560px) { .morefeat { grid-template-columns: 1fr; gap: 20px; } }
