:root {
  --bg: #ffffff;
  --ink: #262626;
  --muted: #706d66;
  --panel: #ffffff;
  --dark: #262626;
  --line: rgba(38, 38, 38, 0.14);
  --orange: #ff5a1f;
  --orange-soft: #fff0e9;
  --warm: #f7f4ed;
  --soft: #f3eee5;
  --shadow: 0 24px 70px rgba(38, 38, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  width: 280px;
  height: auto;
  display: block;
}
.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  text-decoration: none;
}
.nav-action {
  padding: 10px 14px;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  font-weight: 900;
  transition: opacity 0.2s;
}
.nav-action:hover { opacity: 0.82; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

h1, h2, h3 {
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
h1 {
  max-width: 900px;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}
h3 {
  font-size: 20px;
  line-height: 1.18;
}
p, dd, td { overflow-wrap: break-word; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}
.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
}
.button.primary {
  color: #fff;
  background: var(--orange);
  transition: opacity 0.2s;
}
.button.secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.button:hover { opacity: 0.84; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.hero-facts div {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
dd { margin: 4px 0 0; font-weight: 800; }
.hero-screen {
  padding: 18px;
  background: #262626;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.hero-screen img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.section {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
}
.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  color: #fff;
  background: var(--dark);
}
.intro p:last-child {
  margin: 0;
  color: #d8d3c9;
  font-size: 22px;
}
.section-head {
  max-width: 980px;
  margin-bottom: 34px;
}
.section-head.narrow { max-width: 760px; }

.modules-section { background: var(--panel); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.modules-grid article {
  min-height: 260px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.modules-grid article:hover {
  background: var(--orange-soft);
}
.modules-grid span {
  display: block;
  margin-bottom: 44px;
  color: var(--orange);
  font-weight: 900;
}
.modules-grid p,
.scenario-list p,
.pricing-card p,
.pricing-details p,
.license-grid p,
.contact-section p,
.note {
  color: var(--muted);
}

.scenarios-section {
  background: var(--soft);
}
.scenario-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.scenario-list article {
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 14px;
}
.scenario-list strong {
  display: block;
  margin-bottom: 40px;
  font-size: 20px;
}

.pricing-section {
  color: #fff;
  background: var(--dark);
}
.pricing-section .eyebrow { color: #ffb199; }
.pricing-section .section-head p:not(.eyebrow) {
  color: #d8d3c9;
}
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pricing-tiers article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  background: #303030;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
.pricing-tiers article.featured-tier {
  background: var(--orange);
  border-color: var(--orange);
}
.pricing-tiers span {
  display: block;
  margin-bottom: 44px;
  color: #ffb199;
  font-weight: 900;
  text-transform: uppercase;
}
.pricing-tiers .featured-tier span,
.pricing-tiers .featured-tier p {
  color: rgba(255, 255, 255, 0.86);
}
.pricing-tiers strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}
.pricing-tiers p {
  margin: 0;
  color: #d8d3c9;
}
.pricing-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.14);
}
.pricing-details article {
  padding: 24px;
  background: #303030;
}
.pricing-details span {
  display: block;
  margin-bottom: 18px;
  color: #ffb199;
  font-weight: 900;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.license-grid article {
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.license-grid h3 {
  margin-bottom: 44px;
}
.note {
  max-width: 980px;
  margin: 24px 0 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 0.5px solid var(--line);
  border-radius: 10px;
}

.official-section {
  background: var(--panel);
}
.requisites {
  display: grid;
  max-width: 1100px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.requisites div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: var(--dark);
}
.contact-section .eyebrow { color: #ffb199; }
.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.contact-card .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.footer {
  display: grid;
  gap: 8px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #d8d3c9;
  background: #050505;
  border-top: 0.5px solid rgba(255, 255, 255, 0.18);
}
.footer strong { color: #fff; }
.footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero,
  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .modules-grid,
  .scenario-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-card {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .brand span {
    display: none;
  }
  .brand img {
    width: 190px;
  }
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute;
    inset: 72px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 9px 8px; }
  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }
  .hero-facts,
  .modules-grid,
  .scenario-list,
  .pricing-tiers,
  .pricing-details,
  .license-grid {
    grid-template-columns: 1fr;
  }
  .requisites div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
