/* ============ Лидер В — production styles ============ */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700;800&family=Golos+Text:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --ink: #0f1822;
  --ink-soft: #3a4a5f;
  --ink-mute: #6e7c8e;
  --line-soft: rgba(15, 24, 34, 0.12);
  --line: rgba(15, 24, 34, 0.22);

  --paper: #ffffff;
  --paper-warm: #f5f6f8;
  --paper-deep: #eef0f3;

  --steel: #1f3a63;
  --steel-deep: #14264a;
  --steel-light: #4a6fa5;

  --orange: #e8703a;
  --orange-deep: #c95a26;
  --orange-soft: #f7c8a7;

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --font-mono: "Golos Text", system-ui, sans-serif;

  --maxw: 1360px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ===== type ===== */
.h1, h1.h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em; margin: 0; }
.h2, h2.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.h3, h3.h3 { font-family: var(--font-head); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.h4 { font-family: var(--font-head); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-soft); }

/* ===== top nav (shared) ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 9px;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-sub {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}

.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-1px);
}
.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost-light {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-arrow::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.18s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(3px); }

/* ===== chips ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
}
.chip-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.chip-steel { background: var(--steel); color: #fff; border-color: var(--steel); }
.chip-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-line { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }

/* ===== layout ===== */
.section {
  padding: clamp(60px, 9vw, 130px) var(--pad-x);
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-warm { background: var(--paper-warm); }
.section-deep { background: var(--paper-deep); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lead { color: rgba(244,241,234,0.7); }
.section-dark .eyebrow { color: rgba(244,241,234,0.6); }

/* ===== footer ===== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--pad-x) 32px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244,241,234,0.12);
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.5);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(244,241,234,0.85); font-size: 14px; }
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: rgba(244,241,234,0.5);
  font-family: var(--font-mono);
}
.footer .brand-name { color: var(--paper); }

/* ===== utility ===== */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 28px; }
.gap-xl { gap: 48px; }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .nav-links { gap: 14px; }
  .nav-links .nav-link { display: none; }
  .nav-links .nav-link.cta-link { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

.cta-heading-short { display: none; }
.text-variant-short {display: none; }

@media (max-width: 480px) {
  .cta-text { display: none; }
  .nav-link.cta-link { padding: 14px; gap: 0; }
  .nav-link.cta-link::after { display: none; }
  .cta-heading-full { display: none; }
  .cta-heading-short { display: block; }
  .text-variant-short {display: inline; }
  .text-variant-full {display: none; }
}

/* ===== modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 34, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--paper);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 64px rgba(15,24,34,0.18);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ink-mute);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--paper-deep); color: var(--ink); }
.modal-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 8px;
}
.modal-desc {
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-size: 15px;
}
.modal-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.modal-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.15s;
}
.modal-field input:focus { border-color: var(--orange); }
.modal-footer { margin-top: 20px; }
.modal-footer .btn { width: 100%; justify-content: center; }
.modal-status {
  margin-top: 14px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
}
.modal-status--ok { background: #e8f5e9; color: #2e7d32; }
.modal-status--err { background: #fdecea; color: #c62828; }
.modal-legal {
  margin-top: 6px;
  display: block;
  text-align: center;
  font-size: 10px;
  color: var(--ink-mute);
  max-width: 360px;
}