:root {
  color-scheme: dark;
  --bg: #0f1a12;
  --deep: #090e0b;
  --surface: #17211a;
  --line: rgba(242, 255, 241, .12);
  --text: #f2fff1;
  --muted: #9bad9a;
  --green: #5fdb4e;
  --lime: #7cfc00;
  --mint: #00ff9f;
  --pink: #ff2a6d;
  --magenta: #ff00ff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(95, 219, 78, .12), transparent 34rem),
    radial-gradient(circle at 92% 22%, rgba(255, 0, 255, .08), transparent 30rem),
    var(--deep);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.lang-ru { display: none; }
html[data-lang="ru"] .lang-en { display: none !important; }
html[data-lang="ru"] .lang-ru { display: revert; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .1;
  pointer-events: none;
}
.ambient-one { top: 12rem; left: -14rem; background: var(--lime); }
.ambient-two { right: -12rem; bottom: 5rem; background: var(--magenta); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 14, 11, .8);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(20px);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark { width: 36px; height: 36px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}
.language-switch {
  display: flex;
  justify-self: end;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}
.language-switch button {
  min-width: 38px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .73rem;
  font-weight: 900;
}
.language-switch button[aria-pressed="true"] {
  color: var(--bg);
  background: var(--lime);
}

main, .site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  min-height: 700px;
  padding: 74px 0 60px;
}
.eyebrow, .kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(124, 252, 0, .11), 0 0 22px var(--lime);
}
h1, h2, h3, p { text-wrap: pretty; }
.hero h1, .legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.4rem, 7.8vw, 7.2rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .92;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: .92rem;
  font-weight: 850;
  text-decoration: none;
}
.button-primary {
  color: var(--bg);
  background: var(--lime);
  box-shadow: 0 12px 34px rgba(124, 252, 0, .16);
}
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, .035); }

.hero-visual { position: relative; min-height: 520px; }
.phone {
  position: absolute;
  inset: 24px 42px 18px 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 48px;
  background:
    linear-gradient(160deg, rgba(124, 252, 0, .13), transparent 40%),
    linear-gradient(340deg, rgba(255, 0, 255, .12), transparent 35%),
    #111b14;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), inset 0 0 0 7px #0b100d;
  transform: rotate(5deg);
}
.phone::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.phone-top { position: relative; z-index: 2; display: flex; justify-content: center; padding-top: 15px; }
.phone-top span { width: 74px; height: 20px; border-radius: 20px; background: #070b08; }
.live-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  margin: 48px 22px 18px;
  padding: 20px;
  border: 1px solid rgba(124,252,0,.18);
  border-radius: 28px;
  background: linear-gradient(145deg, #243624, #161522);
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}
.live-label {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 9px;
  color: white;
  background: var(--pink);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .09em;
}
.live-wave { display: flex; align-items: center; justify-content: center; flex: 1; gap: 7px; }
.live-wave i { width: 6px; border-radius: 10px; background: var(--lime); box-shadow: 0 0 18px rgba(124,252,0,.34); }
.live-wave i:nth-child(1), .live-wave i:nth-child(6) { height: 32px; }
.live-wave i:nth-child(2), .live-wave i:nth-child(5) { height: 62px; }
.live-wave i:nth-child(3) { height: 95px; }
.live-wave i:nth-child(4) { height: 74px; }
.live-copy { display: flex; flex-direction: column; gap: 3px; }
.live-copy strong { font-size: 1.1rem; }
.live-copy span { color: var(--muted); font-size: .78rem; }
.chat-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}
.chat-card b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--bg);
  background: var(--green);
}
.chat-b b { color: white; background: linear-gradient(135deg, var(--magenta), #7b55ff); }
.chat-card span { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.chat-card i { height: 6px; border-radius: 8px; background: rgba(255,255,255,.16); }
.chat-card i:last-child { width: 58%; }
.stream-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin: 18px 28px 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}
.orbit {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: white;
  background: rgba(20, 24, 21, .88);
  box-shadow: 0 16px 36px rgba(0,0,0,.32);
  font-size: .76rem;
  font-weight: 950;
  backdrop-filter: blur(16px);
}
.orbit-one { top: 45px; right: 0; color: #ff5b66; }
.orbit-two { right: 14px; bottom: 80px; color: #a970ff; }
.orbit-three { left: 28px; bottom: 25px; color: #68fff1; }

.feature-section { padding: 90px 0; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2, .trust-panel h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  letter-spacing: -.06em;
  line-height: 1;
}
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature-card {
  grid-column: span 2;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.feature-card:nth-child(4), .feature-card:nth-child(5) { grid-column: span 3; }
.feature-number, .section-number {
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.feature-card h3 { margin: 66px 0 14px; font-size: 1.48rem; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.trust-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: end;
  margin: 70px 0 120px;
  padding: 48px;
  border: 1px solid rgba(124, 252, 0, .18);
  border-radius: 32px;
  background: radial-gradient(circle at 10% 100%, rgba(124, 252, 0, .13), transparent 35rem), var(--surface);
}
.trust-links { display: flex; flex-direction: column; gap: 10px; }
.trust-links a {
  display: flex;
  justify-content: space-between;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
  font-weight: 800;
  text-decoration: none;
}
.trust-links a span:last-child { color: var(--lime); }

.legal-hero { max-width: 900px; padding: 100px 0 74px; }
.legal-hero h1 { font-size: clamp(3.2rem, 8vw, 6.8rem); }
.legal-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 18px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}
.updated {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255,255,255,.03);
  font-size: .75rem;
  font-weight: 750;
}
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 120px;
}
.legal-index {
  position: sticky;
  top: 108px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(23, 33, 26, .64);
}
.legal-index > p {
  margin: 0 0 12px;
  padding: 0 8px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legal-index a {
  display: flex;
  gap: 9px;
  padding: 8px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.3;
  text-decoration: none;
}
.legal-index a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.legal-index a > span:first-child { color: var(--green); font-weight: 850; }
.legal-content > section {
  position: relative;
  scroll-margin-top: 110px;
  padding: 0 0 52px 58px;
  border-left: 1px solid var(--line);
}
.legal-content .section-number { position: absolute; top: 8px; left: 18px; }
.legal-content h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.04em;
}
.legal-content p, .legal-content li { color: #b8c7b6; line-height: 1.76; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 18px; padding-left: 20px; }
.legal-content li { margin-bottom: 9px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--lime); text-underline-offset: 3px; }
.legal-content code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--mint);
  background: rgba(255,255,255,.04);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { color: var(--text); font-size: 1.3rem; letter-spacing: -.04em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { font-size: .78rem; font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.site-footer > p { grid-column: 1 / -1; margin: 14px 0 0; font-size: .72rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav { justify-content: center; }
  .main-nav a { padding-inline: 9px; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-visual { width: min(100%, 520px); margin: 20px auto 0; }
  .feature-card { grid-column: span 3; }
  .feature-card:last-child { grid-column: 2 / span 4; }
  .trust-panel { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-index { display: none; }
}

@media (max-width: 640px) {
  .site-header { position: relative; grid-template-columns: 1fr auto; gap: 10px; border-radius: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: stretch; }
  .main-nav a { flex: 1; padding: 8px 5px; text-align: center; font-size: .72rem; }
  .hero { min-height: 0; padding: 64px 0 30px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-visual { min-height: 470px; }
  .phone { inset: 28px 25px 10px; }
  .orbit-one, .orbit-two { right: 1px; }
  .orbit-three { left: 1px; }
  .feature-section { padding: 68px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(4), .feature-card:nth-child(5), .feature-card:last-child { grid-column: auto; min-height: 230px; }
  .feature-card h3 { margin-top: 40px; }
  .trust-panel { margin: 30px 0 80px; padding: 28px; }
  .legal-hero { padding: 66px 0 54px; }
  .legal-hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .legal-content > section { padding: 0 0 46px 42px; }
  .legal-content .section-number { left: 10px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
