:root {
  --ink: #171629;
  --muted: #625f75;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dedbe8;
  --purple: #5b36d6;
  --purple-dark: #2b196e;
  --purple-soft: #eee9ff;
  --lime: #c8f051;
  --mint: #eaf9dc;
  --rose: #fff0ee;
  --shadow: 0 22px 70px rgba(39, 27, 91, 0.13);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 11% 7%, rgba(200, 240, 81, 0.2), transparent 27rem),
    radial-gradient(circle at 91% 24%, rgba(91, 54, 214, 0.1), transparent 30rem);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #0c63ce;
  outline-offset: 4px;
}

.visually-hidden,
.honeypot-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.honeypot {
  position: fixed !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.site-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(43, 25, 110, 0.11);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-dark);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px 12px 5px 12px;
  color: #fff;
  background: var(--purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-links .nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle > span:first-child {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: var(--ink);
  transition: transform 0.2s ease;
}

.hero {
  padding: 86px 0 72px;
}

.hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.eyebrow,
.form-kicker {
  margin: 0 0 14px;
  color: var(--purple);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.16;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 68px);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3.5vw, 43px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 22px;
}

.hero-result,
.section-lead {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.42;
}

.qualifier {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 10px 30px rgba(91, 54, 214, 0.24);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(91, 54, 214, 0.3);
}

.button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.text-link {
  color: var(--purple-dark);
  font-weight: 700;
}

.hero-form-card,
.contact-form-card,
.price-card,
.demo-card,
.list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-form-card,
.contact-form-card {
  padding: 30px;
}

.lead-form {
  display: grid;
  gap: 9px;
}

.lead-form > label,
.form-more label {
  margin-top: 7px;
  color: #39364c;
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #aaa5bb;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(91, 54, 214, 0.2);
}

.lead-form [aria-invalid="true"] {
  border-color: #a22b25;
  outline-color: rgba(162, 43, 37, 0.2);
}

.form-more {
  margin: 7px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-more summary {
  padding: 12px 2px;
  color: var(--purple-dark);
  font-weight: 800;
  cursor: pointer;
}

.form-more[open] {
  padding-bottom: 12px;
}

.form-more:not([open]) > :not(summary) {
  display: none;
}

.form-more[open] label,
.form-more[open] input,
.form-more[open] textarea {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 5px;
}

.noscript-note,
.form-legal,
.form-status,
.form-alternatives {
  font-size: 12px;
  line-height: 1.45;
}

.noscript-note {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  color: #671f1b;
  background: var(--rose);
}

.form-legal {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-status {
  min-height: 1.45em;
  color: #671f1b;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #24560c;
}

.form-alternatives {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 2px;
  color: var(--muted);
}

.form-alternatives a {
  color: var(--purple-dark);
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.result-section,
.prerequisites-section,
.faq-section {
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.6fr);
  align-items: end;
  gap: 52px;
  margin-bottom: 34px;
}

.section-heading > p {
  color: var(--muted);
}

.demo-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #fff;
  border-color: rgba(255,255,255,0.12);
  background: var(--purple-dark);
}

.demo-card::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  content: "";
  background: rgba(200, 240, 81, 0.18);
}

.demo-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 0;
  margin: 0;
  gap: 16px;
  list-style: none;
}

.demo-card li {
  min-height: 94px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.demo-replay {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.demo-card.is-replaying li {
  animation: demo-pulse 0.55s ease both;
}

.demo-card.is-replaying li:nth-child(2) { animation-delay: 0.09s; }
.demo-card.is-replaying li:nth-child(3) { animation-delay: 0.18s; }
.demo-card.is-replaying li:nth-child(4) { animation-delay: 0.27s; }

@keyframes demo-pulse {
  0% { opacity: 0.35; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.list-card {
  padding: 32px;
  box-shadow: 0 12px 44px rgba(39, 27, 91, 0.07);
}

.list-card.good {
  background: var(--mint);
}

.list-card.boundary {
  background: var(--rose);
}

.content-list {
  padding-left: 1.25em;
  margin: 0;
}

.content-list li + li {
  margin-top: 12px;
}

.process-section {
  color: #fff;
  background: var(--purple-dark);
}

.process-section .eyebrow {
  color: var(--lime);
}

.process-section .content-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: 0;
  gap: 16px;
  list-style: none;
  counter-reset: process;
}

.process-section li {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  counter-increment: process;
}

.process-section li::before {
  display: block;
  margin-bottom: 16px;
  color: var(--lime);
  content: "0" counter(process);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.mid-cta {
  padding: 30px 0;
  color: #1d1740;
  background: var(--lime);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mid-cta p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.button-light {
  color: #fff;
  background: var(--purple-dark);
}

.trust-section {
  color: #fff;
  background: #302079;
}

.trust-section .eyebrow {
  color: var(--lime);
}

.trust-note {
  padding-left: 18px;
  border-left: 4px solid var(--lime);
  font-weight: 800;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 40px;
}

.price-card > div {
  max-width: 780px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 20px 34px 20px 0;
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-section {
  color: #fff;
  background: var(--purple-dark);
}

.contact-section .eyebrow {
  color: var(--lime);
}

.contact-form-card {
  color: var(--ink);
}

.local-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 28px;
}

.local-links span {
  width: 100%;
  color: #d8d0ff;
  font-size: 13px;
}

.local-links a {
  color: var(--lime);
  font-weight: 800;
}

.site-footer {
  color: #d7d3e8;
  background: #17142a;
}

.footer-inner {
  min-height: 92px;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
}

.metrika-noscript {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 34px, 720px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 17px;
    left: 17px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .contact-grid,
  .two-column,
  .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid,
  .contact-grid {
    gap: 42px;
  }

  .section-heading {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 56px 0 50px;
  }

  h1 {
    font-size: clamp(34px, 11.4vw, 48px);
  }

  h2 {
    font-size: 29px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-form-card,
  .contact-form-card,
  .list-card,
  .demo-card,
  .price-card {
    padding: 23px;
    border-radius: 19px;
  }

  .hero-actions,
  .mid-cta-inner,
  .price-card,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .price-card .button,
  .mid-cta .button {
    width: 100%;
  }

  .mid-cta-inner {
    text-align: center;
  }

  .demo-card ul,
  .process-section .content-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    justify-content: center;
    padding: 26px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
