@font-face {
  font-family: 'Rubik'; src: url('/rubik.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}
:root {
  --sun: #FFE14D;
  --ink: #1B1F3B;
  --soft: #4A4E6E;
  --blue: #2F5BFF;
  --pink: #FF8FB1;
  --mint: #7BE0B4;
  --white: #FFFFFF;
  --line: #1B1F3B;
  --navy: #1B1F3B;      /* fixed: text on colored bands */
  --on-blue: #FFFFFF;
  --link: #2348E0;
  --plus: #0B7A50;
  --minus: #C42A5F;
  --font: 'Rubik', system-ui, sans-serif;
  --shadow: 6px 6px 0 var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sun: #151935; --ink: #FFE14D; --soft: #C9CBE0; --blue: #8DA6FF; --white: #232850; --line: #0A0C1E;
    --on-blue: #151935; --link: #8DA6FF; --plus: #5BE3A6; --minus: #FF8FB1;
  }
}
:root[data-theme="dark"] {
  --sun: #151935; --ink: #FFE14D; --soft: #C9CBE0; --blue: #8DA6FF; --white: #232850; --line: #0A0C1E;
    --on-blue: #151935; --link: #8DA6FF; --plus: #5BE3A6; --minus: #FF8FB1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--sun); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); font-weight: 500; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h2 { font: 900 clamp(2rem, 5vw, 3.6rem)/.98 var(--font); letter-spacing: -0.035em; margin-bottom: 20px; max-width: 16ch; }
h2 + p, .lead-p { font-size: 1.15rem; max-width: 34em; }
section { padding: 96px 0; }

.bar, main, .foot { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* top bar */
.bar { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.bar .brand { margin-right: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; border: 2px solid var(--line); }
.bar nav { display: flex; gap: 6px; }
.bar nav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.bar nav a:hover { background: var(--white); }

/* full-bleed colored bands */
.band { position: relative; }
.band::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--band); }

/* app screenshot: real screen proportions, no device body */
.phone {
  position: relative; width: 280px; flex: none; overflow: hidden;
  border: 3px solid var(--line); border-radius: 13.5% / 6.2%;
  background: var(--line); box-shadow: 10px 10px 0 var(--line);
}
.phone img { display: block; width: 100%; height: auto; }
.phone { height: fit-content; }

/* store badge */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 16px; border-radius: 16px;
  background: var(--navy); color: #FFFFFF; box-shadow: 4px 4px 0 var(--blue);
}
.store svg { width: 28px; height: 28px; fill: currentColor; }
.store span { display: grid; font-weight: 700; font-size: 1.3rem; line-height: 1.05; }
.store small { font-weight: 400; font-size: .75rem; }
.store.big { padding: 14px 30px 14px 22px; }
.store.big svg { width: 36px; height: 36px; }
.store.big span { font-size: 1.6rem; }

/* ticks list */
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.ticks li { position: relative; padding-left: 38px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ───────── HERO ───────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "copy stage";
  column-gap: 40px; padding: 8px 0 72px;
}
.hero-title {
  grid-area: title; position: relative; z-index: 1;
  font: 900 14.5rem/.84 var(--font); letter-spacing: -0.05em;
  /* --hk is set per language at build time from the real glyph widths so long words never overflow */
  font-size: min(14.5rem, 16.5vw, calc(var(--hk, 1) * min(1180px, 100vw - 32px)));
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title span + span { padding-left: 9%; }
.hero-copy { grid-area: copy; align-self: start; padding-top: 48px; }
.lead { font-size: 1.35rem; line-height: 1.45; max-width: 25em; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.cta-note { color: var(--soft); }

.hero-stage { grid-area: stage; position: relative; min-height: 640px; margin-top: -40px; z-index: 2; }
.hero-phone { position: absolute; right: 40px; top: 0; rotate: 4deg; width: 290px; }
.s-syrniki { position: absolute; width: 250px; left: -40px; bottom: 30px; rotate: -10deg; filter: drop-shadow(6px 8px 0 rgba(27,31,59,.25)); z-index: 3; }
.scan-chip {
  position: absolute; left: 150px; bottom: 6px; z-index: 4; rotate: -3deg;
  display: grid; padding: 12px 18px; border-radius: 20px; background: var(--white); color: var(--ink);
  border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--line); line-height: 1.25;
}
.scan-chip b { font-size: .92rem; }
.scan-chip span { font-weight: 900; font-size: 1.9rem; color: var(--blue); letter-spacing: -0.02em; }
.scan-chip small { color: var(--soft); }

.chips { list-style: none; }
.chips li {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-weight: 500; font-size: .95rem;
  border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); white-space: nowrap;
}
.chips i { font-style: normal; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); }
.chips .c1 { top: 10px; right: -30px; rotate: 4deg; }
.chips .c2 { top: 300px; left: 20px; rotate: -5deg; }
.chips .c3 { top: 560px; right: -40px; rotate: 3deg; }
.chips .c4 { top: 200px; left: 60px; rotate: -4deg; }
.chips .c4 i { background: var(--pink); }

@media (prefers-reduced-motion: no-preference) {
  .chips li, .scan-chip { animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
  .chips .c4 { animation-delay: .5s; } .chips .c1 { animation-delay: .75s; } .chips .c2 { animation-delay: 1s; } .chips .c3 { animation-delay: 1.25s; }
  .scan-chip { animation-delay: 1.6s; }
  .s-syrniki { animation: drop .7s cubic-bezier(.3,1.4,.5,1) .2s both; }
  @keyframes pop { from { opacity: 0; scale: .5; } }
  @keyframes drop { from { opacity: 0; translate: 0 -60px; rotate: -30deg; } }
}

/* goals ticker */
.goals {
  list-style: none; display: flex; gap: 14px; padding: 18px 0; width: max-content;
  font-weight: 700; font-size: 1.25rem;
}
.goals-wrap { position: relative; overflow: hidden; margin-inline: calc(50% - 50vw); background: var(--navy); color: #FFE14D; rotate: -1.5deg; border-block: 3px solid var(--navy); }
.goals li { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.goals li::after { content: '✦'; color: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .goals.run { animation: ticker 36s linear infinite; }
  @keyframes ticker { to { translate: -50% 0; } }
}

/* ───────── PHOTO ───────── */
.photo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.scanner {
  background: var(--white); border: 3px solid var(--line); border-radius: 36px; box-shadow: 10px 10px 0 var(--line);
  padding: 22px;
}
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dishes button {
  display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; cursor: pointer;
  font: 500 .92rem var(--font); color: var(--ink); background: var(--sun);
  border: 2px solid var(--line); border-radius: 18px; transition: translate .15s, box-shadow .15s;
}
.dishes button img { width: 56px; height: 56px; object-fit: contain; }
.dishes button:hover { translate: -2px -2px; box-shadow: 3px 3px 0 var(--line); }
.dishes button[aria-selected="true"] { background: var(--blue); color: var(--on-blue); box-shadow: 3px 3px 0 var(--line); translate: -2px -2px; }

.scan-view { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: stretch; }
.scan-photo {
  position: relative; overflow: hidden; border-radius: 24px; background: #1B1F3B;
  display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 18px;
}
.scan-photo::before, .scan-photo::after {
  content: ''; position: absolute; width: 36px; height: 36px; border: 4px solid #FFE14D;
}
.scan-photo::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.scan-photo::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.scan-photo img { width: 100%; height: 100%; object-fit: contain; }
.scan-line {
  position: absolute; left: 0; right: 0; top: -10%; height: 70px; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,225,77,.55) 85%, #FFE14D 100%);
}
.scanning .scan-line { animation: scan 1.1s ease-in-out; }
@keyframes scan { 0% { top: -15%; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.result { display: flex; flex-direction: column; color: var(--ink); transition: opacity .25s; }
.scanning .result { opacity: .25; }
.result-name { font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.result-kcal { font-size: 1.1rem; margin-top: 4px; }
.result-kcal b { font-weight: 900; font-size: 3.4rem; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.macros { display: flex; gap: 8px; margin-top: 10px; }
.macros span { flex: 1; text-align: center; padding: 6px 0; border-radius: 12px; background: var(--sun); font-size: .9rem; border: 2px solid var(--line); }
.macros span:nth-child(2) { background: var(--pink); color: #1B1F3B; }
.macros span:nth-child(3) { background: var(--mint); color: #1B1F3B; }
.items { list-style: none; margin-top: 14px; font-size: .93rem; display: grid; gap: 6px; }
.items li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.items li span:last-child { font-weight: 500; white-space: nowrap; }
.result-conf { margin-top: auto; padding-top: 12px; font-size: .85rem; color: var(--soft); }
.scanner-note { margin-top: 14px; font-size: .85rem; color: var(--soft); text-align: center; }

.photo-phone { margin: 48px 0 0 24px; rotate: -4deg; width: 260px; }

/* ───────── SHOP SEARCH ───────── */
.shop { --band: var(--mint); color: var(--navy); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.shop .ticks li::before { background-color: var(--navy); }
.shop-demo { display: grid; gap: 16px; max-width: 460px; width: 100%; justify-self: center; min-height: 430px; align-content: start; }
.said {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px 12px 20px;
  background: #FFE14D; color: #1B1F3B; border: 3px solid #1B1F3B; border-radius: 24px; box-shadow: 5px 5px 0 #1B1F3B;
}
.said p { flex: 1; min-height: 1.4em; font-weight: 700; font-size: 1.1rem; line-height: 1.4; padding-top: 4px; }
.mic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; border: 2px solid #1B1F3B; transition: background .2s; }
.mic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.mic svg rect { fill: currentColor; stroke: none; }
[data-step="typing"] .mic { background: #2F5BFF; color: #FFFFFF; }

.shop-card {
  display: grid; gap: 14px; padding: 18px; background: var(--white); color: var(--ink);
  border: 3px solid var(--line); border-radius: 28px; box-shadow: 8px 8px 0 var(--line);
  transform-origin: top center; transition: opacity .35s, scale .45s cubic-bezier(.3,1.5,.5,1);
}
[data-step="idle"] .shop-card, [data-step="typing"] .shop-card { opacity: 0; scale: .9; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; font-weight: 900; color: var(--plus); }
.shop-name { display: inline-flex; align-items: center; gap: 6px; }
.shop-name svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.shop-state { font-size: .9rem; }
.s-search { display: none; align-items: center; gap: 4px; color: var(--soft); font-weight: 500; }
.s-search i { width: 6px; height: 6px; border-radius: 50%; background: var(--plus); opacity: .35; }
.s-search i:first-of-type { margin-left: 4px; }
.s-found { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.s-found::before { content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--plus); color: var(--white); font-size: .7rem; font-weight: 900; }
[data-step="searching"] .s-search { display: inline-flex; }
[data-step="searching"] .s-found { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .s-search i { animation: blink 1.2s infinite; }
  .s-search i:nth-of-type(2) { animation-delay: .2s; } .s-search i:nth-of-type(3) { animation-delay: .4s; }
}
.shop-item { display: flex; align-items: center; gap: 14px; }
.shop-emoji { flex: none; display: grid; place-items: center; width: 64px; height: 64px; font-size: 2.2rem; border-radius: 16px; background: var(--mint); border: 2px solid var(--line); }
.shop-item b { display: block; font-size: 1.12rem; line-height: 1.25; }
.shop-item small { display: block; margin-top: 2px; color: var(--soft); font-size: .9rem; }
[data-step="searching"] .shop-item b, [data-step="searching"] .shop-item small {
  color: transparent; border-radius: 6px; background: color-mix(in srgb, var(--ink) 14%, transparent);
}
[data-step="searching"] .shop-emoji { color: transparent; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.shop-nums { display: flex; align-items: center; gap: 12px; }
.shop-nums .macros { flex: 1; margin: 0; }
.shop-nums .macros span { padding: 4px 0; }
.shop-kcal { white-space: nowrap; font-size: 1rem; }
.shop-kcal b { font-weight: 900; font-size: 2.1rem; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.shop-add {
  display: grid; place-items: center; height: 46px; border-radius: 999px; font-weight: 700;
  background: var(--blue); color: var(--on-blue); transition: background .25s, opacity .25s;
}
.shop-add > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity .2s; }
.a-plus::before { content: '+'; font-size: 1.3rem; line-height: 1; }
.a-done::before { content: '✓'; }
.a-done { opacity: 0; }
[data-step="searching"] .shop-add { opacity: .35; }
[data-step="added"] .shop-add { background: var(--plus); color: var(--white); }
[data-step="added"] .a-plus { opacity: 0; }
[data-step="added"] .a-done { opacity: 1; }
.shop-src { font-size: .85rem; color: var(--soft); }

/* ───────── DEFICIT ───────── */
.deficit { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; }
.deficit-phone { rotate: -3deg; margin-left: 20px; }
.budget {
  margin-top: 32px; max-width: 460px; background: var(--white); color: var(--ink);
  border: 3px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden;
}
.budget-row { display: flex; justify-content: space-between; padding: 14px 22px; border-bottom: 2px dashed color-mix(in srgb, var(--ink) 20%, transparent); }
.budget-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.budget-row.plus b { color: var(--plus); }
.budget-row.minus b { color: var(--minus); }
.budget-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; background: var(--blue); color: var(--on-blue); font-weight: 700; }
.budget-total b { font-weight: 900; font-size: 2rem; letter-spacing: -0.02em; }
.aside {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; max-width: 460px; font-weight: 500;
}
.aside img { width: 84px; rotate: -8deg; flex: none; }

/* ───────── TOGETHER ───────── */
.together { --band: var(--pink); color: var(--navy); display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.together a { color: var(--navy); }
.together .ticks li::before { background-color: var(--navy); }
.together-phones { display: flex; align-items: flex-start; gap: 0; padding-right: 20px; }
.together-phones .phone { width: 260px; }
.together-phones .tilt-l { rotate: -5deg; z-index: 1; }
.together-phones .tilt-r { rotate: 5deg; margin-left: -60px; margin-top: 70px; }
.together .phone { border-color: var(--navy); background: var(--navy); box-shadow: 10px 10px 0 var(--navy); }

/* ───────── CLUBS ───────── */
.clubs-lead { margin-bottom: 40px; }
.club-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.club {
  position: relative; display: grid; align-content: end; min-height: 230px; padding: 112px 22px 22px;
  border: 3px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  background: var(--card); color: #1B1F3B; margin-top: 36px;
}
.club img { position: absolute; top: -44px; right: 14px; width: 150px; height: 150px; object-fit: contain; rotate: 8deg; filter: drop-shadow(4px 5px 0 rgba(27,31,59,.2)); }
.club b { font-weight: 900; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.05; }
.club span { margin-top: 6px; font-size: .98rem; }
.club:nth-child(odd) { rotate: -1.2deg; }
.club:nth-child(even) { rotate: 1.2deg; }
.k-steps { --card: #8FB0FF; } .k-sweet { --card: #FFB7CE; } .k-alco { --card: #C9B6FF; }
.k-smoke { --card: #FFD0A8; } .k-water { --card: #9EE7F0; } .k-fast { --card: #B9F0B0; }

.clubs-detail { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; margin-top: 96px; }
.clubs-detail .phone { width: 250px; }
.clubs-detail .phone:first-child { rotate: -4deg; }
.clubs-detail .phone:last-child { rotate: 4deg; }
.facts { list-style: none; display: grid; gap: 16px; }
.facts li { padding: 16px 20px; background: var(--white); border: 2px solid var(--line); border-radius: 22px; box-shadow: 4px 4px 0 var(--line); }
.facts b { display: block; font-size: 1.1rem; }

/* ───────── AI ───────── */
.ai { --band: #2F5BFF; color: #FFFFFF; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 14px 18px; border-radius: 24px; font-size: 1.02rem; line-height: 1.45; border: 2px solid #1B1F3B; box-shadow: 4px 4px 0 #1B1F3B; }
.msg.me { align-self: flex-end; background: #FFE14D; color: #1B1F3B; border-bottom-right-radius: 6px; font-weight: 500; }
.msg.bot { align-self: flex-start; background: #FFFFFF; color: #1B1F3B; border-bottom-left-radius: 6px; }
.msg.action { display: grid; gap: 10px; }
.msg .btn { justify-self: start; padding: 8px 16px; border-radius: 999px; background: #2F5BFF; color: #FFFFFF; font-weight: 700; font-size: .92rem; }
.msg.typing { display: flex; gap: 6px; padding: 18px 20px; }
.msg.typing i { width: 9px; height: 9px; border-radius: 50%; background: #1B1F3B; opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .msg.typing i { animation: blink 1.2s infinite; }
  .msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
  @keyframes blink { 50% { opacity: 1; } }
}
.ai .ticks li::before { background-color: #FFE14D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231B1F3B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ───────── FASTING ───────── */
.fasting { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 56px; align-items: center; }
.plans { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 12px; }
.plans li { padding: 8px 18px; background: var(--white); border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plans li.rec { background: var(--ink); color: var(--sun); }
.fast-tip { color: var(--soft); font-size: .97rem; }
.fast-card { background: var(--white); border: 2px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 26px 28px; rotate: 2deg; }
.fast-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fast-head span { font-size: .85rem; color: var(--soft); }
.fast-head span::before { content: '🔒 '; }
.fast-time { margin-top: 8px; color: var(--soft); }
.fast-time b { font: 900 3.4rem/1 var(--font); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fast-bar { height: 14px; margin: 14px 0 22px; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.fast-bar i { display: block; width: 86%; height: 100%; background: var(--mint); border-right: 2px solid var(--line); }
.stages { list-style: none; display: grid; gap: 6px; }
.stages li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 6px 12px; margin-inline: -12px; color: var(--soft); }
.stages li span { font-weight: 700; font-variant-numeric: tabular-nums; }
.stages li.done b { color: var(--ink); font-weight: 500; }
.stages li.done b::after { content: ' ✓'; color: var(--plus); }
.stages li.now { background: var(--sun); border: 2px solid var(--line); border-radius: 16px; padding-block: 10px; color: var(--ink); }
.stages li.now b { font-weight: 700; }
.stages li small { grid-column: 2; font-size: .9rem; line-height: 1.4; color: var(--soft); margin-top: 2px; }

/* ───────── MORE ───────── */
.more-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.more-grid li { padding: 20px; background: var(--white); border: 2px solid var(--line); border-radius: 24px; color: var(--soft); font-size: .97rem; line-height: 1.45; }
.more-grid img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 10px; }
.more-grid b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; line-height: 1.25; }

/* ───────── FAQ ───────── */
.faq { max-width: 820px; }
.faq details { margin-top: 14px; background: var(--white); border: 2px solid var(--line); border-radius: 22px; box-shadow: 4px 4px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; line-height: 1; transition: rotate .2s; border: 2px solid var(--line); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; color: var(--soft); }

/* ───────── FINAL ───────── */
.final { text-align: center; padding-bottom: 120px; }
.final-title { font: 900 clamp(3rem, 11vw, 9rem)/.88 var(--font); letter-spacing: -0.05em; margin-bottom: 40px; }
.final-stickers { display: flex; justify-content: center; gap: 0; margin-bottom: 8px; }
.final-stickers img { width: 120px; margin-inline: -10px; }
.final-stickers img:nth-child(odd) { rotate: -10deg; } .final-stickers img:nth-child(even) { rotate: 9deg; translate: 0 14px; }
.care { max-width: 36em; margin: 44px auto 0; color: var(--soft); font-size: .92rem; }

.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 24px 0 44px; border-top: 2px solid var(--ink); font-size: .95rem; }

.sticky-cta { display: none; }

/* skip link */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--sun); }
.skip:focus { top: 12px; }

/* language menu */
.bar .home-link { color: var(--ink); }
.lang { position: relative; flex: none; }
.lang summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  padding: 7px 12px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font-weight: 700; font-size: .9rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; min-width: 170px; padding: 6px;
  background: var(--white); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.lang li a:hover { background: var(--sun); }
.lang li a[aria-current] { font-weight: 900; }

/* "this page is in your language" */
.lang-suggest {
  position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px; border: 3px solid var(--line); border-radius: 18px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow); font-size: .95rem;
}
.lang-suggest .go { padding: 7px 14px; border-radius: 12px; background: var(--blue); color: var(--on-blue); text-decoration: none; white-space: nowrap; }
.lang-suggest button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 700 1.3rem/1 var(--font); cursor: pointer; }

.notfound .nf-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; }

/* ───────── PRIVACY ───────── */
.policy { max-width: 44rem; padding: 32px 0 80px; }
.policy h1 { font: 900 clamp(2.4rem, 7vw, 4.2rem)/.95 var(--font); letter-spacing: -0.04em; }
.policy .updated { margin: 14px 0 32px; color: var(--soft); }
.policy h2 { font: 700 1.45rem/1.25 var(--font); margin: 44px 0 12px; letter-spacing: -0.01em; max-width: none; }
.policy p, .policy li { color: var(--soft); }
.policy p + p { margin-top: 12px; }
.policy ul { list-style: none; margin-top: 12px; }
.policy li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.policy li::before { content: ''; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.policy .short { background: var(--white); border: 3px solid var(--line); box-shadow: var(--shadow); border-radius: 28px; padding: 6px 28px 22px; }
.policy .short h2 { margin-top: 22px; }
.policy .short li { color: var(--ink); }

/* ───────── CONTACT ───────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; padding: 32px 0 96px; }
.contact h1 { font: 900 clamp(2.6rem, 7vw, 5rem)/.92 var(--font); letter-spacing: -0.045em; }
.contact-intro { margin-top: 20px; font-size: 1.2rem; font-weight: 500; max-width: 26em; }
.contact-alt { margin-top: 16px; color: var(--soft); }
.contact-sticker { width: 200px; margin-top: 36px; rotate: -8deg; filter: drop-shadow(6px 8px 0 rgba(27,31,59,.25)); }
.contact-card { background: var(--white); border: 3px solid var(--line); box-shadow: var(--shadow); border-radius: 28px; padding: 28px; }
.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--sun); color: var(--ink); font: 400 1.05rem/1.45 var(--font);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); opacity: .8; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--minus); box-shadow: 3px 3px 0 var(--minus); }
.field-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); font-size: .9rem; }
.field-error, .form-status { color: var(--minus); font-weight: 500; font-size: .95rem; }
.field-error:empty, .form-status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send {
  justify-self: start; padding: 14px 30px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer;
  background: var(--blue); color: var(--on-blue); font: 700 1.1rem/1.2 var(--font);
  box-shadow: 4px 4px 0 var(--line); transition: translate .15s, box-shadow .15s;
}
.send:hover:not(:disabled) { translate: -2px -2px; box-shadow: 6px 6px 0 var(--line); }
.send:active:not(:disabled) { translate: 2px 2px; box-shadow: 2px 2px 0 var(--line); }
.send:disabled { cursor: default; opacity: .55; }
.send.ghost { background: var(--sun); color: var(--ink); }
.contact-done { display: grid; justify-items: start; gap: 12px; }
.contact-done[hidden], .contact-form[hidden] { display: none; }
.contact-done:focus { outline: none; }
.contact-done img { width: 120px; rotate: 8deg; }
.contact-done h2 { font: 900 clamp(1.8rem, 4vw, 2.4rem)/1 var(--font); margin: 0; max-width: none; }
.contact-done p { color: var(--soft); margin-bottom: 8px; }
.foot a[aria-current] { color: var(--ink); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1020px) {
  .bar nav { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "stage"; }
  .hero-copy { padding-top: 32px; }
  .hero-stage { margin-top: 40px; max-width: 520px; width: 100%; justify-self: center; }
  .hero-phone { right: 60px; }
  .chips .c2 { left: -20px; } .chips .c4 { left: 0; }
  .photo, .shop, .deficit, .together, .ai, .fasting { grid-template-columns: 1fr; gap: 48px; }
  .fast-card { max-width: 440px; width: 100%; justify-self: center; }
  .deficit-phone, .together-phones { justify-self: center; }
  .photo-phone { margin-inline: auto; }
  .deficit-phone { order: 2; margin-left: 0; }
  .club-grid { grid-template-columns: repeat(2, 1fr); }
  .clubs-detail { grid-template-columns: 1fr 1fr; }
  .clubs-detail .facts { grid-column: 1 / -1; order: -1; }
  .clubs-detail .phone { justify-self: center; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-sticker { width: 140px; margin-top: 24px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding-bottom: 48px; }
  .hero-title span + span { padding-left: 0; }
  .hero-title { font-size: min(16.5vw, calc(var(--hk-m, 1) * (100vw - 32px))); }
  .lead { font-size: 1.15rem; }
  .hero-stage { min-height: 560px; }
  .hero-phone { width: 230px; right: auto; left: 50%; translate: -50% 0; }
  .s-syrniki { width: 180px; left: -12px; bottom: 40px; }
  .scan-chip { left: auto; right: 0; bottom: 0; }
  .scan-chip span { font-size: 1.5rem; }
  .chips li { font-size: .82rem; padding: 6px 12px 6px 6px; }
  .chips i { width: 26px; height: 26px; }
  .chips .c1 { right: -6px; } .chips .c2 { left: -6px; } .chips .c3 { right: -6px; top: 330px; } .chips .c4 { left: 0; }
  .goals { font-size: 1.05rem; }
  .scanner { padding: 14px; border-radius: 28px; box-shadow: 6px 6px 0 var(--line); }
  .dishes { gap: 6px; }
  .dishes button { font-size: .8rem; padding: 8px 2px 6px; border-radius: 14px; }
  .dishes button img { width: 44px; height: 44px; }
  .scan-view { grid-template-columns: 1fr; }
  .scan-photo { aspect-ratio: 4 / 3; }
  .together-phones .phone { width: 190px; }
  .together-phones .tilt-r { margin-left: -50px; margin-top: 50px; }
  .club-grid { grid-template-columns: 1fr; }
  .club { min-height: 0; padding: 22px 120px 22px 20px; margin-top: 0; }
  .club img { top: 50%; translate: 0 -50%; right: 6px; width: 110px; height: 110px; }
  .club b { font-size: 1.35rem; }
  .clubs-detail { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
  .clubs-detail .phone { width: 100%; max-width: 200px; box-shadow: 6px 6px 0 var(--line); }
  .msg { max-width: 92%; }
  .shop-demo { min-height: 400px; }
  .shop-card { padding: 14px; border-radius: 24px; box-shadow: 6px 6px 0 var(--line); }
  .shop-kcal b { font-size: 1.8rem; }
  .more-grid { grid-template-columns: 1fr; }
  .more-grid li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: start; }
  .more-grid img { width: 64px; height: 64px; grid-row: span 2; margin: 0; }
  .final-stickers img { width: 84px; }
  .policy .short { padding: 4px 18px 16px; box-shadow: 4px 4px 0 var(--line); }
  .contact { grid-template-columns: 1fr; gap: 28px; padding-bottom: 64px; }
  .contact-sticker { display: none; }
  .contact-card { padding: 20px 18px; box-shadow: 4px 4px 0 var(--line); }
  .send { width: 100%; }
  .sticky-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    padding: 10px 10px 10px 18px; border-radius: 20px; background: #1B1F3B; color: #FFFFFF;
    box-shadow: 4px 4px 0 #2F5BFF; transition: translate .3s, opacity .3s;
  }
  .sticky-cta b { padding: 8px 14px; border-radius: 14px; background: #FFE14D; color: #1B1F3B; font-size: .9rem; }
  .sticky-cta.hide { translate: 0 140%; opacity: 0; }
  .foot { padding-bottom: 100px; }
  .lang-suggest { bottom: 88px; }
}
