:root {
  color-scheme: dark;
  --bg: #05050d;
  --bg-soft: #0b0b18;
  --surface: rgba(16, 17, 34, 0.72);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(151, 114, 255, 0.22);
  --line-strong: rgba(56, 232, 255, 0.42);
  --text: #f8f7ff;
  --muted: #aaa6c0;
  --muted-2: #77728e;
  --violet: #8a5cff;
  --violet-2: #b86bff;
  --cyan: #38e8ff;
  --green: #42e7a2;
  --gold: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100vw - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(138, 92, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(56, 232, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #05050d 0%, #070713 46%, #030309 100%);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(192, 92, 255, 0.12), transparent 32%),
    linear-gradient(245deg, rgba(66, 231, 162, 0.08), transparent 34%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0 54%, rgba(3, 3, 9, 0.86) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 8px
    );
}

#void-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

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

h1,
h2,
h3 {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: var(--container);
  min-height: 66px;
  margin: 12px auto 0;
  padding: 10px 12px;
  background: rgba(7, 7, 18, 0.78);
  border: 1px solid rgba(151, 114, 255, 0.24);
  border-radius: 20px;
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(151, 114, 255, 0.58);
  border-radius: 50%;
  box-shadow:
    0 0 26px rgba(138, 92, 255, 0.52),
    0 0 34px rgba(56, 232, 255, 0.16);
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
}

.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(56, 232, 255, 0.46);
}

.header-cta,
.primary-button,
.ghost-button,
.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta,
.primary-button,
.plan-card.is-popular a {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, var(--violet), var(--violet-2) 46%, var(--cyan));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 36px rgba(89, 91, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ghost-button,
.plan-card a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(151, 114, 255, 0.36);
  box-shadow: inset 0 0 22px rgba(138, 92, 255, 0.07);
}

.header-cta:hover,
.primary-button:hover,
.ghost-button:hover,
.plan-card a:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 232, 255, 0.56);
  box-shadow:
    0 18px 50px rgba(56, 232, 255, 0.16),
    inset 0 0 28px rgba(56, 232, 255, 0.08);
}

.button-icon,
.tile-icon,
.step-icon {
  display: grid;
  place-items: center;
  color: currentColor;
}

.button-icon {
  width: 19px;
  height: 19px;
}

.button-icon svg,
.tile-icon svg,
.step-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

main {
  width: var(--container);
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  min-height: min(520px, calc(100svh - 96px));
  padding: clamp(38px, 6vw, 62px) 0 24px;
  text-align: center;
}

.hero-section::before {
  position: absolute;
  inset: 4% 9% auto;
  height: 64%;
  content: "";
  background:
    radial-gradient(circle, rgba(138, 92, 255, 0.24) 1px, transparent 2px),
    radial-gradient(circle, rgba(56, 232, 255, 0.22) 1px, transparent 2px);
  background-position:
    0 0,
    18px 22px;
  background-size:
    38px 38px,
    52px 52px;
  mask-image: radial-gradient(ellipse at center, black 0 34%, transparent 74%);
  opacity: 0.46;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(118px, 18vw, 178px);
  height: clamp(118px, 18vw, 178px);
}

.hero-glow {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(56, 232, 255, 0.38);
  border-radius: 50%;
  box-shadow:
    0 0 46px rgba(138, 92, 255, 0.54),
    0 0 72px rgba(56, 232, 255, 0.2),
    inset 0 0 38px rgba(138, 92, 255, 0.18);
  animation: logoPulse 4.8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 760px);
}

h1 {
  max-width: 100%;
  margin-bottom: 14px;
  font-size: 86px;
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-wrap: balance;
}

h1 span {
  color: var(--violet);
  background: linear-gradient(105deg, var(--violet) 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 24px;
  color: #dedbf0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-actions .primary-button,
.hero-actions .ghost-button {
  min-width: 180px;
}

.subpage-main {
  padding-bottom: 22px;
}

.promo-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: -4px;
}

.promo-tile,
.support-strip a,
.referral-section,
.steps-list article,
.seo-points article,
.link-card,
.plan-card,
.faq-grid details {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.promo-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.promo-tile:hover,
.support-strip a:hover {
  border-color: rgba(56, 232, 255, 0.46);
}

.promo-tile .tile-icon,
.referral-section .tile-icon,
.support-strip .tile-icon {
  width: 46px;
  height: 46px;
  color: var(--cyan);
  background: rgba(56, 232, 255, 0.075);
  border: 1px solid rgba(56, 232, 255, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 0 24px rgba(56, 232, 255, 0.1);
}

.trial-promo {
  border-color: rgba(66, 231, 162, 0.32);
}

.trial-promo .tile-icon {
  color: var(--green);
  background: rgba(66, 231, 162, 0.08);
  border-color: rgba(66, 231, 162, 0.28);
}

.discount-promo .tile-icon {
  color: var(--violet-2);
}

.promo-tile strong,
.support-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.1;
}

.promo-tile small,
.support-strip small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.promo-tile b,
.referral-section b {
  color: var(--green);
}

.section {
  padding: clamp(58px, 7vw, 92px) 0 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 22px;
  text-align: center;
}

.section-heading.split {
  grid-template-columns: 1fr;
  align-items: center;
}

h2 {
  margin-bottom: 0;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-wrap: balance;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.2;
}

.section-heading p,
.steps-list p,
.faq-grid p,
.plan-card li,
.referral-section p {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

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

.steps-list article {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  align-items: start;
  min-height: 150px;
  padding: 18px;
  text-align: center;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), rgba(138, 92, 255, 0.44));
  border: 1px solid rgba(151, 114, 255, 0.44);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}

.step-icon {
  width: 34px;
  height: 34px;
  color: var(--cyan);
}

.steps-list p {
  margin-bottom: 0;
  font-size: 14px;
}

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

.seo-points article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 150px;
  padding: 18px;
  text-align: center;
}

.seo-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
}

.seo-points p {
  max-width: 260px;
  margin-bottom: 0;
  margin-inline: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.link-card:hover {
  border-color: rgba(56, 232, 255, 0.46);
}

.link-card .tile-icon {
  width: 46px;
  height: 46px;
  color: var(--cyan);
  background: rgba(56, 232, 255, 0.075);
  border: 1px solid rgba(56, 232, 255, 0.22);
  border-radius: 16px;
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.18;
}

.link-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.42;
}

.plans-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 18px;
  text-align: center;
}

.plan-card.is-popular {
  border-color: rgba(56, 232, 255, 0.5);
  box-shadow:
    0 18px 62px rgba(56, 232, 255, 0.1),
    inset 0 0 44px rgba(138, 92, 255, 0.1);
}

.trial-card {
  border-color: rgba(66, 231, 162, 0.42);
}

.premium-card {
  border-color: rgba(255, 209, 102, 0.28);
}

.plan-name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.plan-card strong {
  display: block;
  margin-top: 12px;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(105deg, #ffffff 0%, #dacfff 36%, var(--violet) 67%, var(--cyan) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.plan-card ul {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0;
  margin: 22px 0 16px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  text-align: left;
}

.plan-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(66, 231, 162, 0.62);
  content: "";
}

.price-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 16px;
}

.price-list span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.036);
  border: 1px solid rgba(151, 114, 255, 0.16);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.price-list b {
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.plan-card a {
  width: 100%;
  margin-top: auto;
}

.referral-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  align-items: center;
  margin-top: clamp(42px, 6vw, 76px);
  padding: 20px;
  border-color: rgba(151, 114, 255, 0.3);
  text-align: center;
}

.referral-section h2 {
  font-size: 32px;
}

.referral-section p {
  max-width: 760px;
  margin: 6px auto 0;
  font-size: 15px;
  text-align: center;
}

.referral-section .ghost-button {
  white-space: nowrap;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.support-strip a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  text-decoration: none;
}

.support-strip a::after {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
  content: "›";
}

.faq-section {
  padding-bottom: 30px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.faq-grid details {
  align-self: start;
  overflow: hidden;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 23px;
  content: "+";
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  padding: 0 18px 18px;
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  padding: 18px 0 30px;
  color: var(--muted);
  border-top: 1px solid rgba(151, 114, 255, 0.18);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.site-footer a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@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;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 28px, 720px);
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding-top: 6px;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 48px;
  }

  .plan-card strong {
    font-size: 40px;
  }

  .section-heading.split,
  .steps-list,
  .seo-points,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-list article {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 20px, 480px);
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    margin-top: 8px;
    padding: 9px;
    border-radius: 18px;
  }

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

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero-section {
    gap: 18px;
    min-height: auto;
    padding: 28px 0 20px;
  }

  .hero-logo-wrap {
    width: 118px;
    height: 118px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 56px;
  }

  .subpage-main h1 {
    max-width: 350px;
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 310px;
    margin-bottom: 20px;
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    width: 100%;
    min-width: 0;
  }

  .promo-rail {
    gap: 10px;
  }

  .promo-tile {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    min-height: 148px;
    padding: 15px 12px;
    text-align: center;
  }

  .promo-tile .tile-icon {
    width: 42px;
    height: 42px;
  }

  .promo-tile strong {
    font-size: 16px;
  }

  .promo-tile small {
    font-size: 12px;
  }

  .section {
    padding-top: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .steps-list {
    gap: 10px;
  }

  .steps-list article {
    grid-template-columns: 32px 32px minmax(0, 1fr);
    align-items: center;
    padding: 15px;
    border-radius: 18px;
    text-align: left;
  }

  .steps-list article > div {
    width: 100%;
    text-align: left;
  }

  .steps-list h3 {
    text-align: left;
  }

  .step-number,
  .step-icon {
    width: 32px;
    height: 32px;
  }

  .steps-list p {
    font-size: 13px;
  }

  .link-grid,
  .link-grid.compact {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 92px;
    padding: 15px;
  }

  .plans-layout {
    display: flex;
    gap: 12px;
    margin-right: calc((var(--container) - 100vw) / 2);
    margin-left: calc((var(--container) - 100vw) / 2);
    padding: 0 calc((100vw - var(--container)) / 2) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: calc((100vw - var(--container)) / 2);
    scroll-snap-type: x mandatory;
  }

  .plan-card {
    flex: 0 0 min(78vw, 310px);
    min-height: 348px;
    scroll-snap-align: start;
  }

  .referral-section {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
  }

  .referral-section .ghost-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }

  .support-strip a {
    min-height: 84px;
    padding: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-actions {
    justify-items: start;
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(100vw - 16px, 360px);
  }

  h1 {
    font-size: 50px;
  }

  .subpage-main h1 {
    max-width: 100%;
    font-size: 38px;
  }

  .promo-rail {
    grid-template-columns: 1fr;
  }

  .promo-tile {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    min-height: 96px;
    text-align: left;
  }
}
