:root {
  --ink: #171719;
  --muted: #6d7078;
  --subtle: #8a8d92;
  --paper: #fbfbf8;
  --canvas: #f2f3ee;
  --line: rgba(23, 23, 25, .1);
  --panel: rgba(255, 255, 255, .88);
  --green: #34c759;
  --green-dark: #1f8b4c;
  --green-soft: #eaf7ef;
  --blue: #0a84ff;
  --blue-soft: #edf5ff;
  --amber: #ff9f0a;
  --amber-soft: #fff5df;
  --red: #ff453a;
  --red-soft: #fff4f2;
  --shadow: 0 24px 70px rgba(23, 23, 25, .12);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Dark product refresh — mirrors the current mobile app palette. */
:root {
  --ink: #f7f7f8;
  --muted: #b8b8c0;
  --subtle: #8f8f98;
  --paper: #000000;
  --canvas: #000000;
  --line: #3d3d43;
  --panel: #202023;
  --green: #b7ff00;
  --green-dark: #8fc900;
  --green-soft: #253510;
  --blue: #65aaff;
  --blue-soft: #15263a;
  --amber: #ffb340;
  --amber-soft: #35290f;
  --red: #ff7a6e;
  --red-soft: #3a2020;
  --shadow: 0 28px 90px rgba(0, 0, 0, .56);
}

body {
  background:
    radial-gradient(circle at 92% 4%, rgba(183, 255, 0, .13), transparent 24rem),
    radial-gradient(circle at 8% 42%, rgba(52, 199, 89, .08), transparent 28rem),
    #000;
}

.nav,
.nav.is-scrolled {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(31, 31, 34, .82);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .46);
}

.nav-cta,
.primary-button { color: #101200; background: var(--green); }
.nav-login { color: var(--ink); border-color: var(--line); }
.mark { border-color: rgba(183,255,0,.28); background: var(--green-soft); box-shadow: 0 10px 30px rgba(183,255,0,.12); }
.mark::before, .mark i, .mark b, .mark em, .mark strong { background: var(--green); }

.hero-photo { opacity: .16; filter: grayscale(1) contrast(1.15); }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.98), rgba(0,0,0,.78) 54%, rgba(0,0,0,.46)); }
.hero::after { background: linear-gradient(180deg, transparent, #000); }
.hero-copy h1, .section-head h2, .story h2, .cinema h2, .cta h2 { color: var(--ink); }
.eyebrow, .eyebrow.dark { color: var(--green); }
.hero-hint, .intro-strip, .story, #features, .visual-story, .flow, .timeline, .coach, #privacy, .faq, .cta, .footer { background: transparent; }

.phone-stage { min-height: 650px; }
.phone-screenshot {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 52px;
  background: #000;
  box-shadow: 0 36px 100px rgba(0,0,0,.7), 0 0 70px rgba(183,255,0,.1);
}
.phone-screenshot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.float-card { color: var(--ink); border-color: rgba(255,255,255,.14); background: rgba(32,32,35,.92); box-shadow: var(--shadow); }
.float-card b { color: var(--green); }

.intro-strip article,
.story-stack article,
.feature,
.insight-card,
.recipe-preview,
.step,
.day-card,
.coach-list > div,
.trust-main,
.trust-list,
.faq article,
.analysis-board {
  color: var(--ink);
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 18px 56px rgba(0,0,0,.28);
}
.feature-icon.green, .feature-icon.blue, .feature-icon.amber, .feature-icon.red { color: #101200; background: var(--green); }

.app-screen-grid {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: radial-gradient(circle at 50% 5%, rgba(183,255,0,.17), transparent 42%), #121214;
}
.app-screen-card { width: min(47%, 300px); margin: 0; }
.app-screen-card.offset { margin-top: 84px; }
.app-screen-card img { width: 100%; display: block; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; box-shadow: 0 28px 58px rgba(0,0,0,.6); }
.app-screen-card figcaption { display: grid; gap: 4px; padding: 15px 6px 0; }
.app-screen-card figcaption b { color: var(--ink); font-size: 18px; }
.app-screen-card figcaption span { color: var(--muted); font-size: 13px; }

.cinema-bg { opacity: .1; filter: grayscale(1); }
.cinema::before { background: linear-gradient(90deg, #000 12%, rgba(0,0,0,.72), #000); }
.board-meter, .insight-bars { background: var(--green-soft); }
.board-meter i, .insight-bars i { background: var(--green); }
.day-item::before, .step-num { color: #101200; background: var(--green); }
.day-item.is-now .day-card, .day-item.is-suggestion .day-card { border-color: rgba(183,255,0,.45); background: var(--green-soft); }
.cta-box { border-color: rgba(183,255,0,.22); background: radial-gradient(circle at 90% 10%, rgba(183,255,0,.16), transparent 36%), #202023; }
.store { color: var(--ink); border-color: var(--line); background: #2a2a2e; }
.store:hover { border-color: var(--green); background: #303034; }
.store .store-icon { color: #101200; background: #f7f7f8; }
.store.web-store .store-icon { color: #101200; background: var(--green); }
.store-icon svg { width: 27px; height: 27px; display: block; overflow: visible; fill: currentColor; }
.store.web-store .store-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store:not(.web-store) .store-icon svg { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store:not(.web-store) .store-icon svg path:first-child:only-child { stroke: none; fill: currentColor; }
.footer { border-color: var(--line); }
.strip-grid article,
.mini-visual-grid span,
.doc-section,
.support-card,
.delete-card { color: var(--ink); border-color: var(--line); background: var(--panel); }
.field,
input,
textarea,
select { color: var(--ink); border-color: var(--line); background: #2a2a2e; }
.field::placeholder,
input::placeholder,
textarea::placeholder { color: var(--subtle); }
.web-store .store-icon { color: #101200; background: var(--green); }
.store-icon svg { width: 27px; height: 27px; display: block; overflow: visible; fill: currentColor; }
.store-icon svg circle,
.store-icon svg path[fill="none"] { fill: none; }
.web-store .store-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store:not(.web-store) .store-icon { color: #101200; background: #f7f7f8; }
.store:not(.web-store) .store-icon svg { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store:not(.web-store) .store-icon svg path:first-child:only-child { stroke: none; fill: currentColor; }

@media (max-width: 760px) {
  .app-screen-grid { min-height: 620px; padding: 22px 12px; gap: 10px; border-radius: 28px; }
  .app-screen-card { width: 49%; }
  .app-screen-card.offset { margin-top: 52px; }
  .app-screen-card img { border-radius: 22px; }
  .phone-stage { min-height: 560px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(234, 247, 239, .82), rgba(237, 245, 255, .32) 46%, rgba(255, 245, 223, .44)),
    linear-gradient(180deg, var(--paper), var(--canvas));
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
p { color: var(--muted); line-height: 1.5; }

.nav {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 42px rgba(23, 23, 25, .09);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background-color .3s ease, top .3s ease;
}

.nav.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 48px rgba(23, 23, 25, .14);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms),
    transform .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-reveal][data-parallax] {
  transform: translate3d(0, calc(var(--parallax-y, 0px) + 26px), 0);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready [data-reveal][data-parallax].is-visible {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  padding-left: 2px;
  font-weight: 900;
  white-space: nowrap;
}

.mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
  flex: 0 0 34px;
  overflow: hidden;
  border: 1px solid rgba(52, 199, 89, .2);
  border-radius: 8px;
  background: var(--green-soft);
  box-shadow: 0 10px 24px rgba(31, 139, 76, .13);
}

.mark::before {
  content: "";
  position: absolute;
  left: 25%;
  top: 28%;
  width: 50%;
  height: 24%;
  border-top: 2px solid rgba(23, 23, 25, .82);
  border-radius: 999px;
}

.mark i,
.mark b,
.mark em,
.mark strong {
  position: absolute;
  display: block;
}

.mark i,
.mark b {
  top: 28%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.mark i { left: 21%; background: var(--blue); }
.mark b { right: 21%; background: var(--amber); }
.mark em,
.mark strong {
  top: 58%;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  transform-origin: center;
}
.mark em { left: 31%; width: 8px; transform: rotate(42deg); }
.mark strong { left: 44%; width: 13px; transform: rotate(-48deg); }

.nav-links {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
  gap: 16px;
  color: rgba(23, 23, 25, .68);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-cta,
.nav-login {
  padding: 0 15px;
  border-radius: 999px;
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 23, 25, .05);
}

.language-switcher button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.language-switcher button.active {
  background: var(--ink);
  color: #fff;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
}

.nav-login {
  background: rgba(23, 23, 25, .07);
  color: var(--ink);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px 24px 34px;
  color: #fff;
  isolation: isolate;
}

.hero-photo,
.cinema-bg {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
}

.hero-photo {
  position: absolute;
  z-index: -3;
  inset: -10%;
  background: url("assets/hero-balance.jpg") center / cover no-repeat;
}

.hero-ambient {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ambient span {
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  border-radius: 50%;
  filter: blur(54px);
  opacity: .34;
  will-change: transform;
  animation: ambient-drift 16s ease-in-out infinite alternate;
}

.hero-ambient span:nth-child(1) {
  left: -8%;
  top: 12%;
  background: rgba(52, 199, 89, .55);
}

.hero-ambient span:nth-child(2) {
  right: -6%;
  top: 30%;
  background: rgba(10, 132, 255, .42);
  animation-delay: -6s;
}

.hero-ambient span:nth-child(3) {
  left: 34%;
  bottom: -14%;
  background: rgba(255, 159, 10, .4);
  animation-delay: -11s;
}

@keyframes ambient-drift {
  from { transform: translate3d(-4%, -3%, 0) scale(.94); }
  to { transform: translate3d(5%, 6%, 0) scale(1.08); }
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76) 0%, rgba(0, 0, 0, .52) 42%, rgba(0, 0, 0, .16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .08) 48%, rgba(0, 0, 0, .72) 100%);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: end;
}

.hero-copy {
  display: grid;
  gap: 24px;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.eyebrow {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .95);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.dark {
  background: var(--green-soft);
  border-color: rgba(52, 199, 89, .16);
  color: var(--green-dark);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 7vw, 98px);
  line-height: .92;
  text-wrap: balance;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.44;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  min-width: 174px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.store-icon {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
}

.store small,
.scan-card small,
.phone-top span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.store b {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.1;
}

.web-store {
  background: var(--ink);
  color: #fff;
}

.web-store small { color: rgba(255, 255, 255, .68); }
.web-store .store-icon { background: #fff; color: var(--ink); }

.phone-stage {
  min-height: 590px;
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.phone {
  width: 310px;
  min-height: 540px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(251, 251, 248, .96), rgba(242, 243, 238, .92));
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .34);
}

.phone-top {
  min-height: 54px;
  display: grid;
  align-content: center;
  padding: 0 6px;
}

.phone-top b {
  font-size: 22px;
}

.calorie-ring {
  width: 194px;
  height: 194px;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--ring-percent, 69) * 1%), var(--green-soft) 0);
}

.calorie-ring::before {
  content: "";
  position: absolute;
  inset: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 139, 76, .08);
}

.calorie-ring span,
.calorie-ring small {
  position: relative;
  z-index: 1;
}

.calorie-ring span {
  align-self: end;
  font-size: 44px;
  line-height: 1;
  font-weight: 930;
}

.calorie-ring small {
  align-self: start;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.macro-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.macro-mini span,
.scan-card,
.float-card,
.strip-grid article,
.feature,
.step,
.trust-main,
.trust-list,
.coach-list div,
.faq article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.macro-mini span {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 11px;
  color: var(--muted);
  font-size: 11px;
}

.macro-mini b {
  color: var(--ink);
  font-size: 20px;
}

.scan-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.scan-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.float-card {
  position: absolute;
  min-width: 190px;
  display: grid;
  gap: 5px;
  padding: 15px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.float-card span {
  color: var(--muted);
  font-size: 13px;
}

.float-card-ai { left: 0; top: 120px; }
.float-card-goal { right: -6px; bottom: -24px; }

.hero-hint {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-hint div {
  min-height: 84px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .17);
}

.hero-hint b {
  display: block;
  font-size: 22px;
}

.hero-hint span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 30px;
  height: 48px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  display: none;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  animation: cue-drop 1.8s ease-in-out infinite;
}

@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (min-height: 760px) {
  .scroll-cue { display: block; }
}

.phone-stage .phone {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .3s ease;
}

.food-window[data-reveal][data-parallax].is-visible {
  transform: perspective(1100px) translate3d(0, var(--parallax-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

section {
  padding: 90px 24px;
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-strip {
  padding: 28px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.strip-grid,
.feature-grid,
.steps,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.strip-grid article {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: #fff;
}

.strip-grid span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.strip-grid b {
  font-size: 20px;
}

.strip-grid p {
  font-size: 14px;
}

.story {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.story .section-head {
  margin-bottom: 0;
}

.story-stack {
  display: grid;
  gap: 12px;
}

.story-stack article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.story-stack article:nth-child(2) {
  border-color: rgba(52, 199, 89, .34);
  background: var(--green-soft);
}

.story-kicker {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.story-stack h3 {
  font-size: 22px;
  line-height: 1.12;
}

.story-stack p {
  font-size: 15px;
}

.section-head {
  display: grid;
  gap: 13px;
  margin-bottom: 34px;
}

.section-head h2,
.trust-main h2,
.cta h2 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  text-wrap: balance;
}

.section-head p,
.cta p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
}

.feature:nth-child(1) { background: var(--green-soft); }
.feature:nth-child(2) { background: var(--blue-soft); }
.feature:nth-child(3) { background: var(--amber-soft); }
.feature:nth-child(4) { background: var(--red-soft); }

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  font-weight: 930;
}

.feature-icon.green { color: var(--green-dark); }
.feature-icon.blue { color: var(--blue); }
.feature-icon.amber { color: #a15c00; }
.feature-icon.red { color: #b42318; }

.feature h3 {
  font-size: 23px;
  line-height: 1.08;
}

.feature p {
  margin-top: 10px;
  font-size: 15px;
}

.visual-story {
  padding-top: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(242, 243, 238, .96));
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 18px;
  align-items: stretch;
}

.food-window {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.food-window img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.03);
}

.food-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 25, .08), rgba(23, 23, 25, .46)),
    linear-gradient(90deg, rgba(23, 23, 25, .34), rgba(23, 23, 25, .02));
}

.food-tag {
  position: absolute;
  z-index: 1;
  min-width: 230px;
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: rgba(23, 23, 25, .38);
  color: #fff;
  backdrop-filter: blur(8px);
}

.food-tag.top {
  top: 22px;
  left: 22px;
}

.food-tag.bottom {
  right: 22px;
  bottom: 22px;
}

.food-tag span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.insight-stack {
  display: grid;
  gap: 14px;
}

.insight-card,
.recipe-preview,
.mini-visual-grid span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.insight-card {
  min-height: 255px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(135deg, var(--green-soft), #fff 68%);
  box-shadow: 0 18px 50px rgba(23, 23, 25, .08);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.insight-card span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 880;
  text-transform: uppercase;
}

.insight-card b {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.insight-bars {
  display: grid;
  gap: 8px;
}

.insight-bars i {
  height: 10px;
  display: block;
  border-radius: 999px;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(var(--progress-target, 1));
}

.motion-ready .insight-bars i,
.motion-ready .board-meter i {
  transform: scaleX(var(--progress-scale, 0));
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1) .15s;
}

.insight-bars i:nth-child(2) { background: var(--blue); }
.insight-bars i:nth-child(3) { background: var(--amber); }

.recipe-preview {
  min-height: 126px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  box-shadow: 0 14px 38px rgba(23, 23, 25, .07);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.recipe-photo {
  width: 78px;
  height: 78px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(52, 199, 89, .12), rgba(10, 132, 255, .14)),
    url("assets/hero-balance.jpg") center / cover no-repeat;
}

.recipe-preview b {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.recipe-preview small {
  color: var(--muted);
  line-height: 1.35;
}

.mini-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-visual-grid span {
  min-height: 94px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
}

.mini-visual-grid span:nth-child(1) { background: var(--blue-soft); }
.mini-visual-grid span:nth-child(2) { background: var(--amber-soft); }
.mini-visual-grid span:nth-child(3) { background: var(--green-soft); }
.mini-visual-grid span:nth-child(4) { background: var(--red-soft); }

.cinema {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111113;
  color: #fff;
}

.cinema-bg {
  position: absolute;
  z-index: -2;
  inset: -12%;
  background:
    linear-gradient(90deg, rgba(9, 10, 10, .94), rgba(9, 10, 10, .78) 48%, rgba(9, 10, 10, .54)),
    linear-gradient(180deg, rgba(9, 10, 10, .66), rgba(9, 10, 10, .74)),
    url("assets/hero-balance.jpg") center / cover no-repeat;
  filter: saturate(.9) contrast(1.05);
}

.cinema::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 25, .18), rgba(23, 23, 25, .92)),
    linear-gradient(90deg, rgba(23, 23, 25, .82), rgba(23, 23, 25, .3));
}

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

.cinema-copy {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(11, 12, 13, .42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.cinema h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .94;
}

.cinema p {
  max-width: 650px;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}

.analysis-board {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 15px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(12, 13, 14, .58);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.board-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.board-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.board-row span {
  color: rgba(255, 255, 255, .72);
}

.board-row b {
  color: #fff;
  text-align: right;
}

.board-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}

.board-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(var(--progress-target, 1));
}

.flow {
  background: var(--ink);
  color: #fff;
}

.flow .section-head p,
.step p { color: rgba(255, 255, 255, .68); }

.step {
  min-height: 290px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06));
  border-color: rgba(255, 255, 255, .13);
}

.step-num {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.step-visual {
  width: 100%;
  height: 116px;
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.step-visual.goal {
  background:
    linear-gradient(135deg, rgba(52, 199, 89, .08), rgba(23, 23, 25, .24)),
    url("assets/goal-selection-app.png") center / cover no-repeat;
}

.step-visual.scan {
  background:
    linear-gradient(135deg, rgba(10, 132, 255, .5), rgba(255, 255, 255, .08)),
    url("assets/hero-balance.jpg") center / cover no-repeat;
}

.step-visual.recipe {
  background:
    linear-gradient(135deg, rgba(255, 159, 10, .58), rgba(255, 255, 255, .08)),
    url("assets/hero-balance.jpg") 68% 45% / 170% no-repeat;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.08;
}

.timeline {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-rail {
  position: relative;
  padding-left: 26px;
}

.day-rail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue) 55%, var(--amber));
  opacity: .5;
}

.day-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.day-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.day-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.day-item.is-now::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.day-item.is-suggestion {
  border-color: rgba(52, 199, 89, .38);
  background: var(--green-soft);
}

.day-item.is-suggestion::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.day-time {
  color: var(--subtle);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.day-card b {
  display: block;
  font-size: 17px;
}

.day-card span {
  color: var(--muted);
  font-size: 14px;
}

.day-kcal {
  color: #1a7a43;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.day-total {
  color: #62656d;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.coach-grid,
.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

.coach .section-head {
  margin-bottom: 0;
}

.coach-list {
  display: grid;
  gap: 10px;
}

.coach-list div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 17px;
  background: #fff;
}

.coach-list span,
.trust-row span,
.faq p {
  color: var(--muted);
}

.trust-main,
.trust-list {
  padding: 26px;
  background: #fff;
}

.trust-main {
  display: grid;
  align-content: center;
  gap: 16px;
}

.trust-list {
  display: grid;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.trust-row:last-child { border-bottom: 0; }
.trust-row span { max-width: 260px; text-align: right; }

.faq-grid {
  align-items: stretch;
}

.faq article {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: #fff;
}

.faq h3 {
  font-size: 22px;
  line-height: 1.12;
}

.cta {
  padding-bottom: 104px;
  text-align: center;
}

.cta-box {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 44px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(234, 247, 239, .94), rgba(255, 255, 255, .9) 52%, rgba(255, 245, 223, .86)),
    url("assets/hero-balance.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.cta-box > div {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cta p {
  text-align: center;
}

.footer {
  padding: 42px 24px 48px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  padding: 126px 24px 72px;
}

.legal-wrap {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-wrap h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .98;
}

.legal-wrap .lead {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.doc {
  display: grid;
  gap: 18px;
}

.doc-section {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.doc-section h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
  line-height: 1.55;
}

.doc-section p { margin: 0; }
.doc-section ul { margin: 10px 0 0; padding-left: 20px; }

.form {
  display: grid;
  gap: 12px;
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.textarea { min-height: 130px; resize: vertical; }

.danger-button,
.submit {
  min-height: 54px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
}

.danger-button {
  background: var(--red-soft);
  color: #b42318;
}

.submit {
  background: var(--ink);
  color: #fff;
}

@media (hover: hover) {
  .store,
  .nav-links a,
  .feature,
  .faq article {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  .store:hover,
  .feature:hover,
  .faq article:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(23, 23, 25, .1);
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .cinema-grid,
  .visual-grid,
  .coach-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 560px;
    justify-items: start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-window {
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  .nav {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 8px;
  }

  .nav-links a:not(.nav-cta):not(.nav-login) {
    display: none;
  }

  .nav-links {
    gap: 8px;
    justify-content: flex-end;
  }

  .nav-cta,
  .nav-login {
    min-width: 0;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
    padding: 116px 18px 26px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-hint,
  .strip-grid,
  .visual-grid,
  .steps,
  .faq-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  section {
    padding: 66px 18px;
  }

  .cinema {
    min-height: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    left: 8px;
    right: auto;
    width: auto;
    max-width: none;
    transform: none;
    justify-content: space-between;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    display: none;
    font-size: 13px;
  }

  .nav-links .nav-login {
    display: none;
  }

  .nav-links .nav-cta {
    display: none;
  }

  .hero h1 {
    width: min(100%, 340px);
    max-width: 340px;
    font-size: 30px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero p {
    width: min(100%, 340px);
    max-width: 340px;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-copy > div {
    min-width: 0;
    width: min(100%, 340px);
    max-width: 340px;
  }

  .download-row {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .download-row,
  .store {
    min-width: 0;
    width: 100%;
  }

  .hero-hint,
  .feature-grid,
  .macro-mini,
  .mini-visual-grid {
    grid-template-columns: 1fr;
  }

  .food-window {
    min-height: 360px;
  }

  .food-tag {
    min-width: 0;
    width: calc(100% - 36px);
  }

  .food-tag.top,
  .food-tag.bottom {
    left: 18px;
    right: 18px;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: min(310px, 100%);
    min-height: 500px;
  }

  .float-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(280px, 100%);
    margin-top: -22px;
  }

  .trust-row {
    display: grid;
  }

  .trust-row span {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 860px) and (min-width: 0px) {
  .day-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .day-kcal,
  .day-total {
    grid-column: 2;
    justify-self: start;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 520px) {
  .nav {
    left: 8px;
    right: auto;
    width: auto;
    max-width: calc(100vw - 16px);
    min-height: 56px;
    gap: 8px;
    padding: 7px;
  }

  .brand {
    gap: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .language-switcher {
    padding: 2px;
  }

  .language-switcher button {
    min-height: 30px;
    padding: 0 9px;
  }

  .nav-cta {
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .nav {
    padding: 7px 8px;
    gap: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 29px;
  }

  .language-switcher button {
    padding: 0 8px;
  }

  .nav-cta {
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-parallax],
  .hero-photo,
  .cinema-bg,
  .cta-box,
  .phone-stage .phone,
  .food-window[data-reveal][data-parallax].is-visible {
    transform: none !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .motion-ready .insight-bars i,
  .motion-ready .board-meter i {
    transform: scaleX(var(--progress-scale, 1));
  }
}

/* Perf: pause hero-only animations once the hero is scrolled away */
.hero.is-off .hero-ambient span,
.hero.is-off .scroll-cue span {
  animation-play-state: paused;
}

/* Perf: below-fold sections render lazily */
.visual-story,
.cinema,
.flow,
.timeline,
.coach,
#privacy,
.faq,
.cta,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* Final dark-theme cascade: keep this after the legacy light rules. */
body {
  background:
    radial-gradient(circle at 92% 4%, rgba(183, 255, 0, .13), transparent 24rem),
    radial-gradient(circle at 8% 42%, rgba(52, 199, 89, .08), transparent 28rem),
    #000;
}

.nav,
.nav.is-scrolled {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(31, 31, 34, .86);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .46);
}

.nav-cta,
.primary-button { color: #101200; background: var(--green); }
.nav-login { color: var(--ink); border-color: var(--line); }
.mark { border-color: rgba(183,255,0,.28); background: var(--green-soft); box-shadow: 0 10px 30px rgba(183,255,0,.12); }
.mark::before, .mark i, .mark b, .mark em, .mark strong { background: var(--green); }
.hero-photo { opacity: .16; filter: grayscale(1) contrast(1.15); }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.98), rgba(0,0,0,.78) 54%, rgba(0,0,0,.46)); }
.hero::after { background: linear-gradient(180deg, transparent, #000); }
.hero-copy h1, .section-head h2, .story h2, .cinema h2, .cta h2 { color: var(--ink); }
.eyebrow, .eyebrow.dark { color: var(--green); }
.hero-hint, .intro-strip, .story, #features, .visual-story, .flow, .timeline, .coach, #privacy, .faq, .cta, .footer { background: transparent; }
.phone-stage { min-height: 650px; }
.phone-screenshot { overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 52px; background: #000; box-shadow: 0 36px 100px rgba(0,0,0,.7), 0 0 70px rgba(183,255,0,.1); }
.phone-screenshot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.float-card { color: var(--ink); border-color: rgba(255,255,255,.14); background: rgba(32,32,35,.92); box-shadow: var(--shadow); }
.float-card b { color: var(--green); }
.intro-strip article, .story-stack article, .feature, .insight-card, .recipe-preview, .step, .day-card, .coach-list > div, .trust-main, .trust-list, .faq article, .analysis-board { color: var(--ink); border-color: var(--line); background: var(--panel); box-shadow: 0 18px 56px rgba(0,0,0,.28); }
.feature-icon.green, .feature-icon.blue, .feature-icon.amber, .feature-icon.red { color: #101200; background: var(--green); }
.app-screen-grid { position: relative; min-height: 760px; display: flex; align-items: flex-start; justify-content: center; gap: 20px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 42px; background: radial-gradient(circle at 50% 5%, rgba(183,255,0,.17), transparent 42%), #121214; }
.app-screen-card { width: min(47%, 300px); margin: 0; }
.app-screen-card.offset { margin-top: 84px; }
.app-screen-card img { width: 100%; height: 610px; object-fit: cover; object-position: top; display: block; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; box-shadow: 0 28px 58px rgba(0,0,0,.6); }
.app-screen-card figcaption { display: grid; gap: 4px; padding: 15px 6px 0; }
.app-screen-card figcaption b { color: var(--ink); font-size: 18px; }
.app-screen-card figcaption span { color: var(--muted); font-size: 13px; }
.cinema-bg { opacity: .1; filter: grayscale(1); }
.cinema::before { background: linear-gradient(90deg, #000 12%, rgba(0,0,0,.72), #000); }
.board-meter, .insight-bars { background: var(--green-soft); }
.board-meter i, .insight-bars i { background: var(--green); }
.day-item::before, .step-num { color: #101200; background: var(--green); }
.day-item.is-now .day-card, .day-item.is-suggestion .day-card { border-color: rgba(183,255,0,.45); background: var(--green-soft); }
.cta-box { border-color: rgba(183,255,0,.22); background: radial-gradient(circle at 90% 10%, rgba(183,255,0,.16), transparent 36%), #202023; }
.store { color: var(--ink); border-color: var(--line); background: #2a2a2e; }
.store:hover { border-color: var(--green); background: #303034; }
.footer { border-color: var(--line); }

@media (max-width: 760px) {
  .app-screen-grid { min-height: 620px; padding: 22px 12px; gap: 10px; border-radius: 28px; }
  .app-screen-card { width: 49%; }
  .app-screen-card.offset { margin-top: 52px; }
  .app-screen-card img { height: 490px; border-radius: 22px; }
  .phone-stage { min-height: 560px; }
}

/* Platform marks must remain after the legacy store-button rules. */
.store .store-icon { color: #d8d8de; border: 1px solid #45454c; background: #202023; }
.store.web-store .store-icon { color: var(--green); border-color: rgba(183, 255, 0, .28); background: var(--green-soft); }
.store-icon svg { width: 20px; height: 20px; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.store:not(.web-store) .store-icon svg path:first-child:only-child { fill: none; stroke: currentColor; }
