/* ==========================================================================
   YuriCloud — общие стили
   Палитра:
     --bg:        #FDFBFC  (снежно-жемчужный фон)
     --text:      #1E293B  (тёмно-графитовый)
     --accent:    #312E81  (глубокий индиго)
     --pink:      #F472B6  (нежно-розовый)
     --lavender:  #FCE7F3  (лавандовый)
   ========================================================================== */

:root {
  --bg: #FDFBFC;
  --bg-soft: #FAF5F8;
  --text: #1E293B;
  --text-soft: #475569;
  --accent: #312E81;
  --accent-soft: #4F46E5;
  --pink: #F472B6;
  --lavender: #FCE7F3;
  --border: #E2E8F0;
  --ok: #10B981;
  --warn: #F59E0B;
  --err: #EF4444;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.06), 0 1px 3px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 4px 12px rgba(49, 46, 129, 0.08), 0 2px 4px rgba(30, 41, 59, 0.04);
  --shadow-lg: 0 18px 40px rgba(49, 46, 129, 0.12), 0 6px 12px rgba(30, 41, 59, 0.06);
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pink); }

img, svg { display: block; max-width: 100%; }

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

/* ==========================================================================
   Шапка
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand__logo { width: 34px; height: 34px; flex-shrink: 0; }
.brand__name b { color: var(--accent); }
.brand__name span { color: var(--pink); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: var(--lavender); color: var(--accent); }
.nav a.active { color: var(--accent); background: var(--lavender); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-soft);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--lavender);
  border-color: var(--pink);
  color: var(--accent);
}
.btn--pink {
  background: var(--pink);
  color: #fff;
}
.btn--pink:hover {
  background: #EC4899;
  color: #fff;
}
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ==========================================================================
   Hero (главный экран)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(244, 114, 182, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(49, 46, 129, 0.08), transparent 60%),
    var(--bg);
}
.hero__bg {
  position: absolute;
  top: 0;
  right: -60px;
  width: 560px;
  height: 560px;
  opacity: 0.18;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--lavender);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__eyebrow svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero__stat span {
  font-size: 13px;
  color: var(--text-soft);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__visual svg { width: 100%; max-width: 460px; }

/* ==========================================================================
   Секции и заголовки
   ========================================================================== */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.section__sub {
  font-size: 17px;
  color: var(--text-soft);
}

/* ==========================================================================
   Карточки преимуществ
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink);
}
.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lavender);
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ==========================================================================
   Тарифы
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan--featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.plan__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.plan__tagline {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.plan__price b {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan__price span {
  font-size: 14px;
  color: var(--text-soft);
}
.plan__features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-soft);
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23F472B6' d='M8 0l2.4 5.2L16 6l-4 3.9.9 5.7L8 12.9 3.1 15.6 4 9.9 0 6l5.6-.8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Калькулятор */
.calc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.calc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.calc__head h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.calc__head p {
  font-size: 14px;
  color: var(--text-soft);
}
.calc__tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: var(--radius-sm);
}
.calc__tab {
  padding: 8px 14px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s ease;
}
.calc__tab.is-active {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.calc__slider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.calc__value {
  min-width: 140px;
  text-align: right;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.calc__value span {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 4px;
}
.calc input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--pink) 100%);
  border-radius: 999px;
  outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 32px;
  padding: 0 6px;
}
.calc__result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.calc__cell {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.calc__cell span {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.calc__cell b {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.calc__cell--primary b { color: var(--accent); }

/* ==========================================================================
   Документация
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
}
.docs-side {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.docs-side h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin: 14px 10px 8px;
}
.docs-side ul { list-style: none; }
.docs-side a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}
.docs-side a:hover { background: var(--lavender); color: var(--accent); }
.docs-side a.is-active {
  background: var(--lavender);
  color: var(--accent);
  font-weight: 700;
}
.docs-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.docs-content section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.docs-content section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.docs-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.docs-content p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.docs-content ul { margin: 0 0 14px 20px; color: var(--text-soft); font-size: 15px; }
.docs-content li { margin-bottom: 6px; }
.code {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13.5px;
  line-height: 1.6;
  overflow-x: auto;
  margin: 14px 0;
}
.code .k { color: #F472B6; }
.code .s { color: #86EFAC; }
.code .c { color: #64748B; font-style: italic; }
.code .n { color: #FDE68A; }
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.docs-table th, .docs-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.docs-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
}
.docs-table td code {
  background: var(--lavender);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

/* ==========================================================================
   Статус
   ========================================================================== */
.status-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #1E1B4B 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.status-hero h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.status-hero p { font-size: 15px; opacity: 0.85; }
.status-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.status-hero__badge .dot {
  width: 10px;
  height: 10px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nodes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.node {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.node__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.node__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.node__region {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}
.node__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ok);
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}
.node__status .dot {
  width: 8px;
  height: 8px;
  background: var(--ok);
  border-radius: 50%;
}
.node__uptime {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  height: 28px;
}
.uptime-bars .bar {
  background: var(--ok);
  border-radius: 2px;
  opacity: 0.85;
}
.uptime-bars .bar.warn { background: var(--warn); }
.uptime-bars .bar.err { background: var(--err); }
.uptime-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 6px;
}

.status-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.summary-cell span {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.summary-cell b {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.summary-cell small {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ==========================================================================
   Логин
   ========================================================================== */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(244, 114, 182, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(49, 46, 129, 0.10), transparent 60%),
    var(--bg);
}
.auth-wrap__bg {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 480px;
  height: 480px;
  opacity: 0.12;
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.auth-card__logo svg { width: 56px; height: 56px; }
.auth-card h1 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-card__sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 46, 129, 0.12);
  background: #fff;
}
.field__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 22px;
}
.field__row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-weight: 500;
  cursor: pointer;
}
.field__row input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--accent); }
.field__row a { font-size: 13px; }

.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.auth-alert {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #B91C1C;
  font-size: 14px;
  line-height: 1.5;
}
.auth-alert.is-visible { display: block; }
.auth-alert b { display: block; margin-bottom: 2px; font-weight: 700; }

.auth-foot {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 24px;
}

/* ==========================================================================
   Подвал
   ========================================================================== */
.footer {
  background: #1E1B4B;
  color: #C7D2FE;
  padding: 48px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(199, 210, 254, 0.15);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.footer__desc {
  font-size: 14px;
  opacity: 0.75;
  max-width: 280px;
  line-height: 1.6;
}
.footer__col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a {
  color: #C7D2FE;
  font-size: 14px;
  opacity: 0.85;
}
.footer__col a:hover { color: var(--pink); opacity: 1; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 13px;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Адаптивность
   ========================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side { position: static; }
  .nodes { grid-template-columns: 1fr; }
  .status-summary { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .header__inner { height: 60px; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a { width: 100%; padding: 12px 14px; }
  .nav.is-open ~ .header__cta,
  .header__cta.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    padding: 12px;
    gap: 8px;
    box-shadow: var(--shadow-md);
  }
  .hero { padding: 56px 0 72px; }
  .section { padding: 56px 0; }
  .features { grid-template-columns: 1fr; }
  .calc__result { grid-template-columns: 1fr; }
  .calc { padding: 24px; }
  .docs-content { padding: 24px; }
  .status-summary { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 20px; }
  .auth-card { padding: 28px 22px; }
  .uptime-bars { grid-template-columns: repeat(15, 1fr); grid-auto-rows: 1fr; grid-template-rows: repeat(2, 1fr); }
}
