:root {
  --bg: #05060b;
  --bg-soft: #0d1020;
  --panel: rgba(11, 15, 31, 0.9);
  --panel-strong: rgba(14, 20, 40, 0.96);
  --line: rgba(132, 249, 255, 0.22);
  --text: #f4f7ff;
  --muted: #aeb8d5;
  --cyan: #54f2ff;
  --purple: #b341ff;
  --pink: #ff4fd8;
  --green: #78ff9f;
  --warning: #ffd45b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(179, 65, 255, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(84, 242, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #020307 0%, #05060b 42%, #080a14 100%);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #b8fbff; }
img, svg, iframe { max-width: 100%; }
.site-shell { position: relative; overflow: clip; }
.site-shell::before, .site-shell::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(179, 65, 255, 0.25);
  transform: rotate(45deg);
  z-index: 0;
}
.site-shell::before { top: 128px; left: -120px; }
.site-shell::after { top: 560px; right: -140px; border-color: rgba(84, 242, 255, 0.18); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(3, 4, 10, 0.78);
  border-bottom: 1px solid rgba(84, 242, 255, 0.18);
}
.topbar-inner, .hero, .content-wrap, .page-wrap, .footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.brand-mark {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 18px rgba(84, 242, 255, 0.6);
  transform: rotate(45deg);
}
.topnav { display: flex; flex-wrap: wrap; gap: 14px; }
.topnav a { color: var(--muted); font-size: 0.92rem; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(84, 242, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-lines::before { transform: translateY(-6px); }
.nav-toggle-lines::after { transform: translateY(4px); }
.topnav.is-open { display: flex; }
.hero { padding: 56px 0 28px; }
.hero-panel, .page-card, .article-shell {
  background: linear-gradient(180deg, rgba(16, 21, 43, 0.9), rgba(8, 11, 24, 0.94));
  border: 1px solid rgba(84, 242, 255, 0.16);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-panel { padding: 28px; display: grid; gap: 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hero h1, .page-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero p, .page-intro {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1rem;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chip, .meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}
.content-wrap { padding-bottom: 100px; }
.article-shell { padding: 28px 18px 40px; }
.article-header { margin-bottom: 24px; }
.article-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.05;
}
.article-header p { margin: 0; color: var(--muted); max-width: 70ch; }
.featured-frame {
  margin: 0 0 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(84, 242, 255, 0.22);
  box-shadow: 0 16px 42px rgba(6, 10, 25, 0.55);
}
.review-card {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(179, 65, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(84, 242, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.review-label {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #081018;
  background: linear-gradient(135deg, var(--cyan), #b5ffef);
}
.review-card h3 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.review-grid, .review-offer { display: grid; gap: 8px; }
.review-stars { color: var(--warning); letter-spacing: 0.18em; font-size: 1.05rem; }
.review-copy { margin: 0; color: var(--muted); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), #8effd4);
  box-shadow: 0 0 24px rgba(84, 242, 255, 0.24);
}
.cta-button.alt {
  color: var(--text);
  background: linear-gradient(135deg, rgba(179, 65, 255, 0.32), rgba(84, 242, 255, 0.14));
}
.toc-list {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.toc-list li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.toc-list li a span { color: var(--muted); }
.deep-dive-heading { margin: 36px 0 20px; }
.article-body { color: var(--text); }
.article-body > h1:first-child { margin-top: 0; }
.article-body h1, .article-body h2, .article-body h3 { position: relative; scroll-margin-top: 90px; }
.article-body h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.02;
}
.article-body h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
}
.article-body h3 {
  margin: 28px 0 12px;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: normal;
}
.article-body p, .article-body li, .page-card p, .page-card li { color: #dce4ff; }
.article-body p { margin: 0 0 16px; }
.article-body ul { margin: 0 0 20px 20px; padding: 0; }
.article-body li + li { margin-top: 8px; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  overflow: hidden;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(84, 242, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}
.article-body tbody { display: table; width: 100%; }
.article-body tr:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
.article-body td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.article-body td p { margin: 0; }
.faq-callout {
  margin-top: 32px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(179, 65, 255, 0.24);
  background: rgba(179, 65, 255, 0.08);
  color: var(--muted);
}
.page-wrap { padding: 56px 0 100px; }
.page-card { padding: 28px; }
.page-card h1 { margin-bottom: 14px; }
.page-card h2 { margin: 26px 0 10px; font-size: 1.3rem; }
.support-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.support-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer {
  border-top: 1px solid rgba(84, 242, 255, 0.16);
  background: rgba(3, 4, 10, 0.92);
}
.footer-inner { padding: 28px 0 46px; display: grid; gap: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-copy { color: var(--muted); font-size: 0.92rem; }
.sticky-promo {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: min(340px, calc(100% - 24px));
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(179, 65, 255, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(12, 17, 34, 0.97), rgba(7, 9, 18, 0.98));
  border: 1px solid rgba(84, 242, 255, 0.24);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.46);
}
.sticky-promo button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.sticky-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-weight: 800;
  color: #071018;
  background: linear-gradient(135deg, var(--cyan), #b9fff1);
}
.sticky-title { margin: 0 0 8px; font-size: 1.2rem; }
.sticky-offer { margin: 0 0 14px; color: var(--muted); }
.sticky-promo.hidden { display: none; }
@media (min-width: 760px) {
  .hero-panel { padding: 36px; }
  .article-shell { padding: 32px 30px 48px; }
  .review-card {
    grid-template-columns: 1.3fr 0.8fr;
    align-items: center;
    padding: 24px;
  }
}
@media (max-width: 759px) {
  .topbar-inner { align-items: center; flex-direction: row; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .topnav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
    border-radius: 18px;
    background: rgba(6, 8, 18, 0.96);
    border: 1px solid rgba(84, 242, 255, 0.18);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
  }
  .topnav a {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .topnav a:first-child { border-top: 0; }
  .footer-nav { gap: 10px 14px; }
  .article-body table { overflow-x: auto; white-space: nowrap; }
  .article-body td { min-width: 160px; }
  .sticky-promo { right: 12px; left: 12px; width: auto; }
}
