@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Onest Variable"; src: url(/fonts/onest-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest Variable"; src: url(/fonts/onest-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

/* Палітра з фотографій: тінь і світло з першого екрана, спокійна м’ята для шкали планера */
:root {
  --night: #0b171b;
  --night-2: #14272d;
  --ink: #0e1c20;
  --muted: #51636a;
  --line: #cbd6d3;
  --paper: #f3f6f5;
  --mist: #e2ebe8;
  --celadon: #bfd2cc;
  --amber: #f5b35e;
  --amber-2: #ffd08f;
  --amber-soft: #fbe4c1;
  --brick: #9a3418;
  --white: #fff;
  --display: "Commissioner", "Optima", sans-serif;
  --text: "Onest Variable", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 10vw, 160px);
  --r-l: clamp(20px, 2.2vw, 32px);
  --r-m: 16px;
  --r-s: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --top: 76px;
  --shadow: 0 1px 1px rgb(14 28 32 / .05), 0 40px 80px -36px rgb(14 28 32 / .32);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top); -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; }
main { background: var(--paper); overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, blockquote { font-family: var(--display); font-variation-settings: "FLAR" 100, "VOLM" 60; font-weight: 520; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.5vw, 5.75rem); line-height: 1; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.04; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { max-width: 60ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img, video { display: block; width: 100%; height: auto; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.defs { position: absolute; }
.i { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.5; max-width: 38ch; }
.small { font-size: .9375rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.head { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 24px clamp(32px, 6vw, 96px); margin-bottom: clamp(36px, 4.5vw, 64px); }
.head h2 { max-width: 13ch; }
.head .lead { color: var(--muted); }

.skip { position: fixed; left: 16px; top: -90px; z-index: 30; padding: 12px 18px; border-radius: var(--r-s); background: #fff; }
.skip:focus { top: 12px; }

/* Кнопки: бурштинова на темному, темна на світлому */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 12px 28px; border: 1px solid transparent; border-radius: 999px; background: var(--amber); color: var(--ink); font: 600 1.0625rem/1.2 var(--text); text-align: center; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover { background: var(--amber-2); }
.btn:hover .i { transform: translateX(5px); }
.btn:active { transform: scale(.985); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #28444c; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-s { min-height: 46px; padding: 8px 20px; font-size: .9375rem; white-space: nowrap; }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 550; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .3s; }
.link:hover { text-decoration-color: currentColor; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px 32px; height: var(--top); padding-inline: max(var(--gutter), (100vw - 1440px) / 2 + var(--gutter)); background: var(--night); color: #fff; }
.over .top { position: fixed; inset-inline: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-right: auto; font: 560 1.1875rem/1 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.clock { width: 30px; height: 30px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }
.clock path { transform-origin: 20px 20px; }
.hour { rotate: 210deg; }
.top nav { display: flex; gap: 30px; font-size: .9375rem; }
.top nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.top nav a:hover, .foot nav a:hover, .top [aria-current], .foot [aria-current] { text-decoration: underline; }
:is(.top, .foot, .hero, .demo, .chef, .finale, .scene, .format-support, .sticky) :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--night); }

/* Перший екран */
.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: clip; }
.hero > .shell { display: flex; flex-direction: column; min-height: clamp(660px, 100svh, 1020px); padding-top: var(--top); }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 72%; overflow: hidden; }
.hero-photo::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(0deg, var(--night) 3%, rgb(11 23 27 / .55) 20%, transparent 44%), linear-gradient(180deg, rgb(11 23 27 / .7), transparent 20%), linear-gradient(90deg, var(--night) 1%, rgb(11 23 27 / .94) 9%, rgb(11 23 27 / .7) 24%, transparent 56%); pointer-events: none; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 35% 50%; }
.hero-photo picture { display: block; height: 100%; }
.hero-text { max-width: 730px; margin-block: auto; padding-block: 40px; }
.hero h1 { font-size: clamp(2.75rem, 5.7vw, 6.25rem); text-wrap: wrap; white-space: nowrap; }
.hero .lead { margin: 28px 0 38px; max-width: 34ch; }
.by { margin-bottom: 18px; color: var(--amber-2); font-weight: 550; }
.dates { margin-top: 22px; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid rgb(255 255 255 / .24); }
.proof > div { padding: 24px 24px 30px 0; }
.proof dt { font: 540 clamp(1.375rem, 1.8vw, 1.75rem)/1.1 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.02em; }
.proof dd { margin-top: 6px; max-width: 24ch; font-size: .9375rem; line-height: 1.4; color: #c5d3d2; }
.hero-course .hero-photo { width: 56%; }
.hero-course .clip-frame, .hero-course video { height: 100%; border-radius: 0; }
.hero-course video { object-fit: cover; aspect-ratio: auto; }

/* Відео */
.clip-frame { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--night); }
.clip video { aspect-ratio: 4 / 5; object-fit: cover; }
.clip-btn { position: absolute; z-index: 2; right: 16px; bottom: 16px; min-height: 46px; padding: 8px 18px; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; background: rgb(11 23 27 / .78); color: #fff; font-size: .9375rem; font-weight: 550; cursor: pointer; transition: background .3s; }
.clip-btn:hover { background: var(--night); }
.hero-course .clip-btn { right: var(--gutter); bottom: 150px; }

/* Планер */
.planner { padding-block: var(--section); }
.studio { display: grid; grid-template-columns: 5fr 7fr; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); overflow: clip; }
.scene { position: relative; display: grid; place-items: center; min-height: 780px; padding: 40px 20px 112px; background: radial-gradient(circle at 50% 45%, #7b5529 0, #3a3a2a 34%, #14262a 64%, var(--night) 88%); color: #fff; overflow: hidden; }
.scene-table { --rows: 3; position: relative; display: grid; grid-template-columns: auto 92px auto; align-items: stretch; min-height: calc(var(--rows) * 94px + 44px); padding: 22px 6px; border-radius: 20px;
  background: repeating-linear-gradient(0deg, rgb(120 92 50 / .05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgb(120 92 50 / .05) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 50%, #fffaf0, #f1e5d0 48%, #cbb591);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4), 0 3px 0 #9f8961, 0 34px 60px rgb(0 0 0 / .6), 0 0 130px rgb(245 179 94 / .34); transition: min-height .7s var(--ease); }
.side { display: flex; flex-direction: column; justify-content: space-around; }
.seat { position: relative; width: 122px; animation: seat .6s var(--ease); }
.side-r .seat { rotate: 180deg; }
@keyframes seat { from { transform: translateX(-46px); } }
.setting { display: block; position: relative; width: 122px; height: 85px; }
.chair { position: absolute; left: -58px; top: 14px; width: 54px; height: 58px; border-radius: 22px 8px 8px 22px; background: linear-gradient(90deg, #10252a 0 8px, #4b6a6c 9px, #2f4d52 55%, #1b343a); box-shadow: 0 12px 18px rgb(0 0 0 / .42), inset 0 1px 0 rgb(255 255 255 / .14); }
.runner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; margin-block: -22px; padding-block: 22px; background: linear-gradient(90deg, rgb(70 100 92 / .5), rgb(133 163 151 / .42) 22% 78%, rgb(70 100 92 / .5)); box-shadow: 1px 0 rgb(255 255 255 / .5), -1px 0 rgb(255 255 255 / .5); }
.name-card { width: 80px; padding: 6px 4px; border-radius: 3px; background: linear-gradient(#fff, #f4ede0); box-shadow: 0 1px 0 #cbbd9f, 0 5px 9px rgb(50 35 15 / .3); color: #2b2a22; font: 560 .8125rem/1.2 var(--display); font-variation-settings: "FLAR" 100; text-align: center; animation: drop .5s var(--ease); }
@keyframes drop { from { transform: translateY(-14px) scale(1.12); } }
.candle { width: 28px; height: 28px; margin-block: 5px; border-radius: 50%; background: radial-gradient(circle, #fff 0 13%, #ffce68 17% 27%, #fff0cf 31% 60%, #b69a6c 63%); box-shadow: 0 0 34px 15px rgb(255 190 92 / .72); animation: glow 2.6s ease-in-out infinite alternate; }
.candle:last-child { animation-delay: -1.2s; }
@keyframes glow { to { box-shadow: 0 0 44px 20px rgb(255 190 92 / .86); } }
.guests { position: absolute; left: 50%; bottom: 28px; translate: -50%; display: grid; grid-template-columns: 52px 116px 52px; align-items: center; padding: 4px; border: 1px solid rgb(255 255 255 / .24); border-radius: 999px; background: rgb(11 23 27 / .82); }
.guests button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); cursor: pointer; transition: background .3s, color .3s; }
.guests button:hover:not(:disabled) { background: #fff; color: var(--ink); }
.guests button:disabled { opacity: .4; cursor: default; }
.guests output { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.desk { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3.4vw, 52px); }
.modes { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--mist); }
.modes::before { content: ""; position: absolute; inset: 4px 50% 4px 4px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.modes:has([value=plan]:checked)::before { transform: translateX(100%); }
.modes label { position: relative; }
.modes legend { position: absolute; }
.modes input, .chip input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.modes span { position: relative; display: grid; place-items: center; min-height: 50px; padding: 6px 14px; border-radius: 999px; font-weight: 600; line-height: 1.15; text-align: center; transition: color .3s; }
.modes input:checked + span { color: #fff; }
.modes input:focus-visible + span, .chip:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.result { display: flex; align-items: center; gap: 22px; min-height: 92px; }
.result strong { min-width: .62em; font: 480 clamp(5rem, 7vw, 7rem)/.82 var(--display); font-variation-settings: "FLAR" 100, "VOLM" 60; letter-spacing: -.05em; font-variant-numeric: lining-nums tabular-nums; }
.result b, .result span { display: block; }
.result b { font-size: 1.3125rem; font-weight: 600; line-height: 1.25; }
.result span { margin-top: 4px; color: var(--muted); }
.result.is-late span { color: var(--brick); font-weight: 600; }
.load { display: flex; gap: 6px; }
.load i { flex: 1; height: 8px; border-radius: 4px; background: var(--celadon); transition: background .5s; }
.load .is-day { background: var(--amber); }
.load .is-late { background: var(--brick); }
.lane { display: grid; grid-template-columns: 148px 1fr; align-items: center; gap: 10px 20px; min-height: 74px; padding-block: 14px; border-top: 1px solid var(--line); }
.lane:last-child { border-bottom: 1px solid var(--line); }
.lane h3 { font-size: 1rem; }
.lane ul { display: flex; flex-wrap: wrap; gap: 8px; grid-area: 1 / 2; }
.none { grid-area: 1 / 2; color: var(--muted); }
.task { padding: 9px 14px; border-radius: var(--r-s); background: var(--mist); font-size: .9688rem; font-weight: 500; line-height: 1.3; }
.lane-day .task { background: var(--amber-soft); }
.lane-day .task.late { background: var(--brick); color: #fff; }
.picks legend { margin-bottom: 12px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; border-radius: 999px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 17px; border: 1px solid #748689; border-radius: 999px; font-size: .9688rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip .i { width: 0; height: 18px; margin-right: 0; transition: width .3s var(--ease), margin .3s var(--ease); }
.chip:hover span { border-color: var(--ink); background: var(--paper); }
.chip :checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip :checked + span .i { width: 18px; margin-right: 7px; }
.desk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; }
.desk-foot p { flex: 1 1 190px; max-width: 30ch; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.moving::view-transition-old(root), .moving::view-transition-new(root) { animation: none; }
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: var(--ease); }

/* Безкоштовний відеорецепт */
.tasting { padding-bottom: var(--section); }
.tasting-grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(36px, 8vw, 136px); }
.tasting-video { justify-self: center; width: min(100%, 440px); border-radius: var(--r-l); background: var(--night); box-shadow: var(--shadow); overflow: hidden; }
.tasting-video video { aspect-ratio: 9 / 16; object-fit: cover; }
.tasting h2 { max-width: 12ch; }
.tasting .lead { margin-top: 24px; color: var(--muted); }
.tasting h3 { margin-top: 36px; }
.ingredients { margin: 14px 0 36px; border-bottom: 1px solid var(--line); }
.ingredients > div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-top: 1px solid var(--line); }
.ingredients dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Чому ми робимо цей курс */
.why { padding-block: var(--section); background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px clamp(40px, 8vw, 136px); }
.why h2 { max-width: 10ch; }
.why blockquote { font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1.35; letter-spacing: -.02em; }
.why p { margin-top: 28px; }

/* Сторінки рецепта, порад і Влада */
.kicker { color: #8a4f12; font-weight: 550; }
.recipe h1 { margin-top: 14px; font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
.recipe h2 { margin-top: 36px; font-size: 1.5rem; }
.recipe .ingredients { margin-bottom: 20px; }
.next-up { padding-bottom: var(--section); }
.next-up .lead { margin-block: 24px 32px; color: var(--muted); }
.chef h1 { color: var(--amber-2); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.chef .link { margin-top: 20px; }
.why .actions { margin-top: 32px; }
.work dt a { text-decoration-thickness: 1px; text-underline-offset: .14em; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px clamp(20px, 3vw, 48px); margin-top: clamp(36px, 4.5vw, 64px); }
.guides a { text-decoration: none; }
.guides img { aspect-ratio: 4 / 3; border-radius: var(--r-m); object-fit: cover; }
.guides h2 { margin-block: 22px 12px; font-size: clamp(1.625rem, 2.2vw, 2.125rem); line-height: 1.12; }
.guides a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; }
.guides p { color: var(--muted); }
.article header { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: center; gap: 40px clamp(40px, 7vw, 120px); }
.article header > div > * + * { margin-top: 22px; }
.article header img { aspect-ratio: 5 / 4; border-radius: var(--r-l); object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.6; }
.article .prose { max-width: 720px; margin: clamp(48px, 6vw, 88px) auto 0; }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 56px; font-size: clamp(1.75rem, 2.6vw, 2.375rem); }
.prose :is(ul, ol) { display: grid; gap: 12px; padding-left: 1.4em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: #8a4f12; font-weight: 600; }
.timeline { border-bottom: 1px solid var(--line); }
.timeline > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline dt { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Ціни одразу після меню курсу */
.price-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; max-width: 1160px; margin: clamp(28px, 3vw, 40px) auto 0; text-align: center; }
.price-strip > p:first-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font: 520 clamp(1.25rem, 1.8vw, 1.5rem)/1.3 var(--display); }
.price-strip b { margin-right: 8px; font: 500 1rem/1.3 var(--text); color: var(--muted); }
.price-strip .small { flex-basis: 100%; order: 3; color: var(--muted); }
.recipe .actions { margin-top: 24px; }

/* Справжні відгуки: блок з'являється, коли їх додано */
.reviews { padding-top: var(--section); }
.reviews:has(+ .choice) { padding-bottom: var(--section); }
.reviews ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4.5vw, 64px); }
.reviews li { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: 26px; border-top: 1px solid #8a9a9c; }
.reviews blockquote { font-size: clamp(1.25rem, 1.7vw, 1.625rem); line-height: 1.35; letter-spacing: -.015em; }
.reviews b, .reviews span { display: block; }
.reviews span { color: var(--muted); }

/* Курс у телефоні */
.demo { padding-bottom: var(--section); }
.demo-panel { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 104px); padding: clamp(32px, 6vw, 96px) clamp(24px, 6vw, 96px) 0; border-radius: var(--r-l); background: radial-gradient(circle at 78% 78%, rgb(245 179 94 / .42), transparent 46%), var(--night); color: #fff; overflow: clip; }
.demo-text { padding-bottom: clamp(48px, 7vw, 104px); }
.demo h2 { max-width: 11ch; }
.tabs { margin-top: clamp(32px, 4vw, 56px); }
.tabs button { display: grid; width: 100%; min-height: 68px; padding: 19px 0; border: 0; border-top: 1px solid rgb(255 255 255 / .22); background: none; color: #fff; text-align: left; cursor: pointer; grid-template-rows: auto 0fr; transition: grid-template-rows .5s var(--ease); }
.tabs button:last-child { border-bottom: 1px solid rgb(255 255 255 / .22); }
.tabs strong { font: 520 1.5rem/1.25 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.02em; transition: color .3s; }
.tabs button:hover strong, .tabs .on strong { color: var(--amber-2); }
.tabs button > span { overflow: hidden; color: #d0dcdb; }
.tabs button > span > span { display: block; max-width: 42ch; padding-top: 8px; }
.tabs .on { grid-template-rows: auto 1fr; }
.phone { align-self: end; justify-self: center; width: min(100%, 372px); margin-bottom: -46px; padding: 11px; border-radius: 54px; background: linear-gradient(135deg, #73858a, #17262b 24% 74%, #64767b); box-shadow: 0 50px 90px rgb(0 0 0 / .5); }
.phone-in { height: 690px; border: 5px solid #050b0d; border-radius: 44px; background: #d7e4e0; color: var(--ink); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 22px 16px 13px; background: #fff; box-shadow: 0 1px rgb(14 28 32 / .12); }
.phone-top img { width: 40px; height: 40px; border-radius: 50%; }
.phone-top p { font-weight: 600; line-height: 1.2; }
.phone-top small { display: block; font-weight: 400; color: var(--muted); }
.screen { height: calc(100% - 76px); padding: 16px 13px 72px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.panel { animation: up .55s var(--ease); }
@keyframes up { from { transform: translateY(26px); } }
.msg { max-width: 90%; padding: 12px 15px; border-radius: 5px 18px 18px; background: #fff; box-shadow: 0 1px 1px rgb(14 28 32 / .12); font-size: 1rem; line-height: 1.4; }
.msg + .msg { margin-top: 10px; }
.msg.mine { width: fit-content; margin-left: auto; border-radius: 18px 5px 18px 18px; background: #d9f3cf; }
.msg.doc { max-width: 100%; padding: 22px 20px; border-radius: 18px; }
.msg.doc > b { font: 540 1.5rem/1.2 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.02em; }
.msg.doc dl { margin-top: 14px; }
.msg.doc dl > div { padding-block: 14px; border-top: 1px solid var(--line); }
.msg.doc dt { font-size: .9375rem; color: var(--muted); }
.msg.doc dd { font-weight: 600; }
.msg.doc ul { margin-top: 14px; }
.msg.doc li { position: relative; padding: 13px 0 13px 36px; border-top: 1px solid var(--line); }
.msg.doc li::before { content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border: 1.5px solid #71858a; border-radius: 7px; }
.msg.doc .done { color: var(--muted); text-decoration: line-through; }
.msg.doc .done::before { border-color: var(--ink); background: var(--ink); }
.msg.doc .done::after { content: ""; position: absolute; left: 8px; top: 17px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 42deg; }
.key { display: grid; place-items: center; min-height: 50px; margin-top: 7px; padding: 6px 12px; border-radius: 12px; background: rgb(44 78 84 / .86); color: #fff; font-size: .9375rem; font-weight: 500; line-height: 1.2; text-align: center; }
.demo-note { position: absolute; right: clamp(24px, 3vw, 48px); top: 24px; font-size: .8125rem; color: #c5d3d2; }

/* Пропозиція */
.offer { padding-bottom: var(--section); }
.offer-grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(36px, 8vw, 136px); }
.offer-text > * + * { margin-top: 26px; }
.offer h2 { max-width: 11ch; }
.offer .lead { color: var(--muted); }
.offer-price { padding-block: 22px; border-block: 1px solid var(--line); color: var(--muted); }
.offer-price span { display: block; font: 520 clamp(2rem, 3vw, 3rem)/1.1 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.03em; color: var(--ink); }

/* Влад: тло збігається з чорною стіною на фото */
.chef { position: relative; isolation: isolate; background: #040404; color: #fff; overflow: clip; }
.chef > .shell { display: grid; align-items: center; min-height: clamp(680px, 62vw, 960px); padding-block: var(--section); }
.chef-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 56%; }
.chef-photo img { height: 100%; object-fit: cover; object-position: 50% 45%; mask-image: linear-gradient(90deg, transparent, #000 30%); }
.chef-text { max-width: 600px; }
.chef h2 { color: var(--amber-2); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.chef blockquote { margin: 22px 0 34px; font-size: clamp(2.25rem, 4.1vw, 4.25rem); line-height: 1.05; }
.projects { display: flex; flex-wrap: wrap; gap: 2px 24px; margin-top: 28px; }
.projects a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9688rem; text-decoration-color: rgb(255 255 255 / .5); }
.projects a:hover { text-decoration-color: currentColor; }

/* Галерея */
.gallery { padding-block: var(--section); }
.gallery h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, clamp(260px, 27vw, 400px)); gap: clamp(10px, 1.2vw, 18px); }
.m-cheese { grid-area: 1 / 1 / 3 / 6; } .m-roulade { grid-area: 1 / 6 / 2 / 10; } .m-mic { grid-area: 1 / 10 / 2 / 13; } .m-knife { grid-area: 2 / 6 / 3 / 9; } .m-veg { grid-area: 2 / 9 / 3 / 13; }
.mosaic figure { position: relative; height: 100%; border-radius: var(--r-m); overflow: hidden; }
.mosaic img { height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.mosaic li:hover img { scale: 1.035; }
.m-mic img, .m-knife img { object-position: 50% 15%; }

/* Сторінка курсу */
.pains { padding-top: var(--section); }
.pains-grid, .faq-grid { display: grid; grid-template-columns: 5fr 7fr; align-items: start; gap: 40px clamp(40px, 8vw, 136px); }
.pains h2, .faq h2 { position: sticky; top: calc(var(--top) + 32px); max-width: 10ch; }
.pains dl > div { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.pains dt { font: 520 clamp(1.625rem, 2.5vw, 2.5rem)/1.15 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.028em; }
.pains dd { margin-top: 14px; max-width: 50ch; font-size: 1.125rem; color: var(--muted); }

.menu { padding-block: var(--section); background: var(--mist); }
.menu-card { max-width: 820px; margin-inline: auto; padding: clamp(60px, 8vw, 112px) clamp(34px, 6vw, 88px); background: #fff; outline: 1px solid #a9bbb7; outline-offset: -16px; box-shadow: 0 2px 2px rgb(14 28 32 / .05), 0 50px 90px -40px rgb(14 28 32 / .4); text-align: center; }
/* 12 страв: дві колонки на широкому екрані, одна — на телефоні */
.menu-full { max-width: 1160px; }
.menu-groups { columns: 2; column-gap: clamp(40px, 6vw, 96px); }
.menu-groups section { break-inside: avoid; }
.menu-card section { margin-top: 0; padding-top: clamp(32px, 4vw, 48px); }
.menu-card h3 { margin-bottom: 14px; font-size: 1rem; font-weight: 500; color: #8a4f12; }
.menu-card li { font: 500 clamp(1.4375rem, 2.3vw, 2.125rem)/1.2 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.025em; text-wrap: balance; }
.menu-card li + li { margin-top: 20px; }
.menu-card small { display: block; margin-top: 5px; font: 400 1rem/1.4 var(--text); letter-spacing: 0; color: var(--muted); }
.menu-card p { margin-inline: auto; }
.menu-card > p { margin-top: clamp(36px, 4vw, 56px); color: var(--muted); }

.choice { padding-block: var(--section); background: #fff; }
.choice-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 4.5vw, 64px); }
.choice-grid > div { padding-top: 24px; border-top: 1px solid #8a9a9c; }
.choice-grid .choice-main { border-top: 3px solid var(--amber); padding-top: 22px; }
.choice h3 { margin-bottom: 14px; font: 520 clamp(1.625rem, 2.2vw, 2.125rem)/1.15 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.02em; }
.choice-grid p { max-width: 32ch; font-size: 1.125rem; color: var(--muted); }
.choice-grid .choice-main p { color: var(--ink); }
.not-for { margin-top: 40px; color: var(--muted); }

.formats-wrap { padding-block: var(--section); }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.format { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 60px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); }
.format-support { background: radial-gradient(circle at 100% 0, rgb(245 179 94 / .34), transparent 52%), var(--night); color: #fff; }
.format h3 { margin-bottom: 8px; font: 520 clamp(1.625rem, 2.2vw, 2.125rem)/1.15 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.025em; }
.format > p:first-of-type { max-width: 34ch; min-height: 3.1em; color: var(--muted); }
.format-support > p:first-of-type { color: #d0dcdb; }
.price { font: 500 clamp(3rem, 4.9vw, 4.75rem)/1 var(--display); font-variation-settings: "FLAR" 100, "VOLM" 60; letter-spacing: -.045em; font-variant-numeric: lining-nums; white-space: nowrap; }
.format .price { margin-block: 26px 32px; }
.format ul { margin-bottom: 40px; }
.format li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.format-support li { border-color: rgb(255 255 255 / .22); }
.format li .i { margin-top: 1px; color: #a15f16; }
.format-support li .i { color: var(--amber); }
.format .btn, .format .soon { margin-top: auto; }
.soon { padding: 18px 0; font-weight: 600; }
.next { margin-top: clamp(56px, 7vw, 104px); }
.next h3 { font: 520 clamp(1.625rem, 2.2vw, 2.125rem)/1.15 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.025em; }
.next ol { counter-reset: n; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 28px; }
.next li { counter-increment: n; display: grid; align-content: start; grid-template-columns: 40px 1fr; padding-top: 22px; border-top: 1px solid #8a9a9c; }
.next li::before { content: counter(n); grid-row: span 2; font: 540 1.5rem/1.15 var(--display); color: #8a4f12; }
.next b { font-weight: 600; }
.next span { grid-column: 2; margin-top: 6px; color: var(--muted); }

.faq { padding-block: var(--section); background: #fff; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 16px 0; font-size: 1.1875rem; font-weight: 550; line-height: 1.35; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 26px; height: 26px; transition: rotate .4s var(--ease); }
.faq [open] summary .i { rotate: 45deg; }
.faq details p { padding: 0 56px 28px 0; color: var(--muted); }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* Останній екран */
.finale { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: clip; }
.finale > .shell { display: grid; align-items: center; min-height: clamp(660px, 62vw, 940px); padding-block: var(--section); }
.finale-photo { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 62%; }
.finale-photo img { height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(.78) saturate(.92); mask-image: linear-gradient(90deg, transparent, #000 46%); }
.finale-text { max-width: 640px; }
.finale h2 { font-size: clamp(2.75rem, 5.2vw, 5.5rem); line-height: 1; }
.finale .actions { margin-top: 44px; gap: 12px 16px; }

.foot { background: var(--night); color: #fff; }
.foot .shell { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 40px; padding-block: 48px; border-top: 1px solid rgb(255 255 255 / .16); }
.foot-brand { display: inline-flex; align-items: center; min-height: 48px; font: 540 1.5rem/1.2 var(--display); font-variation-settings: "FLAR" 100; letter-spacing: -.02em; text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
.foot p { font-size: .875rem; color: #c5d3d2; }

.sticky { display: none; }

/* План, контакти, оформлення, статус */
.sheet { min-height: calc(100svh - var(--top) - 200px); padding-block: clamp(56px, 8vw, 120px); }
.sheet h1 { font-size: clamp(2.5rem, 4.8vw, 4.75rem); }
.narrow > * { max-width: 720px; }
.narrow > * + * { margin-top: 26px; }
.narrow h2 { margin-top: 48px; font-size: 1.75rem; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px clamp(40px, 7vw, 120px); }
.sheet-grid > div:first-child > * + * { margin-top: 28px; }
.sheet .menu-card { width: 100%; padding: clamp(52px, 5vw, 76px) 32px; }
.sheet .menu-card h2 { font-size: 2.25rem; }
.sheet .menu-card section p { font: 500 1.3125rem/1.3 var(--display); letter-spacing: -.015em; }
.sheet .menu-card h3 { margin-bottom: 4px; }
.checkout-page { display: grid; grid-template-columns: 7fr 5fr; align-items: start; gap: clamp(36px, 5vw, 64px) clamp(40px, 8vw, 136px); }
.checkout-page h1 { grid-column: 1 / -1; }
.checkout-main { grid-area: 2 / 1; }
.summary { grid-area: 2 / 2; display: grid; gap: 24px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); }
.checkout { display: grid; gap: 14px; }
.checkout label { font-weight: 600; }
.checkout input[type="tel"] { width: 100%; min-height: 62px; padding: 12px 20px; border: 1px solid #71858a; border-radius: var(--r-m); background: #fff; color: inherit; font: inherit; font-size: 1.125rem; }
.checkout #phone-hint { margin-top: -10px; }
.checkout input::placeholder { color: #66777c; opacity: 1; }
.checkout .check { display: flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 400; }
.check input { flex: none; width: 24px; height: 24px; accent-color: var(--ink); }
.checkout .btn { justify-self: start; margin-block: 10px; }
.error { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--r-m); background: var(--brick); color: #fff; font-weight: 550; }

/* Святкове оформлення. Після свят видаліть цей блок і правило з xmas для телефона нижче та поверніть фото grill-* на головну й garden в останній блок */
@media (min-width: 901px) {
  /* Шеф стоїть ліворуч від центра кадру, тому фото нижче за перший екран, а заголовок трохи менший: так вони не перетинаються */
  .hero-photo:has([src*="xmas"]) { bottom: 90px; width: 80%; }
  .hero-photo:has([src*="xmas"]) img { object-position: 44% 50%; }
  .hero-photo:has([src*="xmas"])::after { background: linear-gradient(0deg, var(--night) 1%, transparent 24%), linear-gradient(180deg, rgb(11 23 27 / .7), transparent 20%), linear-gradient(90deg, var(--night) 1%, rgb(11 23 27 / .92) 14%, rgb(11 23 27 / .7) 31%, transparent 50%); }
  .hero:has([src*="xmas"]) h1 { font-size: clamp(2.75rem, 4.9vw, 4.5rem); }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-photo:has([src*="xmas"]) { width: 70%; }
  .hero-photo:has([src*="xmas"]) img { object-position: 33% 50%; }
}
@media (min-width: 901px) {
  .finale-photo:has([src*="xmas"]) { width: 77%; }
  .finale-photo [src*="xmas"] { mask-image: linear-gradient(90deg, transparent 8%, #000 74%); }
}
.finale-photo [src*="xmas"] { object-position: 92% 50%; filter: brightness(.88); }
.finale .btn-ghost:not(:hover) { background: rgb(11 23 27 / .78); }
/* Червоні кнопки. «Самостійно» лишається темною, щоб вирізнявся формат із підтримкою */
.btn:not(.btn-ghost, .format-self .btn) { background: #c2281f; border-color: rgb(255 208 143 / .6); color: #fff; }
.btn:not(.btn-ghost, .format-self .btn):hover { background: #a91e17; border-color: var(--amber-2); }
.planner, .menu, .finale, .why, .menu-card { position: relative; }
:is(.planner, .menu, .finale)::before, :is(.planner, .menu, .finale)::after { content: ""; position: absolute; inset: 0 0 auto; height: 62px; background: url(/xmas/garland.svg) 50% 0 / 300px 62px repeat-x; pointer-events: none; }
:is(.planner, .menu, .finale)::after { background-image: url(/xmas/garland-glow.svg); animation: glimmer 3.6s ease-in-out infinite alternate; }
@keyframes glimmer { from { opacity: .25; } }
.why::after, .menu-card::before, .menu-card::after { content: ""; position: absolute; width: clamp(140px, 17vw, 250px); aspect-ratio: 360 / 210; background: url(/xmas/branch.svg) 0 0 / contain no-repeat; pointer-events: none; }
.why::after { top: 0; right: 0; }
.menu-card::before, .menu-card::after { top: -20px; width: clamp(104px, 15vw, 220px); }
.menu-card::before { left: -14px; scale: -1 1; }
.menu-card::after { right: -14px; }
.hero:has([src*="xmas"])::after { content: ""; position: absolute; z-index: -1; inset: -840px 0 0; background: url(/xmas/snow.svg) 100% 0 / 760px 840px; mask-image: linear-gradient(90deg, transparent 42%, #000 68%); pointer-events: none; animation: snow 38s linear infinite; }
@keyframes snow { to { transform: translateY(840px); } }

/* Рух лише доповнює зміст: без підтримки браузера все одразу на місці */
@supports (animation-timeline: scroll()) {
  .hour { animation: hour linear both; animation-timeline: scroll(root); }
  .minute { animation: minute linear both; animation-timeline: scroll(root); }
  @keyframes hour { from { rotate: 0deg; } to { rotate: 210deg; } }
  @keyframes minute { from { rotate: 0deg; } to { rotate: 2520deg; } }
  .over .top { animation: top linear both; animation-timeline: scroll(root); animation-range: 0 220px; }
  @keyframes top { from { background: transparent; } }
  .hero-photo picture img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes drift { to { transform: translateY(7%) scale(1.04); } }
  .rise, .menu-card, .format, .demo-panel { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes lift { from { transform: translateY(56px); } }
  .phone { animation: phone linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes phone { from { transform: translateY(110px); } }
  .sheet .menu-card, .sheet .rise { animation: none; }
}
@view-transition { navigation: auto; }

@media (min-width: 1121px) {
  .scene-table { grid-template-columns: auto 100px auto; min-height: calc(var(--rows) * 106px + 44px); padding-inline: 6px; }
  .seat, .setting { width: clamp(112px, 9.2vw, 138px); }
  .setting { height: auto; aspect-ratio: 132 / 92; }
  .chair { top: 20px; height: 66px; }
  .name-card { width: 88px; padding-block: 8px; font-size: .875rem; }
}

@media (max-width: 1120px) {
  .top nav { display: none; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .scene { min-height: 0; padding-block: 48px 116px; }
}

@media (max-width: 900px) {
  :root { --top: 66px; }
  .head, .demo-panel, .offer-grid, .tasting-grid, .pains-grid, .faq-grid, .choice-grid, .formats, .next ol, .sheet-grid, .checkout-page { grid-template-columns: minmax(0, 1fr); }
  .pains h2, .faq h2 { position: static; max-width: none; }
  .hero > .shell { min-height: 0; padding-top: min(88vw, 620px); }
  .hero-photo, .hero-course .hero-photo { inset: 0 0 auto; width: 100%; height: min(124vw, 860px); mask-image: linear-gradient(#000 78%, transparent 98%); }
  .hero-photo::after { background: linear-gradient(0deg, var(--night) 4%, rgb(11 23 27 / .86) 18%, transparent 48%), linear-gradient(180deg, rgb(11 23 27 / .75), transparent 22%); }
  .hero-photo img { object-position: 45% 100%; }
  .hero-text { margin: 0; padding-block: 0 40px; }
  .hero h1 { font-size: min(10.2vw, 5.5rem); }
  .hero-photo:has([src*="xmas"]) { height: min(112vw, 860px); }
  .hero:has([src*="xmas"])::after { mask-image: linear-gradient(#000 calc(840px + 60vw), transparent calc(840px + 100vw)); animation: none; }
  .hero .lead { margin-block: 20px 28px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div { padding: 18px 14px 20px 0; }
  .hero-course .clip-btn { top: calc(var(--top) + 12px); right: var(--gutter); bottom: auto; }
  .lane { grid-template-columns: minmax(0, 1fr); padding-block: 16px; }
  .lane ul, .none { grid-area: auto; }
  .menu-groups { columns: 1; }
  .demo-panel { gap: 28px; }
  .demo-text { min-width: 0; padding-bottom: 0; }
  .demo-note { position: static; order: 1; justify-self: center; margin-bottom: -14px; }
  .demo .phone { order: 2; }
  /* Вкладки — рядок просто над телефоном, тому результат натискання одразу видно */
  .tabs { display: flex; gap: 8px; margin: 28px calc(clamp(24px, 6vw, 96px) * -1) 0; padding: 4px clamp(24px, 6vw, 96px); overflow-x: auto; scrollbar-width: none; }
  .tabs button, .tabs button:last-child { flex: none; width: auto; min-height: 46px; padding: 8px 18px; border: 1px solid rgb(255 255 255 / .4); border-radius: 999px; align-items: center; grid-template-rows: auto; }
  .tabs button > span { display: none; }
  .tabs strong { font: 550 1rem/1.2 var(--text); letter-spacing: 0; }
  .tabs button.on { border-color: var(--amber); background: var(--amber); grid-template-rows: auto; }
  .tabs .on strong, .tabs .on:hover strong { color: var(--ink); }
  .phone-in { height: 560px; }
  .chef > .shell { min-height: 0; padding-block: 0 var(--section); }
  .chef-photo { position: relative; z-index: auto; width: 100%; }
  .chef-photo img { max-height: 780px; aspect-ratio: 1 / 1.1; object-position: 50% 45%; mask-image: linear-gradient(#000 66%, transparent 98%); }
  .mosaic { display: flex; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .mosaic li { flex: 0 0 min(76vw, 380px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .format > p:first-of-type { min-height: 0; }
  .finale > .shell { min-height: 0; padding-block: min(100vw, 720px) 72px; }
  .finale-photo { inset: 0 0 auto; width: 100%; height: min(116vw, 840px); }
  .finale-photo img { mask-image: linear-gradient(#000 58%, transparent); }
  .summary, .checkout-main { grid-area: auto; }
  .foot .shell { grid-template-columns: minmax(0, 1fr); padding-bottom: 110px; }
  .sticky { position: fixed; z-index: 15; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 22px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; background: rgb(11 23 27 / .95); color: #fff; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 40px rgb(11 23 27 / .4); }
}

@media (max-width: 560px) {
  .top { gap: 10px; }
  .brand { gap: 9px; font-size: 1.0625rem; }
  .clock { width: 26px; height: 26px; }
  .btn-s { padding-inline: 16px; font-size: .875rem; }
  .actions .btn, .format .btn, .checkout .btn, .offer .btn, .tasting .btn, .desk-foot .btn { width: 100%; padding-inline: 16px; gap: 10px; font-size: 1rem; }
  .actions form, .actions form .btn { width: 100%; }
  .desk { gap: 24px; padding: 20px 18px 28px; }
  .modes span { padding-inline: 8px; font-size: .9375rem; }
  .scene-table { grid-template-columns: auto 78px auto; min-height: calc(var(--rows) * 70px + 36px); padding-inline: 3px; }
  .seat, .setting { width: 88px; }
  .setting { height: 61px; }
  /* Компактніший планер на телефоні: та сама інформація, менше прокрутки */
  .scene { padding-block: 20px 84px; }
  .desk { gap: 16px; }
  .lane { gap: 6px; min-height: 0; padding-block: 10px; }
  .lane ul { gap: 6px; }
  .lane li { padding: 6px 11px; font-size: .9375rem; }
  .chips { gap: 6px; }
  .chip span { min-height: 40px; padding: 4px 13px; font-size: .9375rem; }
  .chair { left: -32px; top: 10px; width: 29px; height: 42px; border-radius: 15px 6px 6px 15px; }
  .name-card { width: 70px; font-size: .75rem; }
  .demo-panel { margin-inline: -8px; }
  .phone { border-radius: 46px; padding: 8px; }
  .phone-in { border-radius: 38px; }
  .menu-card { margin-inline: -6px; padding-inline: 32px; outline-offset: -11px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after, ::details-content { animation: none !important; transition: none !important; }
}
