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

:root {
  --ink: #0a1a2a;
  --navy: #10263b;
  --navy-2: #16324c;
  --text: #1b2a38;
  --muted: #566878;
  --accent: #0c8058;
  --accent-dark: #086344;
  --accent-light: #5ed3a6;
  --tint: #eaf4ef;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --line: #dce5ea;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 42, 0.07);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 650; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; }
.brand img { width: auto; height: 40px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.lang-switch { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; text-decoration: none; border: 0; color: var(--muted); }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(900px 480px at 85% -10%, #1d4a6b 0%, transparent 55%), linear-gradient(160deg, var(--ink) 0%, var(--navy) 55%, #143a56 100%); color: #e8f0f5; padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-grid > *, .two-col > *, .contact-layout > * { min-width: 0; }
.eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2.05rem, 3.6vw, 3.35rem); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9d8e2; max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-note { font-size: 0.88rem; color: #9fb4c3; margin: 0; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin-top: 54px; }
.hero-metrics div { background: rgba(10, 26, 42, 0.35); padding: 18px 20px; }
.hero-metrics strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 650; }
.hero-metrics span { display: block; color: #9fb4c3; font-size: 0.8rem; margin-top: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; font-family: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.hero .btn-ghost { color: #e8f0f5; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn + .btn { margin-left: 0; }

/* Sections */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section--bg { background: var(--bg); }
.section--dark { background: var(--ink); color: #c9d8e2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #a8bccb; }
.kicker { display: block; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px; }
.section--dark .kicker { color: var(--accent-light); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead { font-size: 1.16rem; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { border-color: #bfd2cc; box-shadow: var(--shadow); }
.card-kicker { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: 0.78rem; font-weight: 500; color: var(--accent-dark); background: var(--tint); border-radius: 999px; padding: 4px 10px; }

/* Audience */
.audience-list { display: flex; flex-wrap: wrap; gap: 10px; }
.audience-list span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.92rem; font-weight: 500; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 58px; border-left: 1px solid var(--line); margin-left: 16px; }
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: -17px; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 650; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.product img { grid-row: 1 / span 3; width: 56px; height: 56px; object-fit: contain; }
.product h3 { margin: 0; font-size: 1.02rem; letter-spacing: 0.01em; }
.product-sub { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.product p:last-child { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Monitor mock */
.monitor { background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px rgba(3, 12, 20, 0.5); color: #dbe7ee; }
.monitor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 0.82rem; }
.monitor-title { font-weight: 650; letter-spacing: 0.06em; color: #fff; }
.monitor-live { color: var(--accent-light); font-weight: 500; letter-spacing: 0.02em; }
.monitor-meta { color: #8fa8b8; }
.monitor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dev { display: block; height: 44px; border-radius: 8px; background: #1c3a52; position: relative; }
.dev::after { content: ""; position: absolute; left: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; }
.dev.on::after { background: #4fd39e; box-shadow: 0 0 8px #4fd39e; }
.dev.warn::after { background: #f2b13c; box-shadow: 0 0 8px #f2b13c; }
.dev.off::after { background: #ef6a6a; box-shadow: 0 0 8px #ef6a6a; }
.dev.off { background: #2a2f3a; }
.monitor-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 0.76rem; color: #8fa8b8; }
.monitor-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.on { background: #4fd39e; } .dot.warn { background: #f2b13c; } .dot.off { background: #ef6a6a; }
.monitor-event { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 12px; font-size: 0.8rem; color: #b7c9d5; }
.monitor-time { color: var(--accent-light); font-variant-numeric: tabular-nums; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sla-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.94rem; }
.sla-table caption { text-align: left; padding: 18px 22px; color: var(--muted); font-size: 0.88rem; border-bottom: 1px solid var(--line); }
.sla-table th, .sla-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sla-table thead th { background: var(--bg); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.sla-table tbody th { white-space: nowrap; font-weight: 600; color: var(--ink); }
.sla-table tr:last-child th, .sla-table tr:last-child td { border-bottom: 0; }
.sev { display: inline-block; min-width: 28px; text-align: center; font-size: 0.74rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; margin-right: 4px; }
.sev-1 { background: #f7d9d6; color: #8c1d12; }
.sev-2 { background: #fbe9c8; color: #6b4700; }
.sev-3 { background: #d6e9ee; color: #1e5563; }
.sev-4 { background: #e3e8ec; color: #3f4a55; }
.table-note { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--tint); border: 2px solid var(--accent); }
.feature-list strong { color: var(--ink); }
.section--dark .feature-list li { color: #a8bccb; }
.section--dark .feature-list strong { color: #fff; }
.section--dark .feature-list li::before { background: rgba(94, 211, 166, 0.18); border-color: var(--accent-light); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #17405c 100%); color: #dbe7ee; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 8px; }
.cta-inner p { color: #a8bccb; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* Page header */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs span { margin: 0 8px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.contact-aside { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-aside h2 { font-size: 1.1rem; margin-bottom: 16px; }
.contact-aside dl { margin: 0; display: grid; gap: 16px; }
.contact-aside dt { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.contact-aside dd { margin: 2px 0 0; }
.contact-aside a { text-decoration: none; font-weight: 500; }
.contact-aside a:hover { text-decoration: underline; }

/* Forms */
.contact-form { display: grid; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #c6d3da;
  border-radius: 9px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 143, 98, 0.16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.form-error { font-size: 0.9rem; color: #8c1d12; background: #f7d9d6; border-radius: 8px; padding: 10px 14px; margin: 0; }

/* Legal / prose */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.05rem; }
.prose ul { color: var(--muted); }
.prose p, .prose li { color: #33475a; }
.prose .updated { color: var(--muted); font-size: 0.88rem; }
.notice { background: var(--tint); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 0 8px 8px 0; color: #2b4a40; }

/* Footer */
.site-footer { background: var(--ink); color: #9fb4c3; padding: 64px 0 26px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer img { width: auto; height: 48px; }
.footer-brand p { margin: 0 0 12px; max-width: 34ch; }
.footer-legal { font-size: 0.8rem; color: #7f97a8; line-height: 1.55; }
.footer-col h2 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 6px 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: #b7c9d5; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-hours { margin: 14px 0 0; color: #7f97a8; font-size: 0.82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; color: #7f97a8; }
.footer-bottom p { margin: 0; }

/* Consent */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(10, 26, 42, 0.12); }
.consent-inner { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.consent-inner h2 { font-size: 0.95rem; margin: 0 0 2px; }
.consent-inner p { margin: 0; font-size: 0.84rem; color: var(--muted); max-width: 75ch; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-actions .btn { padding: 9px 16px; font-size: 0.86rem; }
.btn-ghost { border-color: #c6d3da; }
[hidden] { display: none !important; }
body:has(.consent-banner:not([hidden])) { padding-bottom: 150px; }

/* Utilities */
.mt-24 { margin-top: 24px; }
.dl-grid { display: grid; gap: 14px; margin: 0; }
.center { text-align: center; }
.section--lg { padding: 120px 0; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--accent); margin-bottom: 0; }
.notfound p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .two-col, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10, 26, 42, 0.1); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent-dark); }
  .lang-switch { align-self: flex-start; margin-top: 14px; }
  .card-grid, .product-grid, .field-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .consent-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .breadcrumbs { font-size: 0.78rem; }
}

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