:root {
  --bg-deep: #050608;
  --bg-surface: #0c0f14;
  --bg-elevated: #12161e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b93a7;
  --accent: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --alert: #fbbf24;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #5eead4;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: var(--accent);
}

.bg-glow--2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -100px;
  background: #6366f1;
  opacity: 0.2;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo__dot {
  color: var(--accent);
}

.nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.header__cta {
  display: none;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .header__cta {
    display: inline-flex;
  }
}

.nav.is-open {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  gap: 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

body.nav-open .header__cta {
  display: none;
}

main,
.footer {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  70%,
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__lead strong {
  color: var(--alert);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #04120f;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #5eead4;
  border-color: #5eead4;
  color: #04120f;
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  margin-bottom: 3rem;
}

.panel--code {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.panel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel__dots::before,
.panel__dots::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel__dots::before {
  background: #ef4444;
}

.panel__dots::after {
  background: #fbbf24;
}

.panel__dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.panel__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.panel__pill {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
}

.code-stack {
  padding: 0.5rem 0 0.25rem;
}

.code-stack__label {
  margin: 0.85rem 1.25rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.code-stack__label:first-child {
  margin-top: 0.35rem;
}

.code-stack__hint {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
}

.code-block {
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  overflow-x: auto;
  color: #cbd5e1;
}

.code-block--tight {
  padding: 0.85rem 1.25rem 1rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.code-stack__label + .code-block--tight {
  border-top: 1px solid var(--border);
}

.code-stack__label:first-child + .code-block--tight {
  border-top: none;
}

.tok-k { color: #7dd3fc; }
.tok-s { color: #86efac; }
.tok-n { color: #fcd34d; }
.tok-p { color: #94a3b8; }
.tok-c { color: #64748b; }

.section {
  padding: 2.5rem 0;
}

.section--alt {
  margin: 0 -1.25rem;
  padding: 2.5rem 1.25rem;
  background: rgba(12, 15, 20, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0 0 1.5rem;
  max-width: 60ch;
  color: var(--text-muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.steps__item {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.steps__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}

.steps__h {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
}

.steps__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-deep);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alert);
  margin-bottom: 0.5rem;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.forexvps-section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.forexvps-section__title {
  max-width: 22ch;
}

.forexvps-section__intro {
  max-width: 62ch;
}

.forexvps-section__cite {
  margin: -0.35rem 0 1.25rem;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.forexvps-section__cite a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.forexvps-section__cite a:hover {
  text-decoration: underline;
}

.forexvps-section__cite-src {
  color: var(--text-muted);
  font-weight: 400;
}

.cards.cards--forexvps {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards.cards--forexvps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards.cards--forexvps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.forexvps-section .card {
  background: var(--bg-surface);
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.checklist {
  margin: 0;
  padding: 1.25rem;
  list-style: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 1rem;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: #fcd34d;
}

.cta-block {
  text-align: center;
}

.cta-block .section__intro {
  margin-left: auto;
  margin-right: auto;
}

.cta-block .hero__actions {
  justify-content: center;
}

.compare-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-section__title {
  margin-top: 0;
}

.compare-section__intro {
  margin-bottom: 1.35rem;
}

.compare-scroll {
  margin: 0 -1.25rem;
  padding: 0 1.25rem 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.compare-scroll:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
  border-radius: var(--radius-sm);
}

.compare-table--facts {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0d12;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.compare-table--facts thead th {
  padding: 1rem 1rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-table__feature {
  width: 20%;
  min-width: 130px;
  color: #a8b0c0;
  background: #0e1218;
}

.compare-table__rival {
  width: 34%;
  color: #8b93a7;
  background: #0c1016;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table__hero {
  width: 38%;
  color: #f1f5f9;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-left: 1px solid rgba(56, 189, 248, 0.45);
  border-right: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.2);
}

.compare-table__hero-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.95);
}

.compare-table--facts tbody th {
  padding: 0.95rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  color: #e2e8f0;
  background: #080a0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.compare-cell {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.compare-cell--rival {
  background: rgba(0, 0, 0, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}

.compare-cell--hero {
  background: rgba(30, 58, 88, 0.35);
  border-left: 1px solid rgba(56, 189, 248, 0.35);
  border-right: 1px solid rgba(56, 189, 248, 0.25);
  color: #cbd5e1;
}

.compare-cell--hero .compare-verdict__head {
  color: #f8fafc;
}

.compare-verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.compare-verdict__tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.compare-verdict__head {
  font-weight: 700;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.compare-verdict--yes .cmp-ic,
.compare-verdict--yes .compare-verdict__tag {
  color: #4ade80;
}

.compare-verdict--no .cmp-ic,
.compare-verdict--no .compare-verdict__tag {
  color: #f87171;
}

.compare-verdict--ok .cmp-ic,
.compare-verdict--ok .compare-verdict__tag {
  color: #94a3b8;
}

.compare-verdict--warn .cmp-ic,
.compare-verdict--warn .compare-verdict__tag {
  color: #fbbf24;
}

.compare-verdict--neutral .compare-verdict__head {
  font-size: 0.88rem;
  color: #d1d5db;
}

.compare-cell--rival .compare-verdict__head {
  color: #d1d5db;
}

.cmp-ic {
  flex-shrink: 0;
}

.compare-cell__detail {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: inherit;
  opacity: 0.88;
}

.compare-cell--hero .compare-cell__detail {
  opacity: 0.92;
}

.compare-table--facts tbody tr:last-child th,
.compare-table--facts tbody tr:last-child td {
  border-bottom: none;
}

.compare-note {
  margin: 1.15rem 0 0;
  max-width: 72ch;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .compare-note {
    margin-left: auto;
    text-align: right;
  }
}

.faq-section .section__intro {
  margin-bottom: 1.25rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-section:not(.section--alt) .faq-item {
  background: var(--bg-deep);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-item__q:focus {
  outline: none;
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-item__a {
  padding: 0 1.15rem 1.1rem;
  border-top: 1px solid var(--border);
}

.faq-item__a p {
  margin: 0;
  padding-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #fcd34d;
}

.section--support {
  padding-bottom: 1rem;
}

.section--support .btn {
  margin-top: 0.25rem;
}

.footer {
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 600px) {
  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer__brand {
  font-weight: 700;
  color: var(--text);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}
