@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest-latin.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: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #0b0d0e;
  --surface: #121517;
  --surface-strong: #171a1c;
  --paper: #f1f0ea;
  --muted: #a6abad;
  --subtle: #7d8386;
  --accent: #b9825d;
  --accent-dark: #291c15;
  --rule: rgba(241, 240, 234, 0.16);
  --rule-strong: rgba(241, 240, 234, 0.28);
  --container: 1384px;
  --gutter: clamp(20px, 4vw, 72px);
  --section-space: clamp(96px, 12vw, 184px);
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 11px 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0.11em;
}

.wordmark span:last-child {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.43em;
  transform: translateY(6px);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled,
.site-header:has(.mobile-nav[open]) {
  border-color: var(--rule);
  background: rgba(11, 13, 14, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
}

.desktop-nav {
  display: flex;
  justify-self: center;
  align-items: stretch;
  height: 100%;
  gap: clamp(20px, 2.6vw, 44px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--paper);
}

.desktop-nav a[aria-current]::after,
.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.language-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--subtle);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  transition: color 160ms ease;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  color: var(--paper);
}

.language-option {
  display: grid;
  min-width: 44px;
  min-height: 44px;
}

.language-option .language-choice {
  display: none;
  grid-area: 1 / 1;
}

.language-option .language-choice--top {
  display: inline-flex;
}

body:has(#capabilities:target) .language-option .language-choice--top,
body:has(#model:target) .language-option .language-choice--top,
body:has(#principles:target) .language-option .language-choice--top,
body:has(#contact:target) .language-option .language-choice--top {
  display: none;
}

body:has(#capabilities:target) .language-option .language-choice--capabilities,
body:has(#model:target) .language-option .language-choice--model,
body:has(#principles:target) .language-option .language-choice--principles,
body:has(#contact:target) .language-option .language-choice--contact {
  display: inline-flex;
}

.language-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.button:hover {
  background: transparent;
  color: var(--paper);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 12px;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, transparent calc(100% - 1px), rgba(241, 240, 234, 0.045) 1px);
  background-size: calc((100% - (2 * var(--gutter))) / 12) 100%;
  background-position: var(--gutter) 0;
  pointer-events: none;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: calc(max(720px, 100svh) - var(--header-height));
  padding-top: clamp(72px, 10vh, 124px);
  padding-bottom: 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 10;
  align-self: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 52px);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 1100px;
  margin-bottom: clamp(44px, 7vh, 88px);
  font-size: clamp(42px, 6.15vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

html[lang="en"] .hero h1 {
  max-width: 1050px;
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.hero-support {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
}

.hero-intro {
  grid-column: 1 / 5;
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  grid-column: 6 / 10;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 16px;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--paper);
  font-size: 13px;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link span {
  color: var(--accent);
  transition: transform 180ms var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-geometry {
  --geo-x: 0px;
  --geo-y: 0px;
  position: absolute;
  z-index: 1;
  right: clamp(-90px, -4vw, -25px);
  bottom: 0;
  width: min(44vw, 590px);
  opacity: 0.65;
}

.hero-geometry__inner {
  transform: translate(var(--geo-x), var(--geo-y));
  transition: transform 900ms var(--ease);
}

.hero-geometry svg {
  overflow: visible;
  fill: none;
  stroke: rgba(241, 240, 234, 0.36);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-geometry .geo-line--muted {
  stroke: rgba(241, 240, 234, 0.13);
}

.hero-geometry .geo-line--accent {
  fill: rgba(185, 130, 93, 0.06);
  stroke: var(--accent);
}

.hero-geometry circle {
  fill: var(--paper);
  stroke: none;
}

.hero-geometry .geo-point--accent {
  fill: var(--accent);
}

.hero-index {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: clamp(56px, 7vw, 96px);
}

.section-heading .eyebrow {
  grid-column: 1 / 4;
  margin-bottom: 0;
  padding-top: 12px;
}

.section-heading h2 {
  grid-column: 4 / 10;
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(36px, 4.25vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading > p:last-child {
  grid-column: 10 / -1;
  align-self: end;
  max-width: 350px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-heading--wide h2 {
  grid-column: 4 / -1;
  max-width: 900px;
}

.capabilities {
  background: var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.capability-card {
  position: relative;
  min-height: 580px;
  padding: 26px clamp(24px, 2.5vw, 40px) 30px;
  overflow: hidden;
}

.capability-card + .capability-card {
  border-left: 1px solid var(--rule);
}

.capability-card::before {
  position: absolute;
  inset: 0;
  background: var(--surface);
  opacity: 0;
  content: "";
  transition: opacity 280ms ease;
}

.capability-card:hover::before {
  opacity: 1;
}

.card-meta,
.capability-card h3,
.capability-card p,
.card-figure {
  position: relative;
  z-index: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(52px, 6vw, 82px);
  color: var(--subtle);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-meta span:first-child {
  color: var(--accent);
}

.capability-card h3 {
  min-height: 2.45em;
  margin-bottom: 24px;
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.capability-card p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-figure {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  height: 126px;
  opacity: 0.6;
  transition: opacity 220ms ease, transform 350ms var(--ease);
}

.capability-card:hover .card-figure {
  opacity: 1;
  transform: translateY(-4px);
}

.card-figure i {
  position: absolute;
  display: block;
  border: 1px solid var(--rule-strong);
  transition: border-color 220ms ease, transform 350ms var(--ease);
}

.card-figure--product i:nth-child(1) {
  inset: 32px 30% 0 5%;
}

.card-figure--product i:nth-child(2) {
  inset: 16px 16% 16px 20%;
}

.card-figure--product i:nth-child(3) {
  inset: 0 2% 32px 36%;
  border-color: var(--accent);
}

.card-figure--assets i {
  width: 86px;
  height: 86px;
  top: 20px;
  border-radius: 50%;
}

.card-figure--assets i:nth-child(1) { left: 7%; }
.card-figure--assets i:nth-child(2) { left: calc(50% - 43px); border-color: var(--accent); }
.card-figure--assets i:nth-child(3) { right: 7%; }

.card-figure--systems i:nth-child(1) {
  inset: 10px 10%;
  transform: rotate(45deg);
}

.card-figure--systems i:nth-child(2) {
  top: 62px;
  right: 0;
  left: 0;
  border-width: 1px 0 0;
}

.card-figure--systems i:nth-child(3) {
  top: 0;
  bottom: 0;
  left: 50%;
  border-width: 0 0 0 1px;
}

.card-figure--systems i:nth-child(4) {
  top: 55px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  background: var(--ink);
  transform: rotate(45deg);
}

.model {
  background: var(--surface);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: model;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.model-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 382px;
  padding: 24px clamp(20px, 2vw, 32px) 30px;
}

.model-step + .model-step {
  border-left: 1px solid var(--rule);
}

.model-step::after {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  content: "";
  transition: transform 380ms var(--ease);
}

.model-step:hover::after {
  transform: scaleX(1);
}

.step-number {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

/* figure fills the empty upper area */
.model-figure {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 132px;
  margin: 16px 0 20px;
  opacity: 1;
  transition: opacity 220ms ease, transform 350ms var(--ease);
}

.model-step:hover .model-figure {
  opacity: 1;
  transform: translateY(-2px);
}

.model-figure i {
  position: absolute;
  display: block;
  border: 1px solid rgba(241,240,234,0.22);
  background: rgba(241,240,234,0.02);
  transition: border-color 220ms ease, background 220ms ease;
}

.model-step:hover .model-figure i {
  border-color: rgba(241,240,234,0.34);
}

/* 01 — context: crosshair */
.model-figure--context i:nth-child(1) {
  inset: 18px 28% 18px 28%;
  border-radius: 50%;
}
.model-figure--context i:nth-child(2) {
  top: 50%;
  left: 12%;
  right: 12%;
  height: 1px;
  border-width: 1px 0 0;
  border-color: var(--rule);
}
.model-figure--context i:nth-child(3) {
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 1px;
  border-width: 0 0 0 1px;
  border-color: var(--rule);
}
.model-figure--context i:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
  border-radius: 50%;
}

/* 02 — architecture: blueprint frames */
.model-figure--arch i:nth-child(1) { inset: 24px 36% 24px 8%; background: rgba(241,240,234,0.03); }
.model-figure--arch i:nth-child(2) { inset: 12px 20% 36px 24%; background: rgba(241,240,234,0.04); }
.model-figure--arch i:nth-child(3) { inset: 36px 8% 12px 44%; border-color: var(--accent); background: rgba(185,130,93,0.08); }

/* 03 — execution: stacked layers + accent arrow */
.model-figure--exec i:nth-child(1) { inset: 20px 14% 54px 14%; background: rgba(241,240,234,0.04); }
.model-figure--exec i:nth-child(2) { inset: 46px 14% 34px 14%; background: rgba(241,240,234,0.06); opacity: 1; }
.model-figure--exec i:nth-child(3) {
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-color: var(--accent);
  background: var(--surface);
  transform: rotate(45deg);
  border-width: 1px 1px 0 0;
}
.model-figure--exec i:nth-child(3)::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-right: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
}

/* 04 — control: gauge */
.model-figure--control i:nth-child(1) {
  left: 14%;
  right: 14%;
  top: 14px;
  bottom: 28px;
  border-radius: 90px 90px 0 0;
  border-bottom: 0;
}
.model-figure--control i:nth-child(2) {
  left: 50%;
  top: 50%;
  width: 1px;
  height: 38px;
  background: var(--accent);
  border: 0;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-32deg);
}
.model-figure--control i:nth-child(3) {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--paper);
  border: 0;
  border-radius: 50%;
}

.model-step__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 96px;
}

.model-step h3 {
  display: flex;
  align-items: flex-start;
  min-height: 34px;
  margin: 0 0 10px;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.model-step p {
  max-width: 260px;
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.principles-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
}

.section-heading--sticky {
  grid-column: 1 / 6;
  display: block;
  align-self: start;
  margin: 0;
  padding-right: clamp(30px, 5vw, 78px);
}

.section-heading--sticky .eyebrow {
  margin-bottom: 48px;
  padding-top: 0;
}

.section-heading--sticky h2 {
  margin-bottom: 34px;
}

.section-heading--sticky > p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.principles-list {
  grid-column: 6 / -1;
  border-top: 1px solid var(--rule);
}

.principles-list li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: clamp(26px, 3.2vw, 46px) 0;
  border-bottom: 1px solid var(--rule);
}

.principle-number {
  padding-top: 6px;
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.principles-list h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.3vw, 33px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.principles-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.contact::after {
  position: absolute;
  top: 50%;
  right: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(11, 13, 14, 0.22);
  transform: translateY(-50%) rotate(45deg);
  content: "";
  pointer-events: none;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.contact .eyebrow {
  margin-bottom: 38px;
  color: var(--accent-dark);
}

.contact-panel > div:first-child {
  grid-column: 1 / 8;
}

.contact h2 {
  max-width: 100%;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.contact-copy {
  grid-column: 8 / -1;
}

.contact-copy > p {
  max-width: 475px;
  margin-bottom: 34px;
  color: var(--accent-dark);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-block: 13px;
  border-top: 1px solid rgba(11, 13, 14, 0.55);
  border-bottom: 1px solid rgba(11, 13, 14, 0.55);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: padding 220ms var(--ease), background-color 180ms ease;
}

.contact-email:hover {
  padding-inline: 14px;
  background: rgba(11, 13, 14, 0.07);
}

.contact-email span:last-child {
  font-size: 22px;
}

.site-footer {
  padding-block: 56px 36px;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 72px;
  align-items: start;
}

.footer-brand {
  grid-column: 1 / 5;
}

.footer-brand p {
  margin: 24px 0 0;
  color: var(--subtle);
  font-size: 11px;
}

.footer-links {
  grid-column: 9 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}

.footer-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  transition: color 160ms ease;
}

.footer-links > a:hover {
  color: var(--paper);
}

.disclaimer {
  grid-column: 1 / 9;
  max-width: 750px;
  margin: 0;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.6;
}

.copyright {
  grid-column: 9 / -1;
  justify-self: end;
  margin: 0;
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.legal-main {
  padding-top: var(--header-height);
}

.legal-page {
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(76px, 9vw, 130px);
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 24px;
  align-items: start;
}

.legal-title {
  grid-column: 1 / 6;
  padding-right: 40px;
}

.legal-title h1 {
  max-width: 550px;
  margin-bottom: 26px;
  font-size: clamp(43px, 5.2vw, 76px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-title .eyebrow {
  margin-bottom: 18px;
}

.legal-title > p:last-child {
  color: var(--subtle);
  font-size: 12px;
  margin-top: 0;
}

.legal-content {
  grid-column: 7 / -1;
  max-width: 690px;
  padding-top: 52px;
}

.legal-content section {
  padding: 0 0 40px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--rule);
}

.legal-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.2em;
  list-style: disc;
}

.legal-content a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.capability-grid [data-reveal]:nth-child(2),
.model-grid [data-reveal]:nth-child(2),
.principles-list [data-reveal]:nth-child(2) {
  transition-delay: 70ms;
}

.capability-grid [data-reveal]:nth-child(3),
.model-grid [data-reveal]:nth-child(3),
.principles-list [data-reveal]:nth-child(3) {
  transition-delay: 140ms;
}

.model-grid [data-reveal]:nth-child(4),
.principles-list [data-reveal]:nth-child(4) {
  transition-delay: 210ms;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 76px;
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    justify-self: end;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
    margin-left: 18px;
  }

  .mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 44px;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .menu-mark {
    position: relative;
    width: 26px;
    height: 16px;
  }

  .menu-mark i {
    position: absolute;
    right: 0;
    width: 26px;
    height: 1px;
    background: var(--paper);
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-mark i:first-child { top: 4px; }
  .menu-mark i:last-child { top: 12px; width: 18px; }

  .mobile-nav[open] .menu-mark i:first-child {
    top: 8px;
    transform: rotate(45deg);
  }

  .mobile-nav[open] .menu-mark i:last-child {
    top: 8px;
    width: 26px;
    transform: rotate(-45deg);
  }

  .mobile-nav__panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    min-height: calc(100svh - var(--header-height));
    padding: 36px var(--gutter) 28px;
    border-top: 1px solid var(--rule);
    background: var(--ink);
  }

  .mobile-nav__panel nav {
    display: grid;
  }

  .mobile-nav__panel nav a {
    display: flex;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid var(--rule);
    font-size: clamp(24px, 5vw, 40px);
    letter-spacing: -0.03em;
  }

  .mobile-nav__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }

  .hero-copy {
    grid-column: 1 / 11;
  }

  .hero-support {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .hero-intro {
    grid-column: 1 / 6;
  }

  .hero-actions {
    grid-column: 7 / 11;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-geometry {
    right: -90px;
    width: 52vw;
  }

  .section-heading h2 {
    grid-column: 4 / 9;
  }

  .section-heading > p:last-child {
    grid-column: 9 / -1;
  }

  .section-heading--wide h2 {
    grid-column: 4 / -1;
  }

  .capability-card {
    min-height: 550px;
  }

  .contact-panel > div:first-child {
    grid-column: 1 / 7;
  }

  .contact-copy {
    grid-column: 7 / -1;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: clamp(20px, 5vw, 38px);
    --section-space: clamp(84px, 14vw, 120px);
  }

  .header-cta,
  .header-actions .language-switch {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .mobile-nav {
    grid-column: 2;
  }

  .hero {
    min-height: 820px;
  }

  .hero-grid {
    min-height: calc(820px - var(--header-height));
    padding-top: 72px;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(45px, 9.2vw, 70px);
  }

  .hero-support {
    display: block;
  }

  .hero-intro {
    max-width: 560px;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-geometry {
    right: -110px;
    bottom: 28px;
    width: 560px;
    opacity: 0.48;
  }

  .section-heading {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .section-heading .eyebrow {
    grid-column: 1 / 3;
  }

  .section-heading h2,
  .section-heading--wide h2 {
    grid-column: 3 / -1;
  }

  .section-heading > p:last-child {
    grid-column: 3 / -1;
    margin-top: 28px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 410px;
    padding-inline: 24px;
  }

  .capability-card + .capability-card {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .card-meta {
    margin-bottom: 44px;
  }

  .capability-card h3 {
    min-height: 0;
    max-width: 480px;
  }

  .capability-card p {
    max-width: 450px;
  }

  .card-figure {
    right: 24px;
    bottom: 22px;
    left: auto;
    width: 260px;
    height: 108px;
    opacity: 0.42;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-step {
    min-height: 320px;
  }

  .model-figure {
    height: 96px;
    margin: 14px 0 18px;
  }

  .model-step:nth-child(3) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .model-step:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .principles-layout {
    display: block;
  }

  .section-heading--sticky {
    margin-bottom: 60px;
    padding-right: 0;
  }

  .section-heading--sticky .eyebrow {
    margin-bottom: 34px;
  }

  .contact-panel {
    display: block;
  }

  .contact h2 {
    margin-bottom: 54px;
  }

  .contact-copy {
    max-width: 620px;
  }

  .footer-brand {
    grid-column: 1 / 7;
  }

  .footer-links {
    grid-column: 7 / -1;
  }

  .disclaimer {
    grid-column: 1 / 10;
  }

  .copyright {
    grid-column: 10 / -1;
  }

  .legal-title {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .legal-content {
    grid-column: 1 / -1;
    padding-top: 78px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .wordmark {
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    min-height: calc(760px - var(--header-height));
    padding-top: 58px;
    padding-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 30px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 38px;
    font-size: clamp(40px, 12.7vw, 58px);
    line-height: 1.01;
  }

  html[lang="ru"] .hero h1 {
    font-size: clamp(37px, 11.8vw, 54px);
  }

  .hero-intro {
    max-width: 94%;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    justify-items: start;
    gap: 12px;
  }

  .button {
    min-height: 50px;
  }

  .hero-geometry {
    right: -140px;
    bottom: 35px;
    width: 460px;
    opacity: 0.38;
  }

  .hero-index span:last-child {
    display: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 54px;
  }

  .section-heading .eyebrow {
    margin-bottom: 30px;
    padding-top: 0;
  }

  .section-heading h2 {
    font-size: clamp(34px, 10vw, 47px);
  }

  .section-heading > p:last-child {
    margin-top: 26px;
  }

  .capability-card {
    min-height: 445px;
    padding: 22px 20px 26px;
  }

  .capability-card h3 {
    font-size: 27px;
  }

  .capability-card p {
    font-size: 13px;
  }

  .card-figure {
    right: 10px;
    bottom: 18px;
    width: 230px;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .model-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 0;
    padding: 30px 0;
    gap: 10px;
  }

  .model-step + .model-step,
  .model-step:nth-child(3),
  .model-step:nth-child(4) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .model-step h3 {
    margin-bottom: 10px;
  }

  .model-step p {
    max-width: 300px;
  }

  .principles-list li {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .principles-list h3 {
    font-size: 23px;
  }

  .contact::after {
    right: -250px;
  }

  .contact h2 {
    margin-bottom: 42px;
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -0.05em;
    line-height: 1;
  }

  html[lang="ru"] .contact h2 {
    font-size: clamp(38px, 11.5vw, 58px);
  }

  .contact-copy > p {
    font-size: 15px;
  }

  .contact-email {
    font-size: clamp(16px, 5vw, 21px);
  }

  .footer-grid {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 38px;
    gap: 28px;
  }

  .disclaimer {
    margin-top: 62px;
  }

  .copyright {
    margin-top: 28px;
  }

  .legal-layout {
    display: block;
  }

  .legal-title {
    padding-right: 0;
  }

  .legal-title h1 {
    font-size: clamp(35px, 11vw, 46px);
  }

  html[lang="ru"] .legal-title h1 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .legal-content {
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-geometry__inner,
  .button,
  .card-figure {
    transform: none !important;
  }
}
