:root {
  --bg: #e8eef5;
  --bg-dark: #0a1628;
  --bg-dark-2: #0f2744;
  --surface: #ffffff;
  --text: #15202b;
  --text-on-dark: #f2f6fb;
  --muted: #5b6b7c;
  --muted-on-dark: #9aadc2;
  --accent: #1f6feb;
  --accent-dark: #1558c0;
  --accent-soft: rgba(31, 111, 235, 0.14);
  --line: #d0dae6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --max: 1160px;
  --font: "Source Sans 3", "Segoe UI", "PT Sans", sans-serif;
  --display: Manrope, "Segoe UI Semibold", "PT Sans", sans-serif;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(10, 22, 40, 0.12);
}

* { box-sizing: border-box; }

body.site {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(12, 24, 44, 0.94) 0%, rgba(10, 22, 40, 0.9) 100%);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 36px rgba(6, 14, 28, 0.28);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.45), transparent);
  pointer-events: none;
}
.site-header__inner,
.site-footer__inner,
.site-section__inner,
.site-hero__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
/* Контентные блоки — не на всю ширину, с внутренними полями от краёв */
.site-section {
  width: min(100% - 2.5rem, var(--max));
  margin: 1.75rem auto;
  padding: 3.25rem 2.75rem 3.5rem;
  box-sizing: border-box;
}
.site-section > h2,
.site-section > .site-kicker,
.site-section > .site-lead,
.site-section > .site-grid,
.site-section > .site-prose,
.site-section > .site-prose--wide,
.site-section > .site-split,
.site-section > .site-cta,
.site-section > .site-tabs,
.site-section > .site-map,
.site-section > .site-dl-grid,
.site-section > .site-shots,
.site-section > .site-pricing,
.site-section > p,
.site-section > .btn {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.site-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.site-logo:hover { opacity: 0.92; }
.site-logo__mark {
  background: linear-gradient(160deg, #e0353d 0%, #c8232c 55%, #a81b22 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.28rem 0.5rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  line-height: 1.15;
  box-shadow: 0 2px 10px rgba(200, 35, 44, 0.35);
}
.site-logo__text {
  color: #fff;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}
.site-logo__text--dark { color: #15202b; }
.site-logo__mark-img {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.site-logo__img { height: 36px; width: auto; display: block; }
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.site-nav a {
  position: relative;
  color: rgba(242, 246, 251, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.9;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}
.site-header__cta {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(31, 111, 235, 0.35);
}
.site-header__cta:hover { box-shadow: 0 8px 22px rgba(31, 111, 235, 0.45); }

.site-callback-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-callback-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.site-callback-btn__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent, #1f6feb);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.45);
  animation: site-callback-pulse 2.2s ease-out infinite;
}
.site-callback-btn__rings {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.35);
  animation: site-callback-ring 2.2s ease-out infinite;
}
.site-callback-btn__label { position: relative; z-index: 1; white-space: nowrap; }
@keyframes site-callback-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(31, 111, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 111, 235, 0); }
}
@keyframes site-callback-ring {
  0% { box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.35); opacity: 1; }
  70% { box-shadow: 0 0 0 14px rgba(31, 111, 235, 0); opacity: 0; }
  100% { box-shadow: 0 0 0 0 rgba(31, 111, 235, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-callback-btn__icon,
  .site-callback-btn__rings { animation: none; }
}
@media (max-width: 720px) {
  .site-callback-btn__label { display: none; }
  .site-callback-btn { padding: 0.35rem; }
  .site-callback-btn__rings { left: 0.35rem; }
}
.site-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-nav-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .site-nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.site-nav-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  padding: 0.55rem 1.05rem;
  font-weight: 600;
  font-family: var(--font);
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1.02rem; }
.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  transform: none !important;
}

.site-main { min-height: 60vh; }
.site-messages { width: min(100% - 2rem, var(--max)); margin: 1rem auto 0; }
.site-msg {
  background: var(--accent-soft);
  border: 1px solid #9bbcf5;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.site-hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(31, 111, 235, 0.35), transparent 60%),
    radial-gradient(700px 380px at 10% 80%, rgba(15, 39, 68, 0.9), transparent 55%),
    linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 55%, #0a1a33 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  animation: heroIn 0.7s ease both;
}
.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.site-hero--flush::after { display: none; }
.site-hero__inner h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
  font-weight: 700;
}
.site-hero__inner p {
  color: var(--muted-on-dark);
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 0 1.75rem;
}
.site-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-hero__inner--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.site-hero__media {
  position: relative;
}
.site-hero__panel {
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    #0c1d35;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  min-height: 240px;
}
.site-hero__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.site-hero__tile {
  border-radius: 8px;
  background: rgba(31, 111, 235, 0.15);
  border: 1px solid rgba(31, 111, 235, 0.25);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  color: var(--muted-on-dark);
  font-size: 0.8rem;
  font-weight: 600;
}
.site-hero__media img {
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line-dark);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.site-section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 18px;
}
.site-section--dark .site-lead,
.site-section--dark .site-card p { color: var(--muted-on-dark); }
.site-section--dark .site-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}
.site-section--dark h2,
.site-section--dark h3 { color: var(--text-on-dark); }
.site-section--band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.05);
}
.site-section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.site-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.site-section--dark .site-kicker { color: #7eb0ff; }
.site-lead {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2.25rem;
  font-size: 1.05rem;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
}
.site-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.85rem 1.65rem 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #b8c9e0;
}
.site-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
}
.site-card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.site-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f1ff, #d6e6ff);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.site-card__icon img,
.site-card__icon-img {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 1rem;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f1ff, #d6e6ff);
  box-sizing: border-box;
}
.site-illust {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.site-illust--shadow {
  box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
}
.site-illust--soft {
  box-shadow: 0 18px 48px rgba(10, 22, 40, 0.12);
  border: 0;
  background: transparent;
}
.site-hero__media .site-illust {
  border-radius: 16px;
}
.site-hero__media .site-illust--soft {
  border-radius: 12px;
}
.site-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.site-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
  width: 100%;
}
.site-split--rev .site-split__media { order: 2; }
.site-split__media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.site-figure { margin: 0; width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.site-figure figcaption { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

.site-cta {
  text-align: center;
  padding: 1.5rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.site-cta-band {
  width: min(100% - 2.5rem, var(--max));
  margin: 1.75rem auto 2.5rem;
  background: linear-gradient(120deg, var(--bg-dark), var(--bg-dark-2));
  color: var(--text-on-dark);
  padding: 3.75rem 2.75rem;
  text-align: center;
  border-radius: 18px;
  box-sizing: border-box;
}
.site-cta-band h2 { color: #fff; margin: 0 auto 0.85rem; max-width: 36rem; }
.site-cta-band p { color: var(--muted-on-dark); max-width: 36rem; margin: 0 auto 1.75rem; }
.site-cta-band .site-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.85rem 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.site-price span,
.site-price__unit { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.site-pricing--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
}
.site-plan__note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-card--accent {
  border-color: #b8c9e0;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 48%);
}

.site-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}
.site-plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.1rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.site-plan--featured {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(31, 111, 235, 0.18);
  background:
    linear-gradient(180deg, #f3f8ff 0%, #fff 42%);
}
.site-plan__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.site-plan__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.site-plan__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}
.site-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: min(100% - 2.5rem, var(--max));
  margin: -2.25rem auto 0;
  position: relative;
  z-index: 2;
}
.site-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.site-stat__value {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-stat__label {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.site-tabs[role="tablist"] .btn {
  cursor: pointer;
  border: 0;
  font: inherit;
}
.support-panels {
  width: 100%;
}
.support-panel,
.site-section.support-panel[hidden],
.support-panel[hidden],
.support-panel:not(.is-active) {
  display: none !important;
}
.support-panel.is-active,
.site-section.support-panel.is-active {
  display: block !important;
}
.site-section--lift {
  margin-top: 1.5rem;
  padding-top: 3.25rem;
}

.site-prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem 2rem;
  max-width: 52rem;
}
.site-prose--wide { max-width: none; width: 100%; }
.site-prose h3 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.site-prose h3:first-child { margin-top: 0; }
.site-prose p { margin: 0 0 0.75rem; color: var(--text); }
.site-prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.site-prose li { margin: 0.35rem 0; }
.site-prose code {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.88em;
  background: #eef3f9;
  color: #0f2744;
  padding: 0.12em 0.4em;
  border-radius: 4px;
}
.site-prose pre {
  margin: 0.65rem 0 1.15rem;
  padding: 1rem 1.1rem;
  background: #0a1628;
  color: #e8eef5;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.5;
}
.site-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.site-prose .api-ep {
  margin: 1.5rem 0 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.site-prose .api-ep:first-of-type { border-top: 0; padding-top: 0; }
.site-prose .api-ep__method {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18em 0.5em;
  border-radius: 4px;
  background: #dbeafe;
  color: #1e3a8a;
  margin-right: 0.45rem;
  vertical-align: middle;
}
.site-prose .api-ep__path {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.95rem;
  word-break: break-all;
}
.site-prose .api-ep h4 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
}
.site-prose .api-ep__meta {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--muted, #5a6b7d);
}
.site-prose .api-fields {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.site-prose .api-fields li {
  margin: 0.45rem 0;
  padding-left: 0;
  line-height: 1.45;
}
.site-prose .api-fields code {
  white-space: nowrap;
}

.site-map {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  width: 100%;
}

.site-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.35rem;
  width: 100%;
}
.site-dl {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.7rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 100%;
}
.site-dl:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b8c9e0;
}
.site-dl__kind {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-dl h3 { margin: 0; font-family: var(--display); font-size: 1.05rem; }
.site-dl p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.site-dl .btn { align-self: flex-start; margin-top: 0.25rem; }

.site-shot {
  object-fit: cover;
  object-position: top center;
  background: #0c1d35;
}
.site-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  width: 100%;
}
.site-shot-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-shot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.site-shot-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
}
.site-shot-card figcaption {
  padding: 0.75rem 1rem 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
img.site-shot,
img[data-lightbox] {
  cursor: zoom-in;
}

/* —— Screenshot lightbox —— */
.site-lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: transparent;
  color: #fff;
}
.site-lightbox::backdrop {
  background: rgba(6, 12, 22, 0.92);
}
.site-lightbox[open] {
  display: grid;
  place-items: center;
}
.site-lightbox__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 22, 0.92);
}
.site-lightbox__stage {
  position: relative;
  z-index: 1;
  width: min(96vw, 1600px);
  height: min(94vh, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.site-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #0a1628;
}
.site-lightbox__cap {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(242, 246, 251, 0.88);
  text-align: center;
}
.site-lightbox__close,
.site-lightbox__nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.15s ease;
}
.site-lightbox__close:hover,
.site-lightbox__nav:hover {
  background: rgba(31, 111, 235, 0.85);
}
.site-lightbox__close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1.15rem;
  z-index: 2;
}
.site-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  border-radius: 10px;
  font-size: 2rem;
  line-height: 1;
}
.site-lightbox__nav--prev { left: 0; }
.site-lightbox__nav--next { right: 0; }
.site-lightbox__nav[hidden],
.site-lightbox__cap[hidden] { display: none !important; }
body.site-lightbox-open { overflow: hidden; }
@media (max-width: 720px) {
  .site-lightbox__nav { width: 40px; height: 52px; font-size: 1.6rem; }
  .site-lightbox__stage { width: 100vw; padding: 0 0.35rem; }
}

.site-block { background-repeat: no-repeat; background-size: cover; }
.site-section__inner { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-footer {
  position: relative;
  margin-top: 0;
  background:
    radial-gradient(700px 280px at 12% 0%, rgba(31, 111, 235, 0.16), transparent 60%),
    linear-gradient(180deg, #0c182c 0%, var(--bg-dark) 45%, #07101c 100%);
  color: var(--muted-on-dark);
  padding: 4rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.45), transparent);
  pointer-events: none;
}
.site-footer a { color: #d7e3f2; text-decoration: none !important; }
.site-footer a:hover { color: #fff; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 2.25rem 2rem;
  align-items: start;
}
.site-footer__brand {
  padding-right: 1rem;
}
.site-logo--footer {
  margin-bottom: 1.1rem;
}
.site-footer__company {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.site-footer__addr {
  margin: 0 0 0.85rem;
  max-width: 28ch;
  line-height: 1.45;
  color: #9aadc2;
  font-size: 0.92rem;
}
.site-footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: #7e90a5;
}
.site-footer__col h4 {
  margin: 0.15rem 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.site-footer__links a {
  width: fit-content;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.1rem 0;
  transition: color 0.18s ease, transform 0.18s ease;
}
.site-footer__links a:hover {
  transform: translateX(2px);
}
.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.site-footer__phone {
  color: #fff !important;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.site-footer__mail {
  font-size: 0.95rem;
  color: #b7c8db !important;
}
.site-footer__mail:hover { color: #fff !important; }
.site-footer__cta {
  margin-top: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(31, 111, 235, 0.32);
}
.site-footer__bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: #7e90a5;
}
.site-footer__legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer__legal a {
  font-size: 0.85rem;
  color: #9aadc2 !important;
}
.site-footer__legal a:hover { color: #fff !important; }

.impersonation-banner {
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.impersonation-banner form { display: inline; margin-left: 0.75rem; }
.impersonation-banner button {
  background: #fff;
  color: #9a3412;
  border: 0;
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-pricing { grid-template-columns: 1fr; max-width: 420px; }
  .site-stats { grid-template-columns: 1fr 1fr; margin-top: -1.5rem; }
}
@media (max-width: 1080px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 0.4rem 0.5rem; font-size: 0.84rem; }
  .site-nav a::after { left: 0.5rem; right: 0.5rem; }
}
@media (max-width: 900px) {
  .site-nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(10, 22, 40, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(6, 14, 28, 0.45);
    backdrop-filter: blur(16px);
  }
  .site-header.is-nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }
  .site-nav a::after { display: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; padding-right: 0; }
  .site-hero { padding-top: 3rem; }
  .site-hero__inner--split,
  .site-split { grid-template-columns: 1fr; }
  .site-split--rev .site-split__media { order: 0; }
  .site-section,
  .site-cta-band { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 720px) {
  .site-shots { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 3rem; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-stats { grid-template-columns: 1fr; }
  .site-section,
  .site-cta-band {
    padding: 2.25rem 1.25rem 2.5rem;
    margin-inline: 1rem;
    width: auto;
  }
}

/* Готовые видеосерверы */
.hw-kits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.hw-kit {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.05);
}
.hw-kit__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.hw-kit h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  padding-right: 3rem;
}
.hw-kit__meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.hw-kit__price-row,
.hw-kit__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.hw-kit__price-row { color: var(--muted); font-size: 0.95rem; }
.hw-kit__total {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hw-kit__total strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--text);
}
.hw-kit__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.3rem;
  background: #eef3f9;
  border-radius: 12px;
}
.hw-kit__opt {
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 0.7rem 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
}
.hw-kit__opt.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.08);
}
.hw-kit__hint { margin: 0; color: var(--muted); font-size: 0.88rem; flex: 1; }
.hw-kit .btn { align-self: stretch; }
@media (max-width: 800px) {
  .hw-kits { grid-template-columns: 1fr; }
}

/* Honeypot: скрыто от людей, видно ботам в HTML */
.auth-hp-wrap,
.auth-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* —— Auth modal —— */
.auth-modal {
  border: 0;
  padding: 0;
  margin: auto;
  max-width: calc(100vw - 1.5rem);
  width: 440px;
  background: transparent;
  color: var(--text);
}
.auth-modal::backdrop {
  background: rgba(8, 16, 32, 0.62);
  backdrop-filter: blur(8px);
}
.auth-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.auth-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(10, 22, 40, 0.35);
  padding: 1.75rem 1.75rem 1.5rem;
  animation: authIn 0.28s ease both;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.auth-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef3f9;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.auth-modal__close:hover { background: #e2eaf3; color: var(--text); }
.auth-modal__brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}
.auth-modal__brand-copy {
  flex-basis: 100%;
  margin-top: 0.35rem;
}
.auth-modal__brand-copy span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}
.auth-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: #eef3f9;
  border-radius: 12px;
  margin-bottom: 1.35rem;
}
.auth-modal__tab {
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.auth-modal__tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.08);
}
.auth-modal__pane { display: none; }
.auth-modal__pane.is-active { display: block; }
.auth-modal__pane h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.auth-modal__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.auth-form { display: flex; flex-direction: column; gap: 0.85rem; }
.auth-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.auth-input,
.auth-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: var(--font);
  background: #f8fafc;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-input:focus,
.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-help {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.auth-form__errors {
  color: #b42318;
  font-size: 0.88rem;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}
.auth-form__errors ul { margin: 0; padding-left: 1.1rem; }
.auth-form__submit { width: 100%; margin-top: 0.35rem; }
.auth-modal__footer {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-modal__footer a,
.auth-linkish {
  color: var(--accent);
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: inherit;
}
.auth-modal__footer a:hover,
.auth-linkish:hover { text-decoration: underline; }
body.auth-modal-open { overflow: hidden; }
.site-hero--auth { min-height: 52vh; }
.auth-form--page .auth-form__submit { width: auto; align-self: flex-start; }

@media (max-width: 480px) {
  .auth-modal__panel { padding: 1.35rem 1.2rem 1.25rem; }
}

/* Lead modals: kit order + callback */
.lead-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 1.5rem);
  width: 420px;
}
.lead-modal::backdrop { background: rgba(10, 22, 40, 0.55); }
.lead-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.lead-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 1.6rem 1.45rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  color: var(--text, #0a1628);
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.28);
}
.lead-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef3f9;
  color: var(--muted, #5a6b7d);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.lead-modal__close:hover { background: #e2eaf3; color: var(--text, #0a1628); }
.lead-modal__body h2,
.lead-modal__success h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  padding-right: 2rem;
}
.lead-modal__lead {
  margin: 0 0 1.15rem;
  color: var(--muted, #5a6b7d);
  font-size: 0.95rem;
}
.lead-form { display: flex; flex-direction: column; gap: 0.8rem; }
.lead-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #5a6b7d);
  margin-bottom: 0.3rem;
}
.lead-field input,
.lead-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line, #d5dee8);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.lead-field input:focus,
.lead-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent, #1f6feb) 35%, white);
  border-color: var(--accent, #1f6feb);
}
.lead-form__submit { width: 100%; margin-top: 0.2rem; }
.lead-form__error {
  margin: 0;
  color: #b42318;
  font-size: 0.88rem;
}
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-modal__success { text-align: center; }
.lead-modal__success p {
  margin: 0 0 1.25rem;
  color: var(--muted, #5a6b7d);
  font-size: 1rem;
  line-height: 1.45;
}
body.lead-modal-open { overflow: hidden; }
