/* Hallmark · shape: Panels on warm paper · genre: modern-minimal · theme: custom (by request: the look of a modern HR platform site, no brand marks) · job: try
 * hero: centred head in a washed panel, a use-case picker driving the demo · nav: edge-aligned bar with a pill action · footer: dark panel · imagery: the product as small interface cards, slots for people photos, screenshots and 3D objects · signature: pick what you want to dictate and watch that sentence become clean text
 * axes: light/grotesk/warm-blue · posture: soft panels · display: Golos Text, a Cyrillic-first grotesk · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the slots wait for real photographs and screenshots */
/* Hallmark · waive 37 · -apple-system only draws the Apple mark on the button on Apple devices, never text · user asked for the Apple mark */
/* Hallmark · waive 72 · the flagged boxes are closed details whose hidden answer measures past the edge · nothing visible crowds; open answers have card padding */
/* Hallmark · waive 59 · the 88px gap is the gradient callout stacked on the dark footer · Deel-style panels stack tight on purpose, every other section gap is 122px */
/* Hallmark · waive 81 · every .slot carries a figcaption naming its picture and ratio · the user asked for image slots to fill with his own photographs, screenshots and 3D renders */
/* Hallmark · dismissed 40 · the white h1, lead and note sit in the top third of the hero, where the gradient is darkest (L 36–48%); the teal runs to 78% of the height, so the white note sits on a mid tone and the mint is only a bottom edge */
/* Hallmark · dismissed F4 · the white tile is the selected app in the demo picker (aria-pressed, logo only), not a second call to action */
/* Hallmark · waive 24b · .hero__cta on phones · the owner set the hero button 10px higher by eye, the only spacing off the scale */
/* Hallmark · dismissed 42 · the owner chose this footer from a reference: link groups as columns on wide screens and an accordion on phones, an ask-AI bar, a closing row with the wordmark */
/* Hallmark · waive 77 · #demo stage holds the picker and the live card · the demo section is an interactive stage, its mass is the playing example, not a picture */
/* Hallmark · waive 39b · only .chip sits under 44px, inside the demo card · the app picker is product UI at app scale, the marketing buttons are 48 and 52px */

/* ------------------------------------------------------------------
   System
   Type      13 caption · 14 small · 16 body · 18 lead · 22 card text · 24 card title · h2 · h1
   Space     4-pt grid: 4 8 12 16 24 32 48 64
   Radius    panel 24 → card 16 → inside a card 12 → control pill; mobile panel 20
   Padding   panel = --pad-panel, card = --pad-card, gap between cards = --gap
   Edges     every section shares one container; cards and panels line up on it
   ------------------------------------------------------------------ */
/* Carlito (OFL-1.1), bold only: headings and the wordmark */
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/carlito-cyrillic-ext-700-normal.woff2") format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/carlito-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/carlito-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/carlito-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --page: oklch(100% 0 0); --panel: oklch(100% 0 0); --tile: oklch(96.9% 0.006 75); --tile-2: oklch(94% 0.01 75);
  --pill: oklch(21% 0 0);
  --ink: oklch(21% 0 0); --ink-2: oklch(34% 0 0); --muted: oklch(50% 0.005 70); --rule: oklch(90% 0.008 75); --rule-2: oklch(82% 0.01 75);
  --peach: oklch(91% 0.04 50); --note: oklch(93% 0.09 95); --note-ink: oklch(41% 0.085 95); --lav: oklch(82% 0.05 168); --lav-2: oklch(92% 0.04 165); --lav-3: oklch(95% 0.025 165);
  --lav-strong: oklch(80% 0.07 168); --mint-btn: oklch(87% 0.06 168); --accent-flash: oklch(80% 0.1 250);
  --hero-top: oklch(33% 0.055 170); --hero-band: oklch(40% 0.07 168); --hero-mid: oklch(55% 0.08 172); --hero-edge: oklch(76% 0.065 130);
  /* straight top-to-bottom journey: dark green into a sage cream */
  --check: oklch(57% 0.12 158);
  --tile-ico-bg: oklch(93% 0.035 165);
  --hero-bg: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-band) 50%, var(--hero-mid) 86%, var(--hero-edge) 100%);
  --green-btn: oklch(47% 0.1 164); --hero-1: oklch(33% 0.055 170); --hero-2: oklch(40% 0.07 168); --hero-3: oklch(74% 0.06 168); --hero-4: oklch(92% 0.04 165); --on-hero: oklch(100% 0 0); --on-hero-2: oklch(100% 0 0 / 0.86); --on-hero-warm: #FCEEB2; --glass-hero: oklch(100% 0 0 / 0.18); --glass-hero-edge: oklch(100% 0 0 / 0.38); --cream: oklch(94% 0.02 80);
  --dark: oklch(21% 0 0); --dark-2: oklch(26% 0 0); --on-dark: oklch(96% 0.012 85); --on-dark-2: oklch(76% 0.01 85); --glass: oklch(100% 0 0 / 0.06);
  --signal: oklch(61% 0.2 33); --accent: oklch(50% 0.17 258); --accent-soft: oklch(93% 0.04 250); --focus: oklch(55% 0.17 258);
  --font-display: "Carlito", "Golos Text", ui-sans-serif, system-ui, sans-serif; --font-body: "Golos Text", ui-sans-serif, system-ui, sans-serif; --font-system: -apple-system, system-ui, sans-serif;

  /* the hero uses four sizes only: --h1×1.15, --hero-l, --text-md, --text-sm; Carlito for the headline and the button */
  --hero-l: 1.25rem;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.125rem; --text-xl: 1.375rem; --h3: calc(1.5rem + 2px);
  --h1: clamp(2.25rem, 3.8vw + 0.9rem, 4.25rem); --h2: clamp(1.875rem, 1.8vw + 1rem, 2.75rem); --price: 2.5rem;

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --section: clamp(64px, 6vw, 90px); --head-gap: var(--space-xl); /* between blocks: 64 on phones → 90 on wide screens; heading to content: 32 */
  --gutter: clamp(16px, 2vw, 24px); --edge: 20px; --max: 1240px;
  --gap: var(--space-md); --pad-card: clamp(20px, 2vw, 28px); --pad-panel: clamp(20px, 5vw, 72px);
  --r-panel: clamp(20px, 2vw, 24px); --r-card: 16px; --squircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C88 0 100 12 100 50S88 100 50 100 0 88 0 50 12 0 50 0Z'/%3E%3C/svg%3E");
  --sq-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M50 50H0C0 12 12 0 50 0Z'/%3E%3C/svg%3E"); --sq-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M0 50V0C38 0 50 12 50 50Z'/%3E%3C/svg%3E"); --sq-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M50 0V50C12 50 0 38 0 0Z'/%3E%3C/svg%3E"); --sq-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M0 0H50C50 38 38 50 0 50Z'/%3E%3C/svg%3E"); --r-sq: 22px;
  --r-inner: 12px; --r-pill: 999px; --r-btn: 12px;

  --line-soft: oklch(30% 0 0 / 0.06); --line-shade: oklch(30% 0 0 / 0.3); --on-dark-line: oklch(100% 0 0 / 0.12); --on-dark-dash: oklch(100% 0 0 / 0.28);
  --shadow-card: 0 1px 2px var(--line-soft), 0 12px 28px -18px var(--line-shade);
  --shadow-float: 0 18px 40px -18px oklch(30% 0.05 255 / 0.4), 0 2px 6px oklch(30% 0 0 / 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --dur: 180ms; --dur-l: 480ms;
  /* critically damped springs (damping 1.0), sampled into linear(): response 0.4s settles in 550ms, response 0.3s in 420ms */
  --spring: linear(0, 0.103, 0.294, 0.481, 0.636, 0.751, 0.834, 0.891, 0.929, 0.955, 0.971, 0.982, 0.989, 0.993, 0.996, 0.997, 1); --spring-dur: 550ms;
  /* spring with a small bounce (duration 0.4 s, bounce 0.3), sampled from the spring equation */
  --bounce: linear(0, 0.025, 0.089, 0.177, 0.28, 0.387, 0.494, 0.594, 0.685, 0.765, 0.834, 0.892, 0.938, 0.974, 1.001, 1.021, 1.034, 1.042, 1.045, 1.046, 1.044, 1.041, 1.036, 1.031, 1.027, 1.022, 1.017, 1.013, 1.01, 1.007, 1.004, 1.002, 1.001, 1, 0.999, 0.998, 0.998, 0.998, 0.998, 0.998, 1); --bounce-dur: 600ms;
  --spring-fast: linear(0, 0.106, 0.301, 0.491, 0.645, 0.76, 0.841, 0.897, 0.934, 0.958, 0.973, 0.983, 0.99, 0.994, 0.996, 0.998, 1); --spring-fast-dur: 420ms;
  --press: 100ms;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink-2); font: 400 var(--text-md)/1.55 var(--font-body); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -0.015em; }
p, ul, ol, dl, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: var(--space-md); top: -80px; z-index: 60; padding: var(--space-xs) var(--space-md); background: var(--ink); color: var(--panel); }
.skip:focus-visible { top: var(--space-md); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* the hero panel and the footer sit closer to the screen edge than the rest of the page */
.hero > .wrap { padding-inline: var(--edge); }

/* bar */
.mast { position: relative; z-index: 40; background: color-mix(in oklab, var(--page) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.mast::after { content: ""; position: absolute; inset: 100% 0 auto; height: 16px; background: linear-gradient(var(--line-soft), transparent); opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.mast.is-scrolled::after { opacity: 1; }
/* desktop: the header stays at the top while the page scrolls, and a section opened from the menu stops below it */
@media (min-width: 64rem) {
  .mast { position: sticky; top: 0; }
  html { scroll-padding-top: 96px; }
}
.mast__row { display: flex; align-items: center; gap: var(--space-xl); height: 64px; }
/* burger: shown where the menu links are hidden; three lines that fold into a cross */
.burger { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: var(--r-btn); background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.burger path { transform-box: fill-box; transform-origin: center; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
/* below desktop the header sticks too, but steps out of the way on the way down and comes back on the way up */
@media (max-width: 63.999rem) {
  .mast { position: sticky; top: 0; transition: transform 260ms var(--ease); }
  .mast.is-away { transform: translateY(-100%); }
  html { scroll-padding-top: 76px; }
}
@media (prefers-reduced-motion: reduce) { .mast { transition: none; } .mast.is-open nav { animation: none; } }
/* the logo keeps its own two colours: black letters, a red stress mark */
.wordmark { display: inline-block; aspect-ratio: 720 / 163; background: url("assets/img/logo.webp") center / contain no-repeat; text-decoration: none; }
.wordmark { height: 24px; }
/* English pages carry the Latin wordmark; it is drawn to the same letter height, only the width differs */
html[lang="en"] .wordmark { aspect-ratio: 739 / 163; background-image: url("assets/img/logo-en.webp"); }
.mast nav { display: flex; gap: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.mast nav a { text-decoration: none; color: var(--ink-2); transition: color var(--dur) var(--ease); }
.mast nav a:hover { color: var(--check); }
.mast__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-xs); }
/* language switch beside the header button: plain text, same hover as the menu links */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 var(--space-xs); border-radius: var(--r-btn); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; text-decoration: none; color: var(--ink-2); transition: color var(--dur) var(--ease); }
.lang:hover { color: var(--check); }

/* controls: three heights, one pill */
.btn { -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--r-btn); background: var(--ink); color: var(--panel); font: 700 var(--text-md)/1 var(--font-display); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur) var(--ease), transform var(--spring-fast-dur) var(--spring-fast); }
.btn:hover { background: var(--ink-2); }
.btn:active, .faq summary:active { transform: scale(0.97); transition-duration: var(--press); }
/* tabs: size and press are multiplied, so pressing never fights the selected size */
.chip:active { --p: 0.95; transition-duration: var(--press); }
/* secondary button: a mint fill with dark green text instead of an outline, because the squircle mask would cut an outline at the corners */
.btn--line { background: var(--mint-btn); color: var(--hero-1); }
.btn--line:hover { background: var(--lav-strong); }
/* buttons get continuous (iOS-style) corners: four squircle corner pieces plus two bands */
.btn { border-radius: 0; -webkit-mask: var(--sq-tl) top left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-tr) top right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-bl) bottom left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-br) bottom right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, linear-gradient(var(--ink), var(--ink)) center / calc(100% - 2 * var(--r-sq)) 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% calc(100% - 2 * var(--r-sq)) no-repeat; mask: var(--sq-tl) top left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-tr) top right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-bl) bottom left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-br) bottom right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, linear-gradient(var(--ink), var(--ink)) center / calc(100% - 2 * var(--r-sq)) 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% calc(100% - 2 * var(--r-sq)) no-repeat; }
/* the mask would clip an outside outline, so buttons draw their focus ring inside */
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus); }
.btn--small { --r-sq: 18px; }
.btn--small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--big { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn__apple { font-family: var(--font-system); font-size: 1.15em; line-height: 1; transform: translateY(-0.06em); }
.key { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.5em; padding: 0 0.35em; margin: 0 0.06em; border: 1px solid currentColor; border-bottom-width: 2px; border-radius: 6px; font: 500 0.82em/1 var(--font-body); vertical-align: 0.06em; }
.fill { padding: 0 0.25em; border: 1px dashed currentColor; border-radius: 4px; }
.pill-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-xs); border-radius: var(--r-pill); background: var(--mint-btn); color: var(--hero-1); font: 500 var(--text-xs)/1 var(--font-body); letter-spacing: 0; }

/* image slots: dashed frame, caption says what goes there */
.slot { position: relative; display: grid; place-items: center; padding: var(--space-md); border: 1.5px dashed var(--rule-2); border-radius: var(--r-inner); background: repeating-linear-gradient(135deg, var(--tile-2) 0 1px, transparent 1px 12px), var(--tile); color: var(--muted); text-align: center; overflow: hidden; }
.slot figcaption { display: grid; gap: var(--space-2xs); max-width: 26ch; font-size: var(--text-xs); line-height: 1.4; }
.slot small { font-size: var(--text-xs); color: var(--muted); font-weight: 500; }
.slot.has-img { padding: 0; border: 0; background: none; }
.slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot[data-fit="contain"] img { object-fit: contain; }
.hero__side.has-img, .callout__art.has-img { background: none; }
.app__ico.has-img { border: 0; background: var(--panel); }
/* logos here are pre-balanced by optical mass in assets/img/apps-balanced, each sits in the same white tile */
.app__ico img { transform: scale(1.1); }
.app__ico img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.slot--photo { aspect-ratio: 4 / 3; }
.slot--video { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); }
.b-who .card { padding: 0; background: none; }
.b-who .slider > .clone { display: none; }
.b-who .card > h3 { margin-top: var(--space-xs); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--panel); color: var(--ink); box-shadow: 0 6px 20px oklch(0% 0 0 / 0.18); transform: translate(-50%, -50%); transition: transform 0.2s ease-out; }
.play svg { width: 26px; height: 26px; fill: var(--signal); }
.card:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.slot--wide { aspect-ratio: 16 / 10; }
.slot--portrait { aspect-ratio: 4 / 5; }
.slot--card { aspect-ratio: 4 / 3; }
.slot--square { aspect-ratio: 1; }
.slot--icon { width: 48px; height: 48px; padding: 0; flex: none; background: var(--panel); }
.slot--avatar { width: 40px; height: 40px; padding: 0; border-radius: 50%; flex: none; }

/* hero panel */
.hero { padding-top: var(--space-xs); }
.hero__panel { position: relative; overflow: clip; border-radius: var(--r-panel); --ge: 640px; background: var(--hero-bg); color: var(--on-hero); padding: var(--space-xl) var(--pad-panel) var(--space-3xl); text-align: center; }
.hero h1 { color: var(--on-hero); font-size: calc(var(--h1) * 1.15); max-width: 16ch; margin-inline: auto; letter-spacing: -0.025em; line-height: 1.02; }
.lead { margin: var(--space-md) auto 0; font-size: var(--hero-l); line-height: 1.5; letter-spacing: -0.005em; color: var(--on-hero-warm); max-width: 44ch; }
.hero__cta { margin-top: var(--space-xl); display: grid; justify-items: center; gap: var(--space-md); }
.hero__made { margin: 0; font-size: var(--text-sm); color: var(--on-hero-warm); }
.hero__made a { position: relative; color: var(--on-hero); text-decoration: underline; text-underline-offset: 3px; }
.hero__made a::after { content: ""; position: absolute; inset: calc(-1 * var(--space-sm)) calc(-1 * var(--space-xs)); }
.hero__made a:hover { opacity: 0.8; }
.hero__made a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.cta-note { font-size: var(--text-sm); letter-spacing: 0.005em; color: var(--on-hero-2); }
/* hero button: 10% taller than other big buttons, label and Mac mark 7% larger */
.hero .btn--big, .callout .btn--big { min-height: calc(52px * 1.1); font-size: calc(var(--hero-l) * 1.07); background: var(--panel); color: var(--ink); }
.hero .btn--big .btn__icon, .callout .btn--big .btn__icon { width: calc(20px * 1.07); height: calc(20px * 1.07); }
.hero .btn--big:hover { background: var(--tile); }
.hero__side small, .hero__side figcaption { color: var(--ink-2); }
.hero__side { display: none; position: absolute; width: 136px; background-color: var(--panel); border-color: var(--glass-hero-edge); color: var(--ink-2); box-shadow: var(--shadow-card); }
.hero__side--l { left: var(--space-lg); bottom: 88px; transform: rotate(-3deg); }
.hero__side--r { right: var(--space-lg); bottom: 200px; width: 148px; transform: rotate(3deg); }

/* the engraving: cream hands setting the stress mark, drawn on transparency so the green shows through */
.hero__art { display: block; width: min(100%, 600px, 50vh); height: auto; margin: 0 auto var(--space-md); }
/* inner-page hero ("Про нас"): a lower panel than the home one. Phone: picture, then heading and lead, centred.
   Desktop: picture on the left, heading with the lead right under it on the right, both centred on one axis. */
.hero .hero__panel--page { padding-block: var(--space-lg) var(--space-xl); }
.hero .hero__panel--page .hero__art { width: min(100%, 300px); margin-bottom: var(--space-sm); }
.hero .hero__panel--page .lead { margin-top: var(--space-sm); }
@media (min-width: 64rem) {
  /* the first column is sized so the heading starts on the same vertical as the text column of the 5fr/7fr sections below
     (.about-why, .split): their offset from the page edge, minus this panel's own inset and gap */
  .hero .hero__panel--page { --hg: var(--space-xl); grid-template-columns: calc(100% * 5 / 12 + var(--gutter) + var(--gap) - var(--edge) - var(--pad-panel) - var(--hg) + (2 * var(--edge) + 2 * var(--pad-panel) - 2 * var(--gutter) - var(--gap)) * 5 / 12) minmax(0, 1fr); grid-template-areas: none; gap: var(--hg); padding-block: var(--space-xl); }
  .hero .hero__panel--page .hero__art { justify-self: start; width: 100%; max-width: 400px; margin: 0; }
  .hero .hero__panel--page .hero__copy { grid-area: auto; }
  .hero .hero__panel--page h1 { max-width: 14ch; }
  .hero .hero__panel--page .lead { margin: var(--space-md) 0 0; max-width: 34ch; }
  .hero .hero__panel--bare { grid-template-columns: minmax(0, 1fr); }
}
/* demo section: the picker and the card sit on the light end of the Dnipro journey */
/* demo section: a green panel like the hero, the nightingale on top, then the heading, the picker and the card */
.demo-stage { padding: var(--space-xl) var(--space-md) var(--space-2xl); overflow: clip; border-radius: var(--r-panel); color: var(--on-hero); text-align: center; background: var(--hero-bg); }
.demo-art { display: block; width: min(100%, 460px); height: auto; margin: 0 auto var(--space-md); }
.demo-stage .sec-head { margin-bottom: var(--space-xl); }
.demo-stage .sec-head h2 { color: var(--on-hero); }
.demo-stage .sec-head p { color: var(--on-hero-warm); }
.demo-stage .picker { margin-top: 0; }
/* desktop: the press stands as a tall left column; heading, picker and card stack in the right one.
   The two 1fr rows soak up the picture's extra height, so the right column stays tight and centred. */
@media (min-width: 64rem) {
  .demo-stage:has(> .demo-art) { display: grid; grid-template-columns: minmax(0, 500fr) minmax(0, 532fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(32px, 4.4vw, 56px); padding: clamp(40px, 4.4vw, 56px); text-align: left; }
  .demo-stage:has(> .demo-art) .demo-art { grid-column: 1; grid-row: 1 / -1; align-self: center; width: 100%; margin: 0; }
  .demo-stage:has(> .demo-art) .sec-head { grid-column: 2; grid-row: 2; justify-items: start; text-align: left; margin-bottom: 28px; }
  .demo-stage:has(> .demo-art) .sec-head h2 { font-size: clamp(2.25rem, 3.6vw, 2.875rem); max-width: none; }
  .demo-stage:has(> .demo-art) .picker { grid-column: 2; grid-row: 3; justify-content: flex-start; }
  .demo-stage:has(> .demo-art) .picker__arrow { display: none; }
  .demo-stage:has(> .demo-art) .demo { grid-column: 2; grid-row: 4; max-width: none; margin: var(--space-md) 0 0; }
  /* the card is narrow here: room is kept for the longest example, so the panel does not change height between examples */
  .demo-stage:has(> .demo-art) .demo__body .said { min-height: calc(2 * 1.55em); }
  .demo-stage:has(> .demo-art) .demo__body .typed { min-height: calc(2 * 1.35em); }
}
/* demo card */
.demo { position: relative; z-index: 1; max-width: 820px; margin: var(--space-md) auto 0; text-align: left; border-radius: var(--r-panel); background: var(--panel); box-shadow: var(--shadow-float); overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.picker { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-top: var(--space-2xl); }
.picker__arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-btn); background: none; color: var(--on-hero); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur) var(--ease), transform var(--spring-fast-dur) var(--spring-fast); }
.picker__arrow:hover { background: var(--glass-hero); }
.picker__arrow:active { transform: scale(0.94); transition-duration: var(--press); }
.picker__arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; gap: var(--space-xs); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* iOS-style app tiles: the squircle is a masked layer under the logo, so the stem below stays unclipped */
.chip { position: relative; isolation: isolate; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; flex: none; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 4px 8px var(--line-soft)); --s: 1; --p: 1; transform: scale(calc(var(--s) * var(--p))); transition: transform var(--spring-dur) var(--spring), filter var(--spring-dur) var(--spring); }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, var(--panel) 84%, transparent); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; transform-origin: center; transition: background-color var(--spring-dur) var(--spring), transform var(--spring-dur) var(--spring); }
.chip__logo { display: grid; place-items: center; width: 32px; height: 32px; flex: none; }
.chip__logo img { display: block; width: 100%; height: 100%; }
/* optical balance: these marks are lighter than the rest, so they sit a little larger on the tiles */
.chip img[src*="claude"] { transform: scale(1.2); }
.chip img[src*="notion"] { transform: scale(1.28); }
.chip img[src*="telegram"] { transform: scale(1.22); }
.chip:not([aria-pressed="true"]) { --s: 0.92; }
/* the picked tile hangs on a stem that runs into the card, so the card reads as that app's */
/* the picked tile flows into the card: a neck with concave fillets where it meets the card top */
.chips { --neck: 10px; --fil: 16px; }
.chip:hover::before { background: var(--panel); }
.chip[aria-pressed="true"] { --s: 1.1; filter: drop-shadow(0 4px 8px transparent); }
/* only the active tile is 15% taller: a vertical scale on its shape, which every browser draws the same */
.chip[aria-pressed="true"]::before { background: var(--panel); transform: scaleY(1.15); }
/* two rows, no labels: a mic marks what was said, a type mark what Nagolos typed */
.demo__body { display: grid; gap: var(--space-sm); padding: calc(var(--space-md) * 1.3) var(--space-lg); }
.demo__row { display: flex; gap: var(--space-sm); align-items: flex-start; }
.demo__ico { width: 18px; height: 18px; flex: none; margin-top: var(--space-2xs); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo__row--t .demo__ico { stroke: var(--accent); }
.demo__body .said { margin: 0; font-size: var(--text-md); color: var(--muted); }
.demo__body .typed { margin: 0; }
.k { font-size: var(--text-sm); font-weight: 400; letter-spacing: 0.01em; color: var(--muted); }
.said { font-size: var(--text-md); color: var(--ink-2); }
.typed { font: 500 var(--hero-l)/1.35 var(--font-body); letter-spacing: -0.012em; color: var(--ink); }
.typed b, .typed mark, .tile__got mark { font-weight: 500; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 0 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.typed b.c, .typed mark.c, .tile__got mark.c { padding: 0 0.06em; border-radius: 4px; }
[data-type].is-in { display: inline-block; animation: arrive var(--spring-dur) var(--spring) both; }
[data-type].is-in b, [data-type].is-in mark { animation: hl 1.2s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hl { 0% { background: var(--accent-flash); } 100% { background: var(--accent-soft); } }
html:not(.js) .picker { display: none; }

/* sections */
main > section + section { margin-top: var(--section); }
.sec-head { display: grid; gap: var(--space-sm); margin-bottom: var(--head-gap); }
.sec-head--c { text-align: center; justify-items: center; }
.sec-head h2 { font-size: var(--h2); max-width: 20ch; }
.sec-head p { font-size: var(--text-lg); color: var(--muted); max-width: 48ch; }
/* features: on a desktop the heading and the line under it each stay on one line; phones and tablets keep the narrow measure */
@media (min-width: 64rem) { .b-features .sec-head h2, .b-features .sec-head p { max-width: none; } }

/* cards: one surface, one radius, one padding */
.card { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--pad-card); border-radius: var(--r-card); background: var(--tile); }
.card > p { color: var(--ink-2); max-width: 38ch; }
.card > .slot { margin-bottom: var(--space-xs); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* product tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.tile { min-height: 300px; }
.tile__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 0; background: var(--tile-ico-bg); color: var(--hero-1); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
.tile__icon svg { width: 28px; height: 28px; }
.tile__icon--img img { width: auto; height: 29px; max-width: 32px; object-fit: contain; }
/* icon above the title, both on the left edge */
.tile__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); margin-bottom: calc(-1 * var(--space-2xs)); }
/* 18px between the description and the example card, 1.5× the card gap */
.tile > p:has(+ .tile__ui) { margin-bottom: 6px; }
/* desktop: in tiles with a demo card the text keeps a shorter measure, so its right edge lines up from tile to tile */
@media (min-width: 64rem) { .tile:has(.tile__ui) > p { max-width: 32.5ch; text-wrap: pretty; } }
.tile__ui { margin-top: auto; display: grid; gap: var(--space-xs); padding: var(--space-md); border-radius: var(--r-inner); background: var(--panel); box-shadow: var(--shadow-card); }
.tile__said { font-size: var(--text-sm); color: var(--muted); }
.tile__got { font: 500 var(--text-lg)/1.35 var(--font-body); color: var(--ink); }
.tile__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 40px; }
.tile__row + .tile__row { border-top: 1px solid var(--rule); }
.tile__row span:last-child { font-weight: 500; color: var(--ink); }
/* телефон: таблица в плитке («Приватність»). Подпись слева, до двух-трёх строк; ответ в плашке справа и всегда одной строкой.
   Отступы до линий (12px) больше межстрочного. На совсем узких экранах плашка уходит под подпись */
@media (max-width: 40rem) {
  .tile__ui:has(.tile__row) { gap: 0; padding: 4px 12px; }
  .tile__row { flex-wrap: wrap; gap: 6px 8px; min-height: 0; padding: 12px 0; font-size: 15px; line-height: 1.3; }
  .tile__row > span:first-child { flex: 1 1 5.8em; text-wrap: balance; }
  .tile__row > .pill-tag { flex: none; white-space: nowrap; min-height: 26px; padding: 0 9px; }
}
@media (max-width: 21.5rem) { .tile__row > span:first-child { flex-basis: 100%; } }

/* steps */
/* how: which keys to hold. The two pills switch the story the pictures play: dictation, or dictation with translation */
.b-how .sec-head h2 { max-width: 36ch; }
.b-how .sec-head:has(+ .modes) { margin-bottom: var(--space-lg); }
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.mode { -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: var(--panel); color: var(--ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease, transform 160ms var(--ease); }
.mode .key { margin: 0; }
.mode[aria-pressed="true"] { background: var(--hero-1); border-color: var(--hero-1); color: var(--panel); }
.mode:active { transform: scale(0.97); transition-duration: var(--press); }
@media (hover: hover) and (pointer: fine) { .mode[aria-pressed="false"]:hover { background: var(--tile); } }
.step__n { -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 0; background: var(--hero-2); color: var(--panel); font: 500 var(--text-sm)/1 var(--font-body); }
.step:last-child .step__n { background: var(--hero-2); color: var(--panel); box-shadow: none; }

/* why: Наголос next to a free local model. A card has two parts: the mint top says what Наголос gives,
   the cream bottom says how a local model does. Cards share their two rows (subgrid), so in a row the cream
   parts start on one line and are the same height. Without subgrid they still sit at the bottom of the card */
/* «Навіщо Наголос»: підрозділ під таблицею порівняння — заголовок другого рівня, по центру */
main > .b-compare + .b-why { margin-top: var(--space-3xl); }
.b-why .sec-head { gap: var(--space-xs); margin-bottom: var(--space-lg); text-align: center; justify-items: center; }
.b-why .sec-head h2 { font-size: 1.875rem; line-height: 1.15; max-width: 26ch; } /* 30px на всех экранах: меньше обычного h2 на компьютере, но всегда крупнее заголовков карточек (26px) */
.b-why .sec-head p { font-size: var(--text-md); text-wrap: balance; }
@media (min-width: 64rem) { .b-why .sec-head h2, .b-why .sec-head p { max-width: none; } }
.why { --why-g1: #276652; --why-g2: #317560; --why-g3: #789e78; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: calc(-1 * var(--gap)); }
.why__card { display: flex; flex-direction: column; margin-bottom: var(--gap); border-radius: var(--r-card); overflow: hidden; }
@supports (grid-template-rows: subgrid) { .why__card { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 0; } }
.why__us { flex: 1; display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--pad-card); background: var(--lav-3); }
.why__us p { margin: 0; color: var(--ink); }
.why__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-2xs); background: linear-gradient(180deg, var(--why-g1), var(--why-g2) 57%, var(--why-g3)); color: var(--panel); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
.why__icon svg { width: 24px; height: 24px; }
.why__cut { fill: none; stroke: var(--why-g2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.why__local { margin: 0; padding: var(--space-md) var(--pad-card) var(--pad-card); background: var(--tile); font-size: var(--text-sm); color: var(--ink-2); }
.why__local b { display: block; font-weight: 600; color: var(--ink); }
.b-why .cmp__note { max-width: 86ch; }
@media (max-width: 63.999rem) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .why { grid-template-columns: minmax(0, 1fr); } }

/* dark panel */
.dark { border-radius: var(--r-panel); background: var(--dark); color: var(--on-dark-2); padding: var(--section) var(--pad-panel); }
.dark .sec-head h2 { max-width: 16ch; }
/* the apps panel sits 15px tighter above and below than the other dark panels */
.b-apps .dark { padding-block: calc(var(--section) - 15px); }
.dark h2 { color: var(--on-dark); }
.dark .sec-head p { color: var(--on-dark-2); }
.apps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); -webkit-mask-image: linear-gradient(to bottom, var(--ink) 45%, transparent 100%); mask-image: linear-gradient(to bottom, var(--ink) 45%, transparent 100%); }
.apps li { display: flex; align-items: center; gap: var(--space-sm); min-height: 64px; padding: 0 var(--space-md); border-radius: var(--r-card); background: var(--glass); color: var(--on-dark); font-weight: 500; }
.app__ico { -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; flex: none; width: 32px; height: 32px; border-radius: 0; border: 1.5px dashed var(--on-dark-dash); }
.apps__note { margin-top: var(--space-lg); text-align: center; color: var(--on-dark-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); --plan-warm: var(--on-hero-warm); --plan-red: #D63A1C; --plan-night: #181818; --plan-green: #5FD6A3; --plan-soft: #B9B5AF; --plan-white: #FFFFFF; }
/* three surfaces: a light card, the brand gradient (top to bottom) and a flat near-black one; each sets its own inks */
.plan { gap: 20px; padding: 32px; min-height: 512px; position: relative; color: var(--pl-text); --pl-ink: var(--ink); --pl-text: var(--ink-2); --pl-rule: var(--rule); --pl-per: var(--muted); --pl-lead: var(--muted); --pl-note: var(--muted); --pl-ico: var(--muted); --pl-hi: inherit; --pl-btn: var(--green-btn); --pl-btn-ink: var(--on-hero); --pl-btn-hover: var(--hero-2); }
.plan--grad { background: var(--hero-bg); --pl-ink: var(--plan-white); --pl-text: var(--plan-white); --pl-rule: rgb(255 255 255 / 0.24); --pl-per: var(--plan-warm); --pl-lead: var(--plan-warm); --pl-note: var(--plan-white); --pl-ico: var(--plan-white); --pl-hi: var(--plan-warm); --pl-btn: var(--plan-white); --pl-btn-ink: var(--ink); --pl-btn-hover: var(--plan-warm); }
.plan--dark { background: var(--plan-night); --pl-ink: var(--plan-white); --pl-text: var(--plan-white); --pl-rule: rgb(255 255 255 / 0.16); --pl-per: var(--plan-warm); --pl-lead: var(--plan-soft); --pl-note: var(--plan-soft); --pl-ico: var(--plan-warm); --pl-hi: var(--plan-warm); --pl-btn: var(--plan-warm); --pl-btn-ink: var(--ink); --pl-btn-hover: var(--plan-white); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: var(--space-xs); min-height: 32px; font-size: 1.625rem; line-height: 1.08; color: var(--pl-ink); }
.plan .pill-tag { min-height: 28px; padding: 0 10px; background: var(--plan-red); color: var(--plan-white); font-weight: 600; font-size: var(--text-sm); }
.plan__top { display: flex; flex-direction: column; gap: 10px; min-height: 118px; padding-bottom: 20px; border-bottom: 1px solid var(--pl-rule); }
.plan__price { margin: 0; max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-xs); color: var(--pl-ink); }
.plan__num { font: 700 4rem/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
/* cents sit raised beside the whole part, without a comma; the full price is read out from aria-label */
.plan__num > span { display: inline-flex; align-items: flex-start; }
.plan__num sup { font-size: 30px; line-height: 1; margin: 6px 0 0 3px; letter-spacing: 0; vertical-align: baseline; }
.plan__price small { font: 400 var(--text-md)/1 var(--font-body); letter-spacing: 0; color: var(--pl-per); }
.plan__old { font: 400 var(--text-xl)/1 var(--font-body); color: var(--pl-per); text-decoration-thickness: 1.5px; }
.plan__sub { margin: 0; max-width: none; font-weight: 500; line-height: 1.4; color: var(--check); }
.plan--grad .plan__sub, .plan--dark .plan__sub { color: var(--plan-green); }
.plan__list { display: flex; flex-direction: column; gap: 14px; }
.plan__lead { margin: 0; max-width: none; font-size: var(--text-sm); font-weight: 500; line-height: 1.4; color: var(--pl-lead); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; line-height: 1.5; }
.plan ul li { padding-left: 26px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 11px; height: 6px; border-left: 2.4px solid var(--check); border-bottom: 2.4px solid var(--check); transform: rotate(-45deg); }
.plan ul li b { font-weight: 600; color: var(--pl-hi); }
/* on the two Pro surfaces every tick sits in a filled warm circle */
.plan--grad ul li, .plan--dark ul li { padding-left: 30px; }
.plan--grad ul li::before, .plan--dark ul li::before { left: 0; top: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--plan-warm); transform: none; }
.plan--grad ul li::after, .plan--dark ul li::after { content: ""; position: absolute; left: 5.5px; top: 8px; width: 9px; height: 5px; border-left: 2.2px solid var(--plan-night); border-bottom: 2.2px solid var(--plan-night); transform: rotate(-45deg); }
.plan__foot { margin-top: auto; padding-top: var(--space-xs); display: flex; flex-direction: column; gap: 12px; }
.plan .btn { width: 100%; min-height: 56px; font-size: 1.0625rem; background: var(--pl-btn); color: var(--pl-btn-ink); }
.plan .btn:hover { background: var(--pl-btn-hover); }
/* plan without a link yet: translucent, not clickable */
.plan .btn--soon, .plan .btn--soon:hover { background: color-mix(in srgb, var(--pl-btn) 22%, transparent); color: var(--pl-ink); cursor: default; transform: none; }
.plan__note { margin: 0; max-width: none; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 20px; font-size: var(--text-xs); line-height: 1.4; color: var(--pl-note); text-align: center; }
.plan__note svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--pl-ico); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 60rem) { .plan { min-height: 0; padding: 28px 24px; } .plan__top { min-height: 0; } }
.promo { margin-top: var(--space-lg); text-align: center; font-size: var(--text-sm); color: var(--muted); }

/* faq */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap) var(--space-2xl); align-items: start; }
.split .sec-head { margin-bottom: 0; }
.faq { display: grid; gap: var(--space-xs); }
.faq details { border-radius: var(--r-card); background: var(--tile); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding: 0 var(--pad-card); cursor: pointer; list-style: none; font-size: var(--text-lg); font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 var(--pad-card) var(--pad-card); max-width: 56ch; }
.faq details[open] p { animation: arrive var(--spring-fast-dur) var(--spring-fast) both; }
.faq summary { -webkit-tap-highlight-color: transparent; transition: transform var(--spring-fast-dur) var(--spring-fast); }

/* price comparison: our column is a white card, the others sit on the page */
.cmp-wrap { margin: 0 auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: var(--text-md); }
.cmp th, .cmp td { padding: var(--space-md); text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.cmp thead th { font: 700 var(--text-xl)/1.2 var(--font-display); color: var(--ink); border-bottom: 0; padding-top: var(--space-lg); }
.cmp thead td { border-bottom: 0; }
.cmp tbody th { font-weight: 500; color: var(--muted); }
.cmp td { color: var(--ink-2); }
.cmp td small { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--muted); }
.cmp b { font: 700 var(--text-xl)/1.1 var(--font-display); color: var(--ink); }
.cmp .cmp__us { background: var(--lav-3); color: var(--ink); }
.cmp thead .cmp__us { border-radius: var(--r-card) var(--r-card) 0 0; }
.cmp tbody tr:last-child .cmp__us { border-radius: 0 0 var(--r-card) var(--r-card); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__note { margin: var(--space-lg) auto 0; font-size: var(--text-sm); color: var(--muted); text-align: center; }
.cmp__note a { color: var(--ink-2); }
@media (max-width: 40rem) {
  /* phones: each row label sits above its three values */
  .cmp, .cmp thead, .cmp tbody, .cmp tr { display: block; }
  .cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp thead td { display: none; }
  .cmp tbody th { grid-column: 1 / -1; padding: var(--space-md) 0 var(--space-2xs); border-bottom: 0; font-size: var(--text-sm); }
  .cmp th, .cmp td { padding: var(--space-xs) var(--space-xs) var(--space-sm); font-size: var(--text-sm); }
  .cmp thead th { font-size: var(--text-md); padding-top: var(--space-sm); }
  .cmp b { font-size: var(--text-lg); }
  .cmp tbody tr:last-child .cmp__us { border-radius: 0 0 var(--r-inner) var(--r-inner); }
  .cmp thead .cmp__us { border-radius: var(--r-inner) var(--r-inner) 0 0; }
}

/* the app icon above «Працює скрізь»: the squircle mask trims the corners like a Dock icon */
.app-mark { display: block; width: calc(96px * 1.2); height: calc(96px * 1.2); margin: 0 auto var(--space-lg); -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
@media (max-width: 40rem) { .app-mark { width: 96px; height: 96px; } }
/* keep product names on one line */
.hl { color: var(--check); }
.nw { white-space: nowrap; }
/* about page */
.about-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.about-why h2 { font-size: var(--h2); max-width: 12ch; }
.tile--plain { min-height: 0; }
.about-why__text { display: grid; gap: var(--space-md); font-size: var(--text-lg); color: var(--ink-2); max-width: 62ch; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
/* a team card: portrait on the left, name, role and a few lines on the right */
.team__card { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--space-lg); row-gap: var(--space-2xs); align-content: start; }
.team__card > .slot { grid-row: 1 / 4; margin: 0; }
.team__card h3 { align-self: end; }
.team__role { color: var(--hero-2); font-weight: 500; }
.about-cta { display: grid; justify-items: center; gap: var(--space-md); padding: var(--pad-panel); border-radius: var(--r-panel); text-align: center; color: var(--on-hero); background: var(--hero-bg); }
.about-cta h2 { color: var(--on-hero); font-size: var(--h2); }
.about-cta p { max-width: 46ch; color: var(--on-hero-2); }
.about-cta .btn--big { background: var(--panel); color: var(--ink); }
@media (max-width: 40rem) {
  .about-why, .team { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .team__card { grid-template-columns: 104px minmax(0, 1fr); column-gap: var(--space-md); }
  .about-cta { padding: var(--space-lg) var(--space-lg) var(--space-xl); }
  .about-cta .btn--big { width: 100%; }
}
/* gradient callout */
/* the closing panel repeats the hero: the same green journey, white words, a white button, an engraving */
.callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--gap); align-items: center; padding: var(--pad-panel); overflow: clip; border-radius: var(--r-panel); color: var(--on-hero); background: var(--hero-bg); }
.callout__text { display: grid; justify-items: start; gap: var(--space-md); }
.callout h2 { font-size: var(--h2); max-width: 16ch; color: var(--on-hero); }
.callout__src { font-size: var(--text-sm); color: var(--on-hero-2); }
.callout__src a { color: var(--on-hero); }
.callout .btn--big { background: var(--panel); color: var(--ink); }
.callout .btn--big:hover { background: var(--tile); }
.callout .btn { margin-top: var(--space-sm); }
.callout__art { display: block; width: 100%; height: auto; }

/* floating pill */
.floater { position: fixed; left: 50%; bottom: var(--space-lg); z-index: 45; display: flex; align-items: center; gap: var(--space-md); padding: 10px 10px 10px 10px; filter: drop-shadow(0 16px 20px rgb(0 0 0 / 0.22)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.1)); transform: translate(-50%, 140%) scale(0.8); transition: transform var(--spring-dur) var(--spring), opacity var(--dur) var(--ease); white-space: nowrap; }
/* фон плашки — отдельным слоем с плавными углами, как у кнопок и иконки; тень рисует filter по форме слоя */
.floater::after { content: ""; position: absolute; z-index: -1; inset: 0; --r-sq: 30px; background: #181818; -webkit-mask: var(--sq-tl) top left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-tr) top right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-bl) bottom left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-br) bottom right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, linear-gradient(#000, #000) center / calc(100% - 2 * var(--r-sq)) 100% no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--r-sq)) no-repeat; mask: var(--sq-tl) top left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-tr) top right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-bl) bottom left / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, var(--sq-br) bottom right / calc(var(--r-sq) + 1px) calc(var(--r-sq) + 1px) no-repeat, linear-gradient(#000, #000) center / calc(100% - 2 * var(--r-sq)) 100% no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--r-sq)) no-repeat; }
html.js .floater:not(.is-on) { opacity: 0; pointer-events: none; }
.floater.is-on { transform: translate(-50%, 0); }
.floater .btn--float { padding-inline: calc(var(--space-xl) * 0.7); background: var(--on-hero-warm); color: var(--ink); }
.floater .btn--float:hover { background: #FFFFFF; }
.floater__ico { width: 52px; height: 52px; flex: none; -webkit-mask: var(--squircle) center / 100% 100% no-repeat; mask: var(--squircle) center / 100% 100% no-repeat; }
.floater__t { margin: 0 28px 0 4px; font: 700 1.375rem/1.2 var(--font-display); letter-spacing: 0.005em; color: #FFFFFF; }
.floater__t br { display: none; } /* на широком экране — в одну строку */

/* footer */
/* footer: link groups (columns on wide screens, an accordion on phones), an ask-AI bar, a closing row */
.foot { margin-top: var(--section); padding: var(--space-2xl) 0 calc(var(--space-xl) * 2 + var(--space-3xl)); color: var(--ink-2); }
@media (min-width: 64rem) { .foot { padding-top: var(--space-xl); } } /* wide screens: the footer follows the tighter block rhythm */
.foot__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.foot__grp summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; list-style: none; font: 700 var(--text-lg)/1.2 var(--font-display); color: var(--hero-2); cursor: default; }
.foot__grp summary::-webkit-details-marker { display: none; }
.foot__grp ul { list-style: none; margin: var(--space-xs) 0 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot__grp a { color: var(--ink-2); text-decoration: none; transition: color var(--dur) var(--ease); }
.foot__grp a:hover { color: var(--check); }
.foot__chev { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--spring-fast-dur) var(--spring-fast); }
.foot__grp[open] .foot__chev { transform: rotate(180deg); }
.foot__ai { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-2xl); padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-lg); border-radius: var(--r-card); background: var(--lav-3); font-weight: 500; color: var(--hero-2); }
.foot__ai-list { display: flex; gap: var(--space-2xs); }
.foot__ai-list a { width: 44px; height: 44px; border-radius: var(--r-inner); display: grid; place-items: center; transition: background-color var(--dur) var(--ease); }
.foot__ai-list a::before { content: ""; width: 26px; height: 26px; background: var(--hero-2); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.foot__ai-list a:hover { background: var(--lav-2); }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); font-size: var(--text-md); color: var(--hero-2); }
.foot__row p { margin: 0; }
.foot__row > a:last-child { justify-self: end; color: var(--hero-2); text-decoration: none; transition: color var(--dur) var(--ease); }
.foot__row > a:last-child:hover { color: var(--check); }

@media (min-width: 80rem) {
  .hero__side { display: grid; }
}
@media (max-width: 62.5rem) {
}
@media (max-width: 60rem) {
  .slider { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .slider::-webkit-scrollbar { display: none; }
  .slider > .card { flex: 0 0 min(82%, 360px); scroll-snap-align: start; }
  .b-who .slider { position: relative; padding-inline: 12vw; gap: var(--space-sm); }
  .b-who .slider > .clone { display: flex; }
  .b-who .slider > .card { flex-basis: 76vw; scroll-snap-align: center; }
  .mast nav { display: none; }
  /* phone and tablet: the menu opens from the burger as a sheet under the header */
  .mast__row { gap: var(--space-xs); }
  .burger { display: grid; }
  .mast.is-open { background: var(--page); }
  .mast.is-open nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: var(--space-xs) var(--gutter) var(--space-md); background: var(--page); box-shadow: 0 24px 32px -24px var(--line-shade); font-size: var(--text-lg); animation: nav-in var(--dur) var(--ease) both; }
  .mast.is-open nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); color: var(--ink); }
  .mast.is-open nav a:last-child { border-bottom: 0; }
  .mast.is-open .burger__a { transform: translateY(5px) rotate(45deg); }
  .mast.is-open .burger__b { opacity: 0; }
  .mast.is-open .burger__c { transform: translateY(-5px) rotate(-45deg); }
  .tiles, .plans, .grid3, .split, .callout { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-top: var(--space-lg); }
  .foot__nav { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot__grp { border-bottom: 1px solid var(--rule); }
  .foot__grp:last-child { border-bottom: 0; }
  .foot__grp summary { min-height: 64px; font-size: var(--text-xl); cursor: pointer; }
  .foot__grp ul { margin: 0; padding-bottom: var(--space-md); gap: var(--space-sm); }
  .foot__chev { display: block; }
  .foot__ai { padding-left: var(--space-md); font-size: var(--text-sm); }
  .foot__ai-list a { width: 40px; height: 40px; }
  .foot__row { font-size: var(--text-sm); }
  .tile { min-height: 0; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phones: a centred stack like the hero, the engraving smaller so the words lead */
  .callout { gap: var(--space-lg); padding: var(--space-lg) var(--space-lg) var(--space-xl); text-align: center; }
  .callout__art { order: -1; width: 68%; margin: 0 auto; }
  .callout h2 { margin-inline: auto; }
  .split { gap: 0; }
  .split .sec-head { margin-bottom: var(--head-gap); }
}
@media (max-width: 40rem) {
  :root { --edge: 8px; }
  /* the engraving sits at the top, the words under it */
  /* phones: every green panel has 24px above its first element and 32px below its last */
  .hero__panel { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
  .demo-stage { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
  .hero__cta { margin-top: calc(var(--space-xl) - 10px); }
  .picker { margin-top: var(--space-xl); gap: 0; }
  .picker__arrow { display: none; }
  /* six tiles always leave room at the row ends, so the first and last necks land on the card's straight top edge, not its rounded corner */
  .chips { flex: 1 1 auto; min-width: 0; justify-content: center; padding-inline: 20px; }
  .chip { width: auto; height: auto; flex: 0 1 44px; min-width: 0; aspect-ratio: 1; }
  .chip__logo { width: 26px; height: 26px; }
  .chips { --neck: 10px; --fil: 10px; gap: var(--space-xs); }
  .demo { border-radius: var(--r-card); }
  .demo__body { padding-inline: var(--space-lg) var(--space-md); }
  .demo__body .said { font-size: 0.9375rem; }
  .b-how .sec-head--c { text-align: left; justify-items: start; } /* on phones the steps are a left-aligned list, so their heading stays left */
  .steps { gap: 0; }
  .step.card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "n h" ". p"; column-gap: var(--space-md); row-gap: var(--space-xs); padding: 0 0 var(--space-xl); border-radius: 0; background: none; }
  .step.card:last-child { padding-bottom: 0; }
  .step > .slot, .step > .ill { display: none; } /* phones show the three steps as a plain list, without the live pictures */
  /* with no pictures to switch, the two pills stay as a legend of the keys: not pressable, neither one selected */
  .modes { justify-content: flex-start; }
  .mode, .mode[aria-pressed="true"] { pointer-events: none; background: var(--panel); border-color: var(--rule-2); color: var(--ink-2); }
  .step .step__n { grid-area: n; width: 40px; height: 40px; background: var(--hero-2); color: var(--panel); box-shadow: none; font-size: var(--text-md); }
  .step h3 { grid-area: h; align-self: center; }
  .step > p { grid-area: p; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 19.5px; top: 52px; bottom: var(--space-sm); width: 1px; background: var(--rule-2); }
  .btn--big { width: 100%; min-height: 52px; padding-inline: var(--space-sm); font-size: var(--text-md); }
  :root { --hero-l: 1.125rem; }
  .hero .btn--big, .callout .btn--big { min-height: calc(52px * 1.1); font-size: calc(var(--hero-l) * 1.07); }
  .callout .btn { width: 100%; }
  .callout__text { justify-items: stretch; gap: var(--space-sm); }
  .callout__src { max-width: 30ch; margin-inline: auto; }
  .faq summary { font-size: var(--text-md); }
  .tile__icon { width: 48px; height: 48px; }
  .tile__icon svg { width: 24px; height: 24px; }
  .tile__icon--img img { height: 25px; max-width: 27px; }
  .floater { filter: none; left: 10px; right: 10px; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateY(140%) scale(0.8); justify-content: space-between; }
  .floater.is-on { transform: none; }
  /* phone: the page colour fades in from the middle of the pill down to the bottom edge of the screen and stays solid under the browser bar */
  .floater { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .floater::before { content: ""; position: absolute; z-index: -1; left: -10px; right: -10px; top: 50%; bottom: calc(-256px - env(safe-area-inset-bottom)); background: linear-gradient(to bottom, transparent 0, var(--page) calc(100% - 240px)); pointer-events: none; }
  .floater::after { --r-sq: 26px; }
  .floater { gap: var(--space-xs); padding-left: var(--space-xs); }
  .floater__ico { width: 48px; height: 48px; }
  .floater__t { margin: 0 auto 0 0; font: 700 var(--text-md)/1.25 var(--font-display); white-space: normal; }
  .floater__t br { display: inline; }
  .floater .btn--float { width: auto; min-height: 48px; padding-inline: calc(var(--space-lg) * 0.7); font-size: var(--text-md); }
}

/* hero, desktop: text left, a square nightingale drawing right. Its swirls fade to nothing at the edges,
   so it is let into the panel padding above and below: the panel stays as tall as the text needs. */
.hero__visual picture { display: contents; }
@media (min-width: 64rem) {
  .hero__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text visual"; align-items: center; gap: var(--space-xl); padding: var(--space-3xl) var(--pad-panel); text-align: left; }
  .hero__text { grid-area: text; }
  .hero__visual { grid-area: visual; display: grid; justify-items: center; }
  .hero h1 { margin-inline: 0; max-width: 11ch; font-size: var(--h1); }
  .hero__cta { justify-items: start; }
  .hero__art { width: 100%; max-width: 440px; margin: 0; }
  .hero__visual--wide .hero__art { max-width: 520px; margin-block: calc(-1 * var(--space-xl)); }
}


/* step illustrations: live, drawn in code instead of pictures.
   Motion follows one rule set: transform/opacity/clip-path only, strong ease-out (--ease) for
   anything entering or leaving, --ease-in-out for things moving on screen, exits retrace entrances. */
.ill { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin: 0; border-radius: var(--r-inner); background: var(--panel); box-shadow: 0 0 0 1px var(--rule), 0 10px 24px -18px oklch(0% 0 0 / 0.35); overflow: hidden; }

/* step 1: the Option keycap from the app's setup screen. It sits on a darker base and
   physically sinks into it on press (quick, 110ms), then springs back up (220ms);
   the orange border fades in as it goes down and a single ring spreads from it. */
/* two keys side by side when dictation with translation is shown: the second one is pale until its scene plays */
.okeys { display: flex; align-items: center; gap: 14px; }
.okey { position: relative; width: 92px; height: 91px; flex: none; transition: opacity 300ms ease; }
.okey.is-off { opacity: 0.35; }
.okey__base { position: absolute; inset: 5px 0 0; border-radius: 16px; background: var(--rule-2); }
/* the shadow under the key sits on its own layer, so it can fade out while the key is held down */
.okey__base::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 10px 18px -8px oklch(0% 0 0 / 0.22); transition: opacity 320ms ease; pointer-events: none; }
.okey:has(.cap.is-down) .okey__base::after { opacity: 0; transition-duration: 200ms; }
.cap { position: absolute; inset: 0 0 5px; display: grid; place-items: center; align-content: center; border-radius: 16px; background: linear-gradient(180deg, var(--panel), var(--tile)); box-shadow: 0 0 0 1px var(--rule-2); color: var(--ink); transition: transform 220ms var(--ease); will-change: transform; }
.cap.is-down { transform: translateY(5px); transition-duration: 110ms; }
.cap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--signal); opacity: 0; transition: opacity 160ms var(--ease); pointer-events: none; }
.cap.is-down::before { opacity: 1; transition-duration: 90ms; }
.cap::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; box-shadow: 0 0 0 2px var(--signal); opacity: 0; pointer-events: none; }
.cap.is-down::after { animation: cap-ring 600ms var(--ease) both; }
@keyframes cap-ring { from { opacity: 0.55; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
.cap__sym, .cap small { position: relative; }
.cap__sym { font: 500 36px/1 var(--font-body); transition: color 160ms var(--ease); }
.cap.is-down .cap__sym { color: var(--signal); }
.cap small { margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* step 2: the recording pill. It rests as the round bird icon, unrolls into the pill on press,
   glides between widths as its label changes, and folds back to the icon afterwards. */
.rec { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 8px; border-radius: 999px; background: color-mix(in oklab, var(--pill) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.08), 0 18px 30px -14px oklch(0% 0 0 / 0.6); transition: width 320ms var(--ease); }
@media (prefers-reduced-transparency: reduce) { .rec { background: var(--pill); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@supports (transition-timing-function: linear(0, 1)) { .rec { transition: width var(--bounce-dur) var(--bounce); } }
/* idle: folded down to the round bird icon; the rest is clipped and faded, never removed */
.rec.is-idle { width: 52px; }
.rec__mid, .rec__t { transition: opacity 200ms var(--ease); }
.rec.is-idle .rec__mid, .rec.is-idle .rec__t { opacity: 0; }
.rec__mark { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
/* optical centring: in the square icon the bird sits low, with empty green above its head */
.rec__mark img { display: block; width: 100%; height: 100%; transform: translateY(-4.5%) scale(1.1); }
.rec__mid { flex: none; display: grid; align-items: center; }
.rec__wave { width: 120px; height: 28px; }
.rec__msg { display: none; font: 500 14px/1 var(--font-body); color: var(--panel); white-space: nowrap; }
.rec[data-kind="done"] .rec__wave, .rec[data-kind="done"] .rec__t { display: none; }
.rec[data-kind="done"] .rec__msg { display: block; animation: rec-msg 220ms var(--ease) both; }
@keyframes rec-msg { from { opacity: 0; transform: translateY(4px); } }
.rec__t { flex: none; min-width: 34px; white-space: nowrap; font: 500 14px/1 var(--font-body); font-variant-numeric: tabular-nums; color: oklch(100% 0 0 / 0.7); }
.rec[data-kind="processing"] .rec__t { color: var(--panel); }
/* пока идёт запись, секунд нет (как в приложении); надпись появляется только на «Думаю…» */
.rec[data-kind="listening"] .rec__t { display: none; }
/* translation: a small badge after the timer says which language the text will come out in */
.rec__badge { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: var(--r-pill); background: oklch(100% 0 0 / 0.14); color: var(--panel); font: 500 13px/1 var(--font-body); white-space: nowrap; animation: rec-msg 220ms var(--ease) both; transition: opacity 200ms var(--ease); }
.rec__badge[hidden], .rec[data-kind="done"] .rec__badge { display: none; }
.rec.is-idle .rec__badge { opacity: 0; }
.rec__badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* what was said runs under the pill right to left while the pill listens and thinks: it comes out from under
   the right edge and melts at the left one (the mask fades both ends). Constant motion, so linear; transform only */
.ill--rec .said { position: absolute; left: var(--space-md); right: var(--space-md); bottom: 13%; overflow: hidden; white-space: nowrap; font-size: var(--text-sm); line-height: 1.4; color: var(--muted); -webkit-mask-image: linear-gradient(90deg, transparent, oklch(0% 0 0) 22%, oklch(0% 0 0) 78%, transparent); mask-image: linear-gradient(90deg, transparent, oklch(0% 0 0) 22%, oklch(0% 0 0) 78%, transparent); }
.said__run { display: inline-block; padding-left: 100%; visibility: hidden; }
.said__run.on { visibility: visible; animation: said-run 4760ms linear both; }
@keyframes said-run { to { transform: translateX(-100%); } }
@keyframes said-fade { from { opacity: 0; } }

/* step 3: an abstract chat (messenger, work chat, AI prompt). Scenes blur-crossfade;
   the incoming message is preceded by typing dots; the dictated text wipes into the field
   left to right, then rises out of the field as a sent bubble. */
.ill--chat { place-items: stretch; }
.chat { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm) var(--space-sm); min-height: 0; }
.chat__head, .chat__msgs { transition: opacity 200ms ease; }
.chat.is-switching .chat__head, .chat.is-switching .chat__msgs { opacity: 0; }
.chat__head { display: flex; align-items: center; gap: var(--space-xs); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--rule); font-size: var(--text-sm); }
.chat__ava { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hero-2); color: var(--panel); font-size: 12px; font-weight: 600; }
.chat__title { font-weight: 600; color: var(--ink); }
.chat__sub { color: var(--muted); font-size: var(--text-xs); }
.chat__msgs { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; }
.chat__list { display: flex; flex-direction: column; gap: var(--space-xs); }
.msg { display: flex; align-items: flex-end; gap: var(--space-xs); max-width: 88%; font-size: var(--text-sm); line-height: 1.35; transition: opacity 240ms var(--ease), transform 300ms var(--ease); }
.msg__av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-btn); color: var(--hero-1); font-size: 11px; font-weight: 600; }
.msg__b { padding: 7px 11px; border-radius: 14px 14px 14px 4px; background: var(--tile); color: var(--ink); }
/* a new message grows out of its corner; the ones above it slide up (FLIP in the script) */
.msg--in:not(.on), .msg--out:not(.on), .msg--typing:not(.on) { opacity: 0; transform: translateY(10px) scale(0.94); }
.msg--in, .msg--typing { transform-origin: 0 100%; }
.msg--out { align-self: flex-end; transform-origin: 100% 100%; }
.msg--typing { position: absolute; left: 0; bottom: 0; }
.msg--typing .msg__b { display: flex; gap: 4px; padding: 11px 12px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dots 1s var(--ease-in-out) infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }
.msg--out .msg__b { border-radius: 14px 14px 4px 14px; background: var(--hero-2); color: var(--panel); }
.msg[hidden] { display: none; }
.chat[data-scene="tg"] .chat__ava { background: var(--mint-btn); color: var(--hero-1); }
.chat[data-scene="tg"] .msg--out .msg__b { background: var(--mint-btn); color: var(--ink); }
.chat[data-scene="ai"] .chat__ava { background: var(--ink); }
.chat[data-scene="ai"] .msg--out { max-width: 100%; }
.chat[data-scene="ai"] .msg--out .msg__b { background: var(--tile); color: var(--ink); border-radius: 14px; }
/* a letter: an envelope in the header, the reply is mint and full width. A note: lines with a checkbox
   instead of bubbles and a plus instead of the send arrow */
.chat__ava svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat[data-scene="mail"] .chat__ava { background: var(--mint-btn); color: var(--hero-1); }
.chat[data-scene="mail"] .msg--out { max-width: 100%; }
.chat[data-scene="mail"] .msg--out .msg__b { background: var(--mint-btn); color: var(--ink); }
.chat[data-scene="note"] .chat__ava { border-radius: 7px; background: var(--note); color: var(--note-ink); }
.msg--row { max-width: 100%; align-items: flex-start; align-self: flex-start; transform-origin: 0 100%; }
.msg--row .msg__b { padding: 0; border-radius: 0; background: none; color: var(--ink); }
.msg__box { flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.chat__send .i-plus, .chat[data-scene="note"] .chat__send .i-send { display: none; }
.chat[data-scene="note"] .chat__send .i-plus { display: block; }
.chat__in { min-width: 0; display: flex; align-items: center; gap: var(--space-xs); padding: 5px 5px 5px 12px; border-radius: 999px; box-shadow: 0 0 0 1px var(--rule-2); }
.chat__field { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--text-sm); color: var(--ink); }
.chat__typed { display: inline-block; max-width: calc(100% - 4px); overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; clip-path: inset(0 100% 0 0); }
.chat__typed.on { clip-path: inset(0 0 0 0); transition: clip-path 380ms var(--ease-in-out); }
.chat__caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--signal); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__send { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); }
.chat__send svg { width: 14px; height: 14px; fill: none; stroke: var(--panel); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Reduced motion: the step pictures explain the product and their movement is small and in place
   (a 5px key press, a pill resizing, a message rising 10px), so it stays. Only the decorative
   pulse around the key goes, and the typing dots fade instead of bouncing. */
@media (prefers-reduced-motion: reduce) {
  .cap.is-down::after { animation: none; }
  .msg--typing i { animation-name: dots-fade; }
  /* the running line does travel across the card, so here the phrase stands still under the pill and only fades in */
  .ill--rec .said { bottom: 7%; white-space: normal; text-align: center; font-size: var(--text-xs); -webkit-mask-image: none; mask-image: none; }
  .said__run { padding-left: 0; }
  .said__run.on { animation: said-fade 300ms ease both; }
  .mode { transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease; }
  .mode:active { transform: none; }
}
@keyframes dots-fade { 0%, 60%, 100% { opacity: 0.45; } 30% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .faq summary, .faq summary::after, .play { transition: none; }
  .btn:active, .faq summary:active { transform: none; }
  /* tabs keep a short cross-fade of the white, no growing */
  .chip, .chip::before { transition: background-color var(--dur) ease; }
  .chip:active { --p: 1; }
  .floater, .floater.is-on { transform: translate(-50%, 0); transition: opacity var(--dur) ease; }
  [data-type].is-in b, [data-type].is-in mark { animation: none; }
  [data-type].is-in, .faq details[open] p { animation: fade var(--dur) ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) and (max-width: 40rem) {
  .floater, .floater.is-on { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mast { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .card, .faq details, .chip { box-shadow: inset 0 0 0 1px var(--ink-2); }
  .mast { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .muted, .k, .cta-note { color: var(--ink-2); }
}
/* the narrowest phones (320px): a smaller label keeps the hero button on one line */
@media (max-width: 21.5rem) { .hero .btn--big, .callout .btn--big { font-size: var(--text-md); padding-inline: var(--space-sm); gap: var(--space-xs); } }


/* ------------------------------------------------------------------
   Added for the CMS version of the site
   ------------------------------------------------------------------ */
/* waitlist dialog: opens from a plan button while "проверка спроса" is on */
.wl { width: min(100% - 2 * var(--space-md), 460px); max-height: calc(100dvh - 2 * var(--space-md)); margin: auto; padding: var(--space-xl) var(--space-lg) var(--space-lg); border: 0; border-radius: var(--r-panel); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-float); overflow: auto; }
.wl::backdrop { background: oklch(20% 0.02 170 / 0.5); }
.wl[open] { animation: wl-in 220ms var(--ease) both; }
.wl[open]::backdrop { animation: wl-fade 180ms linear both; }
.wl.is-closing { animation: wl-out 160ms var(--ease) both; }
.wl.is-closing::backdrop { animation: wl-fade 160ms linear reverse both; }
@keyframes wl-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes wl-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes wl-fade { from { opacity: 0; } }
.wl h2 { font-size: var(--text-2xl, 1.75rem); line-height: 1.12; max-width: 16ch; }
.wl__ask, .wl__done { display: grid; gap: var(--space-md); }
.wl__ask[hidden], .wl__done[hidden] { display: none; }
.wl__ask > p, .wl__done > p { color: var(--ink-2); }
.wl__form { display: grid; gap: var(--space-sm); margin-top: var(--space-xs); }
.wl__form input { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1.5px solid var(--rule-2); border-radius: var(--r-btn); background: var(--panel); color: var(--ink); font: 400 var(--text-md)/1.2 var(--font-body); }
.wl__form input::placeholder { color: var(--muted); }
.wl__form input:focus-visible { outline: 2px solid var(--hero-2); outline-offset: 2px; border-color: var(--hero-2); }
.wl__form input[aria-invalid="true"] { border-color: var(--signal); }
.wl__form .btn { width: 100%; }
.wl__form .btn:disabled { opacity: 0.6; cursor: default; }
.wl__cap:empty { display: none; }
.wl__cap iframe { max-width: 100%; }
.wl__err { min-height: 1.3em; font-size: var(--text-sm); color: var(--signal); }
.wl__err:empty { display: none; }
.wl__note { font-size: var(--text-sm); color: var(--muted); }
.wl__x { position: absolute; top: var(--space-sm); right: var(--space-sm); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: none; color: var(--ink-2); cursor: pointer; }
.wl__x:hover { background: var(--tile); }
.wl__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wl__done .btn { justify-self: start; }
/* phone: the dialog hangs from the top of the visible area, so the on-screen keyboard never covers the field */
@media (max-width: 40rem) {
  .wl { margin: calc(var(--vv-top, 0px) + 12px + env(safe-area-inset-top)) auto auto; max-height: calc(var(--vv-h, 100dvh) - 24px - env(safe-area-inset-top)); padding: var(--space-lg) var(--space-md) var(--space-md); }
  .wl__ask, .wl__done { gap: var(--space-sm); }
  .wl__form input { font-size: 1rem; scroll-margin-block: var(--space-md); }
  .wl__form .btn { scroll-margin-bottom: var(--space-md); }
}
@media (prefers-reduced-motion: reduce) { .wl[open], .wl.is-closing { animation-name: wl-fade; } .wl.is-closing { animation-direction: reverse; } }

/* text pages built in the admin (privacy, terms) and the small service screens */
.prose { max-width: 68ch; padding-top: var(--space-2xl); }
.prose h1 { font-size: var(--h2); margin-bottom: var(--space-lg); }
.prose__body { display: grid; gap: var(--space-md); font-size: var(--text-lg); color: var(--ink-2); }
.prose__body h2 { margin-top: var(--space-md); font-size: var(--text-xl); color: var(--ink); }
.prose__body h3 { font-size: var(--text-lg); color: var(--ink); }
.prose__body ul, .prose__body ol { display: grid; gap: var(--space-xs); padding-left: 1.2em; }
.prose__body a, .about-cta__mail a { color: inherit; text-underline-offset: 3px; }
.box { display: grid; justify-items: start; gap: var(--space-md); max-width: 46ch; padding-block: var(--space-3xl); }
.box h1 { font-size: var(--h2); }
.box p { font-size: var(--text-lg); color: var(--ink-2); }

/* /download: "your download has started" with three install steps. The header keeps only the wordmark, the floater stays away. */
body:has(.dl) .mast nav, body:has(.dl) .mast__end .btn, body:has(.dl) .burger, body:has(.dl) .floater { display: none; }
.dl { padding-top: var(--space-2xl, 64px); }
.dl__head { display: grid; gap: var(--space-md); justify-items: center; text-align: center; margin-bottom: calc(var(--space-xl) + 52px); }
.dl__head h1 { font-size: clamp(2.25rem, 3.4vw + 1rem, 4rem); line-height: 1.02; letter-spacing: -0.03em; }
.dl__head p { margin: 0; font-size: var(--text-lg); color: var(--muted); }
.dl__head a, .dl__help a { color: var(--hero-1); font-weight: 500; text-underline-offset: 3px; }
.dl__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
/* the rail: a pale line from the first number to the last, numbers centred over their cards */
.dl__steps::before { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: -35px; height: 2px; background: var(--lav-2); }
.dl__step { position: relative; gap: 0; padding: 0; border-radius: 20px; }
.dl__n { position: absolute; left: 50%; top: -52px; transform: translateX(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lav-2); color: var(--check); font: 700 1.125rem/1 var(--font-display); }
.dl__art { position: relative; display: grid; place-items: center; height: 264px; }
.dl__txt { display: grid; gap: 4px; justify-items: center; padding: 0 28px 32px; text-align: center; }
.dl__txt h2 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; }
.dl__txt p { margin: 0; max-width: 333px; color: var(--muted); line-height: 1.45; text-wrap: balance; }
.dl__win { position: relative; width: min(272px, 100% - 2 * var(--space-md)); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-card); text-align: left; }
.dl__bar { margin: 0; padding: 13px 16px 11px; font-size: var(--text-xs); font-weight: 500; line-height: 1; color: var(--muted); }
.dl__pad { padding: 0 6px 6px; }
.dl__file { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: var(--lav-2); }
.dl__file > div { display: grid; gap: 3px; min-width: 0; }
.dl__file b { font-size: var(--text-md); font-weight: 600; line-height: 1.25; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl__file span { display: flex; align-items: center; gap: 5px; font-size: var(--text-xs); line-height: 1; color: var(--check); }
.dl__file span svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl__ico { flex: none; display: block; }
.dl__drag { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 16px 22px; }
.dl__grab { position: relative; }
.dl__arrow { flex: none; fill: none; stroke: var(--rule-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl__folder { flex: none; }
.dl__folder-back { fill: var(--lav-strong); }
.dl__folder-front { fill: var(--mint-btn); }
.dl__folder-mark { fill: none; stroke: var(--hero-1); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.dl__rows { display: grid; gap: 2px; padding: 0 6px 6px; }
.dl__row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 0.9375rem; line-height: 1.2; color: var(--muted); }
.dl__row i { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--tile-2); }
.dl__row--on { background: var(--hero-1); color: var(--on-hero); font-weight: 600; }
.dl__cur { position: absolute; }
.dl__cur path { fill: var(--ink); stroke: var(--panel); stroke-width: 1.6; stroke-linejoin: round; }
.dl__cur--1 { right: 22px; bottom: -6px; }
.dl__cur--2 { right: -10px; bottom: -10px; }
.dl__cur--3 { right: 24px; top: 82px; }
.dl__help { margin: var(--space-xl) 0 0; text-align: center; color: var(--muted); }
/* tablet and phone: steps stack, each number moves inside its card and the rail goes away */
@media (max-width: 60rem) {
  .dl__head { margin-bottom: var(--space-xl); }
  .dl__steps { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .dl__steps::before { display: none; }
  .dl__n { position: static; transform: none; margin: 24px auto 0; background: var(--panel); }
  .dl__art { height: 216px; }
}

/* Карточка «Pro на рік»: бегущий луч по краю, по мотивам border-beam (MIT, Jakub Antalik), на чистом CSS и в цветах сайта.
   Цвета стоят неподвижно и плавно переходят по кругу (зелёный → светло-зелёный → тёплый жёлтый → янтарный → чуть кораллового),
   а вращающаяся маска-дуга (--beam) показывает только участок края, где сейчас луч. Три слоя:
   ::after — тонкая линия по краю, ::before — сильно размытое свечение внутрь разной глубины (эллипсы с плавным спадом в маске), h3::before — размытая светлая «голова».
   Сила эффекта: opacity у слоёв; глубина каймы: размеры эллипсов в px; скорость: длительность plan-beam.
   Без поддержки @property луч стоит на месте. Превью вариантов: https://claude.ai/artifact/F2FmDU9LTzkQobn7aa1kF1 */
@property --beam { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
/* луч идёт неравномерно: ровное вращение (--spin) плюс качание (--sway) со своим периодом — он то разгоняется, то притормаживает, но назад не идёт */
@property --spin { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@property --sway { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes plan-beam { to { --spin: 360deg; } }
@keyframes plan-sway { from { --sway: -25deg; } to { --sway: 25deg; } }
/* цвета тоже медленно плывут по кругу (--tint), со своим периодом: на новом круге луч подсвечивает то же место другим цветом */
@property --tint { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes plan-tint { to { --tint: 360deg; } }
/* форма свечения тоже не стоит: три счётчика (--w1…--w3) качаются каждый в своём ритме, от них зависят глубина пятен, их длина и сдвиг вдоль края */
@property --w1 { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --w2 { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --w3 { syntax: '<number>'; inherits: true; initial-value: 1; }
@keyframes plan-w1 { from { --w1: .2; } to { --w1: 2.1; } }
@keyframes plan-w2 { from { --w2: 2; } to { --w2: .25; } }
@keyframes plan-w3 { from { --w3: .3; } to { --w3: 1.9; } }
.plan--dark { isolation: isolate; --beam: calc(var(--spin) + var(--sway)); animation: plan-beam 6s linear infinite, plan-sway 2.3s ease-in-out infinite alternate, plan-tint 22.2s linear infinite, plan-w1 10.6s ease-in-out infinite alternate, plan-w2 14.2s ease-in-out infinite alternate, plan-w3 17.8s ease-in-out infinite alternate; }
.plan--dark::before, .plan--dark::after, .plan--dark > h3::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.plan--dark::after {
  padding: 1px;
  background:
    conic-gradient(from var(--beam), transparent 0% 54%, rgb(255 255 255 / .1) 57%, rgb(255 255 255 / .3) 60%, rgb(255 255 255 / .6) 63%, rgb(255 255 255 / .8) 66%, rgb(255 255 255 / .6) 69%, rgb(255 255 255 / .3) 72%, rgb(255 255 255 / .1) 75%, transparent 78% 100%),
    conic-gradient(from var(--tint), #5FD6A3 0deg, #BFE8B4 28deg, #FFE9A8 55deg, #FFCF86 88deg, #F58A5C 115deg, #FFCF86 142deg, #FFE9A8 172deg, #9BE3BE 210deg, #3FBF93 262deg, #2EAA7D 300deg, #5FD6A3 360deg);
  -webkit-mask: conic-gradient(from var(--beam), transparent 0% 30%, rgb(255 255 255 / .1) 36%, rgb(255 255 255 / .35) 44%, #fff 52% 80%, rgb(255 255 255 / .35) 86%, rgb(255 255 255 / .1) 92%, transparent 95% 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask: conic-gradient(from var(--beam), transparent 0% 30%, rgb(255 255 255 / .1) 36%, rgb(255 255 255 / .35) 44%, #fff 52% 80%, rgb(255 255 255 / .35) 86%, rgb(255 255 255 / .1) 92%, transparent 95% 100%), linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  opacity: 0.38;
}
.plan--dark::before {
  background: conic-gradient(from var(--tint), #5FD6A3 0deg, #BFE8B4 28deg, #FFE9A8 55deg, #FFCF86 88deg, #F58A5C 115deg, #FFCF86 142deg, #FFE9A8 172deg, #9BE3BE 210deg, #3FBF93 262deg, #2EAA7D 300deg, #5FD6A3 360deg);
  -webkit-mask-image: conic-gradient(from var(--beam), transparent 0% 30%, rgb(255 255 255 / .1) 36%, rgb(255 255 255 / .35) 44%, #fff 52% 80%, rgb(255 255 255 / .35) 86%, rgb(255 255 255 / .1) 92%, transparent 95% 100%),
    radial-gradient(ellipse calc(37.4% * (.5 + .5 * var(--w3))) calc(90px * var(--w1)) at calc(10% + (var(--w2) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(51% * (.5 + .5 * var(--w1))) calc(54px * var(--w2)) at calc(36% - (var(--w3) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(40.8% * (.5 + .5 * var(--w2))) calc(114px * var(--w3)) at calc(62% + (var(--w1) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(34% * (.5 + .5 * var(--w3))) calc(66px * var(--w1)) at calc(88% - (var(--w2) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(78px * var(--w2)) calc(34% * (.5 + .5 * var(--w1))) at 100% calc(12% + (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(126px * var(--w3)) calc(44.2% * (.5 + .5 * var(--w2))) at 100% calc(36% - (var(--w1) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(60px * var(--w1)) calc(37.4% * (.5 + .5 * var(--w3))) at 100% calc(62% + (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(102px * var(--w2)) calc(34% * (.5 + .5 * var(--w1))) at 100% calc(86% - (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(44.2% * (.5 + .5 * var(--w2))) calc(72px * var(--w3)) at calc(86% + (var(--w1) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(57.8% * (.5 + .5 * var(--w3))) calc(132px * var(--w1)) at calc(58% - (var(--w2) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(40.8% * (.5 + .5 * var(--w1))) calc(60px * var(--w2)) at calc(30% + (var(--w3) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(34% * (.5 + .5 * var(--w2))) calc(96px * var(--w3)) at calc(8% - (var(--w1) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(66px * var(--w1)) calc(37.4% * (.5 + .5 * var(--w3))) at 0% calc(86% + (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(120px * var(--w2)) calc(47.6% * (.5 + .5 * var(--w1))) at 0% calc(60% - (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(54px * var(--w3)) calc(37.4% * (.5 + .5 * var(--w2))) at 0% calc(34% + (var(--w1) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(90px * var(--w1)) calc(34% * (.5 + .5 * var(--w3))) at 0% calc(10% - (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%);
  -webkit-mask-composite: source-in, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over, source-over;
  mask-image: conic-gradient(from var(--beam), transparent 0% 30%, rgb(255 255 255 / .1) 36%, rgb(255 255 255 / .35) 44%, #fff 52% 80%, rgb(255 255 255 / .35) 86%, rgb(255 255 255 / .1) 92%, transparent 95% 100%),
    radial-gradient(ellipse calc(37.4% * (.5 + .5 * var(--w3))) calc(90px * var(--w1)) at calc(10% + (var(--w2) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(51% * (.5 + .5 * var(--w1))) calc(54px * var(--w2)) at calc(36% - (var(--w3) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(40.8% * (.5 + .5 * var(--w2))) calc(114px * var(--w3)) at calc(62% + (var(--w1) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(34% * (.5 + .5 * var(--w3))) calc(66px * var(--w1)) at calc(88% - (var(--w2) - 1) * 26%) 0%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(78px * var(--w2)) calc(34% * (.5 + .5 * var(--w1))) at 100% calc(12% + (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(126px * var(--w3)) calc(44.2% * (.5 + .5 * var(--w2))) at 100% calc(36% - (var(--w1) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(60px * var(--w1)) calc(37.4% * (.5 + .5 * var(--w3))) at 100% calc(62% + (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(102px * var(--w2)) calc(34% * (.5 + .5 * var(--w1))) at 100% calc(86% - (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(44.2% * (.5 + .5 * var(--w2))) calc(72px * var(--w3)) at calc(86% + (var(--w1) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(57.8% * (.5 + .5 * var(--w3))) calc(132px * var(--w1)) at calc(58% - (var(--w2) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(40.8% * (.5 + .5 * var(--w1))) calc(60px * var(--w2)) at calc(30% + (var(--w3) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(34% * (.5 + .5 * var(--w2))) calc(96px * var(--w3)) at calc(8% - (var(--w1) - 1) * 26%) 100%, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(66px * var(--w1)) calc(37.4% * (.5 + .5 * var(--w3))) at 0% calc(86% + (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(120px * var(--w2)) calc(47.6% * (.5 + .5 * var(--w1))) at 0% calc(60% - (var(--w3) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(54px * var(--w3)) calc(37.4% * (.5 + .5 * var(--w2))) at 0% calc(34% + (var(--w1) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%),
    radial-gradient(ellipse calc(90px * var(--w1)) calc(34% * (.5 + .5 * var(--w3))) at 0% calc(10% - (var(--w2) - 1) * 26%), rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.497) 18%, rgb(255 255 255 / 0.273) 36%, rgb(255 255 255 / 0.112) 54%, rgb(255 255 255 / 0.035) 72%, transparent 92%);
  mask-composite: intersect, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add;
  opacity: 0.34; filter: saturate(1.35) brightness(1.15);
}
.plan--dark > h3::before {
  padding: 1px;
  background: conic-gradient(from var(--beam), transparent 0% 58%, rgb(255 255 255 / .03) 62%, rgb(255 255 255 / .08) 65%, rgb(255 255 255 / .2) 67%, rgb(255 255 255 / .45) 69%, rgb(255 255 255 / .85) 70% 70.5%, rgb(255 255 255 / .45) 71.5%, rgb(255 255 255 / .2) 73%, rgb(255 255 255 / .08) 75%, rgb(255 255 255 / .03) 78%, transparent 82%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  clip-path: inset(0 round var(--r-card));
  filter: blur(9px) brightness(1.3); opacity: 0.18;
}
@media (prefers-reduced-motion: reduce) { .plan--dark { animation: none; } }

/* hero: the nightingale's laptop comes alive. The picture without the «á» is the base; the «á», the screen text,
   the glow on the beak's rays and the recording pill sit on top. Phones use the 800×533 drawing, desktops the 1040 square. */
.hstage { position: relative; width: min(100%, 600px, 50vh * 1.5); margin: 0 auto var(--space-md); --k: 0.4; }
.hstage .hero__art { width: 100%; max-width: none; margin: 0; }
.hstage__glyph { position: absolute; pointer-events: none; transition: opacity 400ms var(--ease); }
.hstage__glyph--n { left: 63.125%; top: 25.891%; width: 27.125%; }
.hstage__glyph--w { left: 72.019%; top: 36.538%; width: 11.827%; display: none; }
.hstage.is-on .hstage__glyph { opacity: 0; }
.hstage__nat { position: absolute; left: 0; top: 0; width: 800px; height: 533px; transform: scale(var(--k)); transform-origin: 0 0; pointer-events: none; }
.hstage__nat--w { width: 1040px; height: 1040px; display: none; }
.hstage__screen { position: absolute; left: 0; top: 0; width: 320px; height: 300px; box-sizing: border-box; padding: 18px 22px; transform-origin: 0 0; opacity: 0; transition: opacity 400ms var(--ease); text-align: left; }
.hstage.is-on .hstage__screen { opacity: 1; }
.hstage__app { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1.5px solid oklch(94% 0.08 95 / 0.25); font: 600 17px/1.2 var(--font-body); color: oklch(94% 0.08 95 / 0.6); }
.hstage__txt { margin: 0; font: 400 34px/1.25 Georgia, 'Times New Roman', serif; color: var(--on-hero-warm); }
.hstage__txt mark { background: none; color: oklch(68% 0.2 33); font-weight: 700; }
.hstage__caret { display: inline-block; width: 3px; height: 1em; margin-left: 2px; vertical-align: -3px; background: var(--on-hero-warm); animation: hs-blink 1s steps(1) infinite; }
@keyframes hs-blink { 50% { opacity: 0; } }
.hstage__rays { position: absolute; left: 47%; top: 22%; width: 20%; aspect-ratio: 1.2; border-radius: 50%; background: radial-gradient(closest-side, oklch(62% 0.21 30 / 0.55), oklch(62% 0.21 30 / 0)); opacity: 0; pointer-events: none; }
.hstage.is-rec .hstage__rays { animation: hs-pulse 500ms ease-in-out infinite; }
/* плашка записи под ноутбуком: кружок → таблетка → волна справа налево → сворачивается и гаснет. Размеры — в пикселях гравюры, масштаб --k */
.hpill { position: absolute; left: 50%; top: 93.5%; width: 175px; height: 70px; margin: -35px 0 0 -87.5px; transform: scale(calc(var(--k) * var(--hpill-k, 1.33))); pointer-events: none; }
.hpill__in { width: 100%; height: 100%; opacity: 0; transform: scale(0.5); filter: drop-shadow(0 10px 14px oklch(0% 0 0 / 0.35)); transition: opacity 160ms var(--ease) 200ms, transform 160ms var(--ease) 200ms; }
.hpill__body { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 999px; background: var(--pill); clip-path: inset(0 52.5px round 999px); transition: clip-path 240ms var(--ease-in-out); }
.hpill__bars { position: relative; display: flex; align-items: center; gap: 4px; height: 40px; opacity: 0; transition: opacity 120ms var(--ease); }
.hpill__bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dotted oklch(100% 0 0 / 0.28); transform: translateY(-50%); }
.hpill__bars i { position: relative; width: 4px; height: 40px; border-radius: 2px; background: oklch(62% 0.21 30); opacity: 0; transform: scaleY(0.1); transition: transform 90ms linear; }
.hpill__bars i.on { opacity: 1; }
.hstage.is-rec .hpill__in { opacity: 1; transform: scale(1); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.hstage.is-rec .hpill__body { clip-path: inset(0 0 round 999px); transition: clip-path 320ms var(--ease-in-out) 140ms; }
.hstage.is-rec .hpill__bars { opacity: 1; transition-delay: 380ms; }
@keyframes hs-pulse { 0%, 100% { opacity: 0.3; transform: scale(0.92); } 50% { opacity: 0.9; transform: scale(1.08); } }
@media (min-width: 64rem) {
  .hero__visual--wide .hstage { width: 100%; max-width: 520px; margin-block: calc(-1 * var(--space-xl)); }
  .hstage__glyph--n, .hstage__nat--n { display: none; }
  .hstage__glyph--w, .hstage__nat--w { display: block; }
  .hstage__rays { left: 47.5%; top: 31%; width: 18%; }
  .hpill { left: 53%; top: calc(80.5% + 15px); --hpill-k: 1.265; }
}
@media (prefers-reduced-motion: reduce) { .hstage__caret, .hstage.is-rec .hstage__rays { animation: none; } }

/* Плашка промокода: человек пришёл по ссылке ?promo=КОД (site.js) */
.promo-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 12px 52px; background: #181818; color: #FFFFFF; font: 500 var(--text-md)/1.35 var(--font-body); text-align: center; }
.promo-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #FFFFFF; font-size: 24px; line-height: 1; cursor: pointer; }
.promo-bar button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -4px; }
