:root {
  --canvas: #f8f9f6;
  --surface: #ffffff;
  --ink: #17211d;
  --muted: #6f7b75;
  --line: #e7ece8;
  --teal: #58bdb7;
  --teal-dark: #20948d;
  --ring-track: #cde9e5;
  --mint: #eaf8f4;
  --blue: #6d8bdc;
  --orange: #f0aa55;
  --red: #e06d62;
  --shadow: 0 28px 80px rgba(23, 33, 29, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius-phone: 36px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px color-mix(in srgb, var(--teal) 36%, transparent);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 48px);
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.site-header .btn-ghost {
  flex-shrink: 0;
  min-width: 11.5rem;
  justify-content: center;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--teal-dark) 22%, var(--line));
  background: color-mix(in srgb, var(--surface) 80%, var(--mint));
  flex-shrink: 0;
}

.lang-btn {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--mint) 70%, white);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(32, 148, 141, 0.22);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(32, 148, 141, 0.28);
}

.btn-primary:hover:not(:disabled) {
  background: #1a7f79;
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--teal-dark) 28%, transparent);
  color: var(--teal-dark);
}

.btn-ghost:hover {
  background: var(--mint);
}

.btn-text {
  background: transparent;
  color: var(--muted);
  padding-inline: 12px;
}

.btn-text:hover:not(:disabled) {
  color: var(--ink);
}

/* —— Hero —— */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  min-height: calc(100svh - var(--header-h));
  padding: clamp(32px, 6vh, 72px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 96px);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(88, 189, 183, 0.36), transparent 60%),
    radial-gradient(ellipse 50% 45% at 12% 18%, rgba(32, 148, 141, 0.18), transparent 55%),
    radial-gradient(ellipse 42% 38% at 38% 92%, rgba(234, 248, 244, 0.9), transparent 55%),
    linear-gradient(165deg, #eef7f4 0%, var(--canvas) 48%, #f3f6ef 100%);
}

.hero-mesh {
  position: absolute;
  inset: -10% -5%;
  background-image:
    linear-gradient(rgba(32, 148, 141, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 148, 141, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 12s var(--ease) infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: 8%;
  right: 18%;
  background: rgba(88, 189, 183, 0.45);
}

.orb-b {
  width: 180px;
  height: 180px;
  bottom: 12%;
  right: 8%;
  background: rgba(32, 148, 141, 0.22);
  animation-delay: -4s;
}

.orb-c {
  width: 220px;
  height: 220px;
  top: 42%;
  left: 6%;
  background: rgba(205, 233, 229, 0.7);
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.05);
  }
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  max-width: 34ch;
  margin-bottom: 16px;
}

.hero-trust,
.cta-trust {
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 36ch;
  margin: 0 0 22px;
}

.cta-trust {
  margin-inline: auto;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  animation: rise 1.05s var(--ease) 0.12s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Hero phone (single) —— */

.hero-phone {
  position: relative;
  width: min(100%, 320px);
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.hero-phone .phone-main {
  width: min(100%, 300px);
}

/* —— Phone mock —— */

.phone {
  width: min(100%, 300px);
  border-radius: var(--radius-phone);
  padding: 12px;
  background: linear-gradient(160deg, #2a3531, #17211d);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-sm {
  width: min(100%, 260px);
}

.phone-tilt {
  transition: transform 0.35s var(--ease);
}

.phone-notch {
  width: 96px;
  height: 8px;
  margin: 6px auto 10px;
  border-radius: 999px;
  background: #0d1411;
}

.phone-screen {
  border-radius: 28px;
  background: var(--surface);
  padding: 18px 16px 20px;
  min-height: 520px;
  overflow: hidden;
}

.phone-sm .phone-screen {
  min-height: 460px;
}

.screen-compact {
  min-height: 420px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.screen-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.screen-sub {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Today screen */

.ring-block {
  position: relative;
  width: 196px;
  height: 196px;
  margin: 4px auto 16px;
}

.calorie-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track,
.ring-progress {
  fill: none;
  stroke-width: 18;
}

.ring-track {
  stroke: var(--ring-track);
}

.ring-progress {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 578;
  stroke-dashoffset: 578;
}

.is-visible .ring-progress,
.hero .ring-progress {
  animation: ring-draw 1.6s var(--ease) 0.35s forwards;
}

@keyframes ring-draw {
  to {
    stroke-dashoffset: 162;
  }
}

.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 2px;
}

.ring-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: lowercase;
}

.ring-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.ring-unit {
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.macro-row {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.macro-name,
.macro-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
}

.macro-name {
  color: var(--ink);
  margin-bottom: 5px;
}

.macro-val {
  color: var(--muted);
  margin-top: 5px;
}

.macro-bar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.macro-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
}

.is-visible .macro-bar i,
.hero .macro-bar i {
  animation: bar-fill 1.2s var(--ease) 0.75s forwards;
}

@keyframes bar-fill {
  to {
    width: var(--w);
  }
}

.meal-strip {
  display: grid;
  gap: 8px;
}

.meal-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--mint) 70%, white);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
}

.meal-item strong {
  color: var(--ink);
  font-weight: 800;
}

.meal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.meal-dot.breakfast {
  background: var(--blue);
}

.meal-dot.lunch {
  background: var(--teal-dark);
}

.meal-dot.dinner {
  background: var(--orange);
}

/* Ration screen */

.ration-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ration-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--mint) 45%, white);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(10px);
}

.screen-compact .ration-list li {
  opacity: 1;
  transform: none;
}

.is-visible .ration-list li {
  animation: list-in 0.55s var(--ease) forwards;
}

.is-visible .ration-list li:nth-child(1) { animation-delay: 0.1s; }
.is-visible .ration-list li:nth-child(2) { animation-delay: 0.18s; }
.is-visible .ration-list li:nth-child(3) { animation-delay: 0.26s; }
.is-visible .ration-list li:nth-child(4) { animation-delay: 0.34s; }
.is-visible .ration-list li:nth-child(5) { animation-delay: 0.42s; }

@keyframes list-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ration-list li.is-active {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
  background: var(--mint);
}

.ration-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.ration-list small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
}

.ration-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.95rem;
  color: var(--teal-dark);
}

.ration-icon.mint { background: var(--mint); }
.ration-icon.teal { background: color-mix(in srgb, var(--teal) 28%, white); }
.ration-icon.blue { background: color-mix(in srgb, var(--blue) 22%, white); color: #3f5fad; }
.ration-icon.orange { background: color-mix(in srgb, var(--orange) 28%, white); color: #b06a1f; }

.ration-meta {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--teal-dark);
}

/* Verdict screen */

.product-hero-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 8px;
}

.verdict-badge.fits {
  background: color-mix(in srgb, var(--teal) 22%, white);
  color: var(--teal-dark);
}

.verdict-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 28ch;
}

.verdict-macros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.verdict-macros span {
  display: grid;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--mint) 55%, white);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--muted);
}

.verdict-macros b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--ink);
}

.verdict-scale {
  display: grid;
  gap: 8px;
}

.scale-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  min-width: 0;
}

.scale-item > span:first-child {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.scale-item.fits > span:first-child { background: var(--teal); }
.scale-item.limited > span:first-child { background: var(--orange); }
.scale-item.avoid > span:first-child { background: var(--red); }

/* Photo screen */

.photo-preview {
  position: relative;
  height: 160px;
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 40%, rgba(240, 170, 85, 0.55), transparent 42%),
    radial-gradient(circle at 68% 55%, rgba(88, 189, 183, 0.5), transparent 40%),
    linear-gradient(160deg, #d7e8e2, #c5d4ce);
}

.photo-plate {
  position: absolute;
  inset: 28% 18% 22%;
  border-radius: 50% 50% 46% 46%;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: 0 8px 24px rgba(23, 33, 29, 0.12);
}

.photo-scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-dark), transparent);
  animation: scan 2.4s var(--ease) infinite;
  top: 20%;
}

@keyframes scan {
  0% { top: 18%; opacity: 0.2; }
  50% { opacity: 1; }
  100% { top: 78%; opacity: 0.2; }
}

.draft-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.draft-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--mint) 50%, white);
}

.draft-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
}

.draft-list small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
}

.draft-kcal {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.draft-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.draft-btn {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 750;
}

.draft-btn.ghost {
  border: 1px solid var(--line);
  color: var(--muted);
}

.draft-btn.primary {
  background: var(--teal-dark);
  color: #fff;
}

/* —— Sections —— */

.section {
  padding: clamp(64px, 10vh, 112px) clamp(20px, 5vw, 64px);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2,
.diets-copy h2,
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-head p,
.diets-copy p,
.cta-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Funnel —— */

.plan {
  padding-top: clamp(40px, 6vh, 64px);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(88, 189, 183, 0.12), transparent 70%);
}

.plan-head {
  margin-inline: auto;
  text-align: center;
}

.plan-head p {
  margin-inline: auto;
}

.funnel {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 88%, var(--mint));
  border: 1px solid color-mix(in srgb, var(--teal) 18%, var(--line));
  box-shadow: 0 20px 60px rgba(23, 33, 29, 0.06);
}

.funnel-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 14px;
}

.funnel-progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transition: width 0.45s var(--ease);
}

.funnel-step-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.funnel-stage {
  position: relative;
}

.funnel-panel--measure {
  position: absolute !important;
  inset: 0 auto auto 0;
  width: 100%;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

[data-i18n-region] {
  box-sizing: border-box;
}

.funnel-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.funnel-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  max-width: 42ch;
}

.funnel-panel {
  animation: panel-in 0.4s var(--ease) both;
}

.funnel-panel.is-leaving {
  animation: panel-out 0.28s ease both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes panel-out {
  to {
    opacity: 0;
    transform: translateX(-12px);
  }
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-card,
.chip {
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s var(--ease);
}

.choice-card {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.choice-card:hover {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
  transform: translateY(-1px);
}

.choice-card[aria-checked="true"] {
  border-color: var(--teal-dark);
  background: var(--mint);
  box-shadow: var(--focus);
}

.choice-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.choice-desc {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
  background: var(--surface);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.chip:hover {
  background: var(--mint);
}

.chip[aria-checked="true"] {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(32, 148, 141, 0.22);
}

.plan-preview {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-preview-kicker {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-preview-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.plan-preview-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-preview-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--mint) 55%, white);
}

.plan-preview-key {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.plan-preview-list strong {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 750;
}

.plan-preview-body {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.plan-preview-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-preview .btn {
  justify-self: start;
}

.funnel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  min-height: 48px;
}

.funnel-nav .btn-primary {
  margin-left: auto;
}

/* —— Showcase / bento —— */

.showcase {
  padding-top: clamp(48px, 8vh, 80px);
}

.showcase-head {
  margin-inline: auto;
  text-align: center;
}

.showcase-head p {
  margin-inline: auto;
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 1120px;
  margin: 0 auto;
}

.bento-card {
  display: grid;
  gap: 28px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  background: transparent;
  border: none;
}

.bento-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.showcase-copy {
  max-width: 28rem;
}

.showcase-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.showcase-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.showcase-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36ch;
  line-height: 1.55;
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

.showcase-visual .phone {
  width: min(100%, 300px);
}

.bento-card:not(.bento-wide) .showcase-visual .phone {
  width: min(100%, 260px);
}

/* —— Flow —— */

.flow {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--mint) 55%, transparent) 40%, transparent);
}

.flow .section-head {
  margin-inline: auto;
}

.flow .section-head p {
  margin-inline: auto;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  max-width: 920px;
  margin-inline: auto;
}

.step {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 8px 12px;
  text-align: center;
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  max-width: 24ch;
  margin-inline: auto;
  font-size: 0.95rem;
}

/* —— Diets —— */

.diets-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(12px, 2vw, 24px) 0;
}

.diet-chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diet-chips li {
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--teal) 45%, var(--line));
  background: color-mix(in srgb, var(--surface) 70%, var(--mint));
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

/* —— Investors —— */

.investors {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--mint) 40%, transparent) 45%, transparent);
}

.investors .section-head {
  margin-inline: auto;
}

.investors .section-head p {
  margin-inline: auto;
  max-width: 40ch;
}

.investor-compact {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.investor-lead {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  max-width: 48ch;
}

.investor-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  width: 100%;
  text-align: left;
}

.investor-points article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.investor-points h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.investor-points p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* —— CTA —— */

.cta {
  padding-bottom: clamp(80px, 12vh, 128px);
}

.cta-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cta-mark {
  margin: 0 auto 20px;
  border-radius: 22%;
  box-shadow: 0 16px 40px rgba(32, 148, 141, 0.2);
}

.cta-inner > p {
  margin: 0 auto 28px;
}

.access-form {
  max-width: 440px;
  margin: 0 auto;
}

.access-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.access-row input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-row input::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
  font-weight: 500;
}

.access-row input:focus {
  border-color: var(--teal);
  box-shadow: var(--focus);
}

.access-row input.is-invalid {
  border-color: #e06d62;
  box-shadow: 0 0 0 3px rgba(224, 109, 98, 0.18);
}

.access-row .btn-primary {
  flex: 0 0 auto;
}

.funnel-access {
  margin-top: 22px;
  max-width: none;
}

.funnel-access .access-row {
  justify-content: stretch;
}

.plan-preview .funnel-access .btn-primary {
  width: auto;
}

.access-hint {
  min-height: 1.4em;
  margin-top: 12px;
  color: #c24b42;
  font-size: 0.9rem;
  font-weight: 600;
}

.access-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 0 0;
  text-align: center;
  outline: none;
}

.access-success[hidden] {
  display: none;
}

.access-success:focus-visible {
  box-shadow: var(--focus);
  border-radius: 12px;
}

.access-success-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}

.access-success-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 28ch;
}

.access-success-email {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Footer —— */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-dark);
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  margin-top: 4px;
}

.footer-nav a {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.investor-back {
  margin: 0;
}

.page-investors .investors-page {
  padding-top: 24px;
}

.page-investors .investors .section-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 14px;
}

.page-investors .investor-points h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

/* —— Sticky mobile CTA —— */

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(32, 148, 141, 0.35);
}

.sticky-cta[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .sticky-cta.is-visible:not([hidden]) {
    display: flex;
  }
}

/* —— Reveal —— */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Responsive —— */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
    text-align: left;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    max-width: 16ch;
  }

  .hero-visual {
    order: -1;
    min-height: 380px;
  }

  .hero-phone {
    width: min(100%, 280px);
  }

  .hero-phone .phone-main {
    width: min(100%, 250px);
  }

  .phone-screen {
    min-height: 440px;
  }

  .bento,
  .bento-wide {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: auto;
  }

  .showcase-copy {
    text-align: center;
    margin-inline: auto;
  }

  .showcase-copy p {
    margin-inline: auto;
  }

  .steps,
  .diets-panel,
  .investor-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .site-header .btn-ghost[href="#plan"] {
    display: none;
  }

  .brand span {
    font-size: 1.1rem;
  }

  .site-header .btn-ghost {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.85rem;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .funnel {
    padding: 18px;
  }

  .funnel-nav {
    flex-wrap: wrap;
  }

  .funnel-nav .btn-primary,
  .plan-preview .btn {
    width: 100%;
  }

  .plan-preview-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .plan-preview-list strong {
    text-align: left;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .access-row {
    flex-direction: column;
    align-items: stretch;
  }

  .access-row .btn-primary {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .orb,
  .calorie-ring .ring-progress,
  .macro-bar i,
  .hero-copy,
  .hero-visual,
  .reveal,
  .photo-scan-line,
  .funnel-panel,
  .funnel-panel.is-leaving,
  .is-visible .ration-list li {
    animation: none !important;
    transition: none !important;
  }

  .ring-progress {
    stroke-dashoffset: 162;
  }

  .macro-bar i {
    width: var(--w);
  }

  .ration-list li {
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .phone-tilt {
    transform: none !important;
  }
}
