/* Заглушка prijok.ru до запуска (архитектура 4.10.2, ВА-9), макет v4a от 22.10.2026.
   Цвета, шрифты и знак — из ДС сайта (site/vendor/ds/tokens, components/brand/Wordmark.jsx).
   Без JS и без inline-стилей: CSP страницы — style-src 'self'. Описание листов и пульсации — ops/server/stub.md (вне папки: она вся уходит на сервер). */

@font-face { font-family: 'Onest'; font-style: normal; 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-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-cyrillic-600-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-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-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: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-600-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/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; }

:root {
  /* токены ДС (colors.css, typography.css, effects.css) */
  --ink-950: #0D0E10; --ink-600: #55585E; --ink-500: #6E7178; --ink-200: #E3E4E6;
  --blue-600: #0C4FD6; --blue-700: #0B40AD; --blue-500: #3A72E4; --blue-200: #C7D7F7; --white: #FFFFFF;
  --font-sans: "Onest", "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ls-label: 0.08em;
  /* поля страницы: одна сетка 1120 для шапки, героя и подвала */
  --gutter: max(16px, calc((100% - 1120px) / 2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; background: var(--white); color: var(--ink-950); font: 400 16px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 2px; }

/* --- знак «прыжок» (Wordmark arc, size 24) с подписью --- */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wordmark { position: relative; display: inline-block; padding: 0.42em 0 0 0.2em; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.wordmark svg { position: absolute; left: 0; right: 0; top: -0.06em; width: 100%; height: 1.1em; overflow: visible; }
.wordmark path { fill: none; stroke: var(--blue-600); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wordmark__dot { position: absolute; left: calc(2% - 1.6px); top: calc(0.957em - 1.6px); width: 3.2px; height: 3.2px; border-radius: 50%; background: var(--ink-950); }
a.brand, a.brand:hover { color: inherit; text-decoration: none; }
.brand__desc { padding-left: 4px; font-size: 11px; line-height: 1.2; color: var(--ink-600); white-space: nowrap; }

/* --- шапка и подвал --- */
.bar { display: flex; justify-content: space-between; padding-inline: var(--gutter); }
.bar--top { align-items: center; height: 57px; border-bottom: 1px solid var(--ink-200); }
.bar--foot { flex-direction: column; align-items: flex-start; gap: 23px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--ink-200); }
.bar__mail { margin-top: 2px; font-size: 16px; line-height: 1.5; }

/* --- статус «Сайт обновляется»: точка пульсирует, как индикатор идущей работы --- */
.status { display: flex; align-items: center; gap: 9px; font: 500 12px/1 var(--font-mono); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }
.status__dot { position: relative; flex: none; width: 6px; height: 6px; }
.status__dot::before, .status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue-600); }
.status__dot::before { animation: status-pulse 1.4s ease-in-out infinite; }
.status__dot::after { opacity: 0; animation: status-ring 1.4s ease-out infinite; }
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.72); }
}
@keyframes status-ring {
  0% { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}
@media (prefers-reduced-motion: reduce) {
  .status__dot::before { animation: none; }
  .status__dot::after { content: none; animation: none; }
}

/* --- первый экран: герой и стол с листами --- */
.stage { position: relative; overflow: hidden; } /* срез листов краями окна, шапкой и подвалом */
.hero { position: relative; z-index: 1; padding-inline: var(--gutter); }
.hero h1 { font-weight: 600; font-size: 30px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.hero__sub { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--ink-600); text-wrap: pretty; }
.hero__contact { margin-top: 26px; font-size: 19px; line-height: 1.5; }
/* ссылка внутри строки отличается не только цветом (WCAG 1.4.1): тонкое светлое подчёркивание */
.hero__contact a { text-decoration: underline; text-decoration-color: var(--blue-200); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero__contact a:hover { text-decoration-color: currentColor; }

.desk { position: relative; }
.stage--plain .hero { padding-bottom: 72px; } /* 404: без стола с листами */
.pile { list-style: none; }

/* лист: белая карточка с линией сверху, как ConceptCard look=sheet */
.sheet { position: absolute; left: calc(50% + var(--x)); top: var(--y); z-index: var(--z); width: var(--w); padding: var(--pad); transform: rotate(var(--r)); transform-origin: 0 0; background: var(--white); border: 1px solid var(--ink-200); border-radius: 2px; box-shadow: 0 1px 2px rgba(13, 14, 16, 0.04), 0 4px 14px rgba(13, 14, 16, 0.07); }
.sheet__topic { padding-top: var(--topic-gap); border-top: 1.5px solid var(--ink-950); font: 500 11px/1.2 var(--font-mono); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-500); }
.sheet__term { margin-top: var(--term-gap); font-weight: 600; font-size: var(--term); line-height: 1.12; letter-spacing: -0.02em; }
.sheet__en { margin-top: 6px; font: 400 14px/1.35 var(--font-mono); color: var(--blue-600); }
/* определение: открыто целиком, приоткрыто (полторы строки, затухает маской) или закрыто;
   текст в разметке всегда полный — экранный диктор читает всё, срез только визуальный */
/* приоткрыт: первая строка целиком, вторая гаснет к низу окна */
.sheet { --ajar-h: calc(var(--def-lh) * 1.75em); --ajar-mask: linear-gradient(to bottom, #000 calc(var(--def-lh) * 1em), rgba(0, 0, 0, 0.42) calc(var(--def-lh) * 1.25em), transparent calc(var(--def-lh) * 1.75em)); }
.sheet__def { margin-top: var(--def-gap, var(--def-space, 14px)); max-height: var(--def-h, none); overflow: hidden; font-size: var(--def); line-height: var(--def-lh); -webkit-mask-image: var(--def-mask, none); mask-image: var(--def-mask, none); }
.sheet--modular, .sheet--incr, .sheet--phygital { --def-h: var(--ajar-h); --def-mask: var(--ajar-mask); }
.sheet--golden { --def-h: 0; --def-gap: 0; }

/* размеры листов — телефон */
.sheet--l { --w: 298px; --pad: 17px 24px 28px; --topic-gap: 16px; --term-gap: 10px; --term: 22px; --def: 14px; --def-lh: 1.6; }
.sheet--s { --w: 288px; --pad: 17px 24px 24px; --topic-gap: 16px; --term-gap: 10px; --term: 22px; --def: 14px; --def-lh: 1.6; }

/* раскладка листов — телефон (до 1023 px): стол под героем, листы от центра экрана */
.sheet--golden   { --x: -215px; --y: 45px;  --r: -4.8deg; --z: 1; }
.sheet--modular  { --x: -20px;  --y: 22px;  --r: 5.9deg;  --z: 2; }
.sheet--agent    { --x: -159px; --y: 125px; --r: -2.1deg; --z: 5; }
.sheet--incr     { --x: -211px; --y: 383px; --r: -3.3deg; --z: 3; }
.sheet--human    { --x: -70px;  --y: 332px; --r: 3.5deg;  --z: 4; }
.sheet--phygital { --x: -45px;  --y: 539px; --r: 3deg;    --z: 6; }
.sheet--human { --def-h: var(--ajar-h); --def-mask: var(--ajar-mask); }

.hero { padding-top: 34px; }
.desk { height: 634px; margin-top: 42px; }

/* шире 360 px строка контакта не переносится — можно чуть шире пробел перед адресом, как в макете */
@media (min-width: 360px) { .hero__contact a { margin-left: 0.2em; } }

@media (min-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 19px; }
}

/* --- компьютер (от 1024 px): герой слева, стол справа до края окна --- */
@media (min-width: 1024px) {
  .bar--top { height: 65px; }
  .bar--foot { flex-direction: row; justify-content: space-between; padding-top: 32px; padding-bottom: 45px; }
  .stage { display: flex; align-items: center; height: 840px; }
  .hero { padding: 0 0 44px var(--gutter); max-width: calc(var(--gutter) + 560px); }
  .hero h1 { font-size: 40px; line-height: 1.1; }
  .hero__sub { margin-top: 18px; font-size: 19px; }
  .hero__contact { margin-top: 32px; }
  .sheet__en { margin-top: 8px; }
  /* стол прижат к сетке, а на широком окне — к правому краю, чтобы листы срезались краем как в макете */
  .desk { position: absolute; top: 0; bottom: 0; left: max(calc(var(--gutter) + 560px), calc(100% - 720px)); right: 0; height: auto; margin: 0; }
  .sheet { left: var(--x); }
  .sheet--l { --w: 398px; --pad: 22px 28px 30px; --topic-gap: 17px; --term-gap: 15px; --term: 30px; --def: 16px; --def-lh: 1.6; --def-space: 15px; }
  .sheet--s { --w: 288px; --pad: 21px 26px 24px; --topic-gap: 15px; --term-gap: 10px; --term: 22px; --def: 14px; --def-lh: 1.6; --def-space: 13px; }
  .sheet--modular  { --x: 387px; --y: -33px; --r: 3.6deg;  --z: 1; }
  .sheet--agent    { --x: 71px;  --y: 170px; --r: -1.7deg; --z: 2; }
  .sheet--incr     { --x: 547px; --y: 553px; --r: -6deg;   --z: 3; }
  .sheet--phygital { --x: 159px; --y: 641px; --r: -2deg;   --z: 4; }
  .sheet--human    { --x: 387px; --y: 367px; --r: 1.9deg;  --z: 5; --def-h: none; --def-mask: none; }
  .sheet--golden   { --x: 18px;  --y: 537px; --r: 4.9deg;  --z: 6; }
}
