:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-2: #0b0b0b;
  --surface: rgba(255, 255, 255, .035);
  --surface-strong: rgba(255, 255, 255, .06);
  --surface-solid: #101012;
  --glass-hi: rgba(255, 255, 255, .06);
  --text: #f4f6f2;
  --text-muted: #9ca29a;
  --text-dim: #5c615b;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --accent: #c3f53c;
  --accent-2: #9be000;
  --accent-text: #0a0c05;
  --accent-glow: rgba(195, 245, 60, .55);
  --dot-color: rgba(255, 255, 255, .045);
  --hero-glow: rgba(195, 245, 60, .2);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .55), 0 28px 70px rgba(0, 0, 0, .6);
  --shadow-glow: 0 18px 60px rgba(195, 245, 60, .22);
  --font-display: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: Onest, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, var(--dot-color) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 3%, rgba(195, 245, 60, .12), transparent 34%),
    radial-gradient(circle at 94% 42%, rgba(120, 200, 255, .055), transparent 30%),
    radial-gradient(circle at 45% 105%, rgba(195, 245, 60, .08), transparent 36%);
}
::selection { background: var(--accent); color: var(--accent-text); }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 2; }
section { position: relative; padding: 96px 0; }

/* Header mirrors the Radar glass navigation. */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 8, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .3s ease, backdrop-filter .3s ease;
}
.header.shrink { border-bottom-color: var(--border); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: height .3s ease; }
.header.shrink .header__inner { height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font-display); letter-spacing: .14em; }
.logo svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 26px; color: var(--text-muted); font-size: 14px; }
.nav a:not(.btn):hover, .text-link:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-text); transform: translateY(-2px); }
.btn-secondary { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-1px); }

.hero { overflow: hidden; padding: 76px 0 82px; }
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 820px;
  height: 520px;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--hero-glow), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .26;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 49.7%, rgba(255, 255, 255, .07) 50%, transparent 50.3%),
    linear-gradient(150deg, transparent 49.7%, rgba(195, 245, 60, .08) 50%, transparent 50.3%);
  background-size: 240px 180px, 300px 220px;
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.breadcrumbs { margin-bottom: 24px; color: var(--text-dim); font: 12px/1.5 var(--font-mono); }
.breadcrumbs a:hover { color: var(--accent); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  color: var(--accent);
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.03em; }
h1 { margin: 26px 0 20px; font-size: clamp(44px, 7vw, 76px); font-weight: 700; }
h1 .accent { display: block; color: var(--accent); text-shadow: 0 0 40px rgba(195, 245, 60, .25); }
.lead { max-width: 660px; margin: 0 auto; color: var(--text-muted); font-size: clamp(17px, 2vw, 19px); line-height: 1.6; }

.check-box {
  max-width: 840px;
  margin: 36px auto 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.check-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.check-form--network { grid-template-columns: 138px 1fr auto; }
.check-form input, .check-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 16px;
  outline: none;
  background: var(--surface-solid);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.check-form input::placeholder { color: var(--text-dim); }
.check-form input:focus, .check-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(195, 245, 60, .1); }
.check-hint { display: flex; justify-content: space-between; gap: 20px; padding: 11px 6px 1px; color: var(--text-dim); font-size: 12px; }
.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.quick-links a { padding: 7px 12px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); color: var(--text-muted); font: 12px/1.3 var(--font-mono); }
.quick-links a:hover { border-color: var(--accent); color: var(--accent); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 16px; color: var(--accent); font: 600 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; }
.section-head p { margin: 18px 0 0; color: var(--text-muted); font-size: 17px; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .checklist li, .related a, .cta {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.card::before, .checklist li::after, .related a::before, .cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(140deg, var(--border-strong), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.card { min-height: 228px; padding: 32px; border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card__num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-text); box-shadow: 0 0 22px rgba(195, 245, 60, .2); font: 700 13px/1 var(--font-mono); }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split h2 { margin: 0 0 18px; }
.split p { margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { min-height: 62px; padding: 18px 20px 18px 52px; border-radius: 14px; color: var(--text-muted); }
.checklist li::before { content: "✓"; position: absolute; left: 20px; color: var(--accent); font-weight: 800; }

/* Same accordion construction and visual language as /radar. */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.faq-item__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; padding: 22px 24px; background: transparent; color: var(--text); text-align: left; font: 600 17px/1.35 var(--font-display); cursor: pointer; }
.faq-item__q:hover { color: var(--accent); }
.faq-item__icon { width: 20px; height: 20px; flex: 0 0 20px; stroke: var(--accent); transition: transform .25s ease; }
.faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item__panel.open { grid-template-rows: 1fr; }
.faq-item__a { overflow: hidden; }
.faq-item__a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
/* No-JS fallback before details are enhanced. */
.faq details { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq summary { padding: 22px 24px; cursor: pointer; font: 600 17px/1.35 var(--font-display); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); }

.cta { overflow: hidden; padding: 64px 48px; border-radius: 28px; text-align: center; background: var(--surface-strong); }
.cta::after { content: ""; position: absolute; width: 520px; height: 300px; left: 50%; top: -190px; transform: translateX(-50%); background: radial-gradient(circle, rgba(195, 245, 60, .18), transparent 70%); pointer-events: none; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { margin: 0; }
.cta > p { max-width: 640px; margin: 18px auto 26px; color: var(--text-muted); font-size: 17px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; text-align: left; }
.related a { padding: 20px; border-radius: 14px; background: rgba(8, 8, 8, .32); transition: transform .2s ease, border-color .2s ease; }
.related a:hover { transform: translateY(-2px); border-color: var(--accent); }
.related b { display: block; margin-bottom: 5px; font-family: var(--font-display); color: var(--text); }
.related span { color: var(--text-dim); font-size: 13px; }

.footer { border-top: 1px solid var(--border); padding: 36px 0; background: rgba(8, 8, 8, .35); color: var(--text-dim); font-size: 13px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--text); }
.form-error { margin: 10px 5px 0; color: #ff847c; text-align: left; font-size: 13px; }

@media (max-width: 800px) {
  .container { width: min(100% - 40px, 1200px); }
  .header__inner { height: 64px; }
  .nav a:not(.btn) { display: none; }
  .nav { gap: 8px; }
  .nav .btn { min-height: 42px; padding: 10px 15px; font-size: 13px; }
  .hero { padding: 54px 0 58px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  .check-form, .check-form--network { grid-template-columns: 1fr; }
  .check-hint { flex-direction: column; gap: 3px; }
  .grid, .related, .split { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .card { min-height: 0; }
  .cta { padding: 42px 22px; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 28px, 1200px); }
  .logo { font-size: 13px; }
  .nav .btn { padding-inline: 12px; }
  .faq-item__q { padding: 19px 18px; font-size: 16px; }
  .faq-item__a-inner { padding: 0 18px 19px; }
}

@media (max-width: 1024px), (hover: none) {
  .card, .checklist li, .related a, .cta, .faq-item, .check-box, .pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
