/* Шрифты лежат в /fonts с постоянными именами: одни и те же файлы для главной и внутренних страниц. Сгенерировано из @fontsource-variable. */
@font-face { font-family: "Geologica Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geologica-cyrillic-ext.woff2") format("woff2-variations"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Geologica Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geologica-cyrillic.woff2") format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Geologica Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geologica-latin-ext.woff2") format("woff2-variations"); 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: "Geologica Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geologica-latin.woff2") format("woff2-variations"); 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: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("/fonts/jetbrains-mono-cyrillic-ext.woff2") format("woff2-variations"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("/fonts/jetbrains-mono-cyrillic.woff2") format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2-variations"); 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: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2-variations"); 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.css / unified.css / experience.css: меняет значения токенов
   и перекрывает типографику, шапку, кнопки и подвал. Разметка и тексты страниц не меняются. */

:root {
  --color-paper: #eceae4;
  --color-paper-clear: rgba(236, 234, 228, 0);
  --color-paper-2: #e3e0d9;
  --color-kalka: rgba(236, 234, 228, .9);
  --color-ink: #151514;
  --color-ink-2: #4f4c47;
  --color-rule: rgba(21, 21, 20, .15);
  --color-accent: #e5631f;
  --color-accent-ink: #b84a0c;
  --color-focus: #e5631f;
  --color-on-ink: #eceae4;
  --color-on-ink-2: #9a968d;
  --color-accent-on-dark: #f08a4f;
  --color-focus-on-dark: #f08a4f;
  --font-display: "Geologica Variable", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geologica Variable", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, monospace;
  --space-edge: clamp(20px, 4.2vw, 72px);
  --skin-dark: #0f0f0e;
  --skin-card: #f3f1ec;
  --skin-ease: cubic-bezier(.2, .8, .2, 1);
}

html body.inner { padding-top: 104px; font-size: 17px; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-accent); color: #fff; }
html a:focus-visible, html button:focus-visible, html input:focus-visible, html select:focus-visible, html textarea:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* Стрелка рисуется маской, а не символом: символ «↗» iPhone подменяет цветным смайликом. */
.arr { display: inline-block; width: .62em; height: .62em; margin-left: .08em; vertical-align: .02em; background: currentColor; transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M3.5 2H10v6.5' fill='none' stroke='%23000' stroke-width='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M3.5 2H10v6.5' fill='none' stroke='%23000' stroke-width='1.25'/%3E%3C/svg%3E") center / contain no-repeat; }
a:hover > .arr, a:hover .go .arr, button:hover > .arr { transform: translate(.14em, -.14em); }
/* Стрелка строки: тонкий круг, при наведении заливается акцентом */
.go { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; font-size: 20px; line-height: 1; opacity: .9; transition: background .4s cubic-bezier(.2, .8, .2, 1), color .4s, border-color .4s; }
.go .arr { margin: 0; }
a:hover .go { background: #e5631f; border-color: #e5631f; color: #fff; opacity: 1; }
html .row-arrow { font-size: 18px; justify-self: end; }
html .project-cta .action .arr, html .action .arr { margin-left: .5em; }

/* ---------- типографика ---------- */
html h1, html h2, html h3 { font-weight: 400; overflow-wrap: break-word; }
html h1 { font-size: clamp(2.5rem, 5.6vw, 5.6rem); letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
html h2 { font-size: clamp(2rem, 3.9vw, 3.9rem); letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
html h3 { letter-spacing: -.025em; line-height: 1.1; }
html .service-content h2 { font-size: clamp(1.75rem, 2.9vw, 2.9rem); }
html .service-content h3 { font-size: 1.35rem; }
html .legal h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
html .legal h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
html .inner .contact__title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
html .inner .phone { font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
html .intro-lead { font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.35; letter-spacing: -.01em; }
html .page-intro { padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(48px, 6vw, 90px); }
html .page-intro h1 { max-width: 17em; margin-bottom: clamp(24px, 3vw, 40px); }

/* мелкие технические подписи — моноширинным капсом */
html .eyebrow, html .service-content .eyebrow, html .model-controls .eyebrow, html .roadmap-body .eyebrow {
  font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-2);
}
html .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--color-accent); vertical-align: 1px; }
html .breadcrumbs, html .row-category, html .direction-number, html .scope-list li > span, html .scope-step > span,
html .risk-list li::before, html .entry-number, html .roadmap summary > span:first-child, html .depth-output li::before,
html .depth-stages li > span, html .process-list li > span, html .route-services > a > span, html .navigator-match > span {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
html .breadcrumbs { padding-top: 12px; }

/* ---------- шапка: плавающая «пилюля», как на главной ---------- */
html .unified-head {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; min-height: 0;
  margin: 12px var(--space-edge) 0; padding: 6px 10px 6px 18px; gap: 24px;
  background: rgba(236, 234, 228, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-rule); border-radius: 999px;
  transition: transform .6s var(--skin-ease);
}
html .unified-head.is-hidden { transform: translateY(-160%); }
html .unified-head img { width: auto; height: 46px; }
html .unified-head nav { gap: clamp(14px, 2vw, 30px); font-size: 14px; }
html .unified-head nav a:hover { color: var(--color-accent-ink); }
html .nav-contact { padding: 9px 16px; border: 0; border-radius: 999px; background: var(--color-ink); color: var(--color-paper); font-variant-numeric: tabular-nums; }
html .unified-head nav a.nav-contact:hover { color: var(--color-paper); background: var(--color-accent); }
html .unified-head:has(nav.is-open) { background: #f3f1ec; }
html [tabindex="-1"]:focus { outline: none; }
html .navigator-options label, html .navigator-options > * { border-radius: 16px; }
html .menu-toggle { padding: 9px 16px; border: 1px solid var(--color-ink); border-radius: 999px; font-size: 14px; }

/* ---------- кнопки и ссылки ---------- */
html .action, html .inner .ask__send {
  display: inline-flex; align-items: center; justify-content: center; padding: 17px 30px;
  border: 1px solid var(--color-ink); border-radius: 999px; background: var(--color-ink); color: var(--color-paper);
  font-size: 16px; cursor: pointer; transition: background .4s var(--skin-ease), border-color .4s var(--skin-ease), color .4s var(--skin-ease);
}
html .action:hover, html .inner .ask__send:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
html .text-link { padding-bottom: 4px; }

/* ---------- списки услуг ---------- */
html .service-row { transition: padding .6s var(--skin-ease); }
html .service-row h3 { font-weight: 400; letter-spacing: -.03em; font-size: clamp(1.3rem, 1.9vw, 1.75rem); }
html .service-row:hover { padding-left: 14px; padding-right: 14px; }
html .related .service-row h3 { font-size: clamp(1.4rem, 2.5vw, 2.3rem); }
html .catalog-tools input, html .catalog-tools select { border-radius: 14px; background: var(--skin-card); }
html .task-entry-list strong, html .roadmap summary h3 { font-weight: 400; letter-spacing: -.02em; }

/* ---------- плашки ---------- */
html .service-content .outcome, html .depth-output { border-radius: 22px; background: var(--skin-card); border: 1px solid var(--color-rule) !important; }
html .model-controls { border-radius: 18px; }
html .model-controls button { border-radius: 999px; }
html .notice { border-radius: 18px; }

/* ---------- тёмный блок «Следующий шаг» ---------- */
html .project-cta { background: var(--skin-dark); color: var(--color-on-ink); padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
html .project-cta .eyebrow { color: var(--color-on-ink-2); }
html .project-cta h2 { font-size: clamp(2.4rem, 5.6vw, 5.6rem); max-width: 14em; margin-bottom: clamp(24px, 3vw, 40px); }
html .project-cta > p:not(.eyebrow) { color: var(--color-on-ink); }
html .project-cta > p.cta-legal { color: var(--color-on-ink-2); }
html .project-cta .action { background: var(--color-on-ink); border-color: var(--color-on-ink); color: var(--skin-dark); }
html .project-cta .action:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
html .project-cta .msgr__btn { color: var(--color-on-ink); border-color: rgba(236, 234, 228, .25); }

/* ---------- формы ---------- */
html .inner .ask__field input, html .inner .ask__field textarea { border-radius: 0; }

/* ---------- подвал ---------- */
html .unified-foot { padding-top: clamp(60px, 8vw, 110px); overflow: hidden; }
html .footer-name { font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; color: var(--color-ink-2); }
html .unified-foot a:hover { text-decoration: none; color: var(--color-accent-ink); }
.skin-giant { grid-column: 1 / -1; margin: clamp(20px, 4vw, 60px) calc(var(--space-edge) * -1) 0; font-size: 16vw; font-weight: 500; line-height: .82; letter-spacing: -.06em; white-space: nowrap; text-align: center; max-width: none; }
html .footer-bottom, html .analytics-settings { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
html .analytics-settings { text-decoration: none; }
html .analytics-choice { border-radius: 18px; background: #f6f4ef; box-shadow: 0 18px 50px rgba(21, 21, 20, .16); max-width: 30rem; font-size: 13.5px; }
html .analytics-actions button { border-radius: 999px; padding: 9px 16px; }
html .analytics-actions button:first-child { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }

/* ---------- прогресс, зерно, появление: элементы и классы добавляет skin.js ---------- */
.skin-bar { position: fixed; left: 0; top: 0; z-index: 110; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.skin-grain { position: fixed; inset: 0; z-index: 105; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.skin-rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--skin-ease), transform .9s var(--skin-ease); }
.skin-rv.skin-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  html .unified-head img { height: 40px; width: auto; }
}
@media (max-width: 760px) {
  html body.inner { padding-top: 84px; }
  .skin-grain { display: none; }
  html .menu-toggle { min-height: 44px; padding: 0 18px; }
  html .unified-head { margin-top: max(10px, env(safe-area-inset-top)); }
  /* поля меньше 16px заставляют iPhone увеличивать страницу при вводе */
  html .inner input, html .inner textarea, html .inner select { font-size: 16px; }
  html h2 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
  html .project-cta h2 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  html .inner .contact__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  html .analytics-choice { left: 12px; right: 12px; bottom: 12px; }
  html .unified-head { min-height: 0; padding: 6px 8px 6px 14px; border-radius: 26px; gap: 0 16px; }
  html .unified-head img { height: 34px; width: auto; }
  html .unified-head nav { padding: 6px 6px 12px; gap: 0; font-size: 17px; align-items: stretch; }
  html .unified-head nav a { padding: 13px 0; border-bottom: 1px solid var(--color-rule); }
  html .unified-head nav a.nav-contact { margin-top: 14px; padding: 13px 16px; text-align: center; border-bottom: 0; }
  html .page-intro h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  html .action, html .inner .ask__send { padding: 15px 24px; font-size: 16px; }
  html .service-row:hover { padding-left: 0; padding-right: 0; }
  html .go { width: 38px; height: 38px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .skin-rv { opacity: 1; transform: none; transition: none; }
}
