:root {
  --bg: #ffffff;
  --bg-soft: #f6f3ff;
  --ink: #0d001a;
  --muted: #5b5270;
  --line: #e6e0f2;
  --card: #ffffff;
  --blue: #471aff;
  --blue-hover: #3a15d6;
  --purple: #9500ff;
  --violet: #6e1aff;
  --cyan: #00bfff;
  --danger: #c62828;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(71, 26, 255, 0.08);
  --sans: "Onest", "Segoe UI", sans-serif;
  --display: "Onest", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(71, 26, 255, 0.08), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(0, 191, 255, 0.1), transparent 50%),
    radial-gradient(800px 500px at 80% 100%, rgba(149, 0, 255, 0.06), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-name span { color: var(--blue); }

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ghost {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
}

.ghost:hover { background: var(--bg-soft); color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(71, 26, 255, 0.25);
}

.btn-accent:hover { background: var(--blue-hover); }

.btn-quiet {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn-quiet:hover { border-color: var(--blue); background: var(--bg-soft); }

.btn-disabled {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: default;
}

.hero {
  padding: 36px 0 28px;
  animation: rise 0.5s ease both;
}

.kicker {
  margin: 0 0 10px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 { font-size: clamp(28px, 5vw, 44px); color: var(--ink); }
h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 28px; color: var(--ink); }
h3 { font-size: 18px; color: var(--ink); }

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 22px;
}

.lead.tight { margin-bottom: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
}

.meta a { color: var(--blue); }

.steps, .faq, .split, .sheet, .prose, .local {
  margin-top: 28px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.55s ease both;
}

.step-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.step-grid li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.step-grid .n {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.phone {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px;
  background: #0d001a;
  color: #fff;
  min-height: 120px;
}

.phone-bar {
  height: 4px;
  width: 36px;
  border-radius: 99px;
  background: rgba(255,255,255,0.25);
  margin: 0 auto 12px;
}

.bubble {
  display: inline-block;
  max-width: 90%;
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.bubble.in { background: #2a1a44; }
.bubble.out { background: var(--blue); }
.bubble.voice { background: #1c1233; color: var(--cyan); }

.chip {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 12px;
}

.chip.accent { background: var(--purple); }

.mini-player {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
}

.mini-player .play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan);
  color: #0d001a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bars {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.35) 0 3px,
    transparent 3px 7px
  );
  border-radius: 4px;
}

.mini-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mini-btns span {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 12px;
}

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 0.8fr;
}

.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.note ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

details:first-of-type { border-top: 0; }

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

details p { color: var(--muted); margin: 8px 0 0; }

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.blog-list li:first-child { border-top: 0; }

.blog-list a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.blog-list a:hover { text-decoration: underline; }

.blog-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.sheet .player {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #0d001a;
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  margin: 18px 0;
}

.play {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: #0d001a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play svg { width: 20px; height: 20px; fill: currentColor; }
.icon-pause { display: none; }
.player.is-playing .icon-play { display: none; }
.player.is-playing .icon-pause { display: block; }

.player-body { flex: 1; min-width: 0; }
.wave {
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
}
.times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}

.hint { color: var(--muted); font-size: 14px; }

.feedback {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.feedback label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }

.feedback textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  margin-bottom: 10px;
  resize: vertical;
}

.fb-ok { color: #1b7a3a; }

.prose p, .prose li { color: var(--muted); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); }
.prose a:not(.btn) { color: var(--blue); }

.cta-box {
  margin-top: 28px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink) !important;
}

.cta-box .btn { margin-top: 10px; }
.cta-box a.btn-accent { color: #fff; }

.cta-box.promo {
  background: linear-gradient(135deg, rgba(71, 26, 255, 0.08), rgba(0, 191, 255, 0.08));
  border-color: rgba(71, 26, 255, 0.25);
}

.promo-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet);
}

.promo-title {
  margin: 0 0 8px !important;
  font-size: 18px !important;
}

.blog-group { margin-top: 28px; }
.blog-group h2 { margin-top: 0; }

.foot {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.foot a { color: var(--muted); }

.error { color: var(--danger); }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  .step-grid, .split { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; }
}
