@font-face {
  font-family: "HeliosExtBlack";
  src: url("https://static.tildacdn.com/tild3261-6335-4033-a631-393836366561/heliosextblackc_2.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121018;
  --ink-2: #3a3548;
  --muted: #6b6478;
  --lilac: #f3efff;
  --white: #ffffff;
  --purple: #804dff;
  --navy: #1a2744;
  --mint: #2ee6c5;
  --headline: "HeliosExtBlack", Arial, sans-serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #121018;
  background: var(--lilac);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* ===== topbar ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px;
  pointer-events: none;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.topbar a { pointer-events: auto; }
.top-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 28px;
}
.top-left a,
.top-right {
  font-family: var(--headline);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.top-left a:hover,
.top-right:hover { color: var(--purple); }

.topbar[data-mode="scrolled"] {
  background: rgba(243, 239, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(18, 16, 24, 0.06);
  padding: 16px 28px;
}
.topbar[data-mode="scrolled"] .top-left a,
.topbar[data-mode="scrolled"] .top-right {
  font-size: clamp(15px, 1.7vw, 20px);
  letter-spacing: -1px;
}

/* ===== hero: первый экран как на референсе ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  background: var(--lilac);
}
.hero-inner {
  max-width: 920px;
}
.hero h1 {
  margin: 0 0 28px;
  font-family: var(--headline);
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  color: #121018;
}

.tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tag {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  font-family: var(--headline);
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 900;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
  background: var(--purple);
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease, transform .15s ease;
}
.tag:hover { color: rgba(255, 255, 255, 0.75); }
.tag.on { color: #fff; }
.tag:active { transform: scale(0.98); }

.hero-copy {
  max-width: 46ch;
}
.hero-lead {
  margin: 0 0 26px;
  font-family: var(--sans);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #000;
}

/* ===== sections — явные разрывы между блоками ===== */
.section {
  padding: 120px 0 80px;
}
#how {
  padding-top: 96px;
  padding-bottom: 220px;
}
#pricing {
  padding-top: 220px;
  padding-bottom: 140px;
}
#faq {
  padding-top: 140px;
  padding-bottom: 120px;
  border-top: 1px solid rgba(18, 16, 24, 0.1);
}
.section-title {
  margin: 0 0 22px;
  font-family: var(--headline);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #121018;
}
.lead {
  margin: -8px 0 28px;
  font-family: var(--sans);
  color: #000;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  max-width: 42ch;
}

.glass {
  background: rgba(255, 255, 255, 0.55);
  border: none;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.glass p {
  margin: 0;
  font-family: var(--sans);
  color: #000;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.glass p b { font-weight: 700; }
.glass .n {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: var(--headline);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--purple);
  background: rgba(128, 77, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps .glass {
  min-height: 200px;
  padding: 32px 28px;
}
.steps .glass p {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan.featured {
  background: rgba(255, 255, 255, 0.4);
}
.plan-single {
  max-width: 420px;
  gap: 14px;
  padding: 32px 28px;
}
.plan-single .pill {
  width: auto;
  align-self: flex-start;
  margin-top: 8px;
}
.badge {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.plan h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #121018;
}
.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #121018;
}
.price b { font-size: 32px; font-weight: 800; }
.price span { color: var(--muted); font-size: 14px; font-weight: 700; }
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  font-family: var(--sans);
  color: #000;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}
.plan ul li { padding-left: 16px; position: relative; }
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
}
.plan .pill { width: 100%; text-align: center; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--headline);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #121018;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--purple);
  font-weight: 900;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-family: var(--sans);
  color: #000;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.4;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  color: var(--purple);
  border: 1px solid rgba(128, 77, 255, 0.18);
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
}
.pill.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.pill.dark::before { display: none; }

/* ===== CTA под FAQ ===== */
.cta-block {
  padding: 40px 0 120px;
}
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 16px;
}
.cta-card h2 {
  margin: 0 0 10px;
  font-family: var(--headline);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #121018;
}
.cta-card p {
  margin: 0;
  max-width: 42ch;
  font-family: var(--sans);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-2);
}
.cta-card .pill.dark {
  flex-shrink: 0;
  padding: 16px 28px;
  font-size: 17px;
}

/* ===== футер ===== */
.site-footer {
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(18, 16, 24, 0.08);
  padding: 48px 0 56px;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 22px;
}
.footer-copy {
  margin: 0;
  font-weight: 700;
  color: #121018;
  font-size: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.footer-nav a {
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.footer-nav a:hover {
  color: var(--purple);
  border-bottom-color: rgba(128, 77, 255, 0.35);
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
}
.footer-legal p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
}
.footer-legal a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--purple); }

@media (max-width: 960px) {
  .topbar { padding: 18px 16px; }
  .top-left { gap: 14px 16px; }
  .top-left a, .top-right { font-size: 15px; letter-spacing: -0.8px; }
  .hero { padding: 100px 0 56px; align-items: flex-start; }
  .hero h1 { margin-bottom: 22px; letter-spacing: -1.5px; }
  .tag { padding: 7px 14px; font-size: 12px; letter-spacing: -0.4px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .cta-card .pill.dark { width: 100%; }
}
