:root {
  --bg: #0b0b12;
  --bg-2: #111119;
  --panel: #15151f;
  --panel-2: #1b1b28;
  --border: #2a2a3d;
  --border-2: #3a3a55;
  --text: #ececf5;
  --muted: #a4a4bb;
  --muted-2: #85859e;
  --accent: #a78bfa;
  --accent-2: #7c5cff;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --warn: #fbbf24;
  --wrap: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px -30px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(124, 92, 255, .18), transparent 70%),
    radial-gradient(700px 420px at 100% 10%, rgba(34, 211, 238, .08), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .35rem 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .9em;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .12rem .35rem;
}
:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--text); color: var(--bg); padding: .7rem 1rem;
}
.skip:focus { left: 0; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 18, .82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.top__in {
  min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top__nav { display: flex; align-items: center; gap: .2rem; }
.top__nav a { color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 650; padding: .45rem .6rem; border-radius: 8px; }
.top__nav a:hover { color: var(--text); background: var(--panel); }
.top__nav a[aria-current="page"] { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid transparent; border-radius: 10px;
  padding: .7rem 1rem; font: inherit; font-size: .9rem; font-weight: 750;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--accent-2); color: #fff; box-shadow: 0 8px 26px -10px rgba(124, 92, 255, .8); }
.btn--primary:hover { background: #6a4bea; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .5rem .75rem; font-size: .82rem; }

.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__in { max-width: 860px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 0 0 1rem; padding: .35rem .7rem;
  color: var(--accent); background: rgba(167, 139, 250, .1);
  border: 1px solid rgba(167, 139, 250, .32); border-radius: 999px;
  font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.lede { margin-top: 1.2rem; max-width: 70ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); }
.meta { margin-top: 1rem; color: var(--muted-2); font-size: .82rem; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--border); }
.section--alt { background: rgba(255, 255, 255, .015); }
.section__head { max-width: 760px; margin-bottom: 1.5rem; }
.section__head p { margin-top: .75rem; color: var(--muted); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.callout {
  margin: 1.5rem 0; padding: 1.1rem 1.2rem;
  background: rgba(34, 211, 238, .07);
  border: 1px solid rgba(34, 211, 238, .25);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.callout strong { color: var(--text); }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  padding: 1.15rem; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.card p { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.card__k { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap {
  overflow-x: auto; margin: 1.4rem 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
caption { text-align: left; padding: .85rem 1rem; color: var(--muted-2); font-size: .78rem; border-bottom: 1px solid var(--border); }
th, td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: .88rem; }
thead th { color: var(--muted-2); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: var(--panel-2); }
tbody th { color: var(--text); white-space: nowrap; }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--emerald); font-weight: 750; }
.no { color: var(--muted-2); font-weight: 650; }
.part { color: var(--warn); font-weight: 650; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; color: var(--text); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 1rem; margin: 0; color: var(--muted); max-width: 80ch; }

.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; max-width: 640px; }

@media (max-width: 760px) {
  .top__nav { display: none; }
  .top__in { min-height: 58px; }
  .brand img { width: 26px; height: 26px; }
  .hero { padding-top: 2.5rem; }
  table { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
