:root {
  --night: #1a1326;
  --panel: #251c35;
  --line: #3a2e4f;
  --text: #efeaf7;
  --muted: #a99ebf;
  --violet: #7c3aed;
  --violet-hi: #9461f5;
  --speak: #5ee6b0;

  --display: "Unbounded", "Segoe UI", sans-serif;
  --body: "Golos Text", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --measure: 34rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration-color: var(--violet-hi); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--speak); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
p { margin: 0; }

main, .top, .bottom { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

/* Шапка */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.1rem var(--display); text-decoration: none;
}
.beta {
  padding: 3px 8px 4px; border: 1px solid var(--violet-hi); border-radius: 999px;
  color: var(--violet-hi); font: 500 0.7rem/1 var(--body); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.top-link { color: var(--muted); font-size: 0.95rem; }

/* Первый экран */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(40px, 9vw, 112px) clamp(48px, 7vw, 88px);
}
.lead { margin-top: 24px; max-width: var(--measure); color: var(--muted); font-size: 1.125rem; }
.beta-note {
  margin-top: 16px; max-width: var(--measure); padding: 10px 14px;
  border-left: 3px solid var(--violet); background: var(--panel);
  color: var(--text); font-size: 0.95rem;
}

.download { margin-top: 36px; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 12px;
  background: var(--violet); color: #fff;
  font: 600 1.05rem var(--body); text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.75);
}
.btn:hover { background: var(--violet-hi); color: #fff; }
.dl-meta { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.dl-other { margin-top: 14px; max-width: var(--measure); color: var(--muted); }

/* Голосовой канал: единственный «живой» элемент страницы */

.channel {
  margin: 0; padding: 18px 10px 12px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.channel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-weight: 500;
}
.channel-head svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.members { list-style: none; margin: 0; padding: 0; }
.members li {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 10px;
}
.members li[data-speaking] { background: rgba(94, 230, 176, 0.06); }

.ava {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: hsl(var(--h) 55% 46%); color: #fff;
  font: 700 1rem var(--display);
  box-shadow: 0 0 0 3px var(--panel), 0 0 0 3px transparent;
  transition: box-shadow 0.18s ease-out;
}
.members li[data-speaking] .ava { box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--speak); }

.who { display: flex; flex-direction: column; line-height: 1.25; font-weight: 500; }
.who small { color: var(--muted); font-size: 0.82rem; font-weight: 400; }

.muted .ava { filter: saturate(0.4); opacity: 0.8; }
.mic-off { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: #e4637a; stroke-width: 2; stroke-linecap: round; }

/* Как попасть: это последовательность, поэтому номера */

.steps, .features, .faq { padding-block: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }

.steps ol {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 18px;
  font: 700 3rem/1 var(--display); color: var(--violet-hi);
}
.steps p { margin-top: 10px; color: var(--muted); }

/* Что умеет */

.features dl {
  margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px;
}
.features dt { font-weight: 600; font-size: 1.08rem; }
.features dd { margin: 6px 0 0; color: var(--muted); max-width: var(--measure); }

/* Вопросы */

.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); max-width: 46rem; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 500; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; color: var(--violet-hi);
  font: 500 1.4rem/1 var(--display); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 40rem; }

/* Подвал */

.bottom { padding-block: 32px 48px; color: var(--muted); font-size: 0.9rem; }
.bottom p { max-width: 40rem; }

/* Телефоны и узкие окна */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 2.2rem; }
  .steps p { margin-top: 4px; }
  .features dl { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .top-link { font-size: 0.85rem; text-align: right; }
  .btn { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ava, .faq summary::after { transition: none; }
}
