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

    :root {
      --bg-main: #05070b;
      --bg-elevated: #11141b;
      --accent: #1e6fdb;
      --accent-soft: rgba(30, 111, 219, 0.25);
      --text-main: #e5e7eb;
      --text-muted: #9ca3af;
      --border-subtle: rgba(148, 163, 184, 0.25);
      --glow-blue: 0 0 40px rgba(46, 144, 255, 0.55);
      --radius-lg: 18px;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
      background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
      color: var(--text-main);
      min-height: 100vh;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: -30%;
      background:
        radial-gradient(circle at 20% 0%, rgba(15, 118, 220, 0.12), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(59, 130, 246, 0.14), transparent 50%);
      opacity: 0.9;
      pointer-events: none;
      z-index: -1;
    }

    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      padding: 14px 6vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      backdrop-filter: blur(16px);
      background: linear-gradient(to bottom, rgba(3, 7, 18, 0.92), rgba(3, 7, 18, 0.6), transparent);
      border-bottom: 1px solid rgba(15, 23, 42, 0.8);
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-logo {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle, rgba(148, 163, 184, 0.12), transparent 65%);
      box-shadow: var(--glow-blue);
    }

    .nav-logo img {
      width: 26px;
      height: 26px;
      object-fit: contain;
      display: block;
    }

    .nav-title {
      font-size: 18px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #f9fafb;
    }

    .nav-subtitle {
      font-size: 12px;
      color: var(--text-muted);
      opacity: 0.9;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      font-size: 14px;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      position: relative;
      padding-bottom: 2px;
      transition: color 0.18s ease;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--accent), transparent);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.2s ease-out;
    }

    .nav-links a:hover {
      color: #e5f0ff;
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
    }

    .nav-cta {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .btn {
      font-size: 14px;
      padding: 8px 16px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.38), rgba(15, 23, 42, 0.96));
      color: #e5f0ff;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease, border-color 0.2s ease;
      box-shadow: 0 0 0 rgba(37, 99, 235, 0.3);
    }

    .btn span.dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
    }

    .btn:hover {
      transform: translateY(-1px);
      box-shadow: var(--glow-blue);
      border-color: rgba(96, 165, 250, 0.9);
    }

    .btn-outline {
      background: transparent;
      color: var(--text-muted);
      border-color: rgba(148, 163, 184, 0.55);
    }

    .btn-outline:hover {
      color: #e5f0ff;
      border-color: rgba(96, 165, 250, 0.9);
      box-shadow: 0 0 18px rgba(30, 64, 175, 0.7);
    }

    main {
      padding: 90px 0 40px;
    }

    .section {
      padding: 80px 7vw;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section + .section {
      margin-top: 20px;
    }

    .hero {
      min-height: calc(100vh - 90px);
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      align-items: center;
      gap: 64px;
    }

    .eyebrow {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent);
      margin-bottom: 12px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .eyebrow span.bar {
      width: 40px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--accent));
      opacity: 0.8;
    }

    h1.hero-title {
      font-size: clamp(40px, 4vw, 52px);
      line-height: 1.05;
      letter-spacing: 0.02em;
      margin-bottom: 18px;
      color: #f9fafb;
    }

    .hero-title span {
      background: linear-gradient(to right, #93c5fd, #38bdf8, #2563eb);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-lead {
      font-size: 17px;
      line-height: 1.7;
      color: var(--text-muted);
      max-width: 560px;
      margin-bottom: 30px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      margin-top: 20px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .hero-meta span.badge {
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.8);
    }

    .hero-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-orbit {
      position: relative;
      width: min(360px, 90vw);
      aspect-ratio: 1 / 1;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 60%);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 60px rgba(30, 64, 175, 0.75);
    }

    .hero-orbit-inner {
      width: 68%;
      height: 68%;
      border-radius: 24px;
      background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.06), transparent 70%),
                  linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.99));
      border: 1px solid rgba(148, 163, 184, 0.26);
      box-shadow: inset 0 0 40px rgba(15, 23, 42, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .hero-orbit-inner::after {
      content: "";
      position: absolute;
      inset: 16px;
      border-radius: 20px;
      border: 1px dashed rgba(75, 85, 99, 0.85);
      opacity: 0.7;
    }

    .hero-orbit-logo {
      position: relative;
      z-index: 2;
    }

    .hero-orbit-logo img {
      width: 58%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .orbit-pip {
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #38bdf8;
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
      opacity: 0.85;
    }

    .orbit-pip:nth-child(1) { top: 10%; left: 22%; }
    .orbit-pip:nth-child(2) { top: 25%; right: 10%; }
    .orbit-pip:nth-child(3) { bottom: 29%; left: 10%; }
    .orbit-pip:nth-child(4) { bottom: 8%; right: 26%; }

    .metrics-strip {
      position: absolute;
      inset-inline: 8%;
      bottom: -32px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      font-size: 11px;
      opacity: 0.9;
    }

    .metric-pill {
      padding: 8px 30px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(51, 65, 85, 0.9);
      justify-content: space-between;
      align-items: center;
      gap: 6px;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .metric-pill span.value {
      padding: 10px;
      color: #e5f0ff;
      font-variant-numeric: tabular-nums;
    }

    .section-header {
      margin-bottom: 26px;
      max-width: 640px;
    }

    .section-kicker {
      font-size: 12px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 6px;
    }

    .section-title {
      font-size: 26px;
      margin-bottom: 8px;
      color: #f9fafb;
    }

    .section-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .grid {
      display: grid;
      gap: 20px;
    }

    .grid-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
      border: 1px solid rgba(51, 65, 85, 0.95);
      padding: 18px 18px 20px;
      position: relative;
      overflow: hidden;
      transition: transform 0.14s ease-out, box-shadow 0.18s ease-out,
                  border-color 0.18s ease-out, background 0.18s ease-out;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.26), transparent 60%);
      opacity: 0;
      transition: opacity 0.18s ease-out;
      pointer-events: none;
    }

    .card:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 40px rgba(15, 23, 42, 0.85);
      border-color: rgba(96, 165, 250, 0.75);
    }

    .card:hover::before {
      opacity: 1;
    }

    .card-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .card-title {
      font-size: 16px;
      color: #e5e7eb;
      margin-bottom: 6px;
    }

    .card-body {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .pill {
      font-size: 11px;
      padding: 4px 9px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.9);
    }

    .duo-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 30px;
      align-items: start;
    }

    .stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .stack-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(51, 65, 85, 0.95);
    }

    .stack-row span.key {
      color: #e5e7eb;
      font-size: 13px;
    }

    .stack-row span.value {
      font-variant-numeric: tabular-nums;
      color: #bfdbfe;
      font-size: 13px;
    }

    .contact-card {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: 28px;
      padding: 22px 22px 24px;
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.97));
      border: 1px solid rgba(55, 65, 81, 0.95);
    }

    .contact-row {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .contact-row span.label {
      display: inline-block;
      min-width: 80px;
      color: #e5e7eb;
      font-size: 13px;
    }

    .contact-row a {
      color: #bfdbfe;
      text-decoration: none;
    }

    .contact-row a:hover {
      text-decoration: underline;
    }

    footer {
      padding: 20px 7vw 30px;
      font-size: 12px;
      color: var(--text-muted);
      border-top: 1px solid rgba(15, 23, 42, 0.9);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(3, 7, 18, 0.98));
      margin-top: 50px;
    }

    footer .inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    @media (max-width: 960px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
      }

      .hero-visual {
        order: -1;
      }

      .nav-links {
        display: none;
      }

      .section {
        padding-inline: 5vw;
      }

      .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .duo-layout,
      .contact-card {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 640px) {
      .grid-3,
      .grid-2 {
        grid-template-columns: minmax(0, 1fr);
      }

      .section {
        padding-inline: 18px;
      }

      .hero {
        min-height: auto;
      }
    }

    /* --- Legal pages (Terms / Privacy) --- */

.legal-wrapper {
  padding-top: 50px;      /* отступ от фиксированного меню */
  padding-bottom: 60px;
}

.page-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-title {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
  color: #f9fafb;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-body h2 {
  font-size: 18px;
  margin-top: 26px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.legal-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 10px;
}

.legal-body ul {
  margin: 8px 0 12px 18px;
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.7;
}

.legal-body a {
  color: #93c5fd;
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}
