:root {
  color-scheme: dark;
  --bg: #070a12;
  --surface: #101725;
  --surface-2: #151e30;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f6ff;
  --muted: #b4bfd3;
  --blue: #69a8ff;
  --blue-strong: #3b82f6;
  --green: #5ee5b1;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -180px, rgba(59, 130, 246, 0.25), transparent 70%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #a8cbff; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; color: #07101f; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.breadcrumbs { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }
.hero { padding: 58px 0 46px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: -0.035em; }
h1 { max-width: 860px; margin-bottom: 22px; font-size: clamp(38px, 7vw, 70px); }
h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 42px); }
h3 { margin-bottom: 8px; font-size: 21px; }
.lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); font-weight: 800; text-decoration: none; }
.button:hover { color: #fff; background: var(--surface-2); }
.button.primary { border-color: #5d9dfb; background: linear-gradient(135deg, #2563eb, #4f8ff7); box-shadow: 0 14px 40px rgba(37, 99, 235, 0.28); }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.proof li { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #dfe9fa; background: rgba(255,255,255,0.035); font-size: 14px; font-weight: 700; }

.section { padding: 52px 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-bottom: 28px; color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(155deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.step-number { display: grid; width: 34px; height: 34px; margin-bottom: 18px; place-items: center; border-radius: 50%; color: #061327; background: var(--blue); font-weight: 900; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: rgba(255,255,255,0.025); }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--text); background: rgba(255,255,255,0.045); font-size: 14px; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 54px; align-items: start; }
.article-body { min-width: 0; }
.article-body > section { padding: 34px 0; border-top: 1px solid var(--line); }
.article-body > section:first-child { border-top: 0; padding-top: 0; }
.article-body p, .article-body li { color: var(--muted); }
.article-body li + li { margin-top: 8px; }
.article-body strong { color: var(--text); }
.toc { position: sticky; top: 96px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16, 23, 37, 0.7); }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.note { padding: 18px 20px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; color: #dce9f8; background: rgba(94, 229, 177, 0.08); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; color: var(--text); font-weight: 800; cursor: pointer; }
.faq details p { margin-top: -4px; padding-bottom: 18px; }

.cta { margin: 52px 0; padding: 34px; border: 1px solid rgba(105, 168, 255, 0.35); border-radius: 22px; background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(94,229,177,0.08)); }
.cta h2 { font-size: clamp(26px, 4vw, 38px); }
.cta p { max-width: 680px; color: var(--muted); }
.site-footer { padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); }

@media (max-width: 800px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .hero { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
