/* Sabai Balance — site styles. Palette from the logo (green #43AC3F, teal #013F50), zones and glass from the app. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tenor Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/tenor-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tenor Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/tenor-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #f4f7f3;
  --bg-2: #eaf1ec;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --ink: #0a2a35;
  --ink-2: rgba(10, 42, 53, 0.78);
  --ink-3: rgba(10, 42, 53, 0.6);
  --ink-4: rgba(10, 42, 53, 0.42);
  --line: rgba(10, 42, 53, 0.1);
  --line-2: rgba(10, 42, 53, 0.16);
  --fill: rgba(10, 42, 53, 0.06);

  --brand-green: #43ac3f;
  --brand-teal: #013f50;
  --accent: #2c7d29;        /* green that reads as text on the light background */
  --accent-soft: #e2f2de;
  --link: #0b5a6e;
  --btn-bg: #013f50;
  --btn-ink: #ffffff;
  --btn-hover: #0b5a6e;

  --z-ok: #1f8a4c; --z-ok-bg: rgba(31, 138, 76, 0.13);
  --z-warn: #b36b00; --z-warn-bg: rgba(179, 107, 0, 0.13);
  --z-bad: #d62a1f; --z-bad-bg: rgba(214, 42, 31, 0.12);

  --glow-a: rgba(68, 174, 64, 0.30);
  --glow-b: rgba(31, 163, 184, 0.26);
  --glow-c: rgba(120, 170, 255, 0.24);

  --band-bg: #013f50;
  --band-ink: #eaf4f2;
  --band-ink-2: rgba(234, 244, 242, 0.74);
  --band-line: rgba(234, 244, 242, 0.14);
  --band-card: rgba(255, 255, 255, 0.06);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 40px -24px rgba(6, 40, 50, 0.28);
  --shadow-phone: 0 50px 90px -40px rgba(6, 40, 50, 0.55), 0 24px 40px -24px rgba(6, 40, 50, 0.35);

  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 14px;
  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 68px;

  --font: "Onest", -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-eyebrow: "Tenor Sans", "Onest", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #061a21;
    --bg-2: #08212a;
    --surface: #0c2630;
    --glass: rgba(14, 42, 52, 0.62);
    --glass-strong: rgba(18, 48, 59, 0.9);
    --ink: #eaf3f1;
    --ink-2: rgba(234, 243, 241, 0.8);
    --ink-3: rgba(234, 243, 241, 0.62);
    --ink-4: rgba(234, 243, 241, 0.44);
    --line: rgba(234, 243, 241, 0.1);
    --line-2: rgba(234, 243, 241, 0.18);
    --fill: rgba(234, 243, 241, 0.07);

    --accent: #72d16d;
    --accent-soft: rgba(114, 209, 109, 0.14);
    --link: #8fd4e4;
    --btn-bg: #5cc657;
    --btn-ink: #04210b;
    --btn-hover: #72d16d;

    --z-ok: #30d158; --z-ok-bg: rgba(48, 209, 88, 0.16);
    --z-warn: #ffd60a; --z-warn-bg: rgba(255, 214, 10, 0.14);
    --z-bad: #ff453a; --z-bad-bg: rgba(255, 69, 58, 0.16);

    --glow-a: rgba(68, 174, 64, 0.22);
    --glow-b: rgba(31, 163, 184, 0.22);
    --glow-c: rgba(90, 120, 255, 0.18);

    --band-bg: #0a2c37;
    --band-card: rgba(255, 255, 255, 0.05);

    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 24px 40px -24px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 14px 30px -16px rgba(0, 63, 80, 0.7); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--glass-strong); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--surface); }
.btn .i { width: 19px; height: 19px; }
.store { flex-direction: column; gap: 0; align-items: flex-start; padding: 0 22px 0 52px; position: relative; line-height: 1.15; }
.store .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; }
.store small { font-size: 11.5px; font-weight: 500; opacity: 0.72; letter-spacing: 0; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:active { transform: none; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.nav a:hover { background: var(--fill); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.lang:hover { background: var(--fill); color: var(--ink); }
.lang .i { width: 17px; height: 17px; }
.header-cta { display: none; }

.mnav { display: none; margin-left: auto; }
.mnav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary:hover { background: var(--fill); }
.mnav .i-close { display: none; }
.mnav[open] .i-open { display: none; }
.mnav[open] .i-close { display: block; }
.mnav-panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  padding: 8px var(--gutter) 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(6, 40, 50, 0.35);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mnav-panel a:not(.btn) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.mnav-panel .mnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.mnav-panel .mnav-foot .lang { border: 0; padding: 8px 4px; font-size: 16px; }

@media (min-width: 1100px) { .header-cta { display: inline-flex; } }
/* Eight sections don't fit next to the logo and the store button below ~1220px: the menu folds into the button. */
@media (max-width: 1220px) {
  .nav, .header-actions { display: none; }
  .mnav { display: block; }
}

/* ---------- Ambient glows (the app's wallpaper) ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(40px); }
.ambient .a { width: 560px; height: 560px; top: -180px; left: -160px; background: radial-gradient(circle, var(--glow-a), transparent 68%); }
.ambient .b { width: 520px; height: 520px; top: 120px; right: -180px; background: radial-gradient(circle, var(--glow-b), transparent 68%); }
.ambient .c { width: 600px; height: 600px; bottom: -260px; left: 30%; background: radial-gradient(circle, var(--glow-c), transparent 70%); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); letter-spacing: -0.045em; line-height: 0.98; margin-top: 18px; }
.hero .lead { margin-top: 22px; font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-2); max-width: 34ch; line-height: 1.5; }
.hero-points { list-style: none; margin-top: 30px; display: grid; gap: 12px; max-width: 520px; }
.hero-points li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }
.hero-points .ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .phone-back { position: absolute; left: 50%; top: 40px; transform: translateX(-96%) rotate(-6deg); --w: 250px; opacity: 0.98; }
.hero-visual .phone-front { position: relative; transform: translateX(22%) rotate(3deg); --w: 292px; }
.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 40px -22px rgba(6, 40, 50, 0.45);
  line-height: 1.2;
}
.float-chip b { display: block; font-size: 14.5px; }
.float-chip small { color: var(--ink-3); font-size: 12.5px; }
.float-chip .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.float-chip.fc-zone { left: 2%; bottom: 18%; }
.float-chip.fc-zone .dot { background: var(--z-warn-bg); color: var(--z-warn); }
.float-chip.fc-deliv { right: 0; top: 10%; }
.float-chip.fc-deliv .dot { background: var(--accent-soft); color: var(--accent); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding: 12px 0 0; }
  .hero-visual .phone-back { display: none; }
  .hero-visual .phone-front { transform: none; --w: min(300px, 76vw); }
  .float-chip.fc-zone { left: 0; bottom: 14%; }
  .float-chip.fc-deliv { right: 0; top: 8%; }
}
@media (max-width: 520px) {
  .float-chip { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 15px; }
  .float-chip .dot { width: 28px; height: 28px; }
  .float-chip b { font-size: 13px; }
  .float-chip small { font-size: 11.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Phone frame ---------- */
.phone {
  --w: 280px;
  position: relative; margin: 0;
  width: var(--w); flex: none;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(150deg, #2a3036, #0c0e11 40%, #1a1e22);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), var(--shadow-phone);
}
.phone img { width: 100%; height: auto; border-radius: calc(var(--w) * 0.13); background: #e9eef2; }
.phone::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--w) * 0.057); width: calc(var(--w) * 0.295); height: calc(var(--w) * 0.086);
  border-radius: 99px; background: #000;
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 1; }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); }
.stats li { padding: 26px 28px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 15px; line-height: 1.35; }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { padding: 20px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 56px); }
.section-head .lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.section-head.center .lead { margin-inline: auto; max-width: 62ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse { grid-template-columns: auto minmax(0, 1fr); }
.split.reverse > .split-media { order: -1; }
.split-media { display: flex; justify-content: center; gap: 20px; }
.split-media .phone { --w: 290px; }
.split-media.pair .phone { --w: 250px; }
.split-media.pair .phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .split-media .phone { --w: min(290px, 74vw); }
  .split-media.pair .phone { --w: min(230px, 44vw); }
  .split-media.pair .phone:nth-child(2) { margin-top: 40px; }
}

.features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 40px; }
.features li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.features .ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.features b { font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; padding-top: 2px; }
.features p { color: var(--ink-3); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; gap: 22px; } }

.card {
  border-radius: var(--r-xl);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}

/* Zones */
.zones-title { margin: clamp(56px, 7vw, 88px) 0 20px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zone { padding: 26px; display: grid; gap: 16px; align-content: start; }
.zone header { display: flex; align-items: center; gap: 14px; }
.zone h3 { font-size: 19px; letter-spacing: -0.02em; }
.zone p { color: var(--ink-2); font-size: 15.5px; }
.ring { width: 52px; height: 52px; flex: none; transform: rotate(-90deg); }
.ring .track { stroke: var(--fill); }
.ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.zone-ok .arc { stroke: var(--z-ok); }
.zone-warn .arc { stroke: var(--z-warn); }
.zone-bad .arc { stroke: var(--z-bad); }
.zone .pct { font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 99px; margin-left: auto; }
.zone-ok .pct { background: var(--z-ok-bg); color: var(--z-ok); }
.zone-warn .pct { background: var(--z-warn-bg); color: var(--z-warn); }
.zone-bad .pct { background: var(--z-bad-bg); color: var(--z-bad); }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

/* Goals */
.goals { display: grid; gap: 10px; margin-top: 28px; }
.goal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 16px 20px; }
.goal .name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.goal p.desc { grid-column: 1; font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.goal .nums { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.goal .kcal { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; white-space: nowrap; }
.goal .kcal small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.goal .prot { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.goals-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 520px) {
  .goal { grid-template-columns: 1fr; }
  .goal .nums { grid-column: 1; grid-row: auto; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .goal .prot { margin-top: 0; }
}

/* ---------- Menu ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 19px; border: 0;
  background: var(--fill); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.chip .n { margin-left: 7px; font-weight: 500; opacity: 0.6; }

.dishes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 26px; }
.dish { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px rgba(6, 40, 50, 0.35); }
.dish .ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--c1), var(--c2)); overflow: hidden; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dish:hover .ph img { transform: scale(1.04); }
.dish .price { position: absolute; right: 10px; bottom: 10px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); color: #0a2a35; font-size: 14px; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4); }
.dish .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.dish h3 { font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.25; }
.dish .desc { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.dish .macros { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-2); }
.dish .macros b { font-weight: 700; color: var(--ink); }
.dish .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dish .tag { padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--fill); color: var(--ink-3); }
.dish .tag.hot { background: var(--z-bad-bg); color: var(--z-bad); }
.dishes.is-collapsed .dish:nth-child(n + 9) { display: none; }
.dish[hidden] { display: none !important; }
@media (max-width: 560px) {
  .dishes { grid-template-columns: 1fr; gap: 12px; }
  .dish { flex-direction: row; }
  .dish .ph { width: 112px; flex: none; aspect-ratio: auto; min-height: 132px; }
  .dish .price { right: 6px; bottom: 6px; padding: 3px 8px; font-size: 12.5px; }
  .dish .body { padding: 12px 14px; gap: 4px; }
  .dish h3 { font-size: 15.5px; }
  .dish .desc { font-size: 13px; }
  .dish .macros { font-size: 12.5px; gap: 2px 10px; padding-top: 6px; }
}
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.menu-foot p { font-size: 14px; color: var(--ink-3); max-width: 60ch; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* ---------- Shots ---------- */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.format { display: flex; gap: 16px; padding: 22px; }
.format .ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.format b { display: block; font-size: 17px; letter-spacing: -0.015em; }
.format p { margin-top: 4px; font-size: 15px; color: var(--ink-3); }
.shots { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.shot { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.shot .ph { width: 84px; height: 84px; flex: none; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.shot .ph img { width: 100%; height: 100%; object-fit: cover; }
.shot h3 { font-size: 16px; letter-spacing: -0.015em; line-height: 1.25; }
.shot .benefit { margin-top: 3px; font-size: 13.5px; color: var(--ink-3); }
.shot .prices { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-3); }
.shot .prices b { color: var(--ink); font-size: 14.5px; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shots, .formats { grid-template-columns: 1fr; } }

.program { margin-top: 40px; padding: 26px; }
.program header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.program h3 { font-size: 21px; letter-spacing: -0.02em; }
.program header p { color: var(--ink-3); font-size: 15px; }
.days { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.days li { padding: 14px 12px; border-radius: 16px; background: var(--fill); }
.days .d { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.days .bar { height: 4px; border-radius: 2px; margin: 10px 0 12px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.days b { display: block; font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
.days small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
@media (max-width: 1000px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Ice ---------- */
.ice { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ice-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 708 / 900; background: #eef2f5; }
.ice-photo img { width: 100%; height: 100%; object-fit: cover; }
.ice-table { width: 100%; margin-top: 30px; border-collapse: separate; border-spacing: 0; overflow: hidden; table-layout: fixed; }
.ice-table thead th:first-child { width: 34%; }
.ice-table th, .ice-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ice-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ice-table thead th span { display: block; font-weight: 400; font-size: 12px; color: var(--ink-4); margin-top: 3px; line-height: 1.35; }
.ice-table tbody tr:last-child th, .ice-table tbody tr:last-child td { border-bottom: 0; }
.ice-table tbody th { font-weight: 600; font-size: 15px; line-height: 1.3; }
.ice-table .form { display: flex; align-items: center; gap: 12px; }
.ice-table .form img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; background: #f3f6f8; }
.ice-table td { font-size: 17px; font-weight: 700; white-space: nowrap; }
.ice-table td small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.ice-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ice-facts li { padding: 16px; border-radius: 18px; background: var(--fill); }
.ice-facts .i { color: var(--accent); }
.ice-facts b { display: block; margin-top: 10px; font-size: 16px; letter-spacing: -0.015em; }
.ice-facts span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.ice-care { display: flex; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(31, 99, 200, 0.08); color: var(--ink-2); font-size: 14.5px; }
.ice-care .i { color: #1f63c8; margin-top: 1px; }
@media (prefers-color-scheme: dark) { .ice-care { background: rgba(143, 196, 255, 0.1); } .ice-care .i { color: #8fc4ff; } }
.table-scroll { overflow-x: auto; }
@media (max-width: 960px) { .ice { grid-template-columns: 1fr; } .ice-photo { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) {
  .ice-table thead th:first-child { width: 31%; }
  .ice-facts { grid-template-columns: 1fr; }
  .ice-table th, .ice-table td { padding: 12px 10px; }
  .ice-table .form img { display: none; }
  .ice-table thead th span { display: none; }
  .ice-table td { font-size: 15.5px; }
  .ice-table td small { display: block; margin: 2px 0 0; }
}

/* ---------- Delivery ---------- */
.delivery-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 56px); align-items: center; margin-top: 40px; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dcard { padding: 24px; }
.dcard h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -0.02em; }
.dcard h3 .i { color: var(--accent); }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.areas li { padding: 7px 14px; border-radius: 99px; background: var(--fill); font-size: 14.5px; font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.slots h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.slots ul { list-style: none; display: grid; gap: 6px; }
.slots li { font-size: 15px; }
.pay { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.pay li { display: flex; align-items: center; gap: 14px; }
.pay .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fill); color: var(--ink-2); flex: none; }
.pay b { display: block; font-size: 15.5px; }
.pay span { font-size: 13.5px; color: var(--ink-3); }
.dcard > p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.steps { margin-top: 18px; }
.steps .bar { display: flex; gap: 5px; }
.steps .bar span { flex: 1; height: 5px; border-radius: 3px; background: var(--fill); }
.steps .bar span.done { background: var(--accent); }
.steps .bar span.now { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.steps ol li:nth-child(-n + 2) { color: var(--ink); font-weight: 600; }
.delivery-media { display: flex; justify-content: center; gap: 18px; }
.delivery-media .phone { --w: 270px; }
@media (max-width: 1100px) {
  .delivery-layout { grid-template-columns: 1fr; }
  .delivery-media .phone { --w: min(280px, 72vw); }
}
@media (max-width: 860px) {
  .delivery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .slots { grid-template-columns: 1fr; } }

/* ---------- Privacy band ---------- */
.band { background: var(--band-bg); color: var(--band-ink); overflow: hidden; }
.band .eyebrow { color: #8fdc8a; }
.band .section-head .lead { color: var(--band-ink-2); }
.band a { color: #a6e3f0; }
.privacy-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.privacy-grid li { padding: 24px; border-radius: var(--r-l); background: var(--band-card); box-shadow: inset 0 0 0 1px var(--band-line); }
.privacy-grid .i { width: 26px; height: 26px; color: #8fdc8a; }
.privacy-grid b { display: block; margin-top: 18px; font-size: 17px; letter-spacing: -0.015em; }
.privacy-grid p { margin-top: 6px; font-size: 14.5px; color: var(--band-ink-2); line-height: 1.5; }
.band .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; text-decoration: none; }
.band .more:hover { text-decoration: underline; }
.band .ambient .a { background: radial-gradient(circle, rgba(68, 174, 64, 0.32), transparent 68%); }
.band .ambient .b { background: radial-gradient(circle, rgba(31, 163, 184, 0.30), transparent 68%); top: auto; bottom: -260px; }
.band .ambient .c { display: none; }
.band .wrap { position: relative; z-index: 1; }
@media (max-width: 1000px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-size: clamp(17px, 1.6vw, 19px); font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 4px 24px; color: var(--ink-2); max-width: 70ch; }
.faq-more { margin-top: 28px; text-align: center; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--bg-2) 70%, var(--surface))); box-shadow: inset 0 0 0 1px var(--line); }
.cta .mark { width: 92px; height: auto; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 10px; color: var(--ink-2); max-width: 56ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta .mark { width: 64px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
.footer-col h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); }
.footer-col ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.footer-col a { color: var(--ink); font-size: 15px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.footer-bottom a { color: var(--ink-3); }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.doc-hero .wrap { position: relative; z-index: 1; }
.doc-hero h1 { margin-top: 14px; font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.04em; }
.doc-hero .lead { margin-top: 16px; max-width: 64ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; padding-bottom: clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc h2 { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.toc ol { list-style: none; margin-top: 12px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); font-size: 14px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-2); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

.prose { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose .lede { font-size: 19px; line-height: 1.55; color: var(--ink); }
.prose h2 { margin-top: 48px; font-size: 26px; letter-spacing: -0.025em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin-top: 28px; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.prose td:first-child { color: var(--ink); }
.prose .doc-date { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* Support */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 20px; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.contact:hover { transform: translateY(-2px); }
.contact .ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.contact b { display: block; font-size: 16px; }
.contact span { display: block; font-size: 14px; color: var(--link); word-break: break-word; }
.contact small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.support-main > section + section { margin-top: 56px; }
.support-main h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; scroll-margin-top: calc(var(--header-h) + 20px); }
.support-main .faq { margin: 12px 0 0; max-width: none; }
.support-main .faq summary { font-size: 17px; padding: 18px 4px; }
.delete-steps { list-style: none; counter-reset: s; display: grid; gap: 12px; margin-top: 20px; }
.delete-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.delete-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fill); color: var(--ink); font-weight: 700; font-size: 15px; }
.delete-note { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--fill); color: var(--ink-2); font-size: 15px; }
.docs-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.notfound .wrap { position: relative; z-index: 1; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin-top: 12px; }
.notfound p { margin-top: 14px; color: var(--ink-2); }
.notfound .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Language chooser on / */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 24px; }
.chooser > div { position: relative; z-index: 1; }
.chooser img { height: 56px; width: auto; margin: 0 auto 28px; }
.chooser .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .dcard, .zone, .program { padding: 20px; }
}

@media print {
  .site-header, .site-footer, .toc, .ambient { display: none !important; }
  body { background: #fff; color: #000; }
  .doc-layout { display: block; }
}
