:root {
  --cm-bg: #07040f;
  --cm-bg-2: #11081f;
  --cm-surface: #161022;
  --cm-ink: #f6f3ff;
  --cm-muted: #b7aec9;
  --cm-line: rgba(255, 255, 255, 0.1);
  --cm-brand: #7c5cff;
  --cm-accent: #ff6a2b;
  --cm-ok: #3ee0b2;
  --cm-radius: 20px;
  --cm-wrap: 1160px;
  --cm-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --cm-mono: "IBM Plex Mono", ui-monospace, monospace;
}

.cm-gold,
.cm-gold-full {
  font-family: var(--cm-sans) !important;
  color: #161022;
  background: #fff !important;
}

.cm-gold-full {
  background: var(--cm-bg) !important;
  color: var(--cm-ink) !important;
}

.cm-gold .header-wrapper,
.cm-gold #header,
.cm-gold .header-top,
.cm-gold #footer,
.cm-gold .footer-wrapper,
.cm-gold .page-top,
.cm-gold .loading-overlay,
.cm-gold #mini-cart,
.cm-gold .search-popup {
  display: none !important;
}

.cm-gold #main,
.cm-gold .main-content,
.cm-gold .page-wrapper {
  padding-top: 0 !important;
  background: transparent !important;
}

.cm-gold:not(.cm-gold-full) #main,
.cm-gold:not(.cm-gold-full) .main-content {
  padding-top: 5.5rem !important;
  max-width: var(--cm-wrap);
  margin: 0 auto 4rem;
  padding-left: 24px;
  padding-right: 24px;
}

.cm-skip {
  position: absolute;
  left: -999px;
}

.cm-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10000;
  background: #fff;
  color: #11081f;
  padding: 8px 12px;
}

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

.cm-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(7, 4, 15, 0.72);
  border-bottom: 1px solid transparent;
}

.cm-gold:not(.home) .cm-nav {
  background: rgba(7, 4, 15, 0.92);
}

.cm-nav.is-scrolled {
  border-bottom-color: var(--cm-line);
}

.cm-nav__bar {
  width: min(var(--cm-wrap), calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cm-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

.cm-nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.cm-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cm-nav__links a {
  color: var(--cm-muted) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
}

.cm-nav__links a:hover,
.cm-nav__links a:focus {
  color: #fff !important;
}

.cm-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cm-line);
  border-radius: 12px;
  background: transparent;
}

.cm-nav__toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: #fff;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cm-accent), #ff3d6e);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(255, 106, 43, 0.28);
}

.cm-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.cm-btn--ghost {
  background: transparent;
  border: 1px solid var(--cm-line);
  box-shadow: none;
  color: #fff !important;
}

.cm-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.cm-hero__glow {
  position: absolute;
  inset: -20% auto auto 40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 65%);
  pointer-events: none;
}

.cm-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.cm-kicker {
  color: var(--cm-ok);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, .cm-gold-full h2 {
  font-family: var(--cm-sans);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.cm-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 11ch;
  color: #fff;
}

.cm-lead {
  color: var(--cm-muted);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 0 28px;
}

.cm-lead--narrow {
  max-width: 38rem;
}

.cm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.cm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.cm-stats dt {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.cm-stats dd {
  margin: 0;
  color: var(--cm-muted);
  font-size: 12px;
}

.cm-terminal {
  background: #0b0714;
  border: 1px solid var(--cm-line);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.cm-terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cm-line);
  color: var(--cm-muted);
  font-size: 12px;
}

.cm-terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3148;
}

.cm-terminal__bar span:first-child { background: #ff5f57; }
.cm-terminal__bar span:nth-child(2) { background: #febc2e; }
.cm-terminal__bar span:nth-child(3) { background: #28c840; }

.cm-terminal pre {
  margin: 0;
  padding: 22px;
  font-family: var(--cm-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #d7cfff;
  white-space: pre-wrap;
}

.cm-band {
  border-top: 1px solid var(--cm-line);
  border-bottom: 1px solid var(--cm-line);
  background: rgba(255, 255, 255, 0.02);
}

.cm-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 18px 0;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-section {
  padding: 88px 0;
}

.cm-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  max-width: 16ch;
  color: #fff;
}

.cm-section--tint {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), transparent);
}

.cm-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.cm-card {
  background: var(--cm-surface);
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius);
  padding: 28px;
}

.cm-card--lg {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 43, 0.18), transparent 45%),
    var(--cm-surface);
}

.cm-card__tag {
  color: var(--cm-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.cm-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #fff;
}

.cm-card p,
.cm-list span,
.cm-cta p,
.cm-foot .cm-muted {
  color: var(--cm-muted);
  line-height: 1.6;
}

.cm-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

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

.cm-list li {
  padding: 18px 20px;
  border: 1px solid var(--cm-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.cm-list strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.cm-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #24143d, #3a1748 55%, #5b1d3a);
  border: 1px solid var(--cm-line);
}

.cm-cta h2 {
  max-width: 14ch;
}

.cm-cta .cm-hero__cta {
  margin: 0;
}

.cm-foot {
  border-top: 1px solid var(--cm-line);
  background: #05030b;
  color: var(--cm-muted);
  padding: 56px 0 28px;
}

.cm-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.cm-foot__brand,
.cm-foot__h {
  color: #fff;
  font-weight: 700;
  margin: 0 0 12px;
}

.cm-foot a {
  display: block;
  color: var(--cm-muted) !important;
  text-decoration: none !important;
  margin: 6px 0;
}

.cm-foot a:hover {
  color: #fff !important;
}

.cm-foot__base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  border-top: 1px solid var(--cm-line);
  padding-top: 18px;
}

.cm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 960px) {
  .cm-hero__grid,
  .cm-bento,
  .cm-split,
  .cm-cta,
  .cm-foot__grid,
  .cm-stats {
    grid-template-columns: 1fr;
  }

  .cm-card--lg {
    grid-row: auto;
  }

  .cm-nav__toggle {
    display: inline-block;
  }

  .cm-nav__links {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #12091f;
    border: 1px solid var(--cm-line);
    border-radius: 16px;
  }

  .cm-nav__links.is-open {
    display: flex;
  }

  .cm-hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
