/* Olly — ollyagent.com
   The light theme of the app (Theme.kt, Olly 3.4.2), at page scale. */
:root {
  /* Layout idea: the app's machine panels as a page — a cool white ground, square panels on hairlines,
     one ink plate where Olly works. Mint means one thing only: something is running right now. */
  --ground: #F4F5F3;
  --plate: #E6E9E5;
  --plate-hi: #EEF0ED;
  --paper: #FFFFFF;
  --ink: #072743;
  --mute: #56616C;
  --rule: #D2D6D2;
  --outline: #8E948F;
  --live: #00DF84;
  --live-ink: #007A48;
  --badge: #072743;
  --badge-2: #0F3354;
  --badge-text: #F4EEE8;
  --badge-mute: #A9BBCC;
  --badge-rule: #1E4366;
  --badge-off: #3A5A78;
  --font: "Olly Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: 112%;
  --r: 6px;
  --nav-h: 64px;
  --gut: clamp(18px, 4vw, 40px);
  --max: 1240px;
  --sec: clamp(64px, 8.5vw, 124px);
  color-scheme: light;
}

@font-face {
  font-family: "Olly Sans";
  src: url(fonts/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0178, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2192, U+2212, U+2248;
}
/* Cyrillic: Archivo has none; Roboto Flex at the same width is what the app itself shows on a Russian phone. */
@font-face {
  font-family: "Olly Sans";
  src: url(fonts/roboto-flex-cyrillic.woff2) format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.defs { position: absolute; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-stretch: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.1rem + 6.3vw, 5.6rem); line-height: .98; letter-spacing: -.032em; }
h2 { font-size: clamp(1.9rem, 1.15rem + 2.7vw, 3.1rem); line-height: 1.05; letter-spacing: -.024em; }
h3 { font-size: 1.28rem; line-height: 1.22; font-weight: 650; letter-spacing: -.01em; }
:lang(ru) h1 { letter-spacing: -.02em; }
:lang(ru) h2 { letter-spacing: -.012em; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.45; max-width: 46ch; text-wrap: pretty; }
.fine { font-size: .9rem; line-height: 1.5; color: var(--mute); max-width: 78ch; }
.quiet { color: var(--mute); }
.num, .plan__num, .count, .reading, .race__val { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.plate :focus-visible, .bubble:focus-visible { outline-color: var(--badge-text); }

/* ---------- controls: the one radius ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  background: var(--ink); color: var(--ground);
  border: 1px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--badge-2); }
.btn:active { background: #04192D; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--outline); }
.btn--line:hover { background: var(--plate); }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- nav: the app's tab bar, ink bar above the chosen tab ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--ground); border-bottom: 1px solid var(--rule); }
.nav__in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--nav-h); }
.brand { display: block; margin-right: auto; flex: none; }
.brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-self: stretch; gap: 4px; }
.nav__links a {
  position: relative; display: flex; align-items: center; padding: 0 14px;
  color: var(--mute); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.nav__links a::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::before { transform: scaleX(1); }

.lang { position: relative; flex: none; }
.lang summary {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px;
  border: 1px solid var(--rule); border-radius: var(--r);
  font-weight: 600; font-size: .9rem; letter-spacing: .02em; cursor: pointer; list-style: none; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--plate-hi); }
.lang[open] summary svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 168px;
  background: var(--ground); border: 1px solid var(--outline); padding: 4px;
}
.lang__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 10px; color: var(--ink); text-decoration: none; font-size: .95rem; border-radius: 4px; }
.lang__menu a span { color: var(--mute); font-weight: 600; font-size: .82rem; letter-spacing: .03em; }
.lang__menu a:hover { background: var(--plate); }
.lang__menu a[aria-current="true"] { font-weight: 650; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 68px) var(--sec); }
.hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 26px; align-items: end; }
.hero__top h1 { grid-column: 1 / span 8; }
/* the page's one entrance: the two lines of the headline rise once, then Olly starts working */
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; }
h1 .ln { display: block; overflow: hidden; padding-block: .12em .14em; margin-block: -.12em -.14em; }
h1 .ln > span { display: block; animation: rise .8s cubic-bezier(.16,.84,.24,1) both; }
h1 .ln:nth-child(2) > span { animation-delay: .09s; }
@keyframes rise { from { transform: translateY(108%); } }
.hero__side { grid-column: 9 / span 4; display: grid; gap: 18px; padding-bottom: .5rem; }
.hero__sub { font-size: 1.06rem; line-height: 1.5; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__note { font-size: .9rem; color: var(--mute); }

/* ---------- the bench: where Olly works ---------- */
.bench { margin-top: clamp(36px, 4.6vw, 60px); }
.bench__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.bench__ask > p { font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--outline); border-radius: var(--r);
  font-weight: 600; font-size: .94rem; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { background: var(--plate); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }

.plate {
  position: relative; background: var(--badge); color: var(--badge-text);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(20px, 2.6vw, 34px) clamp(18px, 3vw, 40px) clamp(16px, 2vw, 24px);
}
.plate__main { display: flex; flex-direction: column; min-width: 0; }
.plate__head { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding-bottom: 18px; border-bottom: 1px solid var(--badge-rule); }
.plate__say { flex: 1; min-width: 0; }
.plate__status { font-stretch: var(--display); font-weight: 650; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.15; letter-spacing: -.012em; transition: color .2s; }
.bench[data-state="working"] .plate__status { color: var(--live); }
.plate__req { margin-top: 5px; color: var(--badge-mute); font-size: 1.08rem; line-height: 1.4; min-height: 2.8em; max-width: 56ch; text-wrap: pretty; }
.plate__req::before { content: open-quote; }
.plate__req::after { content: close-quote; }
:lang(fr) .plate__req { quotes: "«\00a0" "\00a0»"; }
:lang(en) .plate__req { quotes: "“" "”"; }
:lang(es) .plate__req, :lang(ru) .plate__req { quotes: "«" "»"; }
.plate__req:empty::before, .plate__req:empty::after { content: none; }
.plate__req .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--badge-mute); animation: caret 1s steps(2, jump-none) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.stop { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--badge-2); border: 0; border-radius: var(--r); cursor: pointer; }
.stop span { width: 14px; height: 14px; background: var(--badge-text); border-radius: 2px; }
.stop:hover { background: #17426B; }

.steps { margin-top: 20px; display: grid; gap: 9px; align-content: start; min-height: calc(var(--n, 5) * 31px + 6px); }
.steps li { display: grid; grid-template-columns: 26px 1fr; align-items: center; color: var(--badge-mute); font-size: 1.03rem; line-height: 1.3; }
.steps li svg { width: 16px; height: 16px; }
.steps li.now { color: var(--badge-text); font-weight: 600; font-size: 1.2rem; }
.steps li .dot { position: relative; width: 9px; height: 9px; margin-left: 3px; border-radius: 50%; background: var(--live); }
.steps li .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: var(--live); opacity: .25; animation: breathe 1.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.55); } 50% { transform: scale(1.15); } }
.steps li.in { animation: stepin .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes stepin { from { opacity: 0; transform: translateY(6px); } }

.plate__read { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; min-height: 2.9rem; }
.count { font-stretch: var(--display); font-weight: 700; font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.3rem); line-height: 1; letter-spacing: -.025em; transition: color .3s; }
.bench[data-state="working"] .count { color: var(--live); }
.count:empty { display: none; }
.reading { color: var(--badge-mute); font-size: .86rem; font-weight: 500; }
.plate__answer { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 1.2rem; line-height: 1.38; max-width: 48ch; min-height: 4.2em; text-wrap: pretty; }
.plate__answer.in { animation: stepin .4s cubic-bezier(.2,.7,.2,1) both; }
.plate__note { grid-column: 1 / -1; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--badge-rule); color: var(--badge-mute); font-size: .82rem; }

/* Olly himself: the traced head of the logo; only what moves is drawn (Owl.kt). */
.owl { position: relative; display: block; flex: none; width: clamp(72px, 7.4vw, 104px); aspect-ratio: 1300 / 1004; }
.owl__in { position: absolute; inset: 0; transform: translateY(calc(var(--bob, 0) * 1%)); }
.owl img, .owl svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.owl__eye, .owl__slit { fill: var(--badge-text); }
.owl__smile { fill: none; stroke: var(--badge-text); stroke-width: 40; stroke-linecap: round; display: none; }
.owl__light { fill: var(--badge-off); }
.owl__glow { fill: var(--live); opacity: 0; }
.owl[data-mood="working"] .owl__light { fill: var(--live); }
.owl[data-mood="working"] .owl__glow { opacity: .32; }
.owl[data-mood="done"] .owl__eye { display: none; }
.owl[data-mood="done"] .owl__smile { display: block; }
.owl--sm { width: 44px; }

/* the stage: a 9:16 screen */
.stage { align-self: center; display: grid; justify-items: center; gap: 10px; padding-block: 2px; }
.screen {
  position: relative; width: clamp(214px, 21vw, 262px); aspect-ratio: 9 / 16; overflow: hidden;
  container-type: size; background: #0B1F33; border: 1px solid var(--badge-rule); isolation: isolate;
}
.stage__cap { max-width: 262px; min-height: 2.7em; text-align: center; color: var(--badge-mute); font-size: .82rem; line-height: 1.35; text-wrap: balance; }
.st { position: absolute; inset: 0; overflow: hidden; }

/* -- motion design: a client's piece, scrubbed by --p / --q that site.js sets from the time -- */
.k { --p: 0; --q: 0; }
.piece { position: absolute; inset: 0; overflow: hidden; background: #EDB56D; color: #2A190E; font-stretch: 78%; font-weight: 800; }
.k-rise { overflow: hidden; opacity: calc(1 - var(--q)); transform: translateY(calc(var(--q) * -35%)); }
.k-rise > i { display: block; font-style: normal; transform: translateY(calc((1 - var(--p)) * 112%)); }
.k-drop { transform: translateY(calc((1 - var(--p)) * -150cqh)); }
.k-left { transform: translateX(calc((1 - var(--p)) * -120cqw)); }
.k-right { transform: translateX(calc((1 - var(--p)) * 120cqw)); }
.k-grow { transform: scaleY(var(--p)); transform-origin: 50% 100%; }
.k-pop { transform: scale(var(--p)); opacity: calc(1 - var(--q)); }
.k-fade { opacity: calc(var(--p) * (1 - var(--q))); }
.k-span { opacity: calc(1 - var(--q)); }
.k-wipe { transform: translateY(calc((1 - var(--p)) * 101% - var(--q) * 101%)); }
.pc-case { position: absolute; left: 17cqw; width: 66cqw; top: 49cqh; height: 36cqh; }
.pc-case .b { position: absolute; background: #8A4F1F; }
.pc-case .sl { left: 0; top: 0; bottom: 0; width: 3.4cqw; }
.pc-case .sr { right: 0; top: 0; bottom: 0; width: 3.4cqw; }
.pc-case .tp { left: 0; right: 0; top: 0; height: 3.4cqw; }
.pc-case .s1 { left: 0; right: 0; top: 33.3%; height: 3cqw; background: #A9662A; }
.pc-case .s2 { left: 0; right: 0; top: 66.6%; height: 3cqw; background: #A9662A; }
.pc-case .bt { left: 0; right: 0; bottom: 0; height: 3.4cqw; }
.pc-case .bk { position: absolute; width: 5.4cqw; background: #2A190E; }
.pc-case .bk1 { left: 8cqw; height: 13cqw; background: #FFF6E6; }
.pc-case .bk2 { left: 14.4cqw; height: 16cqw; }
.pc-case .bk3 { left: 20.8cqw; height: 11cqw; background: #C4491F; }
.pc-case .bk4 { left: 36cqw; height: 15cqw; background: #FFF6E6; }
.pc-case .bk5 { left: 42.4cqw; height: 12cqw; }
.pc-case .bk6 { left: 12cqw; bottom: 3.4cqw; height: 14cqw; background: #C4491F; }
.pc-case .bk7 { left: 18.4cqw; bottom: 3.4cqw; height: 17cqw; background: #FFF6E6; }
.pc-case .bk1, .pc-case .bk2, .pc-case .bk3 { bottom: calc(100% - 33.3%); }
.pc-case .bk4, .pc-case .bk5 { bottom: calc(100% - 66.6%); }
.pc-dim { position: absolute; left: 0; right: 0; top: calc(100% + 4cqw); height: 6cqw; }
.pc-dim::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: .6cqw; background: #2A190E; transform: scaleX(var(--p)); transform-origin: 0 50%; }
.pc-dim::after { content: ""; position: absolute; inset: 0; border-inline: .6cqw solid #2A190E; opacity: var(--p); }
.pc-dim span { position: absolute; left: 50%; top: 110%; transform: translateX(-50%); font-size: 5.6cqw; font-weight: 700; font-stretch: 100%; opacity: var(--p); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-code { position: absolute; inset: 0; padding: 9cqw 8cqw; display: grid; align-content: start; gap: 3.2cqw; }
.pc-code i { display: block; height: 2cqw; width: var(--w); background: var(--badge-rule); transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--code, 0) * 15 - var(--n)), 1)); }
.pc-code i:nth-child(3n+1) { background: var(--badge-off); }
.piece { opacity: var(--o, 0); }
.pc-g { position: absolute; left: 9cqw; right: 6cqw; top: 8cqh; display: grid; justify-items: start; gap: 1cqw; }
.pc-g2 { top: 10cqh; }
.pc-g4 { top: 29cqh; gap: 2.4cqw; }
.pc-t { line-height: 1.02; letter-spacing: -.01em; padding-bottom: .1em; }
.pc-t .nb { white-space: nowrap; }
.pc-name { font-size: 30cqw; font-weight: 900; letter-spacing: -.03em; line-height: .92; }
.pc-job { font-size: 13cqw; font-weight: 700; }
.pc-l1, .pc-l2 { font-size: 15.4cqw; }
.pc-l3a, .pc-l3b { font-size: 13cqw; }
.pc-l3n { font-size: 40cqw; font-weight: 900; line-height: .86; padding-bottom: 0; transform-origin: 10% 70%; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.pc-wipe { position: absolute; inset: 0; background: #2A190E; }
.pc-l4, .pc-l4b { color: #FFF6E6; }
.pc-l4 { font-size: 19cqw; }
.pc-l4b { font-size: 13cqw; color: #EDB56D; }
.pc-cta { margin-top: 5cqw; transform-origin: 0 50%; }
.pc-cta span { display: block; padding: 3.2cqw 5.4cqw; background: #EDB56D; color: #2A190E; font-size: 8.4cqw; font-weight: 800; border-radius: 1.6cqw; line-height: 1.1; }
:lang(ru) .piece { font-stretch: 72%; }
:lang(ru) .pc-l1, :lang(ru) .pc-l2 { font-size: 14cqw; }
:lang(ru) .pc-l4 { font-size: 15.6cqw; }
:lang(es) .pc-l4 { font-size: 15.4cqw; }
:lang(es) .pc-job, :lang(ru) .pc-job { font-size: 12cqw; }

/* -- talking-head edit: what auto_edit does to a clip -- */
.st-edit { background: #101C29; display: grid; grid-template-rows: 1fr auto; }
.ed-video { position: relative; overflow: hidden; background: #E7B36F; }
.ed-scene { position: absolute; inset: 0; transform-origin: 50% 46%; }
.ed-board { position: absolute; background: #C98B45; }
.ed-board.e1 { left: 8%; top: 0; width: 9%; height: 62%; }
.ed-board.e2 { left: 22%; top: 0; width: 6%; height: 48%; background: #B67A38; }
.ed-board.e3 { right: 10%; top: 0; width: 12%; height: 70%; background: #D79A55; }
.ed-bust { position: absolute; left: 50%; bottom: -6%; width: 78%; height: 44%; transform: translateX(-50%); background: #2A190E; border-radius: 46% 46% 0 0 / 60% 60% 0 0; }
.ed-head { position: absolute; left: 50%; bottom: 33%; width: 38%; aspect-ratio: 1 / 1.16; transform: translateX(-50%); background: #7A4A22; border-radius: 48% 48% 46% 46%; }
.ed-cap {
  position: absolute; left: 6%; right: 6%; bottom: 7%; display: flex; flex-wrap: wrap; justify-content: center; gap: .18em .32em;
  font-weight: 800; font-size: 6.6cqw; line-height: 1.12; color: #fff; text-align: center; opacity: 0; transition: opacity .3s;
  text-shadow: 0 .06em 0 rgba(42,25,14,.55);
}
.ed-cap span { padding: .04em .16em; border-radius: .14em; opacity: 0; }
.ed-cap span.on { opacity: 1; }
.ed-cap span.cur { background: #fff; color: #2A190E; text-shadow: none; }
.st-edit[data-ph="3"] .ed-cap, .st-edit[data-ph="4"] .ed-cap, .st-edit[data-ph="5"] .ed-cap { opacity: 1; }
.ed-tl { padding: 3.4cqw 4cqw 4.4cqw; background: #101C29; color: var(--badge-mute); }
.ed-meta { display: flex; justify-content: space-between; font-size: 4.6cqw; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 2.4cqw; }
.ed-lufs { opacity: 0; transition: opacity .3s; }
.st-edit[data-ph="4"] .ed-lufs, .st-edit[data-ph="5"] .ed-lufs { opacity: 1; }
.ed-track { position: relative; height: 15cqw; }
.ed-bars { display: flex; align-items: center; gap: .7cqw; height: 100%; }
.ed-bars i { flex: none; width: 1.3cqw; height: calc(var(--h) * 100%); min-height: 1cqw; background: var(--badge-mute); border-radius: 1cqw; transition: height .5s cubic-bezier(.2,.7,.2,1), width .55s cubic-bezier(.5,0,.2,1), margin .55s cubic-bezier(.5,0,.2,1), opacity .3s, background-color .3s; }
.ed-bars i.cut { background: #E8623A; }
.st-edit:not([data-ph="0"]) .ed-bars i { height: calc(var(--c) * 100%); }
.st-edit[data-ph="2"] .ed-bars i.cut, .st-edit[data-ph="3"] .ed-bars i.cut, .st-edit[data-ph="4"] .ed-bars i.cut, .st-edit[data-ph="5"] .ed-bars i.cut { width: 0; margin-right: -.7cqw; opacity: 0; }
.st-edit[data-ph="4"] .ed-bars i, .st-edit[data-ph="5"] .ed-bars i { height: calc(var(--l) * 100%); background: var(--badge-text); }
.ed-target { position: absolute; left: 0; right: 0; top: 14%; border-top: 1px dashed var(--live); opacity: 0; transition: opacity .3s; }
.st-edit[data-ph="4"] .ed-target { opacity: .9; }
.ed-play { position: absolute; top: -6%; bottom: -6%; left: 0; width: 2px; background: var(--badge-text); opacity: 0; }
.st-edit[data-ph="5"] .ed-play { opacity: 1; }

/* -- an automation: the app's light screen -- */
.st-auto, .st-send { background: var(--ground); color: var(--ink); padding: 7cqw 6cqw; }
.au-title { font-stretch: var(--display); font-weight: 700; font-size: 8.2cqw; letter-spacing: -.02em; line-height: 1.1; }
.au-empty { margin-top: 4cqw; font-size: 5cqw; line-height: 1.4; color: var(--mute); transition: opacity .25s; }
.au-card { margin-top: 4cqw; padding: 4cqw 0; border-block: 1px solid var(--rule); opacity: 0; transform: translateY(4cqw); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); position: absolute; left: 6cqw; right: 6cqw; top: 17cqw; }
.au-name { font-weight: 650; font-size: 5.8cqw; line-height: 1.25; }
.au-mission { margin-top: 1.4cqw; font-size: 4.6cqw; line-height: 1.4; color: var(--mute); }
.au-read { margin-top: 2.2cqw; font-size: 4.5cqw; font-weight: 500; font-variant-numeric: tabular-nums; }
.st-auto:not([data-ph="0"]) .au-empty { opacity: 0; }
.st-auto:not([data-ph="0"]) .au-card { opacity: 1; transform: none; }
.au-day { position: absolute; left: 6cqw; right: 6cqw; top: 76cqw; display: flex; justify-content: space-between; align-items: baseline; font-size: 4.6cqw; color: var(--mute); opacity: 0; transition: opacity .4s; }
.au-clock { font-stretch: var(--display); font-weight: 700; font-size: 12cqw; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.au-notif { position: absolute; left: 5cqw; right: 5cqw; top: 96cqw; padding: 4cqw; background: var(--paper); border: 1px solid var(--outline); opacity: 0; transform: translateY(-5cqw); transition: opacity .35s .25s, transform .5s .25s cubic-bezier(.2,.7,.2,1); }
.au-nhead { display: flex; align-items: center; gap: 2cqw; font-size: 4.2cqw; color: var(--mute); }
.au-nhead img { width: 6.4cqw; height: auto; }
.au-nhead b { color: var(--ink); font-weight: 650; }
.au-nhead span { margin-left: auto; font-variant-numeric: tabular-nums; }
.au-ntitle { margin-top: 2.4cqw; font-weight: 650; font-size: 5.2cqw; line-height: 1.25; }
.au-ntext { margin-top: 1.2cqw; font-size: 4.6cqw; line-height: 1.4; }
.st-auto[data-ph="2"] .au-day, .st-auto[data-ph="2"] .au-notif { opacity: 1; transform: none; }

/* -- a message sent: Olly presses the other app's buttons -- */
.st-send > div { position: absolute; inset: 0; padding: 7cqw 6cqw; opacity: 0; transition: opacity .3s; }
.st-send[data-ph="0"] .sd-contact, .st-send[data-ph="1"] .sd-contact, .st-send[data-ph="2"] .sd-compose, .st-send[data-ph="3"] .sd-thread { opacity: 1; }
.sd-av { flex: none; display: grid; place-items: center; width: 22cqw; height: 22cqw; border-radius: 50%; background: var(--ink); color: var(--ground); font-style: normal; font-weight: 700; font-size: 9.4cqw; font-stretch: var(--display); }
.sd-av--sm { width: 10cqw; height: 10cqw; font-size: 4.6cqw; }
.sd-contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqw; text-align: center; }
.sd-contact p { display: grid; gap: .6cqw; }
.sd-contact b { font-size: 7.4cqw; font-weight: 650; }
.sd-contact span { font-size: 4.8cqw; color: var(--mute); }
.st-send[data-ph="0"] .sd-contact { opacity: .35; }
.sd-bar { display: flex; align-items: center; gap: 3cqw; padding-bottom: 4cqw; border-bottom: 1px solid var(--rule); font-size: 5.6cqw; }
.sd-bar b { font-weight: 650; }
.sd-thumb { width: 44cqw; aspect-ratio: 9 / 16; margin: 6cqw auto 0; padding: 4cqw 3.4cqw; background: #EDB56D; color: #2A190E; display: grid; align-content: start; font-stretch: 78%; line-height: 1; }
.sd-thumb b { font-size: 13cqw; font-weight: 900; letter-spacing: -.03em; }
.sd-thumb span { font-size: 5.6cqw; font-weight: 700; margin-top: 1cqw; }
.sd-row { position: absolute; left: 6cqw; right: 6cqw; bottom: 7cqw; display: flex; align-items: center; gap: 3cqw; }
.sd-field { flex: 1; min-height: 12cqw; padding: 2.6cqw 3.4cqw; border: 1px solid var(--outline); border-radius: 2.4cqw; font-size: 4.6cqw; line-height: 1.35; background: var(--paper); }
.sd-go { flex: none; display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 2.4cqw; background: var(--ink); }
.sd-go i { width: 0; height: 0; border-block: 2.2cqw solid transparent; border-left: 3.6cqw solid var(--ground); margin-left: .8cqw; }
.sd-tap { position: absolute; right: 6cqw; bottom: 7cqw; width: 12cqw; height: 12cqw; border-radius: 50%; border: .9cqw solid var(--live-ink); opacity: 0; transform: scale(2.2); pointer-events: none; }
.st-send.tap .sd-tap { animation: tap .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tap { 0% { opacity: 0; transform: scale(2.4); } 45% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.5); } }
.sd-bubble { margin: 6cqw 0 0 auto; width: 58cqw; padding: 3cqw; background: var(--plate); border-radius: 2.4cqw; }
.sd-bubble .sd-thumb { width: 100%; margin: 0; }
.sd-msg { margin-top: 2.6cqw; font-size: 4.6cqw; line-height: 1.35; }
.sd-ok { margin-top: 1.6cqw; display: flex; align-items: center; justify-content: flex-end; gap: 1.2cqw; font-size: 4cqw; font-weight: 600; color: var(--mute); }
.sd-ok svg { width: 4.2cqw; height: 4.2cqw; }
.st-send[data-ph="3"] .sd-bubble { animation: stepin .4s cubic-bezier(.2,.7,.2,1) both; }

/* the band folded into a small Olly, as on the phone (Band.kt, BubbleView) */
.bubble {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: 18px; z-index: 40;
  width: 68px; height: 68px; padding: 0; display: grid; place-items: center; align-content: center; gap: 0;
  background: var(--badge); border: 1px solid var(--badge-rule); border-radius: 50%; cursor: pointer;
  animation: bubblein .3s cubic-bezier(.2,.7,.2,1) both;
}
.bubble__step { color: var(--badge-mute); font-size: .62rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 1px; white-space: nowrap; }
@keyframes bubblein { from { opacity: 0; transform: scale(.6); } }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); border-top: 1px solid var(--rule); }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 18px; align-items: end; margin-bottom: clamp(32px, 4.4vw, 60px); }
.sec__head h2 { grid-column: 1 / span 7; }
.sec__head .lead { grid-column: 8 / span 5; }

/* five real requests, filmed */
.hero { padding-bottom: clamp(48px, 6vw, 80px); }
.reel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.case { display: grid; gap: 12px; align-content: start; }
.case video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--badge); border: 1px solid var(--rule); }
.case figcaption { display: grid; gap: 3px; font-size: .95rem; line-height: 1.4; }
.case figcaption b { font-weight: 650; font-size: 1.02rem; }
.reel__note { margin-top: 18px; }

/* the ledger: you say / Olly does */
.ledger__cols, .group { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr); column-gap: 24px; }
.ledger__cols { color: var(--mute); font-size: .9rem; font-weight: 600; padding-bottom: 10px; }
.ledger__cols > div { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 5.2fr); column-gap: 24px; }
.group { border-top: 1px solid var(--ink); }
.group__verb { position: sticky; top: calc(var(--nav-h) + 18px); align-self: start; padding-block: 22px; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.row { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 5.2fr); column-gap: 24px; padding-block: 22px; border-top: 1px solid var(--rule); }
.row:first-child { border-top: 0; }
.say { font-size: 1.14rem; line-height: 1.4; font-weight: 500; text-wrap: pretty; max-width: 34ch; }
.does { display: grid; gap: 6px; align-content: start; }
.does p { max-width: 58ch; }
.tool { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.tool svg { flex: none; }

/* automations */
.auto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 40px; align-items: start; }
.auto__left { display: grid; gap: 16px; max-width: 54ch; }
.auto__left h3:not(:first-child) { margin-top: 16px; }
.plain { display: grid; }
.plain li { padding: 9px 0; border-top: 1px solid var(--rule); }
.plain li:last-child { border-bottom: 1px solid var(--rule); }
.modes { display: grid; gap: 0; }
.modes > div { display: grid; grid-template-columns: 8.2em 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); }
.modes > div:last-child { border-bottom: 1px solid var(--rule); }
.modes dt { font-weight: 650; }
.auto__right { min-width: 0; display: grid; gap: 14px; }
.tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--rule); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; padding: 14px 16px 12px 0; margin-right: 12px; background: none; border: 0; cursor: pointer;
  color: var(--mute); font-weight: 600; font-size: .96rem; white-space: nowrap;
}
.tab::before { content: ""; position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::before { transform: scaleX(1); }
.tabpanel { padding: 22px clamp(16px, 2.4vw, 28px) 24px; background: var(--plate-hi); border: 1px solid var(--rule); display: grid; gap: 6px; }
.tp-label { font-size: .86rem; font-weight: 600; color: var(--mute); }
.tp-label:not(:first-child) { margin-top: 12px; }
.tp-mission { font-size: 1.08rem; line-height: 1.5; text-wrap: pretty; }
.notif { margin-top: 18px; display: grid; gap: 8px; justify-items: start; }
.notif__card { width: min(100%, 440px); padding: 16px 18px 18px; background: var(--paper); border: 1px solid var(--outline); display: grid; gap: 4px; }
.notif__head { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--mute); }
.notif__head img { width: 26px; height: auto; }
.notif__head b { color: var(--ink); font-weight: 650; }
.notif__head span { margin-left: auto; }
.notif__title { margin-top: 6px; font-weight: 650; font-size: 1.06rem; }
.notif__dlabel { margin-top: 10px; font-size: .84rem; font-weight: 600; color: var(--mute); }
.notif__draft { padding: 10px 12px; background: var(--plate-hi); border-left: 2px solid var(--ink); }
.notif__send { margin-top: 12px; justify-self: start; cursor: default; }
.notif figcaption { font-size: .86rem; color: var(--mute); }

/* control: six facts on hairlines */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.facts > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); column-gap: 20px; padding: 20px 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 650; font-size: 1.06rem; line-height: 1.3; text-wrap: balance; }
.facts dd { color: var(--ink); max-width: 46ch; }

/* measured */
.race { margin-bottom: clamp(32px, 4vw, 52px); padding: clamp(18px, 2.6vw, 30px); background: var(--plate-hi); border: 1px solid var(--rule); }
.race figcaption { font-weight: 650; font-size: 1.1rem; margin-bottom: 18px; text-wrap: balance; }
.race__row { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 5.2em; align-items: center; column-gap: 18px; padding: 12px 0; border-top: 1px solid var(--rule); }
.race__who { font-size: .98rem; line-height: 1.3; }
.race__track { height: 18px; background: var(--plate); }
.race__bar { display: block; height: 100%; width: var(--w); background: var(--ink); transform-origin: 0 50%; }
.race__bar.run { background: var(--live); }
.race__val { text-align: right; font-stretch: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; white-space: nowrap; }
.race__note { margin-top: 14px; font-size: .88rem; color: var(--mute); }

.tablebox { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-top: 1px solid var(--rule); font-weight: 400; }
thead th { border-top: 0; padding-block: 0 10px; color: var(--mute); font-size: .9rem; font-weight: 600; }
tbody th { font-weight: 500; }
tbody tr:last-child > * { border-bottom: 1px solid var(--rule); }
.meas .num { font-stretch: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; line-height: 1.25; }
.meas td:last-child { color: var(--mute); }
.ai tbody th { font-weight: 650; font-size: 1.06rem; white-space: nowrap; }

/* start */
.start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 40px; align-items: start; }
.start__ai { display: grid; gap: 16px; }
.start__steps h3 { margin-bottom: 8px; }
.steplist { counter-reset: s; display: grid; }
.steplist li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 8px 0; padding: 16px 0; border-top: 1px solid var(--rule); }
.steplist li::before { content: counter(s); font-stretch: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.steplist li > * { grid-column: 2; }
.steplist li > .btn { justify-self: start; }
.steplist li:last-child { border-bottom: 1px solid var(--rule); }

/* pricing: three columns of one table, not three cards */
.refbanner { margin-bottom: 20px; padding: 12px 16px; background: var(--plate-hi); border-left: 2px solid var(--ink); font-weight: 600; }
.period { display: inline-flex; padding: 3px; border: 1px solid var(--outline); border-radius: calc(var(--r) + 3px); margin-bottom: 26px; max-width: 100%; }
.seg { min-height: 40px; padding: 0 16px; background: none; border: 0; border-radius: var(--r); font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--mute); }
.seg[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); border-block: 1px solid var(--ink); }
.plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; padding: 26px clamp(16px, 2.4vw, 32px) 28px; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan:first-child { padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan h3 { font-size: 1.2rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-block: 8px 22px; }
.plan__num { font-stretch: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.7rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.plan__per { color: var(--mute); font-size: 1rem; }
.plan__facts { display: contents; }
.plan__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.plan__facts > div:last-child { border-bottom: 1px solid var(--rule); }
.plan__facts dt { color: var(--mute); font-size: .95rem; }
.plan__facts dd { font-weight: 600; text-align: right; }
.plan__facts .big dd { font-stretch: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.015em; }
.plan__facts .off dd { color: var(--mute); font-weight: 400; }
.plan__cta { margin-top: 22px; align-self: end; }
.plans + .fine { margin-top: 18px; }
.fine + .fine { margin-top: 6px; }
.ref { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 24px; align-items: start; }
.ref__text { display: grid; gap: 12px; }
.ref__text h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.02em; }
.reftable td.num { font-stretch: var(--display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.reftable th, .reftable td { padding-right: 14px; }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 24px; row-gap: 24px; align-items: start; }
.faq h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list details { border-top: 1px solid var(--rule); }
.faq__list details:last-child { border-bottom: 1px solid var(--rule); }
.faq__list summary { position: relative; padding: 18px 44px 18px 0; font-weight: 600; font-size: 1.1rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 44px 22px 0; max-width: 66ch; }

/* foot */
.foot { border-top: 1px solid var(--ink); padding-block: clamp(56px, 7vw, 104px) 40px; }
.foot__end { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(48px, 6vw, 88px); }
.foot__end h2 { max-width: 16ch; }
.foot__meta { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 5.6fr) minmax(0, 4fr); column-gap: 24px; row-gap: 22px; padding-top: 26px; border-top: 1px solid var(--rule); font-size: .88rem; line-height: 1.5; color: var(--mute); }
.foot__meta img { height: 24px; width: auto; }
.foot__legal { display: grid; gap: 8px; max-width: 62ch; }
.foot__links { display: grid; gap: 10px; justify-items: start; align-content: start; }
.foot__links .link { font-size: .95rem; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__langs a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; padding-block: 8px; }
.foot__langs a span { display: none; }
.foot__langs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__langs a[aria-current="true"] { font-weight: 650; }

.lost { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 28px; padding-block: 48px; }
.lost h1 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.2rem); }

/* language change (in place): one soft cross-fade of the page */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
[data-price="creator"] { view-transition-name: p-creator; }
[data-price="pro"] { view-transition-name: p-pro; }
[data-price="business"] { view-transition-name: p-business; }
@view-transition { navigation: auto; }

/* ---------- narrower ---------- */
@media (max-width: 1060px) {
  .hero__top h1 { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / -1; max-width: 62ch; padding-bottom: 0; }
  .sec__head h2, .sec__head .lead { grid-column: 1 / -1; }
  .facts > div { grid-template-columns: 1fr; row-gap: 6px; }
  .foot__meta { grid-template-columns: 1fr 1fr; }
  .foot__meta img { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .reel::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 min(64vw, 270px); min-width: 0; scroll-snap-align: start; }
  .nav__links { display: none; }
  .auto, .start, .ref, .faq { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .group { grid-template-columns: 1fr; }
  .group__verb { position: static; padding-block: 20px 4px; }
  .ledger__cols { display: none; }
  .plans { grid-template-columns: 1fr; grid-template-rows: none; }
  .plan { grid-row: auto; grid-template-rows: none; padding: 26px 0 28px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--ink); }
  .plan__cta { justify-self: start; min-width: 200px; }
}
@media (max-width: 720px) {
  /* on a phone the plate is the phone itself: the band on top, the screen under it */
  .plate { grid-template-columns: minmax(0, 1fr); }
  .plate__main { display: contents; }
  .plate__head { order: 1; }
  .steps { order: 2; margin-top: 16px; }
  .plate__read { order: 3; margin-top: 10px; min-height: 2.4rem; }
  .stage { order: 4; margin-top: 14px; }
  .plate__answer { order: 5; min-height: 3.2em; margin-top: 14px; padding-top: 0; }
  .plate__note { order: 6; }
}
@media (max-width: 620px) {
  :root { --nav-h: 58px; }
  body { font-size: 1rem; }
  .brand img { height: 26px; }
  .row { grid-template-columns: 1fr; row-gap: 10px; padding-block: 18px; }
  .facts { grid-template-columns: 1fr; }
  .race__row { grid-template-columns: 1fr 4.8em; row-gap: 8px; }
  .race__who { grid-column: 1 / -1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); max-width: 100vw; }
  .chips::-webkit-scrollbar { display: none; }
  .bench__ask { display: grid; }
  .plate { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .screen { width: min(58vw, 236px); }
  .steps { gap: 7px; min-height: calc(var(--n, 5) * 28px + 4px); }
  .steps li { font-size: .98rem; }
  .steps li.now { font-size: 1.1rem; }
  .plate__head { align-items: start; }
  .plate__req { font-size: 1rem; min-height: 0; }
  .stop { width: 40px; height: 40px; }
  .owl { width: 68px; margin-top: 2px; }
  .plan__cta { justify-self: stretch; }
  .modes > div { grid-template-columns: 1fr; gap: 2px; }
  .tabs { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .foot__meta { grid-template-columns: 1fr; }
  .meas th, .meas td, .ai th, .ai td { padding-right: 12px; }
  .ai, .ai tbody, .ai tr, .ai td, .ai th { display: block; }
  .ai thead { display: none; }
  .ai tr { padding: 14px 0; border-top: 1px solid var(--rule); }
  .ai tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .ai th, .ai td { border: 0 !important; padding: 2px 0; }
  .meas thead { display: none; }
  .meas, .meas tbody, .meas tr { display: block; }
  .meas tr { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .meas tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .meas th, .meas td { border: 0 !important; padding: 0; }
  .meas td:last-child { grid-column: 1 / -1; font-size: .9rem; margin-top: 2px; }
  .reftable, .reftable tbody { display: block; }
  .reftable thead { display: none; }
  .reftable tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .reftable tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .reftable th, .reftable td { border: 0 !important; padding: 0; }
  .reftable th { grid-column: 1 / -1; padding-bottom: 4px; }
  .reftable td::before { content: attr(data-label); display: block; font-stretch: 100%; font-weight: 500; font-size: .84rem; color: var(--mute); letter-spacing: 0; }
}

@media (max-width: 350px) {
  .nav__in { gap: 8px; }
  .brand img { height: 21px; }
  .nav .btn--sm { padding: 0 10px; font-size: .84rem; }
  .lang summary { padding: 0 6px 0 8px; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
