/* Spaecify landing page. A drawing sheet: vellum, graphite, one redline. */

@font-face { font-family: "Plex Sans"; font-weight: 300; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; font-weight: 300; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-weight: 300; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-300-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; font-weight: 300; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-ext-300-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-ext-400-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-sans-cyrillic-ext-500-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-mono-cyrillic-ext-400-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-mono-cyrillic-ext-500-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  /* Vellum, graphite, pencil, the faint grid, and the one red pen of drawing review. */
  --paper: #F1EEE6;
  --paper-2: #E8E4D9;
  --ink: #1C1D1B;
  --pencil: #6B6C66;
  --hair: #D3CFC3;
  --red: #C23B22;
  --on-red: #FBF8F2;
  --sans: "Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1360px;
  --head: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171816; --paper-2: #1E1F1C; --ink: #E6E2D7; --pencil: #9A9A92; --hair: #34352F; --red: #E35A3F; --on-red: #171816;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171816; --paper-2: #1E1F1C; --ink: #E6E2D7; --pencil: #9A9A92; --hair: #34352F; --red: #E35A3F; --on-red: #171816;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "tnum" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.lp h1, .lp h2 { font-weight: 300; letter-spacing: -0.022em; margin: 0; text-wrap: balance; overflow-wrap: normal; hyphens: manual; }
.lp h1 { font-size: clamp(2.5rem, 5.1vw, 4.6rem); line-height: 1.02; }
.lp h2 { font-size: clamp(1.75rem, 2.9vw, 2.6rem); line-height: 1.1; }
.lp p { margin: 0; text-wrap: pretty; }
.lp a { color: inherit; }
.lp ::selection { background: var(--red); color: var(--on-red); }
.lp :focus-visible { outline: 1.5px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 10; background: var(--paper); padding: 6px 10px; }

/* Small capital labels, as lettered on a drawing. */
.sheet, .label, .lp-head .langs, .title-block .label, .scalebar, .mcp code, .tb-small, .rev {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sheet { color: var(--pencil); }
.label { color: var(--pencil); display: block; }

/* Links underline with a dimension line: ticks at both ends, drawn on hover. */
a.dim {
  position: relative;
  text-decoration: none;
  padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 2px) / 100% 1px no-repeat;
  transition: background-size 280ms cubic-bezier(.2,.7,.2,1);
}
a.dim::before, a.dim::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 1px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}
a.dim::before { left: 0; }
a.dim::after { right: 0; }
a.dim:hover { color: var(--red); }

/* ---- Wordmark: lowercase, with a dimension line under the AEC. */
.wm { font: 500 1.125rem/1 var(--sans); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.wm-aec { position: relative; display: inline-block; }
.wm-dim {
  position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--red);
}
.wm-dim::before, .wm-dim::after {
  content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--red); transform: rotate(45deg);
}
.wm-dim::before { left: 0; }
.wm-dim::after { right: 0; }

/* ---- Header */
.lp-head {
  height: var(--head);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--hair);
}
.brand { text-decoration: none; padding-bottom: 4px; }
.lp-nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.9375rem; }
.langs { display: flex; gap: 2px; }
.langs a { text-decoration: none; padding: 6px 6px; color: var(--pencil); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--red); }
.lp-signin { font-size: 0.9375rem; }

/* ---- Story: text on the left, the drawing held still on the right. */
.story {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.chapters { grid-column: 1; grid-row: 1; }
.stage {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  align-self: start;
  border-left: 1px solid var(--hair);
}
.stage .poster, .stage .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .poster { padding: 5% 3% 7% 5%; }
.stage .scene { opacity: 0; transition: opacity 600ms ease; }
.stage.live .scene { opacity: 1; }
.stage.live .poster { opacity: 0; transition: opacity 600ms ease; }

.poster { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.poster .p-grid { stroke: var(--pencil); stroke-width: 0.06; stroke-dasharray: 2.4 0.5; opacity: 0.7; }
.poster .p-grid ellipse { stroke-dasharray: none; }
.poster .p-frame { stroke: var(--ink); stroke-width: 0.075; }
.poster .p-sheets { stroke: var(--ink); stroke-width: 0.07; fill: var(--paper); }
.poster .p-path { stroke: var(--red); stroke-width: 0.11; }

.chapter {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 64px 0;
  max-width: 34rem;
  color: var(--pencil);
  transition: color 400ms ease;
}
.chapter.on, .chapter.hero { color: var(--ink); }
.chapter h2 { color: var(--ink); }
.chapter > p:not(.sheet):not(.key):not(.mcp) { max-width: 31rem; }
.hero { min-height: calc(100svh - var(--head)); gap: 28px; padding-top: 48px; }
.hero h1 { max-width: 11ch; }
/* Russian and Kazakh words run long: a slightly smaller headline keeps every word whole. */
.lp:is(:lang(ru), :lang(kk)) .hero h1 { max-width: 13ch; font-size: clamp(2.1rem, 4.3vw, 3.9rem); }
.lp:is(:lang(ru), :lang(kk)) h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.hero .lede { font-size: 1.1875rem; line-height: 1.55; max-width: 29rem; }
.ch-head { display: flex; align-items: center; gap: 14px; }

.callout { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1; overflow: visible; }
.callout text { fill: var(--ink); stroke: none; font: 500 13px var(--mono); text-anchor: middle; }
.callout text.small { font-size: 8.5px; font-weight: 400; letter-spacing: 0.04em; }
.chapter:not(.on) .callout { stroke: var(--pencil); }
.chapter:not(.on) .callout text { fill: var(--pencil); }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 0.9375rem/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; border-radius: 0;
}
.btn.primary { background: var(--red); color: var(--on-red); }
.btn.primary::after {
  /* A drawn arrow, since the type has none: a short shaft and a half head. */
  content: ""; width: 18px; height: 7px; flex: none;
  clip-path: polygon(0 3px, 12px 3px, 12px 0, 18px 3.5px, 12px 7px, 12px 4px, 0 4px);
  background: currentColor;
  transition: transform 220ms ease;
}
.btn.primary:hover::after { transform: translateX(3px); }
.btn.primary:hover { background: color-mix(in srgb, var(--red) 88%, var(--ink)); }

.aec { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 22px; border-top: 1px solid var(--hair); max-width: 30rem; font-size: 0.875rem; color: var(--pencil); }
.aec-mark { font-family: var(--mono); color: var(--ink); letter-spacing: 0.02em; }

/* The sentence that matters, with a revision cloud drawn around it when it comes into view. */
.key { position: relative; display: inline-block; align-self: flex-start; color: var(--ink); margin-top: 6px; padding: 2px 0; max-width: 30rem; }
.rev-cloud { position: absolute; left: -16px; top: -16px; overflow: visible; pointer-events: none; }
.rev-cloud path { fill: none; stroke: var(--red); stroke-width: 1.15; stroke-linejoin: round; transition: stroke-dashoffset 1400ms cubic-bezier(.45,.05,.3,1); }
.rev-tri path { fill: var(--paper); stroke: var(--red); stroke-width: 1.15; }
.rev-tri text { fill: var(--red); font: 500 8.5px var(--mono); text-anchor: middle; opacity: 0; transition: opacity 300ms ease 1200ms; }
.rev-tri path { opacity: 0; transition: opacity 300ms ease 1200ms; }
.key.drawn .rev-tri text, .key.drawn .rev-tri path { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rev-cloud path, .rev-tri text, .rev-tri path { transition: none; } }

.mcp { display: flex; flex-direction: column; gap: 8px; }
.mcp code { font-size: 0.9375rem; letter-spacing: 0.01em; text-transform: none; color: var(--ink); padding: 12px 14px; border: 1px solid var(--hair); background: var(--paper-2); align-self: flex-start; }

/* ---- Bands below the story, each a sheet with a hairline top edge. */
.band, .close {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--gutter);
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 20px;
  align-content: start;
}
.band > .sheet, .band > h2, .band > .note { grid-column: 1 / span 7; }
.band > h2 { margin-bottom: 28px; }

.disc-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.disc { position: relative; padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.disc + .disc { padding-left: 28px; border-left: 1px solid var(--hair); }
.disc-tag { font: 300 4.5rem/1 var(--sans); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 8px; }
.disc p:last-child { max-width: 24rem; }

.example .note { color: var(--pencil); margin-top: -12px; max-width: 34rem; }
.spec { grid-column: 1 / -1; margin: 28px 0 0; border: 1px solid var(--ink); background: var(--paper); }
.spec figcaption { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--ink); }
.spec figcaption .label { color: var(--ink); }
.rev { color: var(--red); }
.spec-row { display: grid; grid-template-columns: 3fr 5fr 3fr; }
.spec-col { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 14px; }
.spec-col + .spec-col { border-left: 1px solid var(--hair); }
.spec ul, .spec ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.docs li { padding-left: 16px; position: relative; }
.docs li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 10px; border: 1px solid var(--ink); }
.steps ol { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 400 0.75rem var(--mono); color: var(--red); }
.exception { display: grid; grid-template-columns: 11rem 1fr; gap: 6px 20px; padding: 16px 20px; border-top: 1px dashed var(--ink); }
.exception .label { color: var(--red); padding-top: 3px; }

.trust-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); }
.trust-list > div { padding: 24px 24px 0 0; }
.trust-list > div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
.trust-list dt { font-weight: 500; margin-bottom: 8px; }
.trust-list dd { margin: 0; color: var(--pencil); }

.close { row-gap: 28px; }
.close > * { grid-column: 1 / span 8; }
.close h2 { font-size: clamp(2.25rem, 4.6vw, 4.1rem); line-height: 1.04; }
.close p { color: var(--pencil); font-size: 1.1875rem; }

/* ---- Title block, as in the corner of every sheet. */
.title-block {
  max-width: var(--max);
  margin: 0 auto 72px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 2fr 0.7fr 0.6fr 0.7fr 1.5fr 1fr;
}
.tb-cell { border: 1px solid var(--ink); margin: 0 -1px -1px 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; justify-content: space-between; min-height: 74px; font-size: 0.875rem; }
.tb-brand { flex-direction: row; align-items: flex-end; justify-content: space-between; }
.tb-small { color: var(--pencil); }
.title-block .langs { margin-left: -6px; }
.title-block .langs a { padding: 2px 6px; }
.tb-cell a.dim { align-self: flex-start; }

/* ---- Scale bar: shows how far down the sheet the reader is. */
.scalebar { position: fixed; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 22px; z-index: 5; color: var(--pencil); width: 168px; pointer-events: none; }
.sb-bar { position: relative; display: grid; grid-template-columns: 1fr 1fr 2fr 4fr; height: 5px; border: 1px solid var(--ink); background: var(--paper); }
.sb-bar span + span { border-left: 1px solid var(--ink); }
.sb-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); mix-blend-mode: normal; }
.sb-nums { position: relative; height: 14px; margin-top: 4px; font-size: 0.5625rem; }
.sb-nums span { position: absolute; transform: translateX(-50%); }
.sb-nums span:nth-child(1) { left: 0; }
.sb-nums span:nth-child(2) { left: 12.5%; }
.sb-nums span:nth-child(3) { left: 25%; }
.sb-nums span:nth-child(4) { left: 50%; }
.sb-nums span:nth-child(5) { left: 100%; transform: translateX(-60%); white-space: nowrap; }

/* ---- Tablets and phones: the drawing becomes a band across the top, the story scrolls under it. */
@media (max-width: 900px) {
  :root { --head: 56px; }
  .lp-head { gap: 16px; }
  .lp-nav { display: none; }
  .lp-head .langs { margin-left: auto; }
  .lp-head .langs a { padding: 6px 4px; }
  .story { display: block; padding: 0; }
  .stage {
    position: sticky; top: 0; z-index: 2;
    height: 44svh; min-height: 260px;
    border-left: 0; border-bottom: 1px solid var(--hair);
    background: var(--paper);
  }
  .stage .poster { padding: 3% 2%; }
  .chapters { padding: 0 var(--gutter); }
  .chapter { min-height: 64svh; padding: 48px 0; gap: 16px; }
  .hero { min-height: auto; padding: 36px 0 56px; gap: 22px; }
  .hero .lede { font-size: 1.0625rem; }
  .lp h1, .lp:is(:lang(ru), :lang(kk)) .hero h1 { font-size: clamp(2rem, 9.4vw, 2.75rem); max-width: none; }
  .lp:is(:lang(ru), :lang(kk)) .hero h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .band > .sheet, .band > h2, .band > .note, .close > * { grid-column: 1 / -1; }
  .disc-grid { grid-template-columns: 1fr; }
  .disc, .disc + .disc { padding: 24px 0; border-left: 0; }
  .disc + .disc { border-top: 1px solid var(--hair); }
  .disc-tag { font-size: 3.25rem; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-col + .spec-col { border-left: 0; border-top: 1px solid var(--hair); }
  .exception { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list > div, .trust-list > div + div { padding: 22px 16px 22px 0; border-left: 0; }
  .trust-list > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--hair); }
  .trust-list > div:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .title-block { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 24px; }
  .tb-brand, .tb-cell:nth-child(2) { grid-column: span 3; }
  .tb-cell:nth-child(6) { grid-column: span 2; }
  .scalebar { display: none; }
  .actions .btn { flex: 1 1 100%; justify-content: space-between; }
}
@media (max-width: 520px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .trust-list > div + div { border-top: 1px solid var(--hair); }
  .lp-signin { font-size: 0.875rem; }
}
