/* ==========================================================================
   Echo — neon-noir design system
   Night studio, the moment before you go live.
   Minimal + scannable · AIDA flow · deep electric blue + magenta neon.
   ========================================================================== */

:root {
  --ink:        #eef2ff;
  --ink-soft:   #c3ccf0;
  --ink-dim:    #8a94c4;
  --ink-faint:  #7a83b8;

  --bg:         #05060f;
  --bg-1:       #080b1c;
  --bg-2:       #0c1230;
  --bg-hair:    #171f45;

  --blue:       #3a63ff;
  --blue-soft:  #6d8dff;
  --blue-deep:  #16205e;
  --neon:       #ff2d95;
  --neon-soft:  #ff69b4;
  --neon-deep:  #5c0f3a;

  --glow-neon:  0 0 30px rgba(255, 45, 149, .55), 0 0 66px rgba(255, 45, 149, .28);
  --glow-blue:  0 0 30px rgba(58, 99, 255, .5), 0 0 70px rgba(58, 99, 255, .25);

  --maxw:   1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;

  --display: 'Unbounded', 'Golos Text', ui-sans-serif, system-ui, sans-serif;
  --body:    'Golos Text', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, .84, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--neon-soft); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--neon); color: #fff; }

/* atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 12% -8%, rgba(58,99,255,.30), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(255,45,149,.20), transparent 50%),
    radial-gradient(120% 120% at 50% 120%, rgba(58,99,255,.16), transparent 60%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* language toggle — English shows without JS (good for reviewers & SEO) */
.ru .lang-en { display: none; }
html:not(.ru) .lang-ru { display: none; }

/* layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 12px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--neon-soft);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3em .8em; max-width: 100%;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--neon)); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5,6,15,.86), rgba(5,6,15,.4));
  border-bottom: 1px solid var(--bg-hair);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo svg { width: 30px; height: 30px; overflow: visible; }
.logo__word { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.logo__word b { color: var(--neon); }
.langsw { display: inline-flex; border: 1px solid var(--bg-hair); border-radius: 999px; overflow: hidden; }
.langsw button { padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); letter-spacing: .05em; transition: .2s var(--ease); }
.langsw button[aria-pressed="true"] { color: var(--ink); background: rgba(58,99,255,.16); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 14.5px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--neon { background: linear-gradient(180deg, var(--neon-soft), var(--neon)); color: #14001f; box-shadow: var(--glow-neon); }
.btn--neon:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,45,149,.75), 0 0 90px rgba(255,45,149,.4); }
.btn--ghost { border: 1px solid var(--bg-hair); color: var(--ink-soft); }
.btn--ghost:hover { border-color: var(--blue-soft); color: var(--ink); box-shadow: var(--glow-blue); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

/* ===================== HERO (Attention) ===================== */
.hero { padding: clamp(16px, 3vh, 44px) 0 clamp(48px, 8vh, 88px); overflow: hidden; }
.hero__in { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { font-size: clamp(34px, 5.8vw, 62px); margin: 24px 0 0; }
.hero h1 .flare { color: var(--neon); text-shadow: var(--glow-neon); }
.hero__sub { margin-top: 26px; max-width: 560px; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.ripples { position: absolute; top: 46%; right: -8%; transform: translateY(-50%); width: min(720px, 78vw); aspect-ratio: 1; z-index: 1; pointer-events: none; opacity: .8; }
.ripples span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(109,141,255,.28); animation: ripple 6s var(--ease) infinite; }
.ripples span:nth-child(1) { width: 22%; height: 22%; border-color: rgba(255,45,149,.5); animation-delay: 0s; }
.ripples span:nth-child(2) { width: 44%; height: 44%; animation-delay: 1.2s; }
.ripples span:nth-child(3) { width: 66%; height: 66%; animation-delay: 2.4s; }
.ripples span:nth-child(4) { width: 88%; height: 88%; animation-delay: 3.6s; }
.ripples span:nth-child(5) { width: 110%; height: 110%; animation-delay: 4.8s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: 0; } 22% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripples span { animation: none; } .ripples { opacity: .45; } }

/* differentiator pills — scannable brand promise */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 13px; border-radius: 999px;
  border: 1px solid var(--bg-hair); background: rgba(8,11,28,.6);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.pill svg { width: 15px; height: 15px; color: var(--neon); }

/* ===================== HOW (Interest) ===================== */
.sec { padding: clamp(56px, 9vh, 104px) 0; }
.sec__head { max-width: 620px; margin-bottom: 44px; }
.sec__head h2 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 18px; }

.how { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.beats { display: flex; flex-direction: column; }
.beat { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--bg-hair); }
.beat:first-child { border-top: none; padding-top: 0; }
.beat__n { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--neon); line-height: 1; }
.beat h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.beat p { margin-top: 6px; font-size: 15px; color: var(--ink-dim); line-height: 1.5; }
.microcap { margin-top: 26px; font-size: 13.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 9px; line-height: 1.5; }
.microcap::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #34e5a0; box-shadow: 0 0 10px #34e5a0; }

/* demo video */
.demo { position: relative; max-width: 440px; width: 100%; justify-self: center; border-radius: 26px; padding: 10px; background: linear-gradient(160deg, #12183a, #070a18); border: 1px solid var(--bg-hair); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), var(--glow-blue); }
.demo video { display: block; width: 100%; border-radius: 18px; background: #060814; aspect-ratio: 9 / 16; object-fit: cover; }
.demo__sound { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: rgba(5,6,15,.72); border: 1px solid var(--bg-hair); backdrop-filter: blur(6px); color: var(--ink-soft); font-family: var(--display); font-weight: 600; font-size: 12px; cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease); }
.demo__sound:hover { color: var(--ink); }
.demo__sound svg { width: 15px; height: 15px; }
.demo__sound .ic-on { display: none; }
.demo__sound[data-muted="false"] { color: var(--neon-soft); border-color: var(--neon); }
.demo__sound[data-muted="false"] .ic-off { display: none; }
.demo__sound[data-muted="false"] .ic-on { display: inline; }

/* ===================== MANIFESTO (Desire) ===================== */
.manifesto { background: linear-gradient(180deg, transparent, rgba(12,18,48,.5), transparent); }
.manifesto__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.founder__ph { aspect-ratio: 3/4; border-radius: 20px; position: relative; overflow: hidden; background: linear-gradient(160deg, #16205e, #05060f); border: 1px solid var(--bg-hair); display: grid; place-items: center; }
.founder__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__ph::after { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 60px rgba(255,45,149,.25); pointer-events: none; }
.founder__ph span { font-size: 12px; color: var(--ink-faint); text-align: center; padding: 0 20px; }
.founder__name { font-family: var(--display); font-weight: 800; font-size: 18px; margin-top: 16px; }
.founder__role { font-size: 12.5px; color: var(--neon-soft); letter-spacing: .04em; margin-top: 4px; }
.manifesto__body h2 { font-size: clamp(28px, 4.2vw, 48px); }
.manifesto__body p { margin-top: 20px; color: var(--ink-soft); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55; }
.manifesto__body p .em { color: var(--ink); font-weight: 600; }
.manifesto__body p .neon { color: var(--neon); font-weight: 600; }
.sig { margin-top: 26px !important; font-family: var(--display); font-weight: 600; color: var(--ink-dim); font-size: 15px; }

/* ===================== ACCESS (Action) ===================== */
.access { text-align: center; }
.access__box {
  max-width: 720px; margin-inline: auto; padding: clamp(40px, 6vw, 68px);
  border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(58,99,255,.14), rgba(255,45,149,.10)), var(--bg-1);
  border: 1px solid var(--bg-hair);
}
.access__box h2 { font-size: clamp(24px, 3.6vw, 38px); margin-top: 16px; }
.access__box .lead { margin-top: 16px; }
.access__cta { margin-top: 30px; display: flex; justify-content: center; }
.access__future { margin-top: 22px; font-size: 12.5px; color: var(--ink-faint); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--bg-hair); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.chip--soon { color: var(--ink-faint); border-style: dashed; }
.chip--soon i { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--neon-soft); margin-left: 3px; }

/* ===================== FOOTER ===================== */
.foot { border-top: 1px solid var(--bg-hair); padding: 50px 0 44px; margin-top: 30px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-start; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot__links a { font-size: 14px; color: var(--ink-dim); transition: color .2s var(--ease); }
.foot__links a:hover { color: var(--neon-soft); }
.foot__meta { font-size: 12.5px; color: var(--ink-faint); max-width: 360px; line-height: 1.6; }
.foot__meta a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }

/* ===================== LEGAL PAGES ===================== */
.legal { padding: clamp(48px, 8vh, 92px) 0 40px; }
.legal__in { max-width: 720px; margin-inline: auto; }
.legal h1 { font-size: clamp(32px, 5vw, 50px); }
.legal .updated { color: var(--ink-faint); font-size: 13.5px; margin-top: 14px; }
.legal h2 { font-family: var(--display); font-size: 21px; margin: 42px 0 12px; font-weight: 800; letter-spacing: -.01em; }
.legal h3 { font-family: var(--display); font-size: 15.5px; margin: 26px 0 8px; font-weight: 600; color: var(--ink-soft); }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-top: 13px; }
.legal ul, .legal ol { margin: 13px 0 13px 22px; }
.legal li { margin-top: 7px; }
.legal a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--bg-hair); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-1); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.legal td { color: var(--ink-dim); }
.callout { margin: 20px 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--bg-hair); background: var(--bg-1); border-left: 3px solid var(--neon); }
.callout p { margin-top: 0; color: var(--ink-soft); }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); animation: reveal .9s var(--ease) forwards; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .27s; } .d4 { animation-delay: .38s; }
}

/* responsive */
@media (max-width: 880px) {
  .how { grid-template-columns: 1fr; gap: 40px; }
  .demo { margin-top: 8px; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 28px; }
  .founder { display: flex; gap: 20px; align-items: center; }
  .founder__ph { width: 120px; flex: 0 0 120px; }
  .ripples { opacity: .38; right: -28%; }
}
@media (max-width: 600px) {
  .nav__right .btn--neon { display: none; }   /* CTA lives in hero + access; keeps nav from overflowing */
  .eyebrow { letter-spacing: .16em; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .founder { flex-direction: column; align-items: flex-start; }
}
