:root {
  --bg: #0b0d0e;
  --surface: #121516;
  --surface-2: #181b1c;
  --paper: #e8e7e3;
  --ink: #f2f3f1;
  --ink-dark: #151818;
  --muted: #9ca2a2;
  --muted-dark: #5d6464;
  --line: rgba(255, 255, 255, .16);
  --line-dark: rgba(18, 22, 22, .2);
  --accent: #dfe3e2;
  --container: 1400px;
  --gutter: clamp(18px, 4vw, 32px);
  --font: "Onest", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main { display: block; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hidden, .form-field[hidden] { display: none !important; }

.nav-shell {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { display: block; width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: .055em; }
.nav-shell nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); color: #b8bdbc; font-size: 13px; }
.nav-shell nav a, .systems-nav a { transition: color .2s ease; }
.nav-shell nav a:hover, .systems-nav a:hover { color: #fff; }
.nav-cta {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.nav-cta span { margin-left: 8px; color: #a8aead; }
.nav-cta:hover { background: #f2f3f1; color: var(--ink-dark); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aeb4b3;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; flex: 0 0 auto; background: currentColor; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 24px 0; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(50px, 5.3vw, 72px); }
h2 { font-size: clamp(38px, 4vw, 54px); }
h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 500; }
h1 em, h2 em { color: #9fa5a4; font-style: normal; }

.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.button.primary { background: #eff0ee; color: #111414; }
.button.primary:hover { background: #fff; transform: translateY(-1px); }
.button span { margin-left: 9px; color: #6f7675; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid #747a79; color: #d4d7d6; font-size: 13px; }

/* Home */
.hero {
  width: 100%;
  min-height: 820px;
  margin: 0 auto;
  padding: 130px max(var(--gutter), calc((100% - var(--container)) / 2)) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "copy media" "status media";
  gap: 36px clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero-copy { grid-area: copy; align-self: end; max-width: 620px; }
.hero-copy h1 { margin: 28px 0; overflow-wrap: normal; word-break: normal; }
.hero-copy > p { max-width: 535px; margin: 0; color: #b2b8b7; font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 30px; }
.hero-product { grid-area: media; position: relative; align-self: center; width: 100%; min-height: 0; aspect-ratio: 1; margin: 0; overflow: hidden; background: #d3d0cc; }
.hero-product img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 38%; }
.hero-product figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 24px 21px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 5px 18px;
  background: linear-gradient(0deg, rgba(7, 9, 9, .9), transparent);
}
.hero-product figcaption span { grid-row: 1 / 3; color: #aeb4b3; font-size: 10px; letter-spacing: .15em; }
.hero-product figcaption b { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.hero-product figcaption small { color: #b5bab9; font-size: 11px; }
.hero-status { grid-area: status; align-self: start; display: flex; align-items: center; gap: 13px; }
.hero-status .status-line { width: 34px; height: 1px; background: #777d7c; }
.hero-status b, .hero-status small { display: block; }
.hero-status b { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hero-status small { margin-top: 4px; color: #7f8584; font-size: 10px; }

.numbers {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.numbers a {
  min-width: 0;
  min-height: 90px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.numbers a:last-child { border-right: 0; }
.numbers a:hover { background: var(--surface); }
.numbers strong { color: #747a79; font-size: 10px; }
.numbers span { font-size: 12px; }
.numbers i { color: #858b8a; font-style: normal; }

.section { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 128px 0; }
.section-head { margin-bottom: 54px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: end; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.product-grid.three { display: grid; grid-template-columns: 1.16fr .92fr .92fr; gap: 1px; padding: 1px; background: var(--line); }
.product-card { min-width: 0; overflow: hidden; background: #101314; }
.product-visual { position: relative; height: 430px; overflow: hidden; background: #d1ceca; }
.product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-visual img { transform: scale(1.018); }
.product-index { position: absolute; top: 14px; left: 14px; padding: 7px 9px; background: #111414; color: #fff; font-size: 10px; }
.product-content { min-height: 222px; padding: 27px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.product-content p { margin: 13px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-content a { margin-top: auto; color: #d9dcdb; font-size: 10px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.product-content a span { margin-left: 7px; color: #8d9392; }

.selection-guide { padding-top: 12px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr); gap: clamp(60px, 8vw, 130px); align-items: start; }
.selection-intro { position: sticky; top: 32px; }
.selection-intro > p { max-width: 500px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.selection-list { border-top: 1px solid var(--line); }
.selection-list > a { min-width: 0; padding: 27px 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 18px; border-bottom: 1px solid var(--line); }
.selection-list > a > span { padding-top: 4px; color: #757c7b; font-size: 10px; }
.selection-list h3 { font-size: 18px; }
.selection-list p { max-width: 600px; margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.selection-list i { color: #858b8a; font-style: normal; transition: transform .2s ease; }
.selection-list a:hover i { transform: translate(2px, -2px); }

.engineering {
  min-height: 760px;
  padding: 110px max(var(--gutter), calc((100% - var(--container)) / 2));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 7vw, 112px);
  align-items: center;
  background: var(--paper);
  color: var(--ink-dark);
}
.engineering-copy { max-width: 570px; }
.engineering .eyebrow { color: #555c5b; }
.engineering h2 em { color: #747a79; }
.engineering-copy > p { margin: 0; color: var(--muted-dark); font-size: 15px; line-height: 1.8; }
.feature-list { margin-top: 34px; border-top: 1px solid var(--line-dark); }
.feature-list > div { padding: 18px 0; display: grid; grid-template-columns: 28px 1fr; gap: 14px; border-bottom: 1px solid var(--line-dark); }
.feature-list b { color: #747a79; font-size: 10px; }
.feature-list strong, .feature-list small { display: block; }
.feature-list strong { font-size: 12px; letter-spacing: .045em; text-transform: uppercase; }
.feature-list small { margin-top: 5px; color: #626968; font-size: 12px; line-height: 1.5; }
.engineering-art { margin: 0; background: #06101a; }
.engineering-art img { display: block; width: 100%; height: auto; object-fit: contain; }
.engineering-art figcaption { padding: 17px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #e4e7e6; }
.engineering-art figcaption span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.engineering-art figcaption small { color: #9da3a2; font-size: 10px; line-height: 1.5; }

.section-head.compact { margin-bottom: 64px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline article { position: relative; min-width: 0; padding: 29px 28px 0 0; border-top: 1px solid var(--line); }
.timeline article > span { position: absolute; top: -27px; color: #747a79; font-size: 10px; }
.timeline i { position: absolute; top: -4px; left: 0; width: 8px; height: 8px; display: block; background: #d7dbda; box-shadow: 0 0 0 6px var(--bg); }
.timeline h3 { font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.timeline p { max-width: 240px; margin: 12px 0 0; color: #8f9594; font-size: 13px; line-height: 1.7; }

.contact { padding-top: 28px; }
.contact-panel { width: 100%; padding: clamp(38px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr); gap: clamp(48px, 7vw, 96px); background: var(--surface); border: 1px solid var(--line); }
.contact-copy { min-width: 0; }
.contact h2 { max-width: 500px; font-size: clamp(38px, 4vw, 52px); }
.contact-copy > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.contact-meta { margin-top: 38px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 22px 38px; font-style: normal; }
.contact-meta small, .contact-meta a { display: block; }
.contact-meta small { margin-bottom: 6px; color: #777e7d; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.contact-meta a { white-space: nowrap; font-size: 13px; }
form { min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.contact form { padding-left: clamp(28px, 4vw, 56px); border-left: 1px solid var(--line); }
form label { color: #818887; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
input, select { width: 100%; min-height: 48px; margin-top: 6px; padding: 12px 14px; border: 1px solid #3c4241; border-radius: 2px; outline: 0; background: #0d0f10; color: #edf0ef; font-size: 12px; }
input:focus, select:focus { border-color: #e0e3e2; }
.contact form .button { width: 100%; margin-top: 3px; }
.contact form > small { color: #69706f; font-size: 8px; line-height: 1.5; }
.success { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success > span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line); }
.success h3 { margin: 18px 0 8px; }
.success p { color: var(--muted); }
.success button { border: 0; background: none; color: #d9dcdb; cursor: pointer; text-decoration: underline; }

.site-footer {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(240px, 1fr) minmax(400px, 1.5fr);
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
  color: #7f8584;
}
.site-footer p { max-width: 280px; margin: 0; font-size: 11px; line-height: 1.55; }
.systems-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.systems-nav a { color: #aeb3b2; font-size: 10px; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.site-footer > small { grid-column: 1 / -1; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); font-size: 8px; }

/* Product pages */
.page-main { padding-top: 88px; }
.page-main .nav-shell { position: absolute; }
.breadcrumbs { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 24px 0 0; color: #777e7d; font-size: 11px; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; }
.breadcrumbs a:hover { color: #fff; }
.system-hero {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 58px 0 110px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 6vw, 90px);
  align-items: center;
}
.system-hero > div { min-width: 0; }
.system-hero h1 { max-width: 670px; margin: 27px 0; font-size: clamp(46px, 4.8vw, 66px); }
.system-hero p { max-width: 580px; margin: 0; color: #a7adac; font-size: 16px; line-height: 1.75; }
.system-hero .button { margin-top: 34px; }
.system-hero > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #d1ceca; }
.content-section { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 100px 0; }
.content-section h2 { max-width: 820px; margin-bottom: 44px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.info-card { min-width: 0; min-height: 230px; padding: 30px; border-right: 1px solid var(--line); background: var(--surface); }
.info-card:last-child { border-right: 0; }
.info-card h3 { font-size: 18px; }
.info-card p { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.prose > p { max-width: 780px; margin: 0 0 20px; color: #a8aead; font-size: 16px; line-height: 1.85; }
.product-page #requirements { position: relative; padding-block: 110px; background: var(--paper); color: var(--ink-dark); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.product-page #requirements .eyebrow { color: #555c5b; }
.product-page #requirements > p { color: var(--muted-dark); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.steps-grid article { min-width: 0; min-height: 220px; padding: 25px 25px 25px 0; }
.steps-grid article + article { padding-left: 25px; border-left: 1px solid var(--line); }
.steps-grid span { color: #777e7d; font-size: 10px; }
.steps-grid h3 { margin-top: 32px; font-size: 15px; letter-spacing: .045em; text-transform: uppercase; }
.steps-grid p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: #8e9493; font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -4px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.page-cta { margin-bottom: 98px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 50px; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.page-cta h2 { margin: 0; font-size: clamp(34px, 3.6vw, 48px); }
.page-cta p { margin: 0; color: var(--muted); }
.page-cta .button { grid-column: 2; grid-row: 1 / 3; }
.content-section > .page-cta + h2 { margin-bottom: 34px; font-size: 30px; letter-spacing: -.03em; }
.related-links { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.related-links a { min-height: 86px; padding: 0 24px; display: flex; align-items: center; border-right: 1px solid var(--line); color: #d5d8d7; font-size: 13px; transition: background .2s ease; }
.related-links a:last-child { border-right: 0; }
.related-links a:hover { background: var(--surface); }

@media (max-width: 1020px) {
  .nav-shell nav { display: none; }
  .hero { min-height: 0; padding: 118px var(--gutter) 76px; grid-template-columns: 1fr; grid-template-areas: "copy" "media" "status"; gap: 42px; }
  .hero-copy { align-self: auto; max-width: 680px; }
  .hero-product, .hero-product img { min-height: 0; height: min(72vw, 650px); }
  .numbers { grid-template-columns: 1fr; }
  .numbers a { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .numbers a:last-child { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head > p { width: min(100%, 560px); }
  .product-grid.three { grid-template-columns: 1fr; }
  .product-visual { height: min(72vw, 620px); }
  .product-content { min-height: 0; }
  .selection-guide { grid-template-columns: 1fr; gap: 45px; }
  .selection-intro { position: static; }
  .engineering { grid-template-columns: 1fr; }
  .engineering-copy { max-width: 700px; }
  .engineering-art { width: min(100%, 680px); }
  .contact-panel { grid-template-columns: 1fr; gap: 44px; }
  .contact form { padding: 36px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer .systems-nav { grid-column: 1 / -1; justify-content: flex-start; }
  .system-hero { grid-template-columns: 1fr; padding-top: 50px; }
  .system-hero > div { max-width: 730px; }
  .system-hero > img { width: min(100%, 760px); }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .info-card:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .nav-shell { height: 76px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 14px; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 0; }
  .nav-cta::before { content: "Заявка"; font-size: 9px; }
  .nav-cta span { margin-left: 7px; font-size: 12px; }
  h1 { font-size: clamp(32px, 10vw, 46px); }
  h2 { font-size: 34px; }
  .hero { padding-top: 105px; gap: 34px; }
  .hero-copy > p { font-size: 15px; line-height: 1.65; }
  .hero-actions { gap: 22px; flex-wrap: wrap; }
  .hero-product, .hero-product img { height: 112vw; max-height: 490px; }
  .hero-product figcaption { grid-template-columns: 42px 1fr; padding: 42px 15px 16px; }
  .hero-product figcaption small { display: none; }
  .numbers a { padding: 0 15px; grid-template-columns: 34px 1fr auto; }
  .section { padding: 88px 0; }
  .product-visual { height: 104vw; max-height: 440px; }
  .product-content { padding: 23px 19px; }
  .engineering { padding: 84px var(--gutter); gap: 46px; }
  .engineering-art figcaption { grid-template-columns: 1fr; gap: 6px; }
  .timeline { grid-template-columns: 1fr; gap: 52px; }
  .timeline article { padding-top: 25px; }
  .contact { padding-top: 18px; }
  .contact-panel { padding: 29px 19px; }
  .contact h2 { font-size: 34px; }
  .contact-meta { grid-template-columns: 1fr; gap: 18px; }
  .contact-meta a { white-space: normal; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer .systems-nav { grid-column: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .site-footer > small { grid-column: auto; width: 100%; }
  .page-main { padding-top: 76px; }
  .breadcrumbs { padding-top: 19px; }
  .system-hero { padding: 40px 0 82px; gap: 38px; }
  .system-hero h1 { font-size: clamp(36px, 9.8vw, 42px); }
  .system-hero p { font-size: 15px; }
  .content-section { padding: 80px 0; }
  .content-section h2 { margin-bottom: 34px; }
  .info-card { padding: 25px 20px; }
  .product-page #requirements { padding-block: 82px; }
  .prose > p { font-size: 15px; line-height: 1.8; }
  .steps-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .steps-grid article { min-height: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .steps-grid article + article { padding-left: 0; border-left: 0; }
  .steps-grid h3 { margin-top: 18px; }
  .page-cta { margin-bottom: 72px; padding: 30px 20px; grid-template-columns: 1fr; }
  .page-cta .button { grid-column: auto; grid-row: auto; justify-self: start; }
  .related-links { grid-template-columns: 1fr; }
  .related-links a { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); }
  .related-links a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
