:root {
  --ink: #17213a;
  --ink-soft: #4b5670;
  --paper: #f6f7fb;
  --paper-2: #edf0f7;
  --white: #fcfcfe;
  --line: #d9deea;
  --lilac: #c3b1ff;
  --sky: #8fd0ff;
  --mint: #b4f0d6;
  --indigo: #3a3fd6;
  --indigo-dark: #2b2fa8;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --text: 'Golos Text', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.8vw, 60px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 19px; font-weight: 500; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 30px -12px rgba(58, 63, 214, .6); }
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 11px 20px; font-size: 15px; background: var(--ink); color: #fff; }
.btn-small:hover { background: var(--indigo); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 247, 251, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217, 222, 234, .7); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav-cta { color: var(--indigo) !important; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.aurora i:nth-child(1) { width: 56vw; height: 56vw; max-width: 720px; max-height: 720px; left: -8%; top: -10%; background: var(--lilac); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 48vw; height: 48vw; max-width: 620px; max-height: 620px; right: -6%; top: 0; background: var(--sky); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; left: 35%; top: 30%; background: var(--mint); animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8%, 10%) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-10%, 6%) scale(1.05); } }
@keyframes drift3 { to { transform: translate(-6%, -12%) scale(1.1); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { margin-bottom: 20px; }
.tagline { font-family: var(--display); font-weight: 500; font-size: 18px; margin: -8px 0 18px; color: var(--ink); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 36em; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--ink-soft); max-width: 34em; }

/* Phone demo */
.hero-demo { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 340px;
  background: var(--white);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(23, 33, 58, .45), 0 0 0 1px rgba(23, 33, 58, .06), inset 0 0 0 6px #e9ecf5;
}
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; }
.phone-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--lilac), var(--sky)); }
.phone-title b { display: block; font-size: 14px; }
.phone-title small { font-size: 12px; color: var(--ink-soft); }
.chat { height: 500px; overflow: hidden; padding: 8px 10px 12px; background: var(--paper-2); border-radius: 22px; display: flex; flex-direction: column; gap: 8px; }
.msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  transition: opacity .3s ease, transform .3s ease;
  display: none;
}
.msg.shown { display: block; opacity: 1; transform: none; }
.msg.bot { background: var(--white); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--indigo); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.sys { background: transparent; color: var(--ink-soft); font-size: 12px; align-self: center; padding: 2px 8px; }
.msg.ok { background: var(--mint); }
.msg.chips { display: none; gap: 6px; flex-wrap: wrap; background: transparent; padding: 0; max-width: 100%; }
.msg.chips.shown { display: flex; }
.msg.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.chat-btn { display: block; margin-top: 8px; background: var(--indigo); color: #fff; text-align: center; border-radius: 10px; padding: 7px 10px; font-weight: 600; font-size: 13px; }
.typing { display: none; gap: 4px; padding: 10px 13px; background: var(--white); border-radius: 16px; border-bottom-left-radius: 6px; align-self: flex-start; }
.typing.on { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.replay { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font: 500 13px var(--text); cursor: pointer; white-space: nowrap; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* Channels as rows */
.channel-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.channel {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.channel-text h3 { margin-bottom: 4px; }
.channel-text p { color: var(--ink-soft); max-width: 44em; }
.channel-format { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.channel-result { margin-top: 8px; color: var(--ink) !important; }
.channel-result span { font-family: var(--display); font-size: 12px; font-weight: 500; color: var(--indigo); margin-right: 6px; }
.channel-price { text-align: right; line-height: 1.1; }
.amount { font-family: var(--display); font-size: 26px; font-weight: 600; white-space: nowrap; }
.amount small { font-size: 14px; font-weight: 500; font-family: var(--text); }
.period { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.empty { color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.step-n { position: absolute; top: -14px; left: 0; background: var(--paper-2); padding-right: 10px; font-family: var(--display); font-size: 14px; font-weight: 600; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* Terms */
.terms { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.terms dt { font-family: var(--display); font-weight: 500; font-size: 16px; margin-bottom: 8px; }
.terms dd { margin: 0; color: var(--ink-soft); }

/* CTA band */
.cta { padding: 40px 0 88px; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 28px; padding: 36px 40px; }
.cta-row h2 { font-size: clamp(22px, 2.6vw, 30px); }

/* Documents */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.doc h2 { font-size: 20px; margin: 36px 0 12px; }
.doc p { margin-bottom: 10px; }
.muted { color: var(--ink-soft); }

/* Simple pages (success / fail) */
.simple { min-height: 60vh; display: flex; align-items: center; }
.simple .wrap { max-width: 640px; }
.simple h1 { margin-bottom: 16px; }
.simple .lead { margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-head { font-family: var(--display); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.footer-col p { color: var(--ink-soft); }
.footer-col a { color: var(--ink); }
.footer-bottom { margin-top: 32px; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .channel { grid-template-columns: 1fr; gap: 12px; }
  .channel-price { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: min(340px, 100%); }
  .cta-row { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i { animation: none; }
  .msg { transition: none; }
  .btn { transition: none; }
}

/* Bundle */
.bundle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  padding: 30px 32px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(195, 177, 255, .45), rgba(143, 208, 255, .45) 55%, rgba(180, 240, 214, .5));
}
.bundle-text h3 { margin-bottom: 6px; }
.bundle-text p { color: var(--ink-soft); max-width: 40em; }
.bundle .period s { color: var(--ink-soft); }
.btn-small-primary { padding: 12px 22px; font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(23, 33, 58, .45); }
.about-text h2 { margin-bottom: 12px; }
.about-text .lead { margin-bottom: 18px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 22px; max-width: 40em; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.creds li { padding: 14px 18px; border-left: 2px solid var(--indigo); background: var(--white); border-radius: 0 14px 14px 0; color: var(--ink-soft); font-size: 16px; }
.creds b { color: var(--ink); font-weight: 600; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; padding-top: 36px; border-top: 1.5px solid var(--ink); }
.why h3 { margin-bottom: 8px; }
.why p { color: var(--ink-soft); font-size: 16px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 360px; }
  .why { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .bundle { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
}
