:root {
  --bg: #070b17;
  --surface: #0f182c;
  --surface-2: #151f38;
  --text: #f7f9ff;
  --muted: #aeb8ce;
  --line: #263451;
  --cyan: #38e8d2;
  --cyan-dark: #0b887d;
  --blue: #6d8dff;
  --violet: #a68cff;
  --warning: #ffd37a;
  --danger: #ff9eaa;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(60, 102, 220, .25), transparent 34rem),
    radial-gradient(circle at -5% 45%, rgba(56, 232, 210, .08), transparent 28rem),
    var(--bg);
  font: 16px/1.72 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.15rem; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin: 14px 0 22px;
  font-size: clamp(2.55rem, 6.2vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.055em;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
h3 { margin: 0 0 10px; line-height: 1.3; }

.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.narrow { width: min(820px, 100%); }
.muted, .prose p, .prose li, .card p, .faq p { color: var(--muted); }
.small { font-size: .88rem; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #04120f;
  background: var(--cyan);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(7, 11, 23, .88);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo img { width: 112px; height: 74px; object-fit: contain; }
.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 750;
  text-decoration: none;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--cyan); }
.nav-list .nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}
.nav-list .nav-cta:hover { border-color: var(--cyan-dark); color: var(--text); }
.nav-list .nav-cta-primary {
  border-color: var(--cyan);
  color: #04120f;
  background: var(--cyan);
}
.nav-list .nav-cta-primary:hover { border-color: #68f4e2; color: #04120f; background: #68f4e2; }

.breadcrumb { padding-top: 30px; color: var(--muted); font-size: .88rem; }
.breadcrumb ol { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #60708f; }
.breadcrumb a { text-decoration: none; }

.hero { padding: 70px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 54px; }
.eyebrow {
  color: var(--cyan);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.18rem); }
.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions-center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  text-decoration: none;
}
.btn-primary { color: #04120f; background: var(--cyan); }
.btn-primary:hover { background: #68f4e2; }
.btn-secondary { border-color: var(--line); background: rgba(255, 255, 255, .04); }
.btn-secondary:hover { border-color: var(--cyan-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.chip { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .82rem; }

.section { padding: 74px 0; content-visibility: auto; }
.section-alt { border-block: 1px solid rgba(255, 255, 255, .06); background: rgba(13, 20, 38, .62); }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.grid-2, .grid-3 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card, .callout, .toc, .step, .info-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 24, 44, .78);
}
.card { padding: 25px; }
.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(56, 232, 210, .11);
  font-weight: 950;
}
.card-link { display: inline-flex; margin-top: 6px; color: var(--cyan); font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 40px; }
.prose h2 { margin-top: 52px; }
.prose h3 { margin-top: 32px; }
.prose a { color: var(--cyan); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .55rem; }
.toc { position: sticky; top: 100px; padding: 22px; }
.toc strong { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li + li { margin-top: 7px; }
.toc a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.toc a:hover { color: var(--cyan); }
.updated { color: var(--muted); font-size: .86rem; }

.steps { display: grid; gap: 14px; margin: 24px 0 34px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 72px; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(56, 232, 210, .11);
  font-size: .82rem;
  font-weight: 950;
}
.step p { margin-bottom: 0; }
.callout { margin: 28px 0; padding: 22px 24px; border-left: 4px solid var(--cyan); }
.callout.warning { border-left-color: var(--warning); }
.callout.danger { border-left-color: var(--danger); }
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 24px 0 34px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: rgba(15, 24, 44, .78); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--text); background: rgba(255, 255, 255, .04); }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 19px 0; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin: 12px 0 0; }
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(56, 232, 210, .32);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(56, 232, 210, .09), rgba(109, 141, 255, .09));
}
.cta-box h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.cta-box .actions { margin-top: 0; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-logo { width: 104px; height: 68px; margin-bottom: 12px; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.disclaimer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found-logo { width: 112px; height: 74px; margin: 0 auto 18px; object-fit: contain; }
.not-found h1 { color: var(--cyan); font-size: clamp(4rem, 12vw, 8rem); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 900px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .toc { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 64px; align-items: flex-start; flex-direction: column; padding-block: 12px; gap: 8px; }
  .logo img { width: 96px; height: 63px; }
  .nav-list { gap: 7px 14px; }
  .nav-list a { font-size: .82rem; }
  .hero { padding: 46px 0 50px; }
  .grid-2, .grid-3, .footer-grid, .cta-box { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .section { padding: 58px 0; }
  .step { padding-left: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .actions, .toc, .site-footer { display: none; }
  body { color: #111; background: #fff; }
  .prose p, .prose li, .muted { color: #333; }
}
