:root {
  --bg: #030806;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --text: #f5faf7;
  --muted: rgba(245, 250, 247, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #1bb38d;
  --accent-2: #2bd26e;
  --accent-soft: rgba(27, 179, 141, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(27, 179, 141, 0.18), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(43, 210, 110, 0.10), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(27, 179, 141, 0.08), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 6, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.brand span {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.navlinks a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow: 0 16px 36px rgba(34, 158, 217, 0.24);
}

.btn-primary:hover {
  background: #1f8fc5;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

main {
  padding: 28px 0 72px;
}

.telegram-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 158, 217, 0.15);
  color: #229ed9;
  flex: 0 0 auto;
}

.telegram-link img,
.telegram-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: 24px 0;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  justify-self: end;
}

.screenshot-carousel {
  width: min(100%, 320px);
  margin: 0 auto;
}

.phone-carousel {
  position: relative;
  width: 100%;
}

.phone-shot {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.phone-shot.active {
  display: block;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--accent-2);
  margin-bottom: 16px;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5.8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: none;
}

h1 span,
h2 span {
  color: var(--accent);
}

.lead {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  display: inline-block;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.signal-card,
.card,
details,
.strip,
.cta {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.signal-card {
  border-radius: var(--radius-sm);
  padding: 18px;
}

.signal-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.signal-card span {
  color: var(--muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.carousel-dots .dot.active {
  background: var(--accent-2);
}

.strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 20px;
  margin-top: 18px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.strip strong {
  display: block;
  margin-bottom: 3px;
}

.strip span {
  color: var(--muted);
}

.strip a {
  color: var(--accent-2);
  font-weight: 800;
}

section {
  padding: 28px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .kicker {
  justify-content: center;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.sub {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.78;
}

.cards {
  display: grid;
  gap: 18px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--muted);
  line-height: 1.75;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill.free {
  color: #9be7bd;
  background: rgba(35, 180, 94, 0.12);
}

.pill.premium {
  color: #9af0d7;
  background: rgba(27, 179, 141, 0.12);
}

.list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: #9af0d7;
  font-size: 0.85rem;
  font-weight: 900;
  margin-top: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 800;
  margin-bottom: 14px;
}

.step p {
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.post-link {
  display: inline-flex;
  margin-top: 12px;
  color: #9af0d7;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border-radius: 18px;
  padding: 18px 20px;
}

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

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

details p {
  color: var(--muted);
  margin-top: 10px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  margin-top: 12px;
}

.cta p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.75;
}

.site-footer {
  padding: 28px 0 36px;
  margin-top: 80px;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 520px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.footer-links a {
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-tagline {
  color: rgba(245, 250, 247, 0.52);
}

.page {
  padding: 48px 0 72px;
}

.page .content {
  max-width: 820px;
}

.page h1 {
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page h2 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.page p,
.page li {
  color: var(--muted);
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .hero-visual {
    justify-self: end;
  }

  .phone-shell {
    width: 320px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 18px;
  }

  .two-up,
  .steps,
  .blog-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

  .hero-visual {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .hero {
    gap: 14px;
    padding: 18px 0 12px;
  }

  .hero-visual {
    justify-content: center;
    justify-self: center;
  }

  .screenshot-carousel {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
  }

  .wrap {
    width: min(var(--max), calc(100% - 22px));
  }

  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 1.3rem;
  }

  .navlinks a:not(.btn):not(.telegram-link) {
    display: none;
  }

  .navlinks {
    gap: 0;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .navlinks .btn-primary {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .navlinks .btn {
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
