/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Rim (deal 3/3, seed telegram--517c·332ca608·2026-11-06·r0) · job: try · draw: 1d83b5
 * hero: Counter (swap from Banner: the screen must sit beside the action) · nav: slab · footer: colophon (swap: index columns is for hubs) · imagery: the product, built from the bot's real messages · signature: the monthly tabel, counted by the bot
 * axes: dark/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R3 V3 · weakest: S, the screens are built, not captured, so each carries the label "пример"
 * waive: bare times, a shift day is local, and the page shows no clock time · fonts: Onest and JetBrains Mono replace Switzer and Geist Mono, which have no Cyrillic */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/onest-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: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/onest-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: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-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: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }

body { color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); line-height: 1.04; }
h2 { letter-spacing: -0.03em; }
.measure { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }

.btn { display: inline-block; padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid var(--color-accent); border-radius: 0; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; text-decoration: none; cursor: pointer; transition: opacity var(--dur-short) var(--ease-out); }
.btn:hover { opacity: 0.86; }
.btn:active { opacity: 0.72; }

.nav { background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.nav__mark { color: var(--color-ink); font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.nav__side { display: flex; align-items: center; gap: var(--space-lg); }
.nav__note { color: var(--color-muted); font-size: var(--text-sm); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding-block: var(--space-xl); min-height: calc(100dvh - 73px); max-height: 900px; }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero .lead { max-width: 34ch; }

.well { position: relative; background: var(--color-paper-2); padding: var(--space-lg); }
.ticks::before, .ticks::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--color-muted); pointer-events: none; z-index: var(--z-raised); }
.ticks::before { top: calc(-1 * var(--space-xs)); left: calc(-1 * var(--space-xs)); border-width: 1px 0 0 1px; }
.ticks::after { right: calc(-1 * var(--space-xs)); bottom: calc(-1 * var(--space-xs)); border-width: 0 1px 1px 0; }
.well__head { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); font-weight: 500; }
.tag { color: var(--color-muted); font-size: var(--text-sm); font-weight: 400; }

.rows { width: 100%; border-collapse: collapse; }
.rows td, .rows th { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); text-align: left; font-weight: 400; vertical-align: top; }
.rows th { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.rows .measure { text-align: right; white-space: nowrap; padding-left: var(--space-md); color: var(--color-ink); }
.rows td small { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.total { display: flex; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); color: var(--color-ink); }
.total .measure { color: var(--color-accent); font-size: var(--text-xl); }
.wait { display: flex; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); }

.section { padding-block: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.split__text { display: grid; gap: var(--space-md); }
.voice { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); }
.pair { display: grid; gap: var(--space-lg); }
.pair__label { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-xs); }
.scroll { overflow-x: auto; }

.seg { display: inline-flex; border: var(--rule-hair) solid var(--color-rule); margin-bottom: var(--space-lg); }
.seg button { padding: var(--space-xs) var(--space-md); border: 0; background: none; color: var(--color-ink-2); cursor: pointer; transition: opacity var(--dur-short) var(--ease-out); }
.seg button:hover { opacity: 0.8; }
.seg button[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--color-accent); color: var(--color-ink); font-weight: 500; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.steps .measure { color: var(--color-accent); }
.panel + .panel { margin-top: var(--space-xl); }
.js .panel + .panel { margin-top: 0; }

.facts { display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts h3 { font-size: var(--text-title); }
.section__head { margin-bottom: var(--space-xl); }

.close { background: var(--color-paper-3); }
.close__text { display: grid; gap: var(--space-lg); justify-items: start; }

.foot { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
.foot__row { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.foot a { color: var(--color-ink-2); }

.doc { max-width: 46rem; padding-block: var(--space-2xl) var(--space-3xl); }
.doc h1 { font-size: var(--text-display-s); max-width: 18ch; }
.doc h2 { font-size: var(--text-xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); letter-spacing: -0.02em; line-height: 1.2; }
.doc p, .doc ul, .doc table { margin-top: var(--space-md); }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: var(--space-2xs); }
.doc .date { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.doc a { color: var(--color-ink); }
.doc th { width: 40%; }
.doc td, .doc th { padding-right: var(--space-md); }

@media (max-width: 60rem) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero { min-height: 0; max-height: none; padding-block: var(--space-xl); }
  .section { padding-block: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .nav__note { display: none; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .well { padding: var(--space-md); }
  .btn { padding-inline: var(--space-md); }
}

.hero h1 { max-width: none; }
.hero .well { padding: var(--space-xl); font-size: var(--text-lg); }
.hero .rows td { padding-block: var(--space-md); }
@media (max-width: 40rem) { .hero .well { padding: var(--space-md); font-size: var(--text-md); } }
