/* Produkt — landing.
   One document, two scenes:
   · html.h  — the horizontal scene (desktop): the slides lie on one another and the
               page scroll leads from one to the next; everything is measured in rem,
               and the root size follows the screen, so 1rem is 16 px of the design.
   · default — the page scrolls down as usual (phones, tablets, short windows, no JS).
   Sizes come from the design: type 12 · 16 · 21 · 28 · 38 · 67, line heights in
   fours, spacing in fours and eights, a 12-column grid with 24 gutters. */

/* ---------- Fonts (variable, latin + cyrillic; ₽ in its own tiny file) ---------- */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-cyrillic-bc09ba47.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-cafa3ec4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-rub-cbd7ccae.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+20BD; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-cyrillic-676bb72e.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-757d91ba.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-rub-e2eee1e3.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+20BD; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-cyrillic-6362fe2a.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-7c88d0cc.woff2") format("woff2"); font-weight: 100 800; font-display: swap; 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; }

/* ---------- Tokens ---------- */
:root {
  --page: #000;
  --surface: #101112;
  --control: #16171a;
  --edge: #1f1f24;
  --outline: #38393f;
  --outline-hover: #55565e;
  --text: #fff;
  --text-2: #d3d3d3;
  --text-3: #8c8c8c;
  --text-4: #808080;                 /* the dimmest text: 4.5:1 and more on every surface */
  --blue: #1f35ff;
  --blue-hover: #3a4dff;
  --blue-text: #3a4dff;
  --blue-ink: #7d8bff;
  --accent: #39eca1;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --g: 20px;                        /* side gutter of the scrolling page */
  --top-h: 104px;                   /* sticky nav 56 + chapter rail 48 */
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --g: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--top-h); }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
/* the dot grid: a fixed layer under everything, 24 apart, starting at 12 */
body::before {
  content: ""; position: fixed; z-index: -1; inset: 0 auto 0 0; width: calc(100% + 24px);
  background: radial-gradient(circle, var(--edge) .8px, transparent 1.15px) 0 0 / 24px 24px;
  transform: translate3d(var(--dots-x, 0), 0, 0); pointer-events: none;
}
h1, h2, h3, p, ul, ol, figure, pre, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 8px 16px; border-radius: 22px; background: var(--blue); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { font: 600 .75rem/1.3333 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--blue-ink); }
.title { font: 700 1.75rem/1.1429 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.lead { font: 400 1rem/1.5 var(--sans); color: var(--text-2); text-wrap: pretty; }
.small { font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: 999px; white-space: nowrap;
  font: 600 1rem/1.5 var(--sans); color: var(--text);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; }
.btn:active { transform: scale(.98); }
.btn--lg { height: 3.5rem; padding: 0 1.75rem; }
.btn--md { height: 2.75rem; padding: 0 1.25rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--blue); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--outline { border-color: var(--outline); }
.btn--outline:hover { border-color: var(--outline-hover); background: rgba(255, 255, 255, .04); }

.round {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--outline); border-radius: 50%; color: var(--text);
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.round:hover { border-color: var(--outline-hover); background: rgba(255, 255, 255, .04); }
.round:disabled { opacity: .35; cursor: default; background: none; border-color: var(--outline); }
.round svg { width: 1.25rem; height: 1.25rem; }
.flip { transform: scaleX(-1); }

.chip {
  display: inline-flex; align-items: center; gap: .5rem; height: 1.75rem; padding: 0 .75rem 0 .625rem;
  border: 1px solid var(--edge); border-radius: 1rem; background: var(--surface);
  font: 600 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-2);
}
/* a line box centres the font's ascent+descent, which leaves the small letters of Manrope
   .11em low (ascent 1.07, descent .30, x-height .55: (1.07 − .30 − .55) / 2); lift them back */
.chip__text { position: relative; top: -.04em; } /* its line is 1.33, not 1.5: measured, it needs less */
.chip__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(57, 236, 161, .12); }

.dlink { display: inline-flex; align-items: center; gap: .375rem; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-2); transition: color .2s; }
.dlink svg { width: .875rem; height: .875rem; color: var(--text-3); }
.dlink span { text-decoration: underline; text-decoration-color: var(--outline); text-decoration-thickness: 1px; text-underline-offset: .1875rem; transition: text-decoration-color .2s; }
.dlink:hover { color: var(--text); }
.dlink:hover span { text-decoration-color: currentColor; }

.btns { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Header: nav ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--page); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 var(--g); }
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo__mark { width: 1.125rem; height: 1.25rem; color: var(--text); }
.logo__word { font: 600 1rem/1.5 var(--display); letter-spacing: -.005em; }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__trial { display: none; }
.nav__burger { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--outline); }
.nav__burger svg { width: 1.25rem; height: 1.25rem; transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] svg { transform: rotate(90deg); }
.nav__links {
  position: absolute; z-index: 2; left: 0; right: 0; top: 56px; display: none; flex-direction: column;
  padding: 8px var(--g) 20px; background: var(--page); border-bottom: 1px solid var(--edge);
}
.nav__links.is-open { display: flex; }
.nav__links a:not(.btn) { display: block; padding: 12px 0; font: 500 1rem/1.5 var(--sans); color: var(--text-2); border-bottom: 1px solid var(--edge); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__menu-only { padding-top: 16px; }
@media (min-width: 640px) { .nav__trial { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav__burger, .nav__menu-only { display: none; }
  .nav__links { position: static; display: flex; flex-direction: row; gap: 2rem; padding: 0; border: 0; background: none; }
  .nav__links a:not(.btn) { padding: 0; border: 0; }
}

/* ---------- Chapter rail ---------- */
.rail { position: relative; }
.rail::after { /* edge fade where the rail scrolls */
  content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 64px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), var(--page));
}
.rail__in { height: 48px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__in::-webkit-scrollbar { display: none; }
.rail__segs { display: flex; gap: 24px; width: max-content; padding: 12px var(--g) 0; }
.rail__seg { display: flex; flex-direction: column; gap: 8px; }
.rail__label { font: 600 .75rem/1.3333 var(--sans); color: var(--text-3); white-space: nowrap; transition: color .25s; }
.rail__bars { position: relative; display: flex; gap: 2px; }
/* a chapter in parts: each part can be clicked; its bar lights a step under the pointer */
@media (hover: hover) { .rail__seg:has(.rail__bar + .rail__bar) .rail__bar:hover { background: var(--outline); } }
.rail__bar { position: relative; flex: 1; height: 3px; background: var(--edge); overflow: hidden; }
/* a chapter's bar is one line cut into parts: only its two outer ends are round */
.rail__bar:first-child { border-top-left-radius: 2px; border-bottom-left-radius: 2px; }
.rail__bar:last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; }
.rail__bar i { position: absolute; inset: 0; background: var(--text-3); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; }
.rail__seg.is-on .rail__label { color: var(--text); }
.rail__seg.is-on .rail__bar i { background: var(--text); }
.rail__seg:hover .rail__label { color: var(--text-2); }
.rail__seg.is-on:hover .rail__label { color: var(--text); }
.rail__arrows { display: none; }

/* ---------- Sections (the scrolling page) ---------- */
.slide { padding: 64px var(--g) 0; scroll-margin-top: var(--top-h); }
#why, #uses, #who, #pricing, #faq { padding-top: 96px; }
.frame { position: relative; max-width: 1100px; margin: 0 auto; }
.head { display: flex; flex-direction: column; gap: 12px; }
.head__main { display: flex; flex-direction: column; gap: 12px; }
.body { margin-top: 24px; }

/* hero */
.slide--hero { padding-top: 32px; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { margin-top: 24px; font: 700 2.375rem/1.1579 var(--display); letter-spacing: -.02em; }
.hero__line { display: block; white-space: nowrap; }
.ln, .ln > span { display: block; }
.picked { position: relative; display: inline-block; margin-left: -2px; padding: 0 2px; color: var(--blue-text); box-shadow: inset 0 0 0 1px var(--blue); }
.picked__h { position: absolute; width: 8px; height: 8px; background: #fff; border: 1px solid var(--blue); }
.picked__h:nth-child(1) { left: -4px; top: -4px; }
.picked__h:nth-child(2) { right: -4px; top: -4px; }
.picked__h:nth-child(3) { left: -4px; bottom: -4px; }
.picked__h:nth-child(4) { right: -4px; bottom: -4px; }
.hero__lead { margin-top: 24px; max-width: 34rem; }
.hero__actions { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.hero__actions .btns { width: 100%; }
.terms { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.terms li { display: inline-flex; align-items: center; gap: 6px; }
.terms svg { width: .875rem; height: .875rem; }
.hero__media { margin-top: 24px; }
@media (max-width: 639px) {
  .hero__actions .btn { width: 100%; }
}

/* points */
.points { display: none; }
.points li { display: flex; align-items: center; gap: .75rem; height: 3.5rem; border-top: 1px solid var(--edge); font: 500 1rem/1.5 var(--sans); }
.points svg { width: 1rem; height: 1rem; color: var(--blue-ink); }

/* feature media */
.slide--feature .body { position: relative; }
.slide--feature .body:has(.tile) { padding-bottom: 48px; }
.media img { width: 100%; }
.tile { position: absolute; right: 12px; bottom: 0; width: 34%; max-width: 249px; }
.tile img { border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .6); }

/* footnotes: where a promise holds only in part */
.fn { margin-left: .05em; color: var(--blue-ink); }
a.fn:hover { color: var(--text); }
.chip .fn { color: inherit; }
.note-line { max-width: 34rem; margin-top: 16px; font: 500 .6875rem/1.4545 var(--sans); letter-spacing: .02em; color: var(--text-4); text-wrap: pretty; }
.plans__notes { display: flex; flex-direction: column; gap: 4px; }

/* AI design: a promo block the assistant has just built, with the prompt over it.
   Drawn, not photographed: sizes are in cqw of the figure, so it is sharp at any size. */
.media--ai, .tile--ai { container-type: inline-size; }
.ais {
  position: relative; aspect-ratio: 875 / 532; overflow: hidden; border-radius: 16px; background: #04090f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.ais__bg, .ais__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.ais__page {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3cqw 4.5cqw 4.5cqw; color: #fff;
  background: linear-gradient(90deg, rgba(2, 7, 12, .78), rgba(2, 7, 12, .1) 70%), linear-gradient(0deg, rgba(2, 7, 12, .55), rgba(2, 7, 12, 0) 45%);
}
.ais__nav { display: flex; align-items: center; gap: 3cqw; font: 500 1.35cqw/1 var(--sans); color: rgba(255, 255, 255, .78); }
.ais__nav b { margin-right: auto; font: 700 1.8cqw/1 var(--display); letter-spacing: -.01em; color: #fff; }
.ais__hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5cqw; width: 50cqw; margin: auto 0 0 -1.2cqw; padding: 1.2cqw; }
.ais__eyebrow { font: 600 1.2cqw/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8affcb; }
.ais__h { font: 700 5.4cqw/1.04 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.ais__p { max-width: 38cqw; font: 400 1.6cqw/1.5 var(--sans); color: rgba(255, 255, 255, .78); }
.ais__btns { display: flex; gap: 1cqw; margin-top: .5cqw; }
.ais__btn { display: inline-flex; align-items: center; height: 3.6cqw; padding: 0 2cqw .2cqw; border-radius: 99px; font: 600 1.35cqw/1 var(--sans); font-style: normal; }
.ais__nav .ais__btn { height: 3cqw; padding: 0 1.6cqw .15cqw; }
.ais__btn--light { background: #fff; color: #04110c; }
.ais__btn--ghost { box-shadow: inset 0 0 0 .12cqw rgba(255, 255, 255, .55); color: #fff; }
.ais__hero::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 .14cqw var(--blue); pointer-events: none; } /* selected in the editor */
.ais__hd { position: absolute; z-index: 1; width: 1cqw; height: 1cqw; background: #fff; border: .14cqw solid var(--blue); }
.ais__hd:nth-of-type(1) { left: -.5cqw; top: -.5cqw; }
.ais__hd:nth-of-type(2) { right: -.5cqw; top: -.5cqw; }
.ais__hd:nth-of-type(3) { left: -.5cqw; bottom: -.5cqw; }
.ais__hd:nth-of-type(4) { right: -.5cqw; bottom: -.5cqw; }
/* the editor's own Ask popup (ai-panel.tsx, theme.css), drawn at --u per app pixel:
   a 380 popup on #16171a, a composer with a 16 round and a hairline, Inter 12 on 1.4,
   a green send of 28, and under it the model and the way to the conversation */
.ais__ask {
  --u: .125cqw;
  position: absolute; right: 4.5cqw; top: 7.5cqw; width: calc(380 * var(--u));
  display: flex; flex-direction: column; gap: calc(10 * var(--u)); padding: calc(10 * var(--u));
  border: 1px solid #1f1f24; border-radius: calc(8 * var(--u)); background: #16171a; color: #fff;
  box-shadow: 0 calc(8 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .5);
  font-family: "Inter", var(--sans);
}
.ais__composer {
  display: flex; align-items: flex-end; gap: calc(8 * var(--u)); padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)) calc(11 * var(--u));
  border: 1px solid #34353c; border-radius: calc(16 * var(--u)); background: #16171a;  /* focused: the border lights a step */
}
.ais__prompt { flex: 1; min-width: 0; padding: calc(4 * var(--u)) 0; font-size: calc(12 * var(--u)); line-height: 1.4; }
.ais__prompt span::after { /* the caret, still in the field */
  content: ""; display: inline-block; width: 1px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #39eca1;
}
.ais__send { flex: none; display: grid; place-items: center; width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; background: #39eca1; color: #0d0d0d; }
.ais__send svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.ais__foot { display: flex; justify-content: space-between; gap: calc(8 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.2; white-space: nowrap; }
.ais__foot span:first-child { color: #6b6b6b; overflow: hidden; text-overflow: ellipsis; }
.ais__foot span:last-child { color: #8c8c8c; }
@container (max-width: 560px) { /* a phone: the popup as large as it can be read */
  .ais__ask { --u: max(.2cqw, .78px); right: 3cqw; left: 3cqw; top: 9cqw; width: auto; }
  .ais__hero { width: 70cqw; }
  .ais__p { display: none; }
}

/* the assistant's own column, cut down to a card */
.aip {
  display: flex; flex-direction: column; gap: 5cqw; padding: 6.4cqw; border-radius: 7.8cqw; background: #141518; color: var(--text-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .6);
}
.aip__head { display: flex; align-items: center; gap: 2.8cqw; font: 600 5.2cqw/1.3 var(--sans); color: var(--text); }
.aip__head svg { width: 5.6cqw; height: 5.6cqw; color: var(--blue-ink); }
.aip__head span { margin-left: auto; padding: .8cqw 3cqw 1.2cqw; border-radius: 99px; background: var(--control); font-size: 4cqw; font-weight: 500; color: var(--text-3); }
.aip__calls { display: flex; flex-direction: column; gap: 2.6cqw; font: 500 4.6cqw/1.3 var(--sans); }
.aip__calls li::before { content: "✓"; display: inline-block; width: 6cqw; color: var(--accent); }
.aip__msg { padding-top: 4.4cqw; border-top: 1px solid var(--edge); font: 400 4.6cqw/1.45 var(--sans); color: var(--text); }
.aip__foot { display: flex; justify-content: space-between; font: 400 3.8cqw/1.3 var(--mono); color: var(--text-3); }
@media (max-width: 639px) { .tile--ai { display: none; } .slide--ai .body:has(.tile) { padding-bottom: 0; } }

/* Design systems: System Master's artboard with a system drawn on it (Atelier, one of the
   ready-made ones: warm paper, a serif, terracotta) and its column reading the system off it.
   Drawn, not photographed: --u is a thousandth of the figure, so it is sharp at any size. */
.media--sm, .tile--sm { container-type: inline-size; }
.sms {
  --u: .1cqw; --paper: #f4efe6; --ink: #1f1b16; --terra: #b4532a; --line: #e2d8c8; --mute: #8a7a66;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", "Liberation Serif", serif;
  position: relative; aspect-ratio: 875 / 532; overflow: hidden; border-radius: 16px;
  background: #0e0f11 radial-gradient(circle, rgba(255, 255, 255, .07) calc(1 * var(--u)), transparent calc(1.2 * var(--u))) 0 0 / calc(20 * var(--u)) calc(20 * var(--u));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  font-family: "Inter", var(--sans);
}
.sms__name { position: absolute; left: calc(36 * var(--u)); top: calc(22 * var(--u)); font-size: calc(11 * var(--u)); line-height: 1; color: #8c8c8c; }
.sms__board {
  position: absolute; left: calc(36 * var(--u)); top: calc(42 * var(--u)); width: calc(584 * var(--u)); bottom: calc(36 * var(--u));
  display: grid; grid-template-columns: 1fr 1.08fr; gap: calc(40 * var(--u)); padding: calc(36 * var(--u));
  overflow: hidden; background: var(--paper); color: var(--ink);
}
.sms__col { display: flex; flex-direction: column; gap: calc(24 * var(--u)); min-width: 0; }
.sms__sec { display: flex; flex-direction: column; align-items: flex-start; gap: calc(10 * var(--u)); }
.sms__cap { margin-bottom: calc(2 * var(--u)); font-size: calc(9.5 * var(--u)); line-height: 1; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sms__over { font-size: calc(10 * var(--u)); line-height: 1.2; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.sms__h { font: 500 calc(40 * var(--u))/1 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.sms__p { font-size: calc(12.5 * var(--u)); line-height: 1.5; color: #5d5246; text-wrap: pretty; }
.sms__row { display: flex; align-items: center; gap: calc(8 * var(--u)); }
.sms__btn, .sms__chip, .sms__badge, .sms__tabs i, .sms__check, .sms__switch { font-style: normal; }
.sms__btn { position: relative; display: inline-flex; align-items: center; height: calc(36 * var(--u)); padding: 0 calc(16 * var(--u)); border-radius: calc(10 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; white-space: nowrap; }
.sms__btn--primary { background: var(--terra); color: #fffdf8; }
.sms__btn--secondary { box-shadow: inset 0 0 0 calc(1 * var(--u)) #cbbfae; color: var(--ink); }
.sms__hd { position: absolute; z-index: 1; width: calc(8 * var(--u)); height: calc(8 * var(--u)); background: #fff; border: calc(1.4 * var(--u)) solid var(--blue); }
.sms__btn--primary::after { content: ""; position: absolute; inset: calc(-4 * var(--u)); box-shadow: 0 0 0 calc(1.4 * var(--u)) var(--blue); pointer-events: none; } /* selected in the editor */
.sms__hd:nth-of-type(1) { left: calc(-8 * var(--u)); top: calc(-8 * var(--u)); }
.sms__hd:nth-of-type(2) { right: calc(-8 * var(--u)); top: calc(-8 * var(--u)); }
.sms__hd:nth-of-type(3) { left: calc(-8 * var(--u)); bottom: calc(-8 * var(--u)); }
.sms__hd:nth-of-type(4) { right: calc(-8 * var(--u)); bottom: calc(-8 * var(--u)); }
.sms__chip { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); height: calc(26 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(12 * var(--u)); border-radius: 99px; background: #ebe3d6; font-size: calc(11.5 * var(--u)); }
.sms__chip s { text-decoration: none; color: var(--mute); }
.sms__badge { display: inline-flex; align-items: center; height: calc(20 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: 99px; background: #f3e7d3; color: #96421f; font-size: calc(10 * var(--u)); font-weight: 700; letter-spacing: .04em; }
.sms__label { font-size: calc(11.5 * var(--u)); line-height: 1; font-weight: 600; color: #3b342c; }
.sms__input { display: flex; align-items: center; align-self: stretch; height: calc(36 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: #fffdf8; box-shadow: inset 0 0 0 calc(1 * var(--u)) #cbbfae; font-size: calc(12.5 * var(--u)); color: #a3957f; }
.sms__check { flex: none; width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5.5-6' fill='none' stroke='%23fffdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.sms__small { font-size: calc(11.5 * var(--u)); color: #3b342c; white-space: nowrap; }
.sms__switch { position: relative; flex: none; width: calc(30 * var(--u)); height: calc(18 * var(--u)); margin-left: auto; border-radius: 99px; background: var(--terra); }
.sms__switch::after { content: ""; position: absolute; right: calc(2 * var(--u)); top: calc(2 * var(--u)); width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: 50%; background: #fffdf8; }
.sms__sec:has(.sms__switch) .sms__row { align-self: stretch; }
.sms__tabs { display: flex; gap: calc(20 * var(--u)); align-self: stretch; box-shadow: inset 0 calc(-1 * var(--u)) 0 var(--line); }
.sms__tabs i { padding: calc(4 * var(--u)) 0 calc(10 * var(--u)); font-size: calc(12.5 * var(--u)); color: var(--mute); }
.sms__tabs .is-on { color: var(--ink); font-weight: 600; box-shadow: inset 0 calc(-2 * var(--u)) 0 var(--terra); }
.sms__card { display: flex; flex-direction: column; gap: calc(4 * var(--u)); align-self: stretch; padding: calc(14 * var(--u)) calc(16 * var(--u)); border-radius: calc(14 * var(--u)); background: #fffdf8; box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--line); }
.sms__card b { font: 600 calc(17 * var(--u))/1.15 var(--serif); }
.sms__card span { font-size: calc(11 * var(--u)); color: var(--mute); }
.sms__alert { display: flex; align-items: center; gap: calc(8 * var(--u)); align-self: stretch; padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: #eaf1e4; box-shadow: inset 0 0 0 calc(1 * var(--u)) #cfdcc2; font-size: calc(11 * var(--u)); color: #3d5530; }
.sms__alert i { flex: none; width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #5a8a3e; }

/* System Master's column (master-panel.tsx), at --u per app pixel: the stages, how ready the
   drawing is as a ring, what the system took — a dot for where it came from, Hold to keep it */
.smp {
  position: absolute; right: calc(24 * var(--u)); top: calc(24 * var(--u)); bottom: calc(24 * var(--u)); width: calc(320 * var(--u));
  display: flex; flex-direction: column; gap: calc(14 * var(--u)); padding: calc(16 * var(--u));
  border: 1px solid #1f1f24; border-radius: calc(12 * var(--u)); background: #16171a; color: #fff;
  box-shadow: 0 calc(8 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .5);
  font-size: calc(12 * var(--u)); line-height: 1.3;
}
.smp__top { display: flex; align-items: baseline; justify-content: space-between; }
.smp__top b { font-size: calc(13 * var(--u)); font-weight: 600; }
.smp__top span, .smp__notes, .smp__contrast, .smp__state span { color: #8c8c8c; }
.smp__stages { display: flex; padding: calc(2 * var(--u)); border-radius: calc(8 * var(--u)); background: #232428; }
.smp__stages i { flex: 1; display: grid; place-items: center; height: calc(24 * var(--u)); border-radius: calc(6 * var(--u)); font-style: normal; color: #8c8c8c; }
.smp__stages .is-on { background: #fff; color: #111; font-weight: 500; }
.smp__ring { position: relative; display: flex; align-items: center; gap: calc(16 * var(--u)); }
.smp__ring svg { flex: none; width: calc(64 * var(--u)); height: calc(64 * var(--u)); rotate: -90deg; }
.smp__ring circle { fill: none; stroke: #2a2b30; stroke-width: 5; }
.smp__ring .smp__arc { stroke: #39eca1; stroke-linecap: round; stroke-dasharray: 93 100; }
.smp__pc { position: absolute; left: 0; top: 0; width: calc(64 * var(--u)); height: calc(64 * var(--u)); display: grid; place-items: center; font-size: calc(15 * var(--u)); font-weight: 500; }
.smp__state { display: flex; flex-direction: column; gap: calc(4 * var(--u)); }
.smp__state b { font-size: calc(13 * var(--u)); font-weight: 600; }
.smp__title { margin-top: calc(4 * var(--u)); padding-top: calc(14 * var(--u)); border-top: 1px solid #26272c; font-size: calc(13 * var(--u)); font-weight: 600; }
.smp__notes li { display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(29 * var(--u)); }
.smp__notes i { flex: none; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #39eca1; }      /* read from the drawing */
.smp__notes i.is-derived { background: #d9a441; }                                                                             /* worked out */
.smp__notes i.is-held { background: #e6e6e6; }                                                                                /* held by you */
.smp__notes s { flex: none; width: calc(12 * var(--u)); height: calc(12 * var(--u)); margin-left: auto; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px #4a4a4a; }
.smp__notes b { margin-left: auto; font-weight: 400; color: #fff; white-space: nowrap; }
.smp__notes s + b { margin-left: 0; }
.smp__notes em { width: calc(36 * var(--u)); text-align: right; font-style: normal; font-size: calc(11.5 * var(--u)); color: #6b6b6b; }
.smp__notes em.is-held { color: #fff; }
.smp__contrast { margin-top: auto; font-size: calc(11.5 * var(--u)); line-height: 1.4; text-wrap: balance; }
@container (max-width: 560px) { /* a phone: the column over the board, large enough to read */
  .sms { --u: .16cqw; aspect-ratio: 4 / 3; }
  .sms__board { width: calc(540 * var(--u)); }
  .smp { width: calc(300 * var(--u)); }
  .smp__notes li:nth-child(n + 5), .smp__contrast, .smp__state span { display: none; }
}

/* light and dark, the second worked out from the first */
.smt {
  display: flex; flex-direction: column; gap: 3.6cqw; padding: 5.6cqw; border-radius: 7.8cqw; background: #141518; color: var(--text-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .6);
}
.smt__head { display: flex; align-items: center; justify-content: space-between; padding: 0 .8cqw; font: 600 5.2cqw/1.3 var(--sans); color: var(--text); }
.smt__head span { padding: .8cqw 3cqw 1.2cqw; border-radius: 99px; background: var(--control); font-size: 4cqw; font-weight: 500; color: #d9a441; }
.smt__pane { padding: 5cqw; border-radius: 4.8cqw; background: #f4efe6; color: #1f1b16; }
.smt__pane--dark { background: #1e1914; color: #f1e9dc; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.smt__card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; padding: 4.4cqw 4.8cqw; border-radius: 4.4cqw; background: #fffdf8; box-shadow: inset 0 0 0 1px #e2d8c8; }
.smt__pane--dark .smt__card { background: #2e2620; box-shadow: inset 0 0 0 1px #4a3f33; }
.smt__card b { font: 600 6.8cqw/1.1 "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif; }
.smt__card span { font: 400 4.2cqw/1.3 "Inter", var(--sans); color: #8a7a66; }
.smt__pane--dark .smt__card span { color: #a8977f; }
.smt__card i { display: inline-flex; align-items: center; height: 10.4cqw; margin-top: 2cqw; padding: 0 4.4cqw; border-radius: 3cqw; background: #b4532a; color: #fffdf8; font: 600 4.2cqw/1 "Inter", var(--sans); font-style: normal; }
.smt__pane--dark .smt__card i { background: #d8784c; color: #1e1914; }
@media (max-width: 639px) { .tile--sm { display: none; } .slide--sm .body:has(.tile) { padding-bottom: 0; } }
html:not(.h) .tile--sm { right: auto; left: 24px; } /* over the board's empty corner, not the column */

/* carousels (scrolling page only) */
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: none; }
.carousel__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--text-4); transition: width .3s var(--ease), background-color .3s; }
.dots i.is-on { width: 20px; background: var(--text); }
.paddles { display: flex; gap: 8px; }
.carousel--widths .media--widths { width: 626px; border-radius: 20px; overflow: hidden; }
.carousel--widths .carousel__track::after { content: ""; flex: none; width: 1px; } /* lets the last snap reach the end */

/* the living proof: an exported page in a window */
.demo { display: flex; flex-direction: column; gap: 24px; }
.demo .points { margin-bottom: 0; }
.demo__ctrl { display: none; }                /* widths are switched in the scene only */
.demo__view { position: relative; }
.demo__win { border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--edge); font: 400 .75rem/1.3333 var(--mono); color: var(--text-3); }
.demo__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--outline); }
.demo__url { margin-left: 10px; }
.demo__w { display: none; margin-left: auto; color: var(--text-2); font-variant-numeric: tabular-nums; }
.demo__screen { position: relative; }
.demo__screen img { width: 100%; }
.demo__frame, .demo__grip { display: none; }

/* why */
.bento { display: grid; gap: 24px; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--edge); border-radius: 24px; background: var(--surface); overflow: hidden; }
.card__title { font: 600 1.3125rem/1.3333 var(--sans); letter-spacing: -.005em; }
.card__text { color: var(--text-3); }
.card > :nth-child(3) { margin-top: 16px; }
.code { padding: 12px 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--page); font: 400 .75rem/1.6667 var(--mono); color: var(--text-2); white-space: pre; overflow-x: auto; scrollbar-width: none; }
.cl { display: block; width: max-content; }
.t-s { color: var(--blue-ink); }
.t-p { color: var(--text-3); }
.files { font: 400 .75rem/1.3333 var(--mono); color: var(--text-2); }
.files li { display: flex; justify-content: space-between; align-items: center; height: 24px; padding-left: 16px; }
.files li span:last-child { color: var(--text-3); }
.files .files__root { padding-left: 0; color: var(--text); }
.toggles li { display: flex; justify-content: space-between; align-items: center; height: 36px; border-top: 1px solid var(--edge); font: 500 1rem/1.5 var(--sans); color: var(--text-2); }
.switch { position: relative; top: var(--xo); width: 36px; height: 20px; border-radius: 10px; background: var(--control); }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--text-3); }
.receipt { display: flex; flex-direction: column; gap: 8px; }
.receipt__row { display: flex; justify-content: space-between; font: 500 1rem/1.5 var(--sans); }
.receipt__row b { font-weight: 600; }
.receipt__row--muted { font-weight: 400; color: var(--text-3); }
.receipt__bar { height: 4px; border-radius: 2px; background: var(--blue); }
.receipt__note { font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 20px; background: var(--control); font: 500 1rem/1.5 var(--sans); }
.card__toolbar img { width: 284px; }
@media (max-width: 639px) { .card--price, .card--os, .card--focus { display: none; } }
@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--html { grid-column: 1 / -1; }
  .card > :nth-child(3) { margin-top: auto; padding-top: 24px; }
}

/* uses */
.carousel--uses { margin-top: 24px; }
.use { width: 260px; }
.use img { width: 100%; }
/* people: a photo in the same frame as the drawings (radius 1/16 of the card, hairline edge) */
.use--person picture { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--surface); }
.use--person picture::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.use--person img { aspect-ratio: 256 / 360; height: auto; object-fit: cover; transition: transform .9s var(--ease); }
.use__title { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; font: 600 1rem/1.5 var(--sans); }
.use__title span { font-size: .75rem; line-height: 1.3333; color: var(--blue-ink); }
.use__text { margin-top: 8px; color: var(--text-3); }

/* pricing */
.plans { display: grid; gap: 24px; }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--edge); border-radius: 24px; background: var(--surface); }
.plan--main { border-color: var(--blue); order: -1; }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 1.3125rem/1.3333 var(--sans); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--blue); font: 600 .75rem/1.3333 var(--sans); }
.plan__text { margin-top: 4px; color: var(--text-3); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.plan__price b { font: 700 1.75rem/1.1429 var(--display); letter-spacing: -.015em; }
.plan__price span { color: var(--text-3); }
.plan .btn { margin-top: 20px; }
.plan__list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; color: var(--text-2); }
.plan__list li { display: flex; align-items: center; gap: 8px; }
.plan__list svg { width: 1rem; height: 1rem; color: var(--text-3); }
.plan--main .plan__list svg { color: var(--blue-ink); }
.plans__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan--main { order: 0; } }

/* faq + cta */
.slide--faq .body { display: flex; flex-direction: column; gap: 64px; }
.faq { order: -1; }
.faq details { border-top: 1px solid var(--edge); }
.faq details:last-child { border-bottom: 1px solid var(--edge); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; font: 600 1rem/1.5 var(--sans); cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--text-2); }
.faq p { padding: 0 0 18px; max-width: 48.375rem; color: var(--text-3); }
.faq details[open] summary { padding-bottom: 8px; }
.pm { position: relative; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--text-3); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 1.5px; margin: -.75px 0 0 -.375rem; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }

.cta {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; overflow: hidden;
  border: 1px solid var(--edge); border-radius: 24px;
  background: radial-gradient(circle at 75% 0, rgba(31, 53, 255, .55), rgba(31, 53, 255, 0) 16.25rem), var(--surface);
}
.slide--faq .cta { min-height: 208px; }
.cta__title { font: 700 1.3125rem/1.3333 var(--display); letter-spacing: -.01em; }
.cta__text { display: none; margin-top: 16px; color: var(--text-2); }
.cta .btns { margin-top: 16px; }
.cta .dlink { margin-top: 16px; align-self: flex-start; }
@media (max-width: 639px) { .cta .btns .btn { width: 100%; } .cta__trial { display: none; } }
@media (min-width: 640px) { .cta__text { display: block; } .cta__title { font-size: 1.75rem; line-height: 1.1429; } }

/* ---------- Footer ---------- */
.foot { padding: 48px var(--g) 32px; }
.foot__in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.foot__legal { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.foot a { transition: color .2s; }
.foot a:hover { color: var(--text); }

/* ---------- Tablet: the scrolling page, more room ---------- */
@media (min-width: 640px) {
  .title { font-size: 2.375rem; line-height: 1.1579; }
  .hero__title { font-size: 3.25rem; line-height: 1.1538; }
  .lead { font-size: 1.125rem; line-height: 1.5556; }
  .points { display: block; margin-bottom: 24px; }
  .slide--feature .body:has(.tile) { padding-bottom: 64px; }
  .tile { right: 24px; width: 30%; }
  .use { width: 280px; }
  .foot__legal { flex-direction: row; gap: 24px; }
}

/* ============================================================
   The horizontal scene (html.h)
   ============================================================ */
html.h {
  /* 1rem = 16 px of the design (1440 wide; 900 + the strip under the legal line tall),
     scaled to whichever side runs out first */
  font-size: clamp(10px, min(1.1111vw, 1.74863vh), 20px); /* 90rem wide, 57.1875rem tall */
  scroll-behavior: auto; scrollbar-width: none; overflow-x: hidden;
  overscroll-behavior-y: none;
}
html.h::-webkit-scrollbar { display: none; }
html.h body::before { width: calc(100% + 1.5rem); background-size: 1.5rem 1.5rem; background-image: radial-gradient(circle, var(--edge) .05rem, transparent .072rem); }

/* the page height that drives the scene: one screen of scroll per slide
   (the settling onto a slide is done by the script, softly) */
.h-spacer { display: none; }
html.h .h-spacer { display: block; }
html.h .h-spacer > div { height: 100vh; }

/* chrome */
html.h .top { position: fixed; left: 0; right: 0; top: 0; background: none; }
html.h .nav { background: var(--page); border-bottom: 1px solid var(--edge); }
html.h .nav__in { position: relative; width: min(90rem, 100vw); height: 4.5rem; margin: 0 auto; padding: 0 3rem; }
html.h .logo__mark { width: 1.25rem; height: 1.375rem; }
html.h .logo__word { font-size: 1.3125rem; line-height: 1.3333; }
html.h .nav__links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: row; gap: 2rem; padding: 0; border: 0; background: none; }
/* the chrome speaks a step quieter than the slides: 14 against the 21 of a lead and the 16 of body text */
html.h .nav__links a:not(.btn) { padding: 0; border: 0; font-size: .875rem; line-height: 1.4286; color: var(--text-2); transition: color .2s; }
html.h .nav .btn--md { height: 2.5rem; padding: 0 1.125rem; /* a 1.43 line puts the capitals on the axis by itself */ font-size: .875rem; line-height: 1.4286; }
html.h .nav__links a:not(.btn):hover, html.h .nav__links a.is-on { color: var(--text); }
html.h .nav__burger, html.h .nav__menu-only { display: none; }
html.h .nav__trial { display: inline-flex; }

html.h .rail { position: fixed; left: 0; right: 0; bottom: 3.4375rem; }
html.h .rail::after { display: none; }
html.h .rail__in { display: flex; justify-content: space-between; width: min(90rem, 100vw); height: 2.75rem; margin: 0 auto; padding: 0 3rem; overflow: visible; }
html.h .rail__segs { gap: 1rem; padding: .125rem 0 0; }
html.h .rail__seg { width: 10rem; gap: .5rem; } /* seven chapters and the arrows in 84rem */
html.h .rail__label { font: 500 .875rem/1.4286 var(--sans); }
html.h .rail__bars { gap: .25rem; }
html.h .rail__bar { height: .25rem; }
html.h .rail__bars::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; bottom: -.75rem; } /* room to aim at a part */
html.h .rail__arrows { display: flex; gap: .5rem; }

/* the legal line sits in the middle of the strip under the bar: from the bar to the top of its
   small letters is as much as from their baseline to the edge of the window (1.6955rem) */
html.h .foot { position: fixed; z-index: 40; left: 0; right: 0; bottom: 1.4375rem; padding: 0; }
html.h .foot__in { flex-direction: row; justify-content: space-between; width: min(90rem, 100vw); max-width: none; padding: 0 3rem; color: var(--text-4); }
html.h .foot__legal { flex-direction: row; gap: 1.5rem; padding: 0; }
html.h .foot__motto { display: none; }

/* the track of slides */
/* the slides lie on one another; only the pieces move, and not far */
html.h .track { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; }
html.h .slide {
  position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; padding: 4.5rem 0 6.1875rem;
  display: grid; place-items: center; scroll-margin: 0; contain: layout style;
}
html.h #why, html.h #uses, html.h #who, html.h #pricing, html.h #faq { padding-top: 4.5rem; }
/* one rhythm for every slide: as much air under the header line as above the chapter names
   (2rem to the first line of text, 1.75rem + the names' own leading below), and whatever a
   slide doesn't fill is shared equally above and below its content */
html.h .frame { width: min(90rem, 100vw); max-width: none; height: 46.5rem; padding: 2rem 3rem 1.75rem; margin: 0; }
html.h .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; height: 7.5rem; }
html.h .head__main { grid-column: 1 / 7; gap: 1rem; }
html.h .head__lead { grid-column: 8 / 13; }
html.h .title { font-size: 2.375rem; line-height: 1.1579; }
html.h .lead { font-size: max(1.3125rem, 15px); line-height: 1.5238; letter-spacing: -.005em; }
html.h .eyebrow, html.h .small, html.h .terms, html.h .dlink, html.h .chip, html.h .foot__in { font-size: max(.75rem, 11px); }
html.h .note-line { font-size: max(.6875rem, 10px); }
html.h .hero__actions .note-line { margin-top: 1.5rem; }
html.h .ais, html.h .sms { border-radius: 1.25rem; }
html.h .body { position: relative; height: 33.25rem; margin-top: 2rem; padding: 0; }

/* hero */
html.h .hero__text { position: relative; z-index: 1; width: 41.25rem; }
html.h .chip { height: 2rem; }
html.h .hero__title { margin-top: 1.5rem; font-size: 4.1875rem; line-height: 1.0746; }
html.h .picked { margin-left: -.125rem; padding: 0 .125rem; }
html.h .picked__h { width: .625rem; height: .625rem; }
html.h .picked__h:nth-child(1) { left: -.3125rem; top: -.3125rem; }
html.h .picked__h:nth-child(2) { right: -.3125rem; top: -.3125rem; }
html.h .picked__h:nth-child(3) { left: -.3125rem; bottom: -.3125rem; }
html.h .picked__h:nth-child(4) { right: -.3125rem; bottom: -.3125rem; }
html.h .hero__lead { margin-top: 2rem; max-width: 34.125rem; }
html.h .hero__actions { margin-top: 2.5rem; gap: 0; }
html.h .hero__actions .btns { width: auto; gap: .75rem; }
html.h .hero__actions .dlink { margin-top: 1rem; }
html.h .hero__actions .terms { margin-top: 1.5rem; gap: 1.5rem; }
html.h .slide--hero .frame { display: flex; flex-direction: column; justify-content: center; }
html.h .hero__media { position: absolute; left: 42rem; top: calc(50% + .125rem); width: 45rem; margin: -13.6875rem 0 0; } /* 27.375rem tall, centred */

/* features */
html.h .points { display: block; width: 27rem; margin: 0; }
html.h .slide--feature .body:has(.tile) { padding-bottom: 0; }
html.h .media--screen { position: absolute; right: 0; top: 0; width: 54.6875rem; }
html.h .tile { right: auto; left: 20.4375rem; bottom: 0; width: 15.5625rem; max-width: none; }
html.h .tile--right { left: 65.9375rem; }
html.h .aip, html.h .smt { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 1.4605rem 3.8947rem rgba(0, 0, 0, .6); }
html.h .tile img { border-radius: 1.21875rem; box-shadow: 0 1.4605rem 3.8947rem rgba(0, 0, 0, .6); }
html.h .carousel--widths { position: absolute; left: 28.5rem; top: 0; width: 55.5rem; }
html.h .carousel__track { display: block; overflow: visible; margin: 0; padding: 0; }
html.h .carousel__ctrl { display: none; }
html.h .carousel--widths .media--widths { /* the picture's own ground, carried on to the full height */
  display: flex; align-items: center; width: 100%; height: 33.25rem; border-radius: 1.25rem; background: #0c0e10;
}

/* the living proof: the page itself in a window that can be made narrower.
   --v is the width the page thinks it has, --s the scale it is shown at
   (the stage is 1440 of its pixels wide); both come from the script. */
html.h .demo { display: block; }
html.h .demo .points { margin: 0; }
html.h .demo__ctrl { position: absolute; left: 0; bottom: 0; display: flex; width: 27rem; }
html.h .demo__seg { display: flex; width: 100%; margin: 0; }
html.h .demo__stage { position: absolute; right: 0; top: 0; width: 54.6875rem; height: 33.25rem; }
html.h .demo__view { width: calc(var(--v, 1440) * var(--s, .6) * 1px); max-width: 100%; height: 100%; }
html.h .demo__win { display: flex; flex-direction: column; height: 100%; border-radius: 1rem; }
html.h .demo__bar { flex: none; height: 2.25rem; padding: 0 .875rem; gap: .375rem; font-size: max(.75rem, 11px); white-space: nowrap; }
html.h .demo__bar i { flex: none; width: .5rem; height: .5rem; }
html.h .demo__url { margin-left: .625rem; overflow: hidden; text-overflow: ellipsis; }
html.h .demo__w { display: block; padding-left: .75rem; }
html.h .demo__screen { flex: 1; min-height: 0; overflow: hidden; }
html.h .demo__screen picture { position: absolute; inset: 0; }
html.h .demo__screen img { height: 100%; object-fit: cover; object-position: 0 0; }
html.h .demo.is-loaded .demo__screen picture { visibility: hidden; }
html.h .demo__frame {
  display: block; position: absolute; left: 0; top: 0; border: 0; pointer-events: none;
  width: calc(var(--v, 1440) * 1px); height: calc(31rem / var(--s, .6));
  transform: scale(var(--s, .6)); transform-origin: 0 0; opacity: 0; transition: opacity .4s;
}
html.h .demo.is-loaded .demo__frame { opacity: 1; }
html.h .demo__grip { display: block; position: absolute; right: -.75rem; top: 50%; width: 1.5rem; height: 5rem; margin-top: -2.5rem; cursor: ew-resize; touch-action: none; }
html.h .demo__grip::before { /* the same handle as on the word «сайтом» */
  content: ""; position: absolute; left: 50%; top: 50%; width: .5rem; height: 2.5rem; margin: -1.25rem 0 0 -.25rem;
  background: #fff; border: 1px solid var(--blue); transition: transform .2s var(--ease);
}
html.h .demo__grip:hover::before, html.h .demo.is-drag .demo__grip::before { transform: scaleY(1.2); }
/* the first time the slide arrives the handle blinks twice: here is what can be pulled */
html.h .demo.is-hint .demo__grip::before { animation: grip-hint 1.6s var(--ease) .9s 2 both; }
@keyframes grip-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 139, 255, 0); background: #fff; }
  35% { box-shadow: 0 0 0 .375rem rgba(125, 139, 255, .35); background: var(--blue-ink); }
  70% { box-shadow: 0 0 0 .75rem rgba(125, 139, 255, 0); background: #fff; }
}
html.h .demo.is-drag { cursor: ew-resize; user-select: none; -webkit-user-select: none; }

/* why */
html.h .bento { grid-template-columns: repeat(12, 1fr); grid-template-rows: 15.875rem 15.875rem; gap: 1.5rem; }
html.h .card { padding: 1.5rem; gap: .25rem; border-radius: 1.5rem; }
html.h .card--html { grid-column: span 6; }
html.h .card--files, html.h .card--privacy { grid-column: span 3; }
html.h .card--price, html.h .card--os, html.h .card--focus { grid-column: span 4; display: flex; }
html.h .card > :nth-child(3) { margin-top: auto; padding-top: 0; }
html.h .card--html .code { margin-top: .125rem; }
html.h .code { padding: .75rem 1rem; border-radius: .75rem; font-size: .75rem; }
html.h .files li { height: 1.5rem; padding-left: 1rem; }
html.h .files .files__root { padding-left: 0; }
html.h .toggles li { height: 2.25rem; }
html.h .switch { width: 2.25rem; height: 1.25rem; border-radius: .625rem; }
html.h .switch::after { left: .1875rem; top: .1875rem; width: .875rem; height: .875rem; }
html.h .receipt { gap: .5rem; }
html.h .receipt__bar { height: .25rem; }
html.h .pills { gap: .5rem; }
html.h .pills li { height: 2.5rem; padding: 0 1rem; border-radius: 1.25rem; }
html.h .card__toolbar img { width: 17.75rem; }

/* uses */
html.h .carousel--uses { display: flex; flex-direction: column; justify-content: center; margin-top: 2rem; }
html.h .uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
html.h .use { width: auto; }
html.h .use--person picture { border-radius: 1rem; }
html.h .use__title { gap: .75rem; margin-top: 1.5rem; }
html.h .use__text { margin-top: .5rem; }

/* pricing */
html.h .slide--pricing .body { display: flex; flex-direction: column; justify-content: center; }
html.h .plans { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
html.h .plan { height: 28.25rem; padding: 2rem; border-radius: 1.5rem; }
html.h .plan--main { order: 0; }
html.h .plan__text { margin-top: .5rem; min-height: 3rem; }
html.h .plan__price { margin-top: 1.5rem; gap: .5rem; }
html.h .plan__price b { font-size: 2.375rem; line-height: 1.1579; }
html.h .plan .btn { margin-top: 1.5rem; }
html.h .plan__list { margin-top: 1.5rem; gap: .5rem; }
html.h .badge { height: 1.5rem; padding: 0 .625rem; border-radius: .75rem; }
html.h .plans__foot { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 1.5rem; }

/* faq */
html.h .slide--faq .body { display: block; }
html.h .faq { position: absolute; left: 31.5rem; top: 0; width: 52.5rem; } /* 4.5rem from the card: three gutters */
html.h .faq details:last-child { border-bottom: 0; }
html.h .faq summary { padding: 1.1875rem 0 1.125rem; }
html.h .faq details[open] summary { padding-bottom: .5rem; }
html.h .faq p { padding-bottom: 1.125rem; }
html.h .cta { width: 27rem; height: 100%; padding: 2rem; border-radius: 1.5rem; }
html.h .cta__title { font-size: 1.75rem; line-height: 1.1429; }
html.h .cta__text { display: block; margin-top: 1rem; }
html.h .cta .btns { margin-top: 1.5rem; flex-wrap: nowrap; }
html.h .cta__trial { display: inline-flex; }
html.h .cta .dlink { margin-top: 1rem; }

/* ---------- The motion: one slide steps out, the next steps in ----------
   The slides lie on one another. The script gives the ones near the screen
     --in  : 1 → 0 while a slide comes in (0 = in place)
     --out : 0 → 1 while it goes
   and the change has two clear beats: the pieces of the old slide slip to the left
   and fade, one after another, in the first half; the pieces of the new one come
   from the right in reading order and settle in the second. All of them one way,
   a short way, no turns: the eye follows one line at a time and the screen never
   sweeps as a whole.
     --b, --a : the stretch of --in in which a piece arrives (a → b; later pieces
                have a smaller b, so they settle last)
     --dx     : how far right it starts
     --so     : when it starts to leave (the leaving takes .38 of the way)
     --dxo    : how far left it goes
   Only transform and opacity change. */
html.h .slide { --in: 0; --out: 0; }
html.h .fx, html.h .points li, html.h .faq details {
  --b: .16; --a: calc(var(--b) + .46); --dx: 8rem; --zi: 0;
  --so: 0; --dxo: 5rem;
}
html.h .fx, html.h .points li, html.h .faq details {
  --t: clamp(0, (var(--in) - var(--b)) / (var(--a) - var(--b)), 1);
  --u: clamp(0, (var(--out) - var(--so)) / .38, 1);
  transform: translate3d(calc(var(--t) * var(--t) * var(--dx) - var(--u) * var(--u) * var(--dxo)), 0, 0)
             scale(calc(1 - var(--t) * var(--zi)));
  opacity: calc(1 - var(--t) - var(--u));
}

/* headings: lines rise out of their masks, the first before the second */
html.h .head__main { --b: .2;  --dx: 4rem; --so: 0;   --dxo: 3rem; }
html.h .head__lead { --b: .16; --dx: 7rem; --so: .04; --dxo: 4rem; }
html.h .ln { --ls: .2; --lso: 0; clip-path: inset(-.3em -1em -.24em -1em); }
html.h .ln > span {
  --la: clamp(0, (var(--in) - var(--ls)) / .4, 1);
  --lb: clamp(0, (var(--out) - var(--lso)) / .3, 1);
  transform: translate3d(0, calc((var(--la) * var(--la) - var(--lb) * var(--lb)) * 115%), 0);
}
html.h .ln:nth-child(2) { --ls: .14; --lso: .05; }
html.h .hero__line:nth-child(3) { --lso: .1; }

/* hero: it only ever leaves (and comes back the same way) */
html.h .chip          { --so: 0;   --dxo: 3rem; }
html.h .hero__lead    { --so: .05; --dxo: 5rem; }
html.h .hero__actions { --so: .08; --dxo: 6rem; }
html.h .hero__media   { --so: .1;  --dxo: 8rem; }

/* features: list, then the screen, then the panel */
html.h .points li:nth-child(1) { --b: .14; --dx: 7rem;  --so: .06; }
html.h .points li:nth-child(2) { --b: .12; --dx: 8rem;  --so: .08; }
html.h .points li:nth-child(3) { --b: .1;  --dx: 9rem;  --so: .1; }
html.h .points li:nth-child(4) { --b: .08; --dx: 10rem; --so: .12; }
html.h .media--screen, html.h .media--widths {
  --b: .06; --dx: 12rem; --zi: .04; --so: .08; --dxo: 7rem;
  clip-path: inset(0 0 0 calc(var(--t) * 30%));
}
html.h .tile { --b: 0; --dx: 14rem; --so: .12; --dxo: 8rem; }
html.h .demo__ctrl  { --b: .08; --dx: 9rem;  --so: .1; }
html.h .demo__stage { --b: .04; --dx: 12rem; --so: .08; --dxo: 7rem; }

/* why: column by column, left to right */
html.h .card--html    { --b: .16; --dx: 8rem;  --so: .02; }
html.h .card--price   { --b: .13; --dx: 8rem;  --so: .04; }
html.h .card--files   { --b: .11; --dx: 10rem; --so: .06; }
html.h .card--os      { --b: .08; --dx: 10rem; --so: .08; }
html.h .card--privacy { --b: .06; --dx: 12rem; --so: .1; }
html.h .card--focus   { --b: .03; --dx: 12rem; --so: .12; }

/* uses: one after another */
html.h .use:nth-child(1) { --b: .16; --dx: 7rem;  --so: .04; }
html.h .use:nth-child(2) { --b: .12; --dx: 8rem;  --so: .06; }
html.h .use:nth-child(3) { --b: .08; --dx: 9rem;  --so: .08; }
html.h .use:nth-child(4) { --b: .04; --dx: 10rem; --so: .1; }
html.h .use:nth-child(5) { --b: 0;   --dx: 11rem; --so: .12; }

/* pricing */
html.h .plan--trial { --b: .12; --dx: 8rem;  --so: .04; }
html.h .plan--main  { --b: .07; --dx: 10rem; --so: .07; --zi: .03; }
html.h .plan--team  { --b: .02; --dx: 12rem; --so: .1; }
html.h .plans__foot { --b: 0;   --dx: 8rem;  --so: .12; }

/* questions */
html.h .cta { --b: .12; --dx: 7rem; --so: .04; }
html.h .faq details:nth-child(1) { --b: .1;  --dx: 8rem; }
html.h .faq details:nth-child(2) { --b: .085; --dx: 8.5rem; }
html.h .faq details:nth-child(3) { --b: .07; --dx: 9rem; }
html.h .faq details:nth-child(4) { --b: .055; --dx: 9.5rem; }
html.h .faq details:nth-child(5) { --b: .04; --dx: 10rem; }
html.h .faq details:nth-child(6) { --b: .025; --dx: 10.5rem; }
html.h .faq details:nth-child(7) { --b: .01; --dx: 11rem; }

/* first arrival: the hero builds itself once */
@media (prefers-reduced-motion: no-preference) {
  .is-ready .slide--hero .chip, .is-ready .slide--hero .hero__title, .is-ready .slide--hero .hero__lead, .is-ready .slide--hero .hero__actions { animation: rise .9s var(--ease) backwards; }
  .is-ready .slide--hero .hero__title { animation-delay: .08s; }
  .is-ready .slide--hero .hero__lead { animation-delay: .16s; }
  .is-ready .slide--hero .hero__actions { animation-delay: .24s; }
  .is-ready .slide--hero .hero__media { animation: settle 1.2s var(--ease) .1s backwards; }
  .is-ready .picked { animation: pick .6s var(--ease) .7s backwards; }
  .is-ready .picked__h { animation: pop .4s var(--ease) 1.05s backwards; }
}
@keyframes rise { from { opacity: 0; translate: 0 1.5rem; } }
@keyframes settle { from { opacity: 0; scale: .96; translate: 0 1rem; } }
@keyframes pick { from { box-shadow: inset 0 0 0 1px rgba(31, 53, 255, 0); color: var(--text); } }
@keyframes pop { from { scale: 0; } }

/* less motion: the pieces only cross-fade */
@media (prefers-reduced-motion: reduce) {
  html.h .fx, html.h .points li, html.h .faq details, html.h .ln > span { transform: none; }
  html.h .media--screen, html.h .media--widths { clip-path: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Life inside a slide
   Small things that happen once, when a piece is first in front of the reader (the
   script marks it .is-live). Without the script, or when less motion is asked for,
   everything is simply in its final state.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* check marks arrive one after another */
  .points svg { transition: transform .5s var(--ease), opacity .3s; }
  .js .points[data-live]:not(.is-live) svg { transform: scale(.2); opacity: 0; transition: none; }
  .points li:nth-child(1) svg { transition-delay: .25s; }
  .points li:nth-child(2) svg { transition-delay: .37s; }
  .points li:nth-child(3) svg { transition-delay: .49s; }
  .points li:nth-child(4) svg { transition-delay: .61s; }

  /* the code is typed, a line at a time */
  .js .card--html[data-live]:not(.is-live) .cl { clip-path: inset(0 100% 0 0); }
  .card--html.is-live .cl { animation: type .4s steps(28, end) backwards; }
  .cl:nth-child(1) { animation-delay: .3s; }
  .cl:nth-child(2) { animation-delay: .65s; }
  .cl:nth-child(3) { animation-delay: 1s; }
  .cl:nth-child(4) { animation-delay: 1.35s; }
  .cl:nth-child(5) { animation-delay: 1.7s; }
  .cl:nth-child(6) { animation-delay: 2.05s; }

  /* the folder fills up */
  .files li { transition: opacity .4s, transform .5s var(--ease); }
  .js .card--files[data-live]:not(.is-live) li { opacity: 0; transform: translateX(-.5rem); transition: none; }
  .files li:nth-child(1) { transition-delay: .2s; }
  .files li:nth-child(2) { transition-delay: .3s; }
  .files li:nth-child(3) { transition-delay: .4s; }
  .files li:nth-child(4) { transition-delay: .5s; }
  .files li:nth-child(5) { transition-delay: .6s; }

  /* everything that could phone home is switched off, one by one */
  .switch { transition: background-color .4s; }
  .switch::after { transition: transform .45s var(--ease), background-color .4s; }
  .js .card--privacy[data-live]:not(.is-live) .switch { background: var(--blue); transition: none; }
  .js .card--privacy[data-live]:not(.is-live) .switch::after { transform: translateX(1rem); background: #fff; transition: none; }
  .toggles li:nth-child(1) .switch, .toggles li:nth-child(1) .switch::after { transition-delay: .5s; }
  .toggles li:nth-child(2) .switch, .toggles li:nth-child(2) .switch::after { transition-delay: .8s; }
  .toggles li:nth-child(3) .switch, .toggles li:nth-child(3) .switch::after { transition-delay: 1.1s; }

  /* paid once: the bar runs to the end, then the words */
  .receipt__bar { transform-origin: 0 50%; transition: transform 1s var(--ease) .3s; }
  .receipt__row--muted, .receipt__note { transition: opacity .5s 1.1s; }
  .js .card--price[data-live]:not(.is-live) .receipt__bar { transform: scaleX(0); transition: none; }
  .js .card--price[data-live]:not(.is-live) .receipt__row--muted,
  .js .card--price[data-live]:not(.is-live) .receipt__note { opacity: 0; transition: none; }

  /* the systems, and the tools */
  .pills li { transition: opacity .4s, transform .5s var(--ease); }
  .js .card--os[data-live]:not(.is-live) .pills li { opacity: 0; transform: translateY(.5rem); transition: none; }
  .pills li:nth-child(1) { transition-delay: .3s; }
  .pills li:nth-child(2) { transition-delay: .4s; }
  .pills li:nth-child(3) { transition-delay: .5s; }
  .card__toolbar { transition: opacity .5s .3s, transform .6s var(--ease) .3s; }
  .js .card--focus[data-live]:not(.is-live) .card__toolbar { opacity: 0; transform: translateY(.5rem); transition: none; }
  /* AI design: the prompt is sent, the block is put together, the steps tick in */
  .ais__ask { transition: opacity .4s .15s, translate .5s var(--ease) .15s; }
  .ais__send { transition: scale .3s var(--ease) .9s, opacity .3s .9s; }
  .ais__hero > * { transition: opacity .5s, translate .6s var(--ease); }
  .ais__hero > :nth-child(1) { transition-delay: 1.15s; }
  .ais__hero > :nth-child(2) { transition-delay: 1.3s; }
  .ais__hero > :nth-child(3) { transition-delay: 1.45s; }
  .ais__hero > :nth-child(4) { transition-delay: 1.6s; }
  .ais__hero::after, .ais__hd { transition: opacity .4s 2.05s; }
  .js .media--ai[data-live]:not(.is-live) .ais__ask { opacity: 0; translate: 0 -.6cqw; transition: none; }
  .js .media--ai[data-live]:not(.is-live) .ais__send { scale: .7; opacity: .3; transition: none; }
  .js .media--ai[data-live]:not(.is-live) .ais__hero > * { opacity: 0; translate: 0 1.2cqw; transition: none; }
  .js .media--ai[data-live]:not(.is-live) .ais__hero::after,
  .js .media--ai[data-live]:not(.is-live) .ais__hd { opacity: 0; transition: none; }
  .aip__calls li, .aip__msg, .aip__foot { transition: opacity .4s, translate .5s var(--ease); }
  .aip__calls li:nth-child(1) { transition-delay: 1.1s; }
  .aip__calls li:nth-child(2) { transition-delay: 1.35s; }
  .aip__calls li:nth-child(3) { transition-delay: 1.6s; }
  .aip__calls li:nth-child(4) { transition-delay: 1.85s; }
  .aip__msg, .aip__foot { transition-delay: 2.3s; }
  .js .tile--ai[data-live]:not(.is-live) :is(.aip__calls li, .aip__msg, .aip__foot) { opacity: 0; translate: 0 .5rem; transition: none; }
  /* design systems: the drawing comes in part by part, then the column reads it */
  .sms__sec { transition: opacity .5s, translate .6s var(--ease); }
  .sms__col:nth-child(1) .sms__sec { transition-delay: .2s; }
  .sms__col:nth-child(2) .sms__sec:nth-child(1) { transition-delay: .35s; }
  .sms__col:nth-child(2) .sms__sec:nth-child(2) { transition-delay: .5s; }
  .sms__col:nth-child(2) .sms__sec:nth-child(3) { transition-delay: .65s; }
  .sms__col:nth-child(2) .sms__sec:nth-child(4) { transition-delay: .8s; }
  .sms__btn--primary::after, .sms__hd { transition: opacity .4s 1.1s; }
  .smp__arc { transition: stroke-dasharray 1.4s var(--ease) .9s; }
  .smp__notes li { transition: opacity .4s, translate .5s var(--ease); }
  .smp__notes li:nth-child(1) { transition-delay: 1.1s; }
  .smp__notes li:nth-child(2) { transition-delay: 1.2s; }
  .smp__notes li:nth-child(3) { transition-delay: 1.3s; }
  .smp__notes li:nth-child(4) { transition-delay: 1.4s; }
  .smp__notes li:nth-child(5) { transition-delay: 1.5s; }
  .smp__notes li:nth-child(6) { transition-delay: 1.6s; }
  .smp__notes li:nth-child(7) { transition-delay: 1.7s; }
  .smp__notes li:nth-child(8) { transition-delay: 1.8s; }
  .smp__contrast { transition: opacity .4s 2s; }
  .js .media--sm[data-live]:not(.is-live) .sms__sec { opacity: 0; translate: 0 1.2cqw; transition: none; }
  .js .media--sm[data-live]:not(.is-live) .sms__hd,
  .js .media--sm[data-live]:not(.is-live) .sms__btn--primary::after { opacity: 0; transition: none; }
  .js .media--sm[data-live]:not(.is-live) .smp__arc { stroke-dasharray: 0 100; transition: none; }
  .js .media--sm[data-live]:not(.is-live) :is(.smp__notes li, .smp__contrast) { opacity: 0; translate: 0 .6cqw; transition: none; }
  .smt__pane { transition: opacity .5s, translate .6s var(--ease); }
  .smt__pane:nth-child(2) { transition-delay: .9s; }
  .smt__pane--dark { transition-delay: 1.5s; }
  .js .tile--sm[data-live]:not(.is-live) .smt__pane { opacity: 0; translate: 0 .5rem; transition: none; }
}
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* under the pointer: a soft light that follows it across a card (--mx, --my from the script) */
@media (hover: hover) and (pointer: fine) {
  .card, .plan { transition: border-color .3s; }
  .card::before, .plan::before {
    content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgba(125, 139, 255, .13), rgba(125, 139, 255, 0) 70%);
    opacity: 0; transition: opacity .4s;
  }
  .card:hover, .plan:hover { border-color: var(--outline); }
  .plan--main:hover { border-color: var(--blue-hover); }
  .card:hover::before, .plan:hover::before { opacity: 1; }
  .use--person:hover img { transform: scale(1.04); }
}

/* ============================================================
   Optical centre
   A line box centres a font's ascent + descent, which in Manrope leaves the capitals a
   little low on a 1.5 line. In buttons and pills the capitals are put on the axis:
   measured on the rendered page (the ink of the first capital against the middle of the
   button), that is a lift of .034em on a 1.5 line and none on 1.43. The chip is centred
   by its small letters instead (asked for so), .04em on its 1.33 line. An icon beside
   text is lowered by the same lift, so in a pill it stays on the axis.
   (These rules come last: they add to the paddings above.)
   */
:root { --xo: .034em; }
.btn, .pills li, .seg span,
html.h .pills li { padding-bottom: calc(2 * var(--xo)); }
.btn svg, .terms svg, .points svg, .plan__list svg, .dlink svg, .secure svg, .pm { position: relative; top: var(--xo); }
html.h .nav__links a:not(.btn) { position: relative; top: calc(-1 * var(--xo)); }
@media (min-width: 1024px) { .nav__links a:not(.btn) { position: relative; top: calc(-1 * var(--xo)); } }

/* ============================================================
   Dialogs
   ============================================================ */
html.is-modal { overflow: hidden; }
.modal {
  width: min(35rem, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 2rem;
  border: 1px solid var(--edge); border-radius: 1.5rem; background: var(--surface); color: var(--text);
  overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.modal--wide { width: min(40rem, calc(100% - 32px)); }
.modal::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; translate: 0 1rem; scale: .98; } }
@keyframes fade-in { from { opacity: 0; } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal__title { font: 700 1.75rem/1.1429 var(--display); letter-spacing: -.015em; }
.modal__close { width: 2.5rem; height: 2.5rem; }
.modal__close svg { width: 1.125rem; height: 1.125rem; }
.modal__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.steps { margin-top: 1.5rem; }
.steps li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--edge); color: var(--text-2); }
.steps span { font: 400 .75rem/1.5rem var(--mono); color: var(--blue-ink); }
.note { display: flex; gap: .75rem; margin-top: 1.5rem; padding: 1rem; border-radius: .75rem; background: var(--control); font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.note svg { width: 1rem; height: 1rem; }

.checkout { display: flex; flex-direction: column; }
.seg { display: flex; margin-top: 1.25rem; padding: .25rem; border: 0; border-radius: 1.375rem; background: var(--control); }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 2.25rem; border-radius: 1.125rem; font-weight: 600; color: var(--text-3); cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--text); color: var(--page); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.order { display: flex; flex-direction: column; gap: .25rem; margin-top: 1.25rem; padding: 1.25rem; border-radius: 1rem; background: var(--control); }
.order__label { font: 600 .75rem/1.3333 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); }
.order__name { font-weight: 600; }
.order__meta { font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.order__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--edge); color: var(--text-2); font-weight: 500; }
.order__total b { font: 700 1.3125rem/1.3333 var(--display); color: var(--text); }
.field { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.25rem; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
.field__label { display: flex; justify-content: space-between; gap: 8px; font: 600 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-2); }
.field__label span { font-weight: 500; color: var(--text-4); }
.field__hint { margin-top: .5rem; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.input { width: 100%; height: 3rem; padding: 0 1rem; border: 1px solid var(--outline); border-radius: .75rem; background: var(--page); outline: 0; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--text-4); }
.input:hover { border-color: var(--outline-hover); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 53, 255, .25); }
.input[aria-invalid="true"] { border-color: #ff5f57; }
.input--area { height: 5.5rem; padding: .75rem 1rem; resize: vertical; line-height: 1.5; }
/* copies: a stepper as tall as a field, the label on its line */
.field--qty { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
.field--qty .field__label { font-size: .875rem; line-height: 1.4286; letter-spacing: 0; color: var(--text); }
.qty { display: flex; gap: .5rem; }
.qty__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--outline); border-radius: .75rem; color: var(--text); transition: border-color .2s, opacity .2s; }
.qty__btn:hover:not(:disabled) { border-color: var(--outline-hover); }
.qty__btn:disabled { opacity: .35; cursor: default; }
.qty__btn svg { width: 1.125rem; height: 1.125rem; }
.qty__input { width: 4rem; padding: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.order__total > span span { color: var(--text-3); }
/* the company's details, for the invoice */
.bill { margin: 1.5rem 0 0; padding: 1.25rem 0 0; border: 0; border-top: 1px solid var(--edge); }
.bill[hidden] { display: none; }
.bill__title { float: left; width: 100%; padding: 0; font: 600 .875rem/1.4286 var(--sans); }  /* floated: a legend then lays out as a heading */
.bill__title + .field { clear: both; margin-top: 0; padding-top: 1rem; }
.input--mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.input--mono::placeholder { font-family: var(--sans); letter-spacing: 0; }
.input:disabled { opacity: .45; cursor: not-allowed; }
.field__hint.is-error { color: #ff7a73; }
.consent { position: relative; display: flex; gap: .75rem; margin-top: 1.25rem; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-2); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1rem; height: 1rem; margin: 0; }
.consent__box { display: grid; place-items: center; width: 1rem; height: 1rem; border: 1px solid var(--outline); border-radius: .25rem; transition: background-color .2s, border-color .2s; }
.consent__box svg { width: .75rem; height: .75rem; opacity: 0; }
.consent input:checked + .consent__box { background: var(--blue); border-color: var(--blue); }
.consent input:checked + .consent__box svg { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: #ff5f57; }
.consent a { text-decoration: underline; text-decoration-color: var(--outline); text-underline-offset: .1875rem; }
.consent a:hover { color: var(--text); text-decoration-color: currentColor; }
.secure { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; margin-top: 1.25rem; font: 500 .75rem/1.3333 var(--sans); letter-spacing: .02em; color: var(--text-3); }
.secure svg { width: .875rem; height: .875rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* phones: dialogs become bottom sheets */
@media (max-width: 639px) {
  .modal, .modal--wide { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; border-bottom: 0; }
  .modal[open] { animation: sheet-in .4s var(--ease); }
  .modal__title { font-size: 1.3125rem; line-height: 1.3333; }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
  .secure { justify-content: center; }
}
@keyframes sheet-in { from { translate: 0 100%; } }
