/* GymPip website. One stylesheet for every page: the home page (.site-…) and the text pages (Privacy, Support: .wrap).
   Brand colours from docs/brand.md: Ink #090D16, Tile #141A20, Lime #C6F432. No web fonts, no outside files. */
:root {
  color-scheme: dark;
  --ink: #090d16;
  --tile: #141a20;
  --card: #111821;
  --card-2: #18212c;
  --line: #222d3a;
  --text: #f3f6f4;
  --muted: #a5b0ae;
  --lime: #c6f432;
  --lime-dim: rgba(198, 244, 50, .14);
  --gold: #ffd54a;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Ethiopic", "Nirmala UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--lime); }
strong { color: var(--text); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; z-index: 20; }
.skip:focus { left: 12px; }

/* ---------- Header (every page) ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(9, 13, 22, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header .inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .2px; margin-right: auto; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-small { padding: 9px 15px; font-size: 14px; border-radius: 12px; }
@media (max-width: 640px) { .site-header nav.home-nav { display: none; } .site-header nav { gap: 14px; } }

/* ---------- Home: shared ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 88px 20px; }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.8px; margin: 0 0 16px; }
.section .intro { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 0 44px; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.hl { color: var(--lime); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(closest-side, rgba(198, 244, 50, .16), transparent 70%); pointer-events: none; }
.hero .section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 96px; position: relative; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -1.8px; margin: 0 0 22px; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(198, 244, 50, .28); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 11px 18px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid #3a4452; transition: border-color .15s ease, transform .15s ease; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; color: #c5ccd3; line-height: 1.2; }
.store b { display: block; font-size: 18px; line-height: 1.2; }
.store small { color: var(--lime); font-weight: 700; }
button.store { font: inherit; text-align: left; cursor: pointer; }
.store:hover { border-color: var(--lime); transform: translateY(-1px); }
.hero .fineprint { margin-top: 0; }
.fineprint { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

.hero-art { position: relative; z-index: 0; justify-self: center; width: min(340px, 82vw); }
.pulse { position: absolute; left: -30%; top: 30%; width: 160%; height: auto; opacity: .22; z-index: -1; }
.pulse path { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.4s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* A phone: the screenshot in a rounded black frame. */
.phone { position: relative; border-radius: 46px; padding: 10px; background: #05070b; border: 1px solid #2c3542; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.phone > img { display: block; width: 100%; height: auto; border-radius: 37px; }
.hero .phone { transform: rotate(-3deg); }
.pip-float { position: absolute; width: 132px; right: -58px; top: -34px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.bubble { position: absolute; right: 54px; top: -36px; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; padding: 8px 14px; border-radius: 16px 16px 4px 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); white-space: nowrap; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

@media (max-width: 880px) {
  .hero .section { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .chips, .stores { justify-content: center; }
  .hero-art { margin-top: 30px; }
  .pip-float { width: 104px; right: -26px; }
}

/* ---------- Why strip ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why .icon, .grid .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--lime-dim); display: grid; place-items: center; margin-bottom: 18px; }
.why .icon svg, .grid .icon svg { width: 26px; height: 26px; stroke: var(--lime); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 21px; margin: 0 0 8px; }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .why { grid-template-columns: 1fr; } }

/* ---------- Feature tour ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature, .tour + .tour-dots + .feature { border-top: 1px solid var(--line); }
.tour-dots { display: none; }
.feature h3 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.5px; margin: 0 0 14px; }
.feature p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23C6F432' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.feature-art { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.feature-art .phone { width: min(300px, 70vw); }
.feature-art.pair .phone { width: min(250px, 42vw); }
.feature-art.pair .phone:last-child { margin-top: 64px; }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(198, 244, 50, .13), transparent); z-index: -1; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .feature-copy { order: -1; }
}

/* The arrival: the phone fades in mid-row, slides left, then the words come in. Pairs start stacked and fan out. */
@media (min-width: 881px) and (prefers-reduced-motion: no-preference) {
  .js .feature-art { opacity: 0; scale: .92; translate: calc(50% + 32px) 0; transition: opacity .6s ease, scale .6s ease, translate .9s cubic-bezier(.65, 0, .35, 1) .6s; }
  .js .feature-copy { opacity: 0; translate: 36px 0; transition: opacity .6s ease 1.25s, translate .6s ease 1.25s; }
  .js .feature-art.pair .phone:first-of-type { z-index: 1; translate: calc(50% + 9px) 0; transition: translate .7s ease 1.35s; }
  .js .feature-art.pair .phone:last-child { translate: calc(-50% - 9px) -64px; transition: translate .7s ease 1.35s; }
  .js .feature.seen :is(.feature-art, .feature-copy, .feature-art.pair .phone) { opacity: 1; scale: 1; translate: none; }
}
@media (max-width: 880px) and (prefers-reduced-motion: no-preference) {
  .js .feature { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .js .feature.seen { opacity: 1; transform: none; }
}

/* The photo demo: one phone plays Snap your meal in GymPip, from Add Food to the foods (script in index.html). */
.ai-phone .screen { position: relative; aspect-ratio: 585 / 1195; border-radius: 37px; overflow: hidden; background: var(--ink); color: var(--text); font-size: 12px; line-height: 1.4; }
.ai-phone .screen p { margin: 0; font-size: 12px; color: inherit; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--ink); color: var(--text); transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.scene.reading, .scene.gp { transform: translateX(100%); }
.at-reading .scene.add-food, .at-foods .scene.add-food, .at-foods .scene.reading { transform: translateX(-30%); }
.at-reading .scene.reading, .at-foods .scene.gp { transform: none; }
.scene .status { height: 34px; padding: 13px 28px 0; font-size: 12px; }
.scene .bar { display: flex; align-items: center; gap: 8px; padding: 6px 14px 10px; font-size: 14px; border-bottom: 1px solid var(--line); }
.scene .bar b { flex: 1; }
.scene .bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.screen p.for { margin: 10px 14px 8px; font-size: 11px; color: var(--muted); }
/* Add Food: the Snap your meal card leads, then the other three ways. */
.snap-card { margin: 0 12px; padding: 12px; border-radius: 16px; background: var(--lime); color: var(--ink); }
.snap-head { display: flex; align-items: center; gap: 10px; }
.snap-head .cam { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(19, 24, 10, .14); }
.snap-head svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snap-head b { display: block; font-size: 13px; }
.snap-head small { display: block; font-size: 10px; opacity: .8; }
.snap-buttons { display: flex; gap: 6px; margin-top: 10px; }
.snap-buttons span { flex: 1; padding: 7px 4px; border-radius: 999px; text-align: center; font-weight: 800; font-size: 11px; border: 1.5px solid rgba(19, 24, 10, .35); transition: transform .15s ease; }
.snap-buttons .take { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.snap-buttons .pressed { transform: scale(.94); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 12px 0; }
.tiles span { padding: 9px 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; font-size: 10px; font-weight: 700; }
/* Reading: the photo with corner marks and a band of light sweeping down, and what is happening now. */
.shot { position: relative; margin: 14px 12px 12px; border-radius: 14px; overflow: hidden; }
.shot .meal { display: block; width: 100%; height: auto; }
.shot .sweep { position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(rgba(198, 244, 50, 0), rgba(198, 244, 50, .35) 85%, rgba(198, 244, 50, .95)); animation: sweep 1.6s ease-in-out infinite; }
@keyframes sweep { to { transform: translateY(350%); } }
.shot .c { position: absolute; width: 16px; height: 16px; border: 0 solid var(--lime); }
.shot .tl { top: 8px; left: 8px; border-top-width: 2.5px; border-left-width: 2.5px; border-top-left-radius: 6px; }
.shot .tr { top: 8px; right: 8px; border-top-width: 2.5px; border-right-width: 2.5px; border-top-right-radius: 6px; }
.shot .bl { bottom: 8px; left: 8px; border-bottom-width: 2.5px; border-left-width: 2.5px; border-bottom-left-radius: 6px; }
.shot .br { bottom: 8px; right: 8px; border-bottom-width: 2.5px; border-right-width: 2.5px; border-bottom-right-radius: 6px; }
.reading-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.reading-line em { font-style: normal; }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); opacity: .4; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
/* The foods, checked and added. */
.add { margin: 12px 12px 0; padding: 9px; border-radius: 12px; text-align: center; font-weight: 800; background: var(--lime); color: var(--ink); }
.screen p.hint { margin: 12px 14px 6px; font-size: 11px; color: var(--muted); }
.foods { list-style: none; margin: 0 12px; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.foods li { display: grid; grid-template-columns: 1fr auto; padding: 7px 10px; border-top: 1px solid var(--line); }
.foods li:first-child { border-top: 0; }
.foods span { font-size: 10px; color: var(--muted); }
.foods em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 800; color: var(--lime); }
.hint, .foods li, .add { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.foods li:nth-child(2) { transition-delay: .1s; }
.foods li:nth-child(3) { transition-delay: .2s; }
.foods li:nth-child(4) { transition-delay: .3s; }
.add { transition-delay: .45s; }
.toast { position: absolute; left: 12px; right: 12px; bottom: 20px; padding: 9px 12px; border-radius: 12px; background: #f3f6f4; color: var(--ink); font-weight: 800; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.screen .on { opacity: 1; transform: none; }
.screen .add.pressed { transform: scale(.96); transition-delay: 0s; }
/* With less motion: the foods, as the demo ends. */
.still .scene.add-food, .still .scene.reading { transform: translateX(-30%); }
.still .scene.gp { transform: none; }
.still .hint, .still .foods li, .still .add { opacity: 1; transform: none; }
.touch { position: absolute; z-index: 5; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(110, 110, 120, .35); border: 2px solid rgba(255, 255, 255, .85); opacity: 0; pointer-events: none; }
.touch.go { animation: touch .6s ease-out; }
@keyframes touch { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
 list-style: none; counter-reset: step; display: grid; gap: 10px; margin: 0; padding: 0; }
.ai-steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 54px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); font-size: 16px; transition: border-color .3s ease, background .3s ease; }
.ai-steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--text); font-weight: 800; font-size: 14px; transition: background .3s ease, color .3s ease; }
.ai-steps b { display: block; color: var(--text); }
.ai-steps li.now { border-color: rgba(198, 244, 50, .5); background: rgba(198, 244, 50, .06); }
.ai-steps li.now::before { background: var(--lime); color: var(--ink); }

/* ---------- "Also in GymPip" grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.grid .icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.grid .icon svg { width: 22px; height: 22px; }
.grid h3 { font-size: 17px; margin: 0 0 6px; }
.grid p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.compare { width: 100%; max-width: 820px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 700; background: var(--card-2); }
.compare thead th.us { color: var(--lime); }
.compare td.us { color: var(--text); font-weight: 700; background: rgba(198, 244, 50, .05); }
.compare td.them { color: var(--muted); }
.compare td:first-child { color: var(--text); }

/* ---------- Languages ---------- */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; list-style: none; }
.langs li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 22px; font-size: 22px; font-weight: 700; }
.langs li small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .4px; }

/* ---------- Meet Pip ---------- */
.pip-section { background: linear-gradient(180deg, transparent, rgba(198, 244, 50, .05) 40%, transparent); }
.stages { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 36px); flex-wrap: wrap; margin: 8px 0 0; padding: 0; list-style: none; }
.stages li { text-align: center; }
.stages img { display: block; margin: 0 auto 8px; }
.stages b { display: block; font-size: 16px; }
.stages span { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Final call to action ---------- */
.cta { background: var(--tile); border: 1px solid var(--line); border-radius: 32px; padding: 56px 28px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto -20% -60%; height: 420px; background: radial-gradient(closest-side, rgba(198, 244, 50, .2), transparent); }
.cta > * { position: relative; }
.cta { padding-top: 40px; }
.pip-spot { position: relative; z-index: 2; width: 110px; height: 110px; margin: 0 auto 8px; pointer-events: none; }
.chaser { position: absolute; inset: 0; will-change: transform; }
.chaser img { display: block; width: 100%; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); }
.pip-say { position: absolute; left: 80%; top: -8px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap; opacity: 0; transform: scale(.8); transform-origin: left bottom; transition: opacity .25s ease .35s, transform .25s ease .35s; }
.cta.landed .pip-say { opacity: 1; transform: none; }
.cta.say-left .pip-say { left: auto; right: 80%; border-radius: 14px 14px 4px 14px; transform-origin: right bottom; }
.cta.quiet .pip-say { display: none; }
.cta .store-note { min-height: 1.6em; margin: 16px 0 0; font-size: 15px; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.cta .stores { justify-content: center; }

/* ---------- Footer (every page) ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .inner { max-width: 1120px; margin: 0 auto; padding: 32px 20px 48px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; color: var(--muted); font-size: 14px; }
.site-footer .inner > :first-child { margin-right: auto; display: flex; align-items: center; gap: 10px; }
.site-footer img { width: 28px; height: 28px; border-radius: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Text pages (Privacy, Support) ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 24px; }
.wrap h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -.8px; margin: 0 0 10px; }
.wrap h2 { font-size: 21px; margin: 36px 0 6px; }
.wrap p, .wrap li { color: var(--muted); }
.wrap .lead { font-size: 19px; }
.updated { font-size: 14px; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 24px 0; }
.card h2 { margin-top: 0; }
.email { display: inline-block; font-weight: 700; font-size: 18px; padding: 12px 18px; border-radius: 14px; background: var(--lime-dim); border: 1px solid rgba(198, 244, 50, .3); text-decoration: none; word-break: break-all; }
ol { padding-left: 22px; }

/* ---------- Reveal on scroll (only when motion is welcome; see the script in index.html) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse path { animation: none; stroke-dashoffset: 0; }
  .pip-float, .chaser img, .dots i, .shot .sweep { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Small phones ---------- */
@media (max-width: 520px) {
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .pip-float { width: 86px; right: -10px; top: -40px; }
  .bubble { right: 66px; top: -30px; font-size: 14px; }
  .feature-art.pair { gap: 12px; }
  .feature-art.pair .phone { padding: 7px; border-radius: 34px; }
  .feature-art.pair .phone > img { border-radius: 28px; }
}

/* ---------- Who makes it ---------- */
#maker { padding-top: 8px; }
.maker { max-width: 440px; margin: 0 auto; text-align: center; }
.maker-photo { display: block; width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; background: var(--card-2); border: 2px solid var(--lime); box-shadow: 0 0 0 5px var(--lime-dim); }
.section .maker h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.3px; }
.maker-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.social { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); color: var(--text); transition: color .15s ease, border-color .15s ease, transform .15s ease; }
.social:hover { color: var(--lime); border-color: rgba(198, 244, 50, .5); transform: translateY(-1px); }
.social svg { width: 22px; height: 22px; }
.maker p { margin: 0; color: var(--muted); font-size: 17px; text-wrap: balance; }

section[id] { scroll-margin-top: 76px; }
.grid { margin-top: 32px; }

/* ---------- Phones and small tablets: features as swipeable cards ---------- */
@media (max-width: 880px) {
  .tour { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 8px; scrollbar-width: none; }
  .tour::-webkit-scrollbar { display: none; }
  .tour .feature { flex: 0 0 min(82%, 340px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 18px; padding: 20px 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
  .tour .feature + .feature { border-top: 1px solid var(--line); }
  .tour .feature-copy { order: 0; }
  .tour .feature-art { gap: 10px; }
  .tour .feature-art .phone { width: 58%; padding: 6px; border-radius: 26px; }
  .tour .feature-art.pair .phone { width: 46%; }
  .tour .feature-art.pair .phone:last-child { margin-top: 28px; }
  .tour .feature-art .phone > img { border-radius: 21px; }
  .tour .feature h3 { font-size: 20px; margin: 0 0 6px; }
  .tour .feature p { font-size: 15px; margin: 0; }
  .tour .ticks { display: none; }
  .js .tour .feature { opacity: 1; transform: none; }
  .tour-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .tour-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width .25s ease, background .25s ease; }
  .tour-dots i.on { width: 20px; background: var(--lime); }
  .tour + .tour-dots + .feature { border-top: 0; padding-top: 48px; }
  #ai-meal { gap: 24px; padding-bottom: 0; }
  #ai-meal .feature-copy > p { font-size: 16px; }
  .feature-art .ai-phone { width: min(250px, 66vw); }
  .ai-phone .scene .status { height: 26px; padding-top: 9px; }
  .ai-phone .snap-card { margin: 0 10px; padding: 10px; }
  .ai-phone .tiles { margin: 6px 10px 0; }
  .ai-phone .shot { margin: 10px 10px 10px; }
  .ai-phone .add { margin-left: 10px; margin-right: 10px; padding: 7px; }
  .ai-phone .screen p.hint { display: none; }
  .ai-phone .foods { margin: 8px 10px 0; }
  .ai-phone .foods li { padding: 5px 9px; }
  .ai-phone .add { margin-top: 8px; }
  .ai-phone .toast { left: 10px; right: 10px; bottom: 10px; padding: 7px 10px; }
  .ai-steps li { padding: 10px 14px 10px 48px; font-size: 14px; border-radius: 14px; }
  .ai-steps li::before { left: 12px; top: 11px; width: 24px; height: 24px; font-size: 13px; }
}

/* ---------- Phones: shorter and calmer ---------- */
@media (max-width: 640px) {
  .section { padding: 52px 20px; }
  .section h2 { font-size: 30px; letter-spacing: -.5px; margin-bottom: 10px; }
  .section .intro { font-size: 16px; margin-bottom: 26px; }

  .hero .section { gap: 0; padding-top: 28px; padding-bottom: 36px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; margin-bottom: 14px; }
  .hero .lead { font-size: 17px; margin-bottom: 14px; }
  .chips { gap: 8px; margin-bottom: 16px; }
  .chips li { font-size: 13px; padding: 5px 12px; }
  .hero-art { width: min(240px, 62vw); margin-top: 30px; }
  .pulse { display: none; }
  .pip-float { width: 76px; right: -34px; top: -30px; }
  .bubble { right: 34px; top: -28px; font-size: 13px; padding: 6px 11px; }

  .why { gap: 10px; }
  .why article { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; border-radius: 18px; }
  .why .icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; margin: 0; }
  .why .icon svg { width: 22px; height: 22px; }
  .why h3 { font-size: 17px; margin: 0 0 2px; }
  .why p { font-size: 14.5px; }

  .cta { padding: 26px 16px 28px; border-radius: 24px; }
  .pip-spot { width: 80px; height: 80px; }
  .pip-say { font-size: 12px; padding: 5px 10px; }
  .cta h2 { font-size: 30px; margin-bottom: 6px; }
  .cta p { font-size: 16px; margin-bottom: 20px; }
  .cta .stores { gap: 10px; }
  .store { flex: 1 1 128px; min-width: 0; gap: 8px; padding: 10px; border-radius: 12px; }
  .store svg { width: 20px; height: 20px; }
  .store small { font-size: 10px; }
  .store b { font-size: 15px; white-space: nowrap; }
  .cta .store-note { margin-top: 12px; font-size: 13px; }

  .grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .grid article { padding: 14px; border-radius: 16px; }
  .grid .icon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
  .grid .icon svg { width: 19px; height: 19px; }
  .grid h3 { font-size: 14.5px; line-height: 1.3; margin: 0; }
  .grid p { display: none; }

  .compare { font-size: 13px; border-radius: 16px; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare thead th { font-size: 12px; }

  .langs { gap: 8px; }
  .langs li { padding: 8px 12px; font-size: 16px; border-radius: 12px; }
  .langs li small { font-size: 10px; }

  .stages { flex-wrap: nowrap; gap: 6px; }
  .stages li:nth-child(1) img { width: 42px; height: 42px; }
  .stages li:nth-child(2) img { width: 48px; height: 48px; }
  .stages li:nth-child(3) img { width: 54px; height: 54px; }
  .stages li:nth-child(4) img { width: 60px; height: 60px; }
  .stages li:nth-child(5) img { width: 66px; height: 66px; }
  .stages b { font-size: 13px; }
  .stages span { font-size: 11px; }

  .faq { gap: 8px; }
  .faq details { padding: 0 16px; border-radius: 14px; }
  .faq summary { font-size: 16px; padding: 15px 28px 15px 0; }
  .faq details p { font-size: 15px; margin-bottom: 16px; }

  .site-footer { margin-top: 0; }
  .site-footer .inner { padding: 24px 20px 32px; gap: 12px 20px; }
}
