:root {
  --bg: #09090c;
  --bg-elev: #121218;
  --card: #1a1a20;
  --card-2: #1e1e22;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #aaaaaa;
  --accent: #667fff;
  --accent-2: #7a93ff;
  --header: 72px;
  --max: 1160px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
::selection { background: rgba(102, 127, 255, 0.45); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(9, 9, 12, 0.94);
  border-bottom: 1px solid transparent;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.logo svg { display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  color: #d7d7de;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover,
.nav a.active { color: #fff; }
.header-cta { margin-left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.burger span,
.burger span:before,
.burger span:after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}
.burger span:before,
.burger span:after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span:before { top: -5px; }
.burger span:after { top: 5px; }

.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -40px;
  top: -80px;
  background: radial-gradient(circle, rgba(102, 127, 255, 0.38), rgba(102, 127, 255, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: 620px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: rgba(102, 127, 255, 0.12);
  color: #c9d2ff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.lead {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.fine {
  margin: 18px 0 0;
  color: #8d8d98;
  font-size: 14px;
  max-width: 460px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone {
  width: 292px;
  height: 598px;
  border-radius: 40px;
  background: #0c0c10;
  border: 8px solid #2a2a32;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  animation: float 7s ease-in-out infinite;
}
.phone-bar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-bar span {
  width: 86px;
  height: 16px;
  background: #000;
  border-radius: 10px;
}
.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
}
.phone-head strong { font-size: 20px; letter-spacing: -0.03em; }
.phone-head em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}
.search {
  margin: 0 14px 12px;
  height: 36px;
  border-radius: 12px;
  background: #17171c;
  color: #6f6f7a;
  font-size: 13px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.chat {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
}
.chat + .chat { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.chat b { display: block; font-size: 14px; font-weight: 600; }
.chat small { color: #8e8e99; font-size: 12px; }
.badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.time { color: #6d6d78; font-size: 11px; }
.phone-nav {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 54px;
  border-radius: 18px;
  background: #16161c;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  color: #8a8a96;
  font-size: 10px;
  font-weight: 600;
}
.phone-nav span:first-child { color: var(--accent-2); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section { padding: 88px 0; }
.section-label {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.intro h2,
.block-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 820px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.intro-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  min-height: 160px;
}
.intro-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.intro-card p { margin: 0; color: var(--muted); font-size: 16px; }

.adv-item {
  display: grid;
  grid-template-columns: 72px 1fr 1.05fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.adv-item:last-child { border-bottom: 1px solid var(--line); }
.num {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding-top: 8px;
}
.adv-item h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.15;
}
.adv-item p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.card {
  background: linear-gradient(180deg, #1e1e24, #16161b);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px 24px;
  min-height: 230px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(102, 127, 255, 0.55); transform: translateY(-2px); }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(102, 127, 255, 0.14);
  color: #c5ceff;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.channel {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #14141a;
  border: 1px solid var(--line);
}
.channel strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.channel span { color: var(--muted); font-size: 14px; }

.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 22px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.faq-q .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  flex: none;
}
.faq-q .mark:before,
.faq-q .mark:after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .mark:before { width: 12px; height: 1.5px; }
.faq-q .mark:after { width: 1.5px; height: 12px; transition: transform 0.15s ease; }
.faq-item.open .mark:after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  display: none;
  color: var(--muted);
  padding: 0 48px 22px 8px;
  font-size: 16px;
  max-width: 820px;
}
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--accent-2); }
.faq-a a:hover { text-decoration: underline; }

.page-hero { padding: 56px 0 10px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; }
.doc {
  max-width: 760px;
  padding-bottom: 40px;
}
.doc h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.doc p { color: #c6c6ce; font-size: 17px; line-height: 1.65; }
.doc a { color: var(--accent-2); }
.doc a:hover { text-decoration: underline; }
.date { color: #8d8d98; font-size: 14px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 20px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer p { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 420px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #ddd; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.legal {
  margin-top: 28px;
  color: #6f6f7a;
  font-size: 13px;
}

.menu-open { overflow: hidden; }
@media (max-width: 980px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 30;
    background: #09090c;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
    margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; }
  .header-cta { margin: 8px 0 0; }
  .hero-grid, .intro-grid, .cards, .adv-item { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-grid { min-height: 0; }
  .phone { animation: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .channel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { flex-direction: column; }
  h1 { font-size: 38px; }
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 127, 255, 0.42), rgba(102, 127, 255, 0) 68%);
  pointer-events: none;
}
.sticker { width: 132px; height: 132px; }
.sticker-lg { width: 220px; height: 220px; }
.sticker-xl { width: min(380px, 78vw); height: min(380px, 78vw); position: relative; }
.card .sticker { margin: 0 auto 8px; }
.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.scene-card {
  background: linear-gradient(180deg, #1c1c24, #141418);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px 28px 32px;
  min-height: 320px;
}
.scene-card h3 {
  margin: 8px 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.scene-card p { margin: 0; color: var(--muted); font-size: 16px; max-width: 420px; }
.page-duck {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.show {
  animation: rise 0.8s cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .scene, .page-duck { grid-template-columns: 1fr; display: grid; }
  .page-duck { align-items: start; }
  .hero-visual { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.show { animation: none; }
}
