/* The MoyMenu presentation for restaurant owners (2026-11-11, src/seo/presentation.ts): 16:9 slides that are the page
   and, printed, the PDF (scripts/build-presentation-pdf.mjs). The MoyMenu brand kit: ink #1A1418, cream #FFF8F0,
   menu blue #5b21b6, heart pink #C2274F, Inter. The live site shows the blue as the owner's purple through the host's
   colour swap; the PDF script applies the same swap, so page and PDF match the live site.

   Every slide is a 1280 x 720 design. Inside a slide, sizes are written in --u, one design pixel at the slide's
   current width (100cqw / 1280): on a computer the slide scales with the window, in print it is exactly the page.
   No text on a slide is smaller than 16 design pixels. Below 900 px every slide reflows into its own single column
   with phone sizes. Everything that moves is scoped to html.m, which only /seo/deck.js sets: without the script the
   page is whole and still. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/seo/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/seo/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/seo/fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --ink: #1A1418;
  --ink-soft: #4A3F44;
  --cream: #FFF8F0;
  --cream-2: #F6EBDF;
  --line: #E8DACB;
  --paper: #ffffff;
  --blue: #5b21b6;
  --blue-dark: #4c1d95;
  --blue-tint: #f3eefc;
  --heart: #C2274F;
  --night-2: #2A2227;
  --on-night: #FFF8F0;
  --on-night-soft: #D9CCC2;
  --font: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* One design pixel inside a slide. */
  --u: calc(100cqw / 1280);
  /* The type steps: the sentence, a headline, a price, a statement, a lead, the text, the small text. */
  --t-xl: calc(112 * var(--u));
  --t-d: calc(60 * var(--u));
  --t-p: calc(48 * var(--u));
  --t-h: calc(30 * var(--u));
  --t-st: calc(24 * var(--u));
  --t-b: calc(17 * var(--u));
  --t-s: calc(16 * var(--u));
  --r: calc(18 * var(--u));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--cream); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ── The page's bar (not printed) ─────────────────────────────────────────── */
.deck-bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px; padding: 0 24px; background: var(--cream); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.deck-bar[data-on="white"] { background: var(--paper); }
.deck-bar[data-on="ink"] { background: var(--ink); color: var(--on-night); }
/* The kit's two logo files, one per ground: neither is recoloured. */
.deck-home .lg { width: 136px; height: auto; }
.deck-home .lg-dark, .deck-bar[data-on="ink"] .lg-light { display: none; }
.deck-bar[data-on="ink"] .lg-dark { display: block; }
.deck-acts { display: flex; align-items: center; gap: 20px; }
.bar-link { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 16px; }
.bar-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar-link .ar { align-self: center; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bar-short { display: none; }
.bar-note { font-weight: 400; font-size: 16px; opacity: .72; }
/* The same deck in the other languages: three small codes, the current one filled. */
.deck-langs { display: flex; align-items: center; gap: 2px; margin-left: auto; font-size: 14px; font-weight: 650; letter-spacing: .02em; }
.deck-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 32px; padding: 0 6px; border-radius: 999px; opacity: .7; transition: opacity .2s var(--ease), background-color .2s var(--ease); }
.deck-langs a:hover { opacity: 1; }
.deck-langs a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }

/* Buttons: one shape, fully round, flat. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: calc(56 * var(--u)); padding: 0 1.3em;
  border-radius: 999px; background: var(--blue); color: #fff; font-weight: 650; font-size: var(--t-b); white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ar { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn-sm { height: 44px; font-size: 16px; padding: 0 20px; }
.btn-quiet { background: transparent; color: var(--ink); padding: 0 .4em; }
.btn-quiet:hover { background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.btn-quiet:hover .ar { transform: translateY(3px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }

/* ── The deck ─────────────────────────────────────────────────────────────── */
.deck { display: grid; gap: 20px; padding: 4px 20px 20px; }
.s {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  border-radius: 24px; background: var(--paper); color: var(--ink); scroll-margin-top: 80px;
}
.s[data-ground="cream"] { background: var(--cream); }
.s[data-ground="ink"] { background: var(--ink); color: var(--on-night); }
.s > * { position: absolute; }
.s .st { font-size: var(--t-st); line-height: 1.3; letter-spacing: -0.01em; font-weight: 450; }
.s h3 { font-size: var(--t-b); font-weight: 700; line-height: 1.3; }
.s p, .s li, .s dd, .s td, .s th { font-size: var(--t-b); line-height: 1.42; }
.d, .d-xl { font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
.d { font-size: var(--t-d); text-wrap: balance; }
.d-xl { font-size: var(--t-xl); line-height: .98; letter-spacing: -0.045em; }
.ln { display: block; white-space: nowrap; }
.s-logo { top: calc(44 * var(--u)); left: calc(64 * var(--u)); width: calc(150 * var(--u)); height: auto; }
.ticks { display: grid; gap: calc(8 * var(--u)); }
.ticks li { display: flex; gap: calc(10 * var(--u)); align-items: flex-start; }
.ck { flex: none; width: calc(20 * var(--u)); height: calc(20 * var(--u)); margin-top: calc(2 * var(--u)); fill: none; stroke: var(--heart); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.shot { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: var(--r); background: var(--cream-2); }
.shot-phone { object-position: top center; border-radius: calc(26 * var(--u)); }
.fill { width: 100%; height: 100%; object-fit: cover; }
.qr { width: 100%; height: auto; }

/* The picture inside the sentence: one line tall, set in em so it scales with the type. */
.slot { display: inline-block; vertical-align: -0.04em; height: .74em; width: 1.9em; margin: 0 .04em; border-radius: .16em; overflow: hidden; background: var(--ink); }
.slot-img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.slot-qr { width: .82em; height: .82em; padding: .05em; background: #fff; border-radius: .1em; vertical-align: -0.06em; }
.slot-qr .qr { height: 100%; }

/* 1. Cover */
.s1 h1 { top: calc(128 * var(--u)); left: calc(60 * var(--u)); }
.s1-low { left: calc(64 * var(--u)); top: calc(392 * var(--u)); width: calc(520 * var(--u)); display: grid; gap: calc(26 * var(--u)); }
.acts { display: flex; align-items: center; gap: calc(18 * var(--u)); }
.note { display: flex; gap: calc(8 * var(--u)); align-items: center; color: var(--ink-soft); }
.s1-pics { left: calc(640 * var(--u)); top: calc(392 * var(--u)); right: calc(-40 * var(--u)); bottom: calc(-60 * var(--u)); }
.s1-pics .shot-till { position: absolute; left: calc(150 * var(--u)); top: 0; width: calc(760 * var(--u)); max-width: none; height: auto; aspect-ratio: 1600 / 825; }
.s1-pics .shot-phone { position: absolute; left: 0; top: calc(30 * var(--u)); width: calc(190 * var(--u)); height: calc(331 * var(--u)); outline: calc(6 * var(--u)) solid var(--cream); }

/* 2. The evening without a system */
.s2-text { left: calc(64 * var(--u)); top: calc(64 * var(--u)); width: calc(700 * var(--u)); display: grid; gap: calc(20 * var(--u)); }
.s2 .st { color: var(--on-night-soft); }
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: calc(26 * var(--u)) calc(40 * var(--u)); margin-top: calc(18 * var(--u)); }
.moments time { display: block; font-size: var(--t-st); font-weight: 700; color: var(--heart); font-variant-numeric: tabular-nums; margin-bottom: calc(6 * var(--u)); letter-spacing: -0.01em; }
.moments p { color: var(--on-night); }
.s .s2-close { margin-top: calc(22 * var(--u)); font-size: var(--t-st); line-height: 1.3; font-weight: 600; max-width: 28em; }
.s2-pic { right: 0; top: 0; bottom: 0; width: calc(430 * var(--u)); overflow: hidden; }

/* 3. The free menu */
.s3-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(760 * var(--u)); display: grid; gap: calc(22 * var(--u)); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: calc(36 * var(--u)); margin-top: calc(14 * var(--u)); }
.two h3 { margin-bottom: calc(12 * var(--u)); }
.s .price-line { margin-top: calc(16 * var(--u)); font-size: var(--t-st); font-weight: 700; letter-spacing: -0.01em; }
.s3-side { left: calc(864 * var(--u)); top: calc(48 * var(--u)); width: calc(356 * var(--u)); bottom: calc(48 * var(--u)); }
.s3-phone { position: absolute; left: calc(30 * var(--u)); top: 0; width: calc(296 * var(--u)); height: calc(413 * var(--u)); }
.live { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: calc(124 * var(--u)) 1fr; gap: calc(14 * var(--u)); align-items: center; padding: calc(14 * var(--u)); border-radius: var(--r); background: var(--cream); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.live:hover { background: var(--cream-2); transform: translateY(-2px); }
.live-text { display: grid; gap: calc(6 * var(--u)); }
.live-text b { font-size: var(--t-b); line-height: 1.3; letter-spacing: -0.01em; }
.live-text span { font-size: var(--t-s); line-height: 1.35; color: var(--ink-soft); }

/* 4. Paper, a PDF and MoyMenu */
.s4-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(830 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.cmp { border-collapse: collapse; width: 100%; table-layout: fixed; margin-top: calc(4 * var(--u)); }
.s .cmp th, .s .cmp td { text-align: left; padding: calc(8 * var(--u)) calc(12 * var(--u)); vertical-align: top; font-size: var(--t-s); line-height: 1.3; }
.cmp thead td { width: 21%; }
.cmp thead th:nth-child(2) { width: 21%; }
.cmp thead th:nth-child(3) { width: 25%; }
.cmp thead th { font-weight: 700; color: var(--ink-soft); padding-bottom: calc(12 * var(--u)); }
.s .cmp tbody th { font-weight: 650; padding-left: 0; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--line); }
.cmp td { color: var(--ink-soft); }
.cmp .us { background: var(--paper); color: var(--ink); font-weight: 650; }
.cmp thead .us { color: var(--blue); border-radius: calc(12 * var(--u)) calc(12 * var(--u)) 0 0; }
.cmp tbody tr:last-child .us { border-radius: 0 0 calc(12 * var(--u)) calc(12 * var(--u)); }
.s .fair { color: var(--ink-soft); font-size: var(--t-s); max-width: 40em; }
.s4-pic { left: calc(940 * var(--u)); top: calc(114 * var(--u)); width: calc(280 * var(--u)); }
.s4-pic .shot { height: auto; aspect-ratio: 600 / 1053; }

/* 5. More guests */
.s5-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(780 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: calc(20 * var(--u)) calc(36 * var(--u)); margin-top: calc(14 * var(--u)); }
.items li { display: grid; gap: calc(4 * var(--u)); align-content: start; }
.items p { color: var(--ink-soft); }
.plan { justify-self: start; margin-top: calc(4 * var(--u)); padding: calc(3 * var(--u)) calc(10 * var(--u)); border-radius: 999px; font-size: var(--t-s); line-height: 1.3; font-weight: 650; }
.plan-all { background: var(--cream-2); color: var(--ink); }
.plan-growth { background: var(--blue-tint); color: var(--blue); }
.plan-full { background: var(--ink); color: var(--cream); }
.s5-side { left: calc(880 * var(--u)); top: calc(48 * var(--u)); width: calc(340 * var(--u)); bottom: calc(48 * var(--u)); display: grid; align-content: center; gap: calc(16 * var(--u)); }
.s5-app .shot { height: auto; aspect-ratio: 540 / 400; border-radius: calc(26 * var(--u)) calc(26 * var(--u)) var(--r) var(--r); }
.s .stores { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(4 * var(--u)) calc(16 * var(--u)); font-size: var(--t-s); }
.stores a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.stores span { width: 100%; text-align: center; color: var(--ink-soft); }
.s5-offer .shot { height: auto; aspect-ratio: 760 / 428; }

/* 6. MoyTicket */
.s6-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(640 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.s6 .st { color: var(--on-night-soft); }
.items-dark { margin-top: calc(6 * var(--u)); }
.items-dark p { color: var(--on-night-soft); }
.s6-guest { font-weight: 600; }
.s6-card { padding: calc(14 * var(--u)) calc(18 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--night-2); color: var(--on-night); }
.s6-art { left: calc(764 * var(--u)); top: calc(76 * var(--u)); width: calc(456 * var(--u)); }
.ways { left: calc(764 * var(--u)); width: calc(456 * var(--u)); top: calc(392 * var(--u)); display: grid; gap: calc(10 * var(--u)); }
.ways h3 { color: var(--on-night-soft); font-weight: 600; }
.ways ul { display: grid; gap: calc(8 * var(--u)); }
.s .ways li { font-size: var(--t-h); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; padding: calc(12 * var(--u)) calc(18 * var(--u)); background: var(--night-2); border-radius: calc(14 * var(--u)); }
.ways p { color: var(--on-night-soft); margin-top: calc(6 * var(--u)); }
.ticket { display: grid; grid-template-columns: 1fr calc(170 * var(--u)); background: var(--cream); color: var(--ink); border-radius: calc(22 * var(--u)); transform: rotate(-4deg); }
.ticket-main { padding: calc(30 * var(--u)) calc(26 * var(--u)) calc(24 * var(--u)); display: grid; gap: calc(6 * var(--u)); align-content: start; }
.s .ticket-event { font-size: var(--t-h); font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.ticket-when { font-weight: 600; margin-top: calc(12 * var(--u)); }
.s .ticket-brand { font-size: var(--t-s); font-weight: 700; color: var(--heart); margin-top: calc(22 * var(--u)); }
.ticket-type { color: var(--ink-soft); }
.ticket-stub { padding: calc(22 * var(--u)) calc(20 * var(--u)); border-left: calc(3 * var(--u)) dashed #D8C7B6; display: grid; gap: calc(10 * var(--u)); justify-items: center; align-content: center; }
.ticket-qr { width: calc(128 * var(--u)); }
.s .ticket-sample { font-size: var(--t-s); color: var(--ink-soft); }

/* 7. The till */
.s7-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(520 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.s7-pic { left: calc(620 * var(--u)); top: calc(48 * var(--u)); right: calc(-30 * var(--u)); height: calc(316 * var(--u)); }
.s7-pic .shot { border-radius: var(--r) 0 0 var(--r); }
.groups { left: calc(64 * var(--u)); right: calc(64 * var(--u)); top: calc(384 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(36 * var(--u)); }
.groups h3 { margin-bottom: calc(10 * var(--u)); }
.s .groups .ticks li { font-size: var(--t-s); line-height: 1.35; }
.s7-foot { left: calc(64 * var(--u)); right: calc(64 * var(--u)); bottom: calc(28 * var(--u)); display: grid; grid-template-columns: 1fr calc(240 * var(--u)) calc(250 * var(--u)); gap: calc(26 * var(--u)); align-items: start; padding: calc(13 * var(--u)) calc(18 * var(--u)); background: var(--cream); border-radius: var(--r); }
.s .offline, .s .online, .s .fiscal { font-size: var(--t-s); line-height: 1.36; }
.fiscal { color: var(--ink-soft); }

/* 8. Why owners choose it */
.s8-text { left: calc(64 * var(--u)); top: calc(60 * var(--u)); width: calc(720 * var(--u)); display: grid; gap: calc(16 * var(--u)); }
.reasons { display: grid; gap: calc(20 * var(--u)); margin-top: calc(12 * var(--u)); }
.reasons div { display: grid; grid-template-columns: calc(230 * var(--u)) 1fr; gap: calc(20 * var(--u)); }
.reasons dt { font-size: var(--t-b); font-weight: 700; line-height: 1.35; }
.reasons dd { color: var(--ink-soft); }
.s8-pics { left: calc(840 * var(--u)); top: 0; right: 0; bottom: 0; }
.s8-menu { position: absolute; left: 0; right: 0; top: calc(64 * var(--u)); height: calc(204 * var(--u)); }
.s8-day { position: absolute; left: 0; top: calc(284 * var(--u)); width: calc(640 * var(--u)); height: calc(367 * var(--u)); }
.s8-menu .shot, .s8-day .shot { border-radius: var(--r) 0 0 var(--r); }

/* 9. Prices: the plans step up */
.s9 > .d { left: calc(64 * var(--u)); top: calc(56 * var(--u)); }
.tiles { left: calc(64 * var(--u)); right: calc(64 * var(--u)); bottom: calc(92 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(12 * var(--u)); align-items: end; }
.tile { display: grid; align-content: start; gap: calc(4 * var(--u)); padding: calc(22 * var(--u)); border-radius: var(--r); position: relative; }
.s .tile h3 { font-size: var(--t-st); }
.tile-menu { height: calc(440 * var(--u)); background: var(--cream); }
.tile-order { height: calc(470 * var(--u)); background: var(--blue); color: #fff; }
.tile-full { height: calc(500 * var(--u)); background: var(--ink); color: var(--on-night); }
.tile-price { display: flex; align-items: baseline; gap: calc(10 * var(--u)); flex-wrap: wrap; }
.tile-price b { font-size: var(--t-p); letter-spacing: -0.04em; line-height: 1.05; font-weight: 750; }
.tile-price span { font-size: var(--t-s); }
.s .tile-abroad { font-size: var(--t-st); line-height: 1.2; letter-spacing: -0.01em; }
.tile-abroad b { font-weight: 750; }
.s .tile-tag { font-size: var(--t-s); line-height: 1.35; margin-top: calc(6 * var(--u)); }
.s .tile-adds { font-size: var(--t-s); font-weight: 700; margin-top: calc(8 * var(--u)); }
.tile .ticks { gap: calc(5 * var(--u)); }
.s .tile .ticks li { font-size: var(--t-s); line-height: 1.3; }
/* A tile is words only: its ticks are drawn here, two sides of a small box, turned. */
.ticks-plain li::before { content: ""; flex: none; width: calc(11 * var(--u)); height: calc(6 * var(--u)); margin: calc(5 * var(--u)) calc(7 * var(--u)) 0 calc(3 * var(--u)); border-left: calc(2.4 * var(--u)) solid var(--heart); border-bottom: calc(2.4 * var(--u)) solid var(--heart); transform: rotate(-45deg); }
.tile-order .ticks-plain li::before, .tile-full .ticks-plain li::before { border-color: currentColor; }
.tile .btn { position: absolute; left: calc(22 * var(--u)); bottom: calc(22 * var(--u)); height: calc(48 * var(--u)); font-size: var(--t-s); }
/* The three tiles' buttons are one family: a filled pill in the colour that stands out from its tile, ink on the cream
   tile, cream on the blue and on the ink one (ink on cream: about 17:1). */
.tile-full .btn-light { background: var(--cream); color: var(--ink); }
.tile-full .btn-light:hover { background: #fff; }
.s .s9-notes { left: calc(64 * var(--u)); right: calc(64 * var(--u)); bottom: calc(28 * var(--u)); display: flex; flex-wrap: wrap; gap: calc(2 * var(--u)) calc(26 * var(--u)); font-size: var(--t-s); line-height: 1.4; color: var(--ink-soft); }
.s9-notes b { color: var(--ink); font-weight: 650; }

/* 10. Start tonight: the stages as one bar */
.s10 > .d { left: calc(64 * var(--u)); top: calc(60 * var(--u)); }
.s10 > .st { left: calc(64 * var(--u)); top: calc(140 * var(--u)); }
.bar { left: calc(64 * var(--u)); right: calc(64 * var(--u)); top: calc(208 * var(--u)); display: flex; gap: calc(6 * var(--u)); }
/* Each step carries its number, large, at the top, and its title and words at the foot: the box is full, not empty
   below its words. The number is drawn by the stylesheet (a counter), so the step's words stay as they are. */
.bar { counter-reset: step; }
.bar li { counter-increment: step; flex: 1 1 0; display: grid; grid-template-rows: 1fr auto auto; gap: calc(8 * var(--u)); min-height: calc(222 * var(--u)); padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u)); border-radius: var(--r); background: var(--paper); }
.bar li::before { content: counter(step, decimal-leading-zero); align-self: start; font-size: var(--t-p); font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; opacity: .32; }
.bar li:nth-child(1)::before, .bar li:nth-child(4)::before { opacity: .55; }
.bar li:nth-child(1) { flex-grow: .9; background: var(--heart); color: #fff; }
.bar li:nth-child(2) { flex-grow: 1.1; }
.bar li:nth-child(3) { flex-grow: 1; background: var(--cream-2); }
.bar li:nth-child(4) { flex-grow: 1.2; background: var(--blue); color: #fff; }
.bar b { font-size: var(--t-h); letter-spacing: -0.025em; line-height: 1.1; }
.bar span { font-size: var(--t-b); line-height: 1.4; }
.help { left: calc(64 * var(--u)); top: calc(474 * var(--u)); width: calc(696 * var(--u)); display: grid; gap: calc(8 * var(--u)); }
.s .help h3 { font-size: var(--t-st); letter-spacing: -0.015em; }
.help-links { display: flex; flex-wrap: wrap; gap: calc(6 * var(--u)) calc(26 * var(--u)); margin-top: calc(6 * var(--u)); }
.help-links a { font-size: var(--t-st); font-weight: 700; letter-spacing: -0.01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); transition: text-decoration-color .2s; }
.help-links a:hover { text-decoration-color: currentColor; }
.s10-pic { left: calc(780 * var(--u)); right: calc(-40 * var(--u)); top: calc(474 * var(--u)); bottom: calc(-40 * var(--u)); }
.s10-pic .shot { width: calc(570 * var(--u)); max-width: none; height: auto; aspect-ratio: 1500 / 773; }

/* 11. Close, inverted */
.s11 h2 { top: calc(176 * var(--u)); left: calc(60 * var(--u)); }
.s11-low { left: calc(64 * var(--u)); right: calc(64 * var(--u)); bottom: calc(56 * var(--u)); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "st btn" "qr btn" "ct btn"; gap: calc(12 * var(--u)) calc(40 * var(--u)); align-items: end; }
.s11-low .st { grid-area: st; color: var(--on-night); max-width: 26em; font-size: var(--t-h); font-weight: 600; letter-spacing: -0.02em; }
.s11-qr { grid-area: qr; color: var(--on-night-soft); }
.s11-contact { grid-area: ct; display: grid; gap: calc(4 * var(--u)); margin-top: calc(18 * var(--u)); color: var(--on-night-soft); }
.s11-contact .help-links a { color: var(--on-night); }
.s11-low .btn { grid-area: btn; height: calc(64 * var(--u)); font-size: var(--t-st); }

/* ── Per language (2026-11-11): Russian runs longer than English; the words were shortened first, and these few rules
   give it room without any smaller type. ─────────────────────────────────── */
/* The cover's sentence: "Бесплатное меню," is wider than "The free menu", so its picture is a little narrower. */
@media (min-width: 900px), print {
  html[lang="ru"] .s1 .slot { width: 1.35em; }
  /* The comparison: a little less air in each row, and the fair note on the table's full width. */
  html[lang="ru"] .s .cmp th, html[lang="ru"] .s .cmp td { padding-top: calc(6 * var(--u)); padding-bottom: calc(6 * var(--u)); }
  html[lang="ru"] .s4 .fair { max-width: none; }
  /* Azerbaijani: the comparison's heading takes two lines, so its table gets the same tighter rows as the Russian one. */
  html[lang="az"] .s .cmp th, html[lang="az"] .s .cmp td { padding-top: calc(6 * var(--u)); padding-bottom: calc(6 * var(--u)); }
  html[lang="az"] .s4 .fair { max-width: none; }
  /* The prices: the Russian ticks run a line or two longer, so the first two tiles are a little taller (they still clear
     the heading, which ends left of the Growth tile's words). */
  html[lang="ru"] .tile-menu { height: calc(470 * var(--u)); }
  html[lang="ru"] .tile-order { height: calc(500 * var(--u)); }
  /* The till: a little less air between the Russian ticks, so the longest column clears the box below. */
  html[lang="ru"] .s .groups .ticks { gap: calc(5 * var(--u)); }
  /* MoyTicket (2026-11-12): the Russian lead and guest-list item run a line longer each, which pressed the card-payment
     box against the slide's foot; a little less air between the blocks and between the two rows of items. */
  html[lang="ru"] .s6-text { gap: calc(12 * var(--u)); }
  html[lang="ru"] .items-dark { row-gap: calc(14 * var(--u)); }
  /* Start tonight (2026-11-12): the Russian step 3 runs two title lines and four text lines, so its bar ends lower;
     the help block and the counter picture beside it move down by the same amount, keeping the air between them. */
  html[lang="ru"] .help, html[lang="ru"] .s10-pic { top: calc(504 * var(--u)); }
}

/* ── Motion (html.m only, set by /seo/deck.js) ───────────────────────────── */
html.m .s [data-r] { opacity: 0; transform: translateY(calc(26 * var(--u))); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
html.m .s.in [data-r] { opacity: 1; transform: none; }
html.m .drift { animation: drift 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
html.m .slot-img { animation: pan 9s ease-in-out infinite alternate; }
@keyframes pan { from { object-position: left center; } to { object-position: right center; } }
.shot { transition: transform .4s var(--ease); }
.s1-pics:hover .shot-till, .s7-pic:hover .shot { transform: translateY(-4px); }
.tile { transition: transform .25s var(--ease); }
.tile:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  html.m .s [data-r] { transform: none; transition: opacity .4s linear; }
  html.m .drift, html.m .slot-img { animation: none; }
  .btn, .shot, .tile, .live { transition: none; }
}

/* ── Phone: each slide is its own single column ──────────────────────────── */
@media (max-width: 899px) {
  /* The sentence is sized by the screen: its longer line (about 9 em) fits, so it stays two lines around its picture. */
  :root { --u: 1px; --t-xl: min(72px, calc((100vw - 32px) / 9.2)); --t-d: 36px; --t-p: 36px; --t-h: 26px; --t-st: 20px; --t-b: 17px; --t-s: 16px; --r: 16px; }
  .deck-bar { height: 60px; padding: 0 16px; }
  .deck-home .lg { width: 112px; }
  .deck-bar { gap: 12px; }
  .deck-acts { gap: 12px; }
  .deck-langs a { min-width: 32px; padding: 0 4px; }
  .bar-note, .bar-long { display: none; }
  .bar-short { display: inline; }
  .deck { gap: 12px; padding: 0 0 12px; }
  .s { aspect-ratio: auto; container-type: normal; border-radius: 0; padding: 48px 16px 56px; display: grid; gap: 22px; align-content: start; }
  .s > *, .s3-side > *, .s8-pics > * { position: static; width: auto; height: auto; }
  .ln { white-space: normal; }
  .s .s-logo { width: 128px; }
  .slot { display: block; width: 100%; height: auto; aspect-ratio: 900 / 418; margin: 10px 0; border-radius: 16px; }
  .slot-qr { width: 40vw; height: 40vw; aspect-ratio: auto; padding: 8px; }
  .s1-pics { position: relative; inset: auto; height: 300px; margin: 0 -16px -56px; overflow: hidden; }
  .s1-pics .shot-till { left: 120px; top: 30px; width: 640px; border-radius: 16px 0 0 0; }
  .s1-pics .shot-phone { width: 150px; height: 261px; left: 16px; top: 0; }
  .moments, .two, .items, .groups { grid-template-columns: 1fr; gap: 20px; }
  .s2-pic { height: 340px; margin: 0 -16px -56px; }
  .s3-side, .s5-side, .s8-pics { display: grid; gap: 16px; }
  .s3-phone { padding: 0 44px; }
  .s3-phone .shot { height: auto; aspect-ratio: 600 / 838; }
  .live { grid-template-columns: 112px 1fr; }
  .s4-pic { padding: 0 50px; }
  /* The comparison, stacked: each situation is a block, its three answers under it, each named by its column. */
  .cmp, .cmp tbody, .cmp tr, .cmp tbody th, .cmp td { display: block; }
  .cmp thead { display: none; }
  .cmp tbody tr { padding: 16px 0 6px; border-top: 1px solid var(--line); }
  .cmp tbody tr + tr > * { border-top: 0; }
  .s .cmp tbody th { font-size: var(--t-st); padding: 0 0 8px; }
  .s .cmp td { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 5px 0; }
  .cmp td::before { content: attr(data-label); font-weight: 600; }
  .s .cmp td.us { margin-top: 6px; padding: 10px 12px; border-radius: 12px; grid-template-columns: 120px 1fr; }
  .cmp td.us::before { color: var(--blue); }
  .cmp tbody tr:last-child .us { border-radius: 12px; }
  .s5-side { align-content: start; }
  .ticket { grid-template-columns: 1fr 130px; transform: rotate(-2deg); margin: 10px 4px; }
  .ticket-qr { width: 96px; }
  .s7-pic { height: 250px; margin-right: -16px; overflow: hidden; border-radius: 16px 0 0 16px; }
  .s7-pic .shot { width: 600px; max-width: none; height: auto; aspect-ratio: 1600 / 734; }
  .s7-foot { grid-template-columns: 1fr; gap: 12px; }
  .reasons div { grid-template-columns: 1fr; gap: 4px; }
  .s8-pics { margin-right: -16px; }
  .s8-menu .shot { height: auto; aspect-ratio: 900 / 418; }
  .s8-day { height: 240px; overflow: hidden; border-radius: 16px 0 0 16px; }
  .s8-day .shot { width: 560px; max-width: none; height: auto; aspect-ratio: 1200 / 688; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile-menu, .tile-order, .tile-full { height: auto; }
  .tile { padding: 24px 24px 92px; }
  .tile .btn { height: 48px; left: 24px; bottom: 24px; }
  .s .s9-notes { display: grid; gap: 6px; }
  .bar { flex-direction: column; }
  .bar li { flex: none; min-height: 0; }
  .s10-pic { position: relative; inset: auto; height: 230px; margin: 0 -16px -56px 0; overflow: hidden; border-radius: 16px 0 0 0; }
  .s10-pic .shot { width: 600px; max-width: none; height: auto; aspect-ratio: 1500 / 773; }
  .s11-low { grid-template-columns: 1fr; grid-template-areas: "st" "qr" "ct" "btn"; }
  .s11-low .st { font-size: var(--t-st); }
  .s11-low .btn { height: 56px; justify-self: stretch; }
  .btn { height: 52px; }
  .acts { flex-wrap: wrap; }
  html.m .s [data-r] { transform: translateY(20px); }
}
/* A phone: the logo, the language switch and the start button fit the bar; the PDF stays one tap away on the cover
   slide, right under the bar ("Download the PDF"). */
@media (max-width: 479px) {
  .deck-home .lg { width: 96px; }
  .deck-acts .bar-link { display: none; }
}

/* ── Print: one slide per landscape page, exactly 16:9 ──────────────────── */
@page { size: 1280px 720px; margin: 0; }
@media print {
  html, body { background: #fff; }
  .deck-bar, .web-only { display: none !important; }
  .deck { display: block; padding: 0; gap: 0; }
  .s { width: 1280px; height: 720px; aspect-ratio: auto; border-radius: 0; break-after: page; page-break-after: always; }
  .s:last-child { break-after: auto; page-break-after: auto; }
  html.m .s [data-r], .s [data-r] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .drift, .slot-img { animation: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
