:root {
  --bg: #f8f8f8; --surface: #eeeeee; --ink: #0a0a0a; --muted: #4f4f4f;
  --accent: #1f6b3a; --accent-ink: #ffffff;
  --mint: #c3edce; --pink: #f8c7c9; --white: #ffffff;
  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-hero: clamp(2.2rem, 1rem + 3.9vw, 4.75rem);
  --m: clamp(16px, 3vw, 40px);
  --gap: clamp(88px, 11vw, 168px);
  --spring: cubic-bezier(.22, 1.2, .36, 1);
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --vx: 50vw; --vy: 40vh; --vr: 150vmax;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 "Nunito", system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 30; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 99px; }
.skip:focus { top: 10px; }
.wrap { padding-inline: var(--m); max-width: 1520px; margin-inline: auto; }
.sec { padding-block: calc(var(--gap) / 2); }
.sec + .sec { margin-top: calc(var(--gap) / 2); }
.lead { font-size: var(--step-lead); line-height: 1.35; font-weight: 600; max-width: 34em; }
.band h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); }
.p { max-width: 60ch; margin-top: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* Шапка */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.bar-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.mark i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); position: relative; transition: transform .4s var(--spring); }
.mark i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--mint); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 1.0625rem; white-space: nowrap; transition: background .2s, transform .15s; }
.links a:active { transform: scale(.96); }
.links a[aria-current="page"] { background: var(--mint); }

/* Кнопки */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; padding: 15px 26px; border-radius: 99px; text-decoration: none; border: 0; font-family: inherit; font-size: 1.0625rem; cursor: pointer; transition: transform .25s var(--spring), background .2s; }
.btn:active { transform: scale(.97); }
.btn.alt { background: transparent; color: var(--ink); padding-inline: 10px; text-decoration: underline; text-underline-offset: 4px; }
.btn.alt:hover { color: var(--accent); background: transparent; }

/* Герой */
.hero { position: relative; overflow: hidden; min-height: min(calc(100svh - 68px), 860px); display: flex; align-items: center; }
.hero-disc { position: absolute; top: 50%; right: -16vh; width: 112vh; height: 112vh; max-width: 58vw; max-height: 58vw; min-width: 520px; min-height: 520px; margin-top: calc(min(56vh, 29vw) * -1); border-radius: 50%; overflow: hidden; background: var(--mint); animation: grow 1.1s var(--out) backwards; }
.hero-disc img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
.hero-txt { position: relative; max-width: 54%; padding-block: 40px; }
.hero h1 { font-size: var(--step-hero); line-height: .98; }
.hero .sub { font-size: var(--step-lead); line-height: 1.35; margin-top: 28px; max-width: 26em; font-weight: 600; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
@keyframes grow { from { transform: scale(.72); opacity: 0; } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1.5%); } }

/* Живий круг */
.dial { background: var(--mint); padding-block: clamp(56px, 8vw, 112px); }
.dial h2 { margin-bottom: 8px; }
.dial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 32px; }
.age { font-size: var(--step-head); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 56px; background: transparent; margin-top: 12px; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 12px; background: var(--white); border-radius: 99px; }
input[type=range]::-moz-range-track { height: 12px; background: var(--white); border-radius: 99px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; margin-top: -16px; border-radius: 50%; background: var(--accent); border: 0; transition: transform .2s var(--spring); }
input[type=range]::-moz-range-thumb { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); border: 0; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.14); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 24px; }
.facts dt { font-weight: 800; }
.facts dd { margin: 2px 0 0; }
.facts .wide { grid-column: 1 / -1; }
.dial .open { margin-top: 24px; }
.plate-box { position: relative; aspect-ratio: 1; width: min(100%, 620px); margin-inline: auto; display: grid; place-items: center; }
.plate { position: absolute; inset: 0; border-radius: 50%; background: var(--white); transition: transform .55s var(--spring); }
.plate::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--bg); }
.plate-label { position: relative; z-index: 2; font-weight: 800; text-align: center; max-width: 42%; line-height: 1.15; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); }
.plate-box.small .plate-label { position: absolute; bottom: 0; max-width: none; }
.orbit { position: absolute; inset: 0; z-index: 1; }
.orbit img { position: absolute; width: 27%; height: 27%; border-radius: 50%; object-fit: cover; left: var(--x); top: var(--y); transform: translate(-50%, -50%); animation: pop .5s var(--spring) both; animation-delay: var(--d); }
@keyframes pop { from { transform: translate(-50%, -50%) scale(.8); opacity: 0; } }

/* Заява */
.state { text-align: center; }
.state p { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); line-height: 1.3; font-weight: 700; max-width: 26em; margin-inline: auto; letter-spacing: -.01em; }
.state img { display: inline-block; width: 1.15em; height: 1.15em; border-radius: 50%; object-fit: cover; vertical-align: -.2em; margin-inline: .14em; }

/* Шлях */
.path-row { display: grid; grid-template-columns: 1fr 1.25fr 1.6fr 2.05fr; gap: clamp(16px, 3vw, 40px); align-items: end; margin-top: 48px; }
.path-row a { text-decoration: none; display: block; }
.path-row .c { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mint); margin-bottom: 18px; transition: transform .4s var(--spring); }
.path-row .c img { width: 100%; height: 100%; object-fit: cover; }
.path-row h3 { margin-bottom: 6px; }

/* Диск */
.disc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.disc-list h2 { margin-bottom: 20px; }
.disc-list button { all: unset; display: block; cursor: pointer; font-size: clamp(1.625rem, 2.9vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.22; color: var(--muted); transition: color .2s, transform .25s var(--spring); }
.disc-list button:focus-visible { outline: 3px solid var(--accent); }
.disc-list button[aria-pressed="true"] { color: var(--accent); }
.disc-fig { position: relative; width: min(100%, 64vh); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; overflow: hidden; background: var(--pink); }
.disc-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.disc-fig img.on { opacity: 1; }
.disc-act { margin-top: 28px; }
.disc-act p { max-width: 30em; margin-bottom: 20px; }

/* Смуга безпеки */
.band { background: var(--pink); padding-block: clamp(64px, 8vw, 112px); overflow: hidden; position: relative; }
.band .in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band .fig { width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-inline: auto; }
.band .fig img { width: 100%; height: 100%; object-fit: cover; }
.band .btn { margin-top: 24px; }

/* Питання */
.faq-list { margin-top: 40px; max-width: 980px; margin-inline: auto; }
.faq-list details { padding: 22px 28px; border-radius: 32px; margin-top: -14px; background: var(--mint); transition: padding .2s; position: relative; }
.faq-list details:nth-child(even) { background: var(--pink); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; gap: 16px; align-items: baseline; font-size: var(--step-lead); font-weight: 800; line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .tag { flex: none; font-size: 1rem; font-weight: 700; background: var(--white); padding: 2px 12px; border-radius: 99px; }
.faq-list details p { margin-top: 12px; max-width: 60ch; }
.faq-list details[open] { padding-bottom: 36px; }
.ctr { text-align: center; }

/* Підсторінки */
.head { position: relative; overflow: hidden; background: var(--mint); }
.head.pink { background: var(--pink); }
.head .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; min-height: clamp(320px, 42vw, 520px); }
.head h1 { font-size: clamp(2.5rem, 1rem + 4.6vw, 5rem); }
.head .lead { margin-top: 20px; }
.head .pic { justify-self: end; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; animation: grow .9s var(--out) both; }
.head .pic img { width: 100%; height: 100%; object-fit: cover; }
.dots li { position: relative; padding-left: 28px; margin-top: 12px; max-width: 60ch; }
.dots li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); }
.tummy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(20px, 5vw, 72px); margin-top: 40px; }
.tummy div { text-align: left; }
.tummy i { display: block; width: calc(var(--n) * 8px); height: calc(var(--n) * 8px); border-radius: 50%; background: var(--pink); margin-bottom: 14px; animation: pop2 .6s var(--spring) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes pop2 { from { transform: scale(.7); opacity: 0; } }
.tummy b { display: block; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 32px; }
.steps4 > div { background: var(--surface); padding: 28px 24px; border-radius: 36px; }
.steps4 > div:last-child { background: var(--mint); }
.steps4 > div:nth-child(3) { background: var(--pink); }
.steps4 h3 { margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; margin-top: 24px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid #cfcfcf; vertical-align: top; }
th { font-weight: 800; }
.tbl { overflow-x: auto; }
.small { font-weight: 700; margin-top: 16px; }
.field { background: var(--surface); padding: clamp(28px, 4vw, 48px); border-radius: 44px; }
.field.mint { background: var(--mint); }
.field.pink { background: var(--pink); }
.field h2, .field h3 { margin-bottom: 12px; }
.two h2 { font-size: clamp(1.75rem, 1rem + 2.1vw, 2.75rem); }
.ready label { display: flex; gap: 14px; align-items: center; padding: 12px 0; font-size: var(--step-lead); font-weight: 700; line-height: 1.2; cursor: pointer; }
.ready input { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--white); transition: background .2s, transform .3s var(--spring); cursor: pointer; }
.ready input:checked { background: var(--accent); transform: scale(1.1); box-shadow: inset 0 0 0 9px var(--accent), inset 0 0 0 20px var(--white); }
.ready-out { margin-top: 16px; font-weight: 700; min-height: 3em; }
.myths { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.myths li { background: var(--pink); padding: 8px 18px; border-radius: 99px; font-weight: 700; }
.order { counter-reset: s; }
.order li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; margin-top: 24px; align-items: start; }
.order li > i { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); }
.order li:nth-child(even) > i { background: var(--pink); }
.order h3 { margin-bottom: 4px; }
.grow { display: grid; grid-template-columns: 1fr 1.2fr 1.45fr 1.7fr; gap: clamp(14px, 3vw, 40px); align-items: end; margin-top: 40px; }
.grow img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.grow h3 { margin-bottom: 4px; }

/* Каталог */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.tools input { flex: 1 1 260px; max-width: 360px; font: inherit; font-weight: 700; padding: 13px 22px; border-radius: 99px; border: 0; background: var(--white); }
.chip { all: unset; cursor: pointer; font-weight: 700; padding: 10px 18px; border-radius: 99px; background: var(--surface); transition: background .2s, transform .2s var(--spring); }
.chip:active { transform: scale(.95); }
.chip:focus-visible { outline: 3px solid var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 32px clamp(16px, 2.4vw, 32px); margin-top: 40px; }
.food { text-decoration: none; text-align: center; display: block; }
.food .ph { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); margin-bottom: 12px; transition: transform .35s var(--spring); }
.food img { width: 100%; height: 100%; object-fit: cover; }
.food:active .ph { transform: scale(.97); }
.food b { display: block; font-size: 1.125rem; line-height: 1.2; font-weight: 800; }
.food span.m { display: block; font-size: var(--step-small); color: var(--muted); font-weight: 600; }

/* Вікно продукту */
dialog { border: 0; padding: 0; margin: auto; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 44px; background: var(--white); color: var(--ink); overflow: auto; }
dialog[open] { animation: rise .32s var(--out); }
dialog::backdrop { background: rgba(10, 10, 10, .45); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sh { padding: clamp(24px, 4vw, 40px); position: relative; }
.sh-top { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; }
.sh-top img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; }
.sh h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.sh .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sh .tags span { padding: 4px 14px; border-radius: 99px; font-weight: 700; background: var(--mint); font-size: 1rem; }
.sh .tags .warn { background: var(--pink); }
.sh h3 { margin-top: 26px; margin-bottom: 4px; }
.x { all: unset; cursor: pointer; position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); text-align: center; font-size: 1.5rem; line-height: 44px; z-index: 2; transition: transform .2s var(--spring); }
.x:focus-visible { outline: 3px solid var(--accent); }

/* Алергени */
.alg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(20px, 3vw, 48px); margin-top: 36px; }
.alg li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start; }
.alg img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.alg b { display: block; font-size: 1.1875rem; font-weight: 800; }

/* Заборонено */
.never { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); margin-top: 24px; }
.never li { padding: 14px 0; }
.never b { display: block; font-size: var(--step-lead); line-height: 1.2; font-weight: 800; }
.never em { font-style: normal; font-weight: 700; color: var(--accent); }
.cut { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(20px, 3vw, 40px); margin-top: 24px; }
.cut b { display: block; font-weight: 800; }

/* Меню */
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 36px; align-items: start; }
.day { padding: 28px 24px; border-radius: 36px; background: var(--surface); }
.day:nth-child(2) { background: var(--mint); }
.day:nth-child(3) { background: var(--pink); }
.day h3 { margin-bottom: 10px; }
.day dt { font-weight: 800; margin-top: 12px; }
.day dd { margin: 0; }

.recipes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 72px); margin-top: 36px; }
.rcp { display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: start; }
.rcp img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; }
.rcp p { margin-top: 8px; }
.rcp .m { color: var(--accent); font-weight: 800; margin-top: 4px; }

/* Відмітки */
.count { font-weight: 800; margin-top: 18px; }
.food .ph { position: relative; }
.tk { position: absolute; right: 8%; top: 8%; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); animation: pop2 .4s var(--spring); }
.tk::after { content: ""; position: absolute; left: 12px; top: 7px; width: 8px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(42deg); }
.sh-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
#tryBtn[aria-pressed="true"] { background: var(--mint); color: var(--ink); }

/* Джерела */
.src li { margin-top: 10px; max-width: 60ch; }
.src a { font-weight: 700; text-underline-offset: 3px; }
.cred { columns: 2; column-gap: 48px; font-size: 1rem; margin-top: 16px; }
.cred li { break-inside: avoid; margin-bottom: 6px; }

/* Підвал */
.ft { background: var(--mint); margin-top: calc(var(--gap) / 2); padding-block: clamp(44px, 6vw, 80px) 32px; overflow: hidden; }
.ft-game { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.ft-game h2 { margin-bottom: 10px; }
.ft-game .btn { margin-top: 20px; }
.ft-pics { display: flex; justify-content: center; }
.ft-pics img { width: 34%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-left: -6%; border: 6px solid var(--mint); }
.ft-warn { margin-top: 32px; max-width: 60ch; }

/* Поява */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--out), transform .6s var(--out); transition-delay: var(--dl, 0ms); }
.rv.in { opacity: 1; transform: none; }
.page { animation: fade .35s var(--out); }
@keyframes fade { from { opacity: 0; } }

.vbox { margin-top: 28px; border-radius: 40px; overflow: hidden; background: var(--mint); aspect-ratio: 16 / 9; max-width: 1180px; }
.vbox video { display: block; width: 100%; height: 100%; }
.vbox video::cue { font: 700 22px Nunito, sans-serif; background: rgba(10, 10, 10, .7); }

.snd { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; flex: none; transition: background .2s, transform .15s; }
.snd:focus-visible { outline: 3px solid var(--accent); }
.snd:active { transform: scale(.92); }
.snd .x2 { display: none; }
.snd[aria-pressed="false"] .w { display: none; }
.snd[aria-pressed="false"] .x2 { display: block; }

/* Мови: рядок виїжджає від кнопки */
.lang { position: relative; flex: none; z-index: 5; }
.lang-btn, .langs button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: 99px; font-weight: 800; font-size: 1rem; transition: background .2s, transform .15s; }
.lang-btn { background: var(--surface); }
.lang-btn:active, .langs button:active { transform: scale(.95); }
.lang-btn:focus-visible, .langs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.lang-btn i { width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg); transition: transform .28s var(--out); }
.lang.open .lang-btn i { transform: translateX(-2px) rotate(225deg); }
.fl { width: 18px; height: 18px; border-radius: 50%; flex: none; display: block; }
.langs { position: absolute; right: calc(100% + 6px); top: 0; display: flex; gap: 2px; padding: 0 4px; background: var(--white); border-radius: 99px; box-shadow: 0 6px 22px rgba(10, 10, 10, .12); clip-path: inset(-30px -30px -30px 100%); visibility: hidden; transition: clip-path .34s var(--out), visibility 0s linear .34s; }
.lang.open .langs { clip-path: inset(-30px -30px -30px -30px); visibility: visible; transition: clip-path .34s var(--out); }
.langs button { opacity: 0; transform: translateX(26px); transition: opacity .3s var(--out), transform .36s var(--out), background .2s; transition-delay: 0ms; }
.lang.open .langs button { opacity: 1; transform: none; transition-delay: calc(var(--k) * 42ms); }
.langs button[aria-pressed="true"] { background: var(--mint); }

/* Текст під час прокрутки */
h2.wr { opacity: 1; transform: none; transition: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wd > span { display: inline-block; transform: translateY(108%); transition: transform .85s var(--out); transition-delay: calc(var(--w) * 55ms); }
.wr.in .wd > span { transform: none; }
.dots li { transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: calc(var(--n, 0) * 70ms + 140ms); }
.rv:not(.in) .dots li { opacity: 0; transform: translateX(-18px); }
.rv.in .dots li::before { animation: pop2 .5s var(--spring) backwards; animation-delay: calc(var(--n, 0) * 70ms + 200ms); }
@supports (animation-timeline: view()) {
  .field, .steps4 > div, .day, .brands article, .avoid li, .kit li, .rcp, .types > div, .grow > div, .tummy > div, .cut li, .never li, .faq-list details, .alg li, .order li, .wday {
    animation: block-flow linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
  }
  .head .pic img, .band .fig img, .path-row .c img { animation: img-flow linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; animation: read-bar linear both; animation-timeline: scroll(root); }
}
@keyframes block-flow { 0% { opacity: 0; transform: translateY(64px) scale(.95); } 20% { opacity: 1; transform: none; } 84% { opacity: 1; transform: none; } 100% { opacity: .35; transform: translateY(-18px) scale(.985); } }
@keyframes img-flow { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
@keyframes read-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Вага й зріст */
.lb { font-weight: 800; }
.gform { display: grid; gap: 14px; margin-top: 22px; }
.gform label { display: grid; gap: 6px; font-weight: 700; }
.gform input { font: inherit; font-weight: 700; padding: 12px 18px; border: 0; border-radius: 99px; background: var(--white); min-width: 0; }
.gform .btn { justify-self: start; }
#gMsg { font-weight: 700; color: #a8323a; min-height: 1.2em; }
.gcharts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 18px; }
.gcharts figure { margin: 0; }
.gcharts figcaption { font-weight: 800; margin-bottom: 8px; }
.cbox { position: relative; background: var(--white); border-radius: 28px; overflow: hidden; touch-action: pan-y; }
.cbox svg { display: block; }
.cbox text { font: 600 14px Nunito, sans-serif; fill: var(--muted); }
.gl { stroke: #ececec; stroke-width: 1; }
.bd2 { fill: var(--mint); opacity: .75; }
.md { fill: none; stroke: var(--accent); stroke-width: 2; }
.cbox .ln { fill: none; stroke: var(--ink); stroke-width: 2; }
.pt { fill: var(--ink); stroke: var(--white); stroke-width: 2; }
.tip { position: absolute; background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; padding: 6px 12px; border-radius: 12px; white-space: nowrap; pointer-events: none; }
.leg { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-weight: 600; }
.leg span { display: inline-flex; align-items: center; gap: 8px; }
.leg i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.leg .k1 { background: var(--ink); }
.leg .k2 { background: var(--accent); }
.leg .k3 { background: var(--mint); }
.glist { margin-top: 20px; }
.glist li { background: var(--surface); border-radius: 28px; padding: 16px 22px; margin-top: 12px; }
.gh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.gh .chip { background: var(--white); padding: 6px 14px; }
.glist p { margin-top: 4px; }

/* Вибір дати, ваги, зросту */
.dw { display: grid; gap: 8px; min-width: 0; }
.wh { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 3px 2px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.wh::-webkit-scrollbar { display: none; }
.wh button { all: unset; flex: none; cursor: pointer; scroll-snap-align: center; font-weight: 700; padding: 8px 14px; border-radius: 99px; background: var(--white); transition: background .2s, color .2s, transform .16s var(--out); animation: wh-in .45s var(--out) backwards; animation-delay: calc(var(--i) * 22ms); }
.wh button:active { transform: scale(.95); }
.wh button:focus-visible { outline: 3px solid var(--accent); }
.wh button[aria-pressed="true"] { background: var(--accent); color: #fff; }
@keyframes wh-in { from { opacity: 0; transform: translateX(22px); } }
.gform { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ms { background: var(--surface); border-radius: 28px; padding: 16px 20px; transition: opacity .2s; }
.ms.off { opacity: .55; }
.ms.off .ms-r, .ms.off .ms-v { display: none; }
.ms-on { all: unset; cursor: pointer; font-weight: 800; }
.ms-on::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: -2px; transition: background .2s; }
.ms-on[aria-pressed="false"]::before { background: #bdbdbd; }
.ms-on:focus-visible { outline: 3px solid var(--accent); }
.ms-v { font-size: var(--step-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.ms-r { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.ms-r input { margin: 0; }
.pm { all: unset; cursor: pointer; width: 44px; height: 44px; line-height: 42px; text-align: center; font-size: 1.5rem; font-weight: 800; border-radius: 50%; background: var(--white); transition: transform .16s var(--out); }
.pm:active { transform: scale(.94); }
.pm:focus-visible { outline: 3px solid var(--accent); }

/* Натискання на фото */
main .kit img:active, main .types img:active, main .grow img:active, main .alg img:active, main .rcp img:active, .food:active .ph { transform: scale(.96); }
#sheet.leaving::backdrop { opacity: 0; transition: opacity .2s; }
dialog#sheet { overflow: visible; }
.sh { max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: visible; border-radius: 44px; background: var(--white); }
#sheet.leaving .sh > *:not(.sh-top), #sheet.leaving .sh-top > div { opacity: 0; transition: opacity .12s; }
dialog#sheet { background: transparent; }

.nb li { margin-top: 12px; }
.nb b { display: block; font-weight: 800; }

/* Гра */
.game { padding-block: clamp(20px, 3vw, 44px) 40px; }
.game h1 { font-size: var(--step-head); }
.gm-top { display: flex; align-items: center; gap: 12px; margin-top: 18px; max-width: 520px; margin-inline: auto; }
.gm-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.gm-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--out); }
.gm-stage { position: relative; max-width: 420px; margin: 16px auto 0; min-height: 440px; }
.gm-card { position: relative; background: var(--white); border-radius: 36px; padding: 22px; text-align: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.gm-card img { width: 78%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; object-fit: cover; pointer-events: none; }
.gm-card p { font-size: var(--step-lead); font-weight: 800; line-height: 1.2; margin-top: 16px; }
.gm-mark { position: absolute; top: 20px; padding: 6px 16px; border-radius: 99px; font-weight: 800; color: #fff; opacity: 0; z-index: 2; }
.gm-mark.y { left: 18px; background: var(--accent); }
.gm-mark.n { right: 18px; background: #c44b52; }
.gm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 16px auto 0; }
.gm-btns[hidden] { display: none; }
.gm-btns button { all: unset; cursor: pointer; text-align: center; font-weight: 800; font-size: 1.125rem; padding: 16px; border-radius: 99px; transition: transform .16s var(--out); }
.gm-btns button:active { transform: scale(.97); }
.gm-btns button:focus-visible { outline: 3px solid var(--accent); }
.gm-btns .gm-yes { background: var(--accent); color: #fff; }
.gm-btns .gm-no { background: var(--pink); }
.gm-res { background: var(--white); border-radius: 36px; padding: 26px 22px; text-align: center; }
.gm-res.ok { background: var(--mint); }
.gm-res.no { background: var(--pink); }
.gm-res img { width: 46%; aspect-ratio: 1; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.gm-res p { margin: 8px 0 18px; font-size: var(--step-lead); font-weight: 600; line-height: 1.3; }
.gm-res .ring { margin-bottom: 10px; }

/* Нижнє меню */
.tabs { display: none; }
dialog#more { display: none; }

/* Шапка розділу з двома фото */
.pics { position: relative; justify-self: end; width: min(100%, 440px); }
.head .pics .pic { width: 100%; justify-self: auto; }
.head .pics .p2 { position: absolute; left: -16%; bottom: -4%; width: 44%; border: 8px solid var(--mint); }

/* 3D-тарілка */
body { overflow-anchor: none; }
.p3d { position: absolute; inset: 0; perspective: 1100px; }
.p3d-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.p3d-tags { position: absolute; inset: 0; transform: translateZ(46px); transform-style: preserve-3d; pointer-events: none; }
.p3d-tags svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p3d-tags path { fill: none; stroke: var(--accent); stroke-width: .6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tag-line .42s var(--d, 0ms) cubic-bezier(0.23, 1, 0.32, 1) forwards; }
.p3d-dot { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(31, 107, 58, .85), 0 2px 6px rgba(20, 60, 35, .4); opacity: 0; animation: tag-dot .3s var(--d, 0ms) cubic-bezier(0.23, 1, 0.32, 1) forwards; }
.p3d-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff; animation: tag-ping 2.4s var(--d, 0ms) ease-out infinite; }
.p3d-tag { position: absolute; display: flex; align-items: center; gap: 6px; max-width: 33%; padding: 4px 11px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink, #14281b); font-size: clamp(.72rem, 1.6vw, .95rem); font-weight: 800; line-height: 1.1; white-space: nowrap; text-decoration: none; box-shadow: 0 14px 22px -10px rgba(20, 60, 35, .55); pointer-events: auto; transform: translate(-50%, -50%); transform-origin: 50% 100%; animation: tag-in .5s var(--d, 0ms) cubic-bezier(0.23, 1, 0.32, 1) backwards; transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1); }
.p3d-tag img { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.p3d-tag span { overflow: hidden; text-overflow: ellipsis; }
.p3d-tag:active { transform: translate(-50%, -50%) scale(.96); }
@media (hover: hover) and (pointer: fine) { .p3d-tag:hover { transform: translate(-50%, -50%) translateZ(26px) scale(1.05); } }
@keyframes tag-line { to { stroke-dashoffset: 0; } }
@keyframes tag-dot { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes tag-ping { from { opacity: .8; transform: scale(1); } 60%, to { opacity: 0; transform: scale(2.4); } }
@keyframes tag-in { from { opacity: 0; transform: translate(-50%, -50%) translateZ(-60px) rotateX(-75deg) scale(.8); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { .p3d-tags path, .p3d-dot, .p3d-dot::after, .p3d-tag { animation: none; opacity: 1; stroke-dashoffset: 0; } .p3d-dot::after { display: none; } }
.p3d-card { position: absolute; inset: 0; overflow: hidden; border-radius: 32px; background: #cfe6d6; box-shadow: 0 28px 60px -28px rgba(31, 107, 58, .45); }
.p3d-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tipc { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--white); border-radius: 36px; padding: 16px 20px; text-decoration: none; max-width: 620px; transition: transform .16s var(--out); }
.tipc:active { transform: scale(.98); }
.tipc img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.tipc p { font-weight: 700; color: var(--muted); }
.tipc h3 { font-size: 1.75rem; margin: 2px 0 6px; }
.tipc span { font-weight: 800; color: var(--accent); }
.rank .pr { white-space: nowrap; font-weight: 700; }

/* Щоденник і план */
.rings { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 32px; align-items: center; }
.bd label { display: block; font-weight: 800; font-size: var(--step-lead); margin-bottom: 10px; }
.ring { display: grid; justify-items: center; text-align: center; gap: 4px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring .tr { stroke: var(--surface); }
.ring .vl { stroke: var(--accent); stroke-linecap: round; stroke-dashoffset: var(--o); transition: stroke-dashoffset 1.1s var(--out) .2s; }
.ring.in .vl { stroke-dashoffset: var(--d); }
.ring b { font-size: var(--step-lead); font-weight: 800; }
.log { margin-top: 24px; }
.log li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 10px 0; }
.log a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.log img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.log em { grid-column: 1 / -1; font-style: normal; font-weight: 700; }
.log .st { margin: 0; }
.acts2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.rx { display: flex; gap: 8px; margin-top: 12px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 28px; }
.wday { background: var(--surface); border-radius: 28px; padding: 18px 14px; }
.wday:nth-child(3n+2) { background: var(--mint); }
.wday:nth-child(3n) { background: #fde6e7; }
.wday h3 { font-size: 1.125rem; }
.wday p { font-weight: 800; margin-top: 12px; font-size: 1rem; }
.pl { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-top: 6px; font-size: 1rem; line-height: 1.15; }
.pl img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
@media print {
  .bar, footer, .acts2, .head .pic, .rings .ring, .gform, .gh .chip { display: none !important; }
  .head { background: none; }
  .log .st { border: 1px solid #000; }
  * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Посуд і стільчики */
.st { display: inline-block; font-weight: 800; font-size: 1rem; padding: 2px 12px; border-radius: 99px; margin-bottom: 6px; background: var(--surface); }
.st.yes { background: var(--mint); }
.st.no { background: var(--pink); }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px clamp(24px, 3vw, 48px); margin-top: 36px; }
.kit li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.kit img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.kit h3 { margin-bottom: 4px; font-size: 1.25rem; }
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 36px; }
.types.four { grid-template-columns: repeat(4, 1fr); }
.types.three { grid-template-columns: repeat(3, 1fr); }
.types img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.types h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pro { font-weight: 600; }
.con { color: var(--muted); margin-top: 6px; }
.dots2 .dots { columns: 2; column-gap: 48px; }
.dots2 li { break-inside: avoid; }
.rank .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.rank tr:nth-child(n+4) .n { background: var(--mint); color: var(--ink); }
.avoid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(16px, 2vw, 28px); margin-top: 32px; }
.avoid li { background: var(--surface); padding: 22px 26px; border-radius: 32px; }
.avoid li.bad { background: #fde6e7; }
.avoid h3 { font-size: 1.25rem; margin-bottom: 4px; }
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); margin-top: 36px; }
.brands article { background: var(--surface); padding: 28px; border-radius: 36px; }
.brands h3 { font-size: 1.75rem; }
.lbl { font-weight: 800; margin-top: 16px; }
.lbl.con { color: var(--ink); }
.dots.no li::before { background: #d9777c; }
.food { animation: fade-up .45s var(--out) backwards; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* Перехід між сторінками: коло розкривається з місця кліку */
.bar { view-transition-name: bar; }
.links a[aria-current="page"] { view-transition-name: navpill; }
::view-transition-group(navpill) { animation-duration: .42s; animation-timing-function: var(--out); }
@property --vt { syntax: "<length>"; inherits: false; initial-value: 0px; }
::view-transition-old(root) { animation: vt-out .9s ease-out both; }
::view-transition-new(root) { -webkit-mask-image: radial-gradient(circle at var(--vx) var(--vy), #000 calc(var(--vt) - 320px), transparent var(--vt)); mask-image: radial-gradient(circle at var(--vx) var(--vy), #000 calc(var(--vt) - 320px), transparent var(--vt)); animation: vt-in .9s cubic-bezier(0.77, 0, 0.175, 1) both; }
@keyframes vt-in { from { --vt: 0px; } to { --vt: calc(var(--vr) + 360px); } }
@keyframes vt-out { to { opacity: .7; } }

@media (hover: hover) and (pointer: fine) {
  .mark:hover i { transform: scale(1.18); }
  .links a:hover { background: var(--surface); }
  .links a[aria-current="page"]:hover { background: var(--mint); }
  .btn:hover { background: #17552d; transform: translateY(-2px); }
  .path-row a:hover .c { transform: scale(1.04); }
  .disc-list button:hover { transform: translateX(6px); }
  .food:hover .ph { transform: scale(1.05); }
  .x:hover { transform: rotate(90deg); }
  .chip:hover { background: var(--mint); }
  .chip[aria-pressed="true"]:hover { background: var(--accent); }
  .langs button:hover, .lang-btn:hover { background: var(--mint); }
  .snd:hover { background: var(--surface); }
}

@media (max-width: 1520px) {
  .bar-in { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; min-height: 0; }
  .kit { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: repeat(3, 1fr); }
  .snd { margin-left: auto; }
  .links { order: 3; width: 100%; margin: 4px calc(var(--m) * -1) 0; padding-inline: var(--m); width: calc(100% + var(--m) * 2); overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
}
@media (max-width: 860px) {
  .hero { flex-direction: column-reverse; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero-txt { max-width: none; padding-block: 28px 32px; }
  .hero-disc { position: relative; top: 0; right: 0; margin: 0 auto -18vw; width: 112vw; height: 112vw; max-width: none; max-height: none; min-width: 0; min-height: 0; left: -6vw; }
  .dial-grid, .two, .disc, .band .in, .head .wrap { grid-template-columns: minmax(0, 1fr); }
  .dial-grid .plate-box { order: -1; width: min(100%, 420px); }
  .head .pic { justify-self: start; width: 58vw; margin-bottom: 8px; }
  .head .wrap { padding-block: 32px; }
  .path-row, .grow { grid-template-columns: 1fr 1fr; align-items: start; }
  .steps4, .days { grid-template-columns: 1fr 1fr; }
  .disc-fig { width: 86vw; }
  .disc-list { order: 2; }
  .alg, .cut { grid-template-columns: 1fr 1fr; }
  .never, .recipes, .avoid, .brands, .kit, .rings, .gcharts { grid-template-columns: minmax(0, 1fr); }
  .gform { grid-template-columns: minmax(0, 1fr); }
  .week { grid-template-columns: 1fr 1fr; }
  .log li { grid-template-columns: minmax(0, 1fr) auto; }
  .log li > span:first-of-type { display: none; }
  .types, .types.four { grid-template-columns: 1fr 1fr; }
  .dots2 .dots { columns: 1; }
  .rank thead { display: none; }
  .rank tr { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid #cfcfcf; }
  .rank td { border: 0; padding: 0; overflow-wrap: anywhere; }
  .rank td:first-child { grid-row: 1 / 5; }
  .rank td:nth-child(n+2) { grid-column: 2; }
  .rank td:nth-child(3) { color: var(--muted); }
  .rcp { grid-template-columns: 96px 1fr; gap: 16px; }
  .rcp img { width: 96px; height: 96px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .band .fig { width: 60vw; }
  .faq-list details { padding: 18px 20px; border-radius: 26px; }
  .faq-list summary { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .mark { font-size: 1.0625rem; gap: 7px; }
  .mark i { width: 20px; height: 20px; }
  .mark i::after { inset: 5px; }
  .snd { width: 34px; height: 34px; }
  .lang-btn, .langs button { height: 36px; padding: 0 10px; font-size: .9375rem; gap: 5px; }
  .langs { padding: 0 2px; }
  .bar-in { flex-wrap: wrap; gap: 0 6px; padding-block: 6px 2px; }
  .links a { padding: 6px 10px; }
  .steps4, .days, .alg, .cut { grid-template-columns: 1fr; }
  .sh-top { grid-template-columns: 96px 1fr; gap: 16px; }
  .sh-top img { width: 96px; height: 96px; }
  dialog { border-radius: 30px; }
  .facts { grid-template-columns: 1fr; }
  table { font-size: 1rem; }
  .tummy i { width: calc(var(--n) * 4.6px); height: calc(var(--n) * 4.6px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  ::view-transition-new(root) { -webkit-mask-image: none; mask-image: none; animation: fade .2s ease both; }
  ::view-transition-old(root) { animation: none; }
  .langs button { transform: none; }
  .wd > span { transform: none; }
  .rv:not(.in) .dots li { opacity: 1; transform: none; }
  .wh button { animation: none; }
}

/* iPhone: окрема композиція */
html { -webkit-tap-highlight-color: transparent; }
@media (max-width: 860px) {
  body { font-size: 1.0625rem; }
  :root { --gap: 72px; --m: 18px; }
  .bar { padding-top: env(safe-area-inset-top); }
  .bar-in { flex-wrap: nowrap; padding-block: 6px 2px; gap: 6px; min-height: 46px; }
  .links { display: none; }
  .mark { font-size: 1.125rem; }
  .snd { margin-left: auto; }
  h2 { font-size: 1.875rem; line-height: 1.1; }
  .two h2, .band h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .lead { font-size: 1.1875rem; }
  .sec { padding-block: 28px; }
  .sec + .sec { margin-top: 12px; }

  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg); }
  .tabs a, .tabs button { all: unset; display: grid; justify-items: center; gap: 2px; padding: 5px 2px 6px; font-size: .75rem; font-weight: 800; color: var(--muted); cursor: pointer; transition: color .2s, transform .16s var(--out); }
  .tabs a:active, .tabs button:active { transform: scale(.94); }
  .tabs svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tabs [aria-current="page"], .tabs .on { color: var(--accent); }
  .tabs span { white-space: nowrap; }

  dialog#more { display: none; position: fixed; inset: 0 0 auto; margin: 0; width: 100%; max-width: 100%; max-height: 80dvh; border-radius: 0 0 30px 30px; padding: calc(14px + env(safe-area-inset-top)) 18px 10px; background: var(--bg); }
  dialog#more[open] { display: block; animation: sheet-down .36s cubic-bezier(0.32, 0.72, 0, 1); }
  dialog#more::backdrop { background: rgba(10, 10, 10, .4); animation: fade .28s ease; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  @keyframes sheet-down { from { transform: translateY(-100%); } }
  .grip { display: none; }
  #more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #more a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 22px; background: var(--white); text-decoration: none; font-weight: 800; }
  #more img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }

  .head .wrap { display: block; padding-block: 22px 26px; min-height: 0; }
  .head h1 { font-size: 2.125rem; line-height: 1.08; }
  .head .lead { margin-top: 12px; font-size: 1.0625rem; font-weight: 600; }
  .head .pics { width: 100%; margin-top: 20px; display: flex; justify-content: center; }
  .head .pics .pic { width: 62vw; margin: 0; }
  .head .pics .p2 { position: static; width: 38vw; margin: 0 0 0 -14vw; align-self: flex-end; }

  .hero-txt { padding-block: 22px 24px; }
  .hero h1 { font-size: 2.375rem; }
  .hero .sub { font-size: 1.125rem; margin-top: 14px; }
  .hero-disc { width: 100vw; height: 100vw; left: 0; margin: 0 auto -6vw; }
  .dial { padding-block: 32px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .facts .wide { grid-column: 1 / -1; }
  .tipc { grid-template-columns: 88px minmax(0, 1fr); padding: 12px 16px; }
  .tipc img { width: 88px; height: 88px; }
  .tipc h3 { font-size: 1.375rem; }
  .rank .pr { white-space: normal; grid-column: 2; color: var(--accent); }

  /* Стрічки, які гортаються пальцем */
  .types, .types.four, .days, .week, .steps4, .path-row, .grow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--m) * -1); padding: 4px var(--m) 8px; scrollbar-width: none; align-items: stretch; }
  .types::-webkit-scrollbar, .days::-webkit-scrollbar, .week::-webkit-scrollbar, .steps4::-webkit-scrollbar, .path-row::-webkit-scrollbar, .grow::-webkit-scrollbar { display: none; }
  .types > *, .days > *, .steps4 > *, .path-row > *, .grow > * { flex: 0 0 74%; scroll-snap-align: center; animation: none !important; opacity: 1 !important; transform: none !important; }
  .week > * { flex: 0 0 58%; scroll-snap-align: center; animation: none !important; opacity: 1 !important; transform: none !important; }
  .types > div { background: var(--white); border-radius: 30px; padding: 16px; }
  .types img { width: 70%; margin: 0 auto 12px; }
  .grow > div { background: var(--white); border-radius: 30px; padding: 16px; }
  .grow img { width: 70%; margin: 0 auto 12px; }
  .path-row > a { background: var(--white); border-radius: 30px; padding: 16px; }
  .path-row .c { width: 66%; margin: 0 auto 12px; }
  .pl { margin-top: 8px; }

  /* Списки */
  .kit li { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; background: var(--white); padding: 12px; border-radius: 26px; animation: none !important; opacity: 1 !important; transform: none !important; }
  .kit { gap: 10px; margin-top: 20px; }
  .kit img { width: 84px; height: 84px; }
  .alg li, .cut li, .never li { background: var(--white); padding: 14px; border-radius: 24px; }
  .alg, .cut, .never { gap: 10px; }
  .field { padding: 22px 20px; border-radius: 30px; }
  .brands { gap: 12px; }
  .brands article { padding: 20px; border-radius: 30px; }
  .avoid li { padding: 16px 18px; border-radius: 26px; }

  /* Таблиці стають картками */
  table:not(.rank), table:not(.rank) tbody, table:not(.rank) tr { display: block; width: 100%; }
  table:not(.rank) thead { display: none; }
  table:not(.rank) tr { background: var(--white); border-radius: 24px; padding: 14px 16px; margin-top: 10px; }
  table:not(.rank) td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; border: 0; padding: 4px 0; }
  table:not(.rank) td::before { content: attr(data-h); font-weight: 700; color: var(--muted); }
  table:not(.rank) td:first-child { display: block; font-size: 1.125rem; font-weight: 800; padding-bottom: 6px; }
  table:not(.rank) td:first-child::before { content: none; }
  .tbl { overflow: visible; }
  .rank { display: block; }
  .rank tbody { display: block; }
  .rank tr { background: var(--white); border-radius: 24px; padding: 14px; margin-top: 10px; border: 0; }

  /* Продукти */
  .grid { gap: 20px 12px; margin-top: 20px; }
  .chip { padding: 9px 15px; }
  #chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scrollbar-width: none; }
  #chips::-webkit-scrollbar { display: none; }
  #chips .chip { flex: none; }
  .tools input { max-width: none; font-size: 16px; }

  /* Вікно продукту як лист знизу */
  dialog#sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; }
  dialog#sheet[open] { animation: sheet-up .4s cubic-bezier(0.32, 0.72, 0, 1); }
  .sh { border-radius: 30px 30px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); max-height: 88dvh; }

  .faq-list { margin-top: 20px; }
  .faq-list details { margin-top: 8px; border-radius: 24px; }
  .faq-list summary { font-size: 1.125rem; }

  .band { padding-block: 36px; }
  .band .fig { width: 70vw; }
  .disc-list button { font-size: 1.625rem; }
  .ft { padding-bottom: 20px; margin-top: 12px; }
  .ft-game { grid-template-columns: minmax(0, 1fr); }
  .ft-pics { order: -1; }
  .ft-pics img { width: 30%; }
  .gm-stage { min-height: 400px; }
  .game h1 { font-size: 1.875rem; }
}
@media (hover: none) { .vbox video::cue { font-size: 16px; } }
