:root {
  color-scheme: dark;
  --bg: #070a15;
  --panel: #0e1426;
  --panel-alt: #111a30;
  --line: #222c46;
  --text: #f0f3ff;
  --muted: #a9b5cf;
  --cyan: #41e5fa;
  --violet: #bfacff;
  --radius: 18px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); }
::selection { color: #041021; background: var(--cyan); }
a { color: var(--cyan); text-underline-offset: .22em; }
a:hover { color: #a8f7ff; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
code, pre { font-family: "IBM Plex Mono", Consolas, monospace; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: .5rem; transform: translateY(-160%); padding: .5rem 1rem; background: var(--bg); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); font-weight: 850; font-size: 19px; letter-spacing: .15em; text-decoration: none; }
.brand img { border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { padding-block: 8px; color: var(--muted); font-size: .94rem; text-decoration: none; }
.top nav a[aria-current], .top nav a:hover { color: var(--cyan); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; min-height: 535px; isolation: isolate; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding-block: 50px; }
.badge { display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px; color: var(--violet); background: #17142a; border: 1px solid #342a50; border-radius: 99px; font-size: .86rem; font-weight: 630; }
.badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.hero h1 { margin-top: 17px; font-size: clamp(5.3rem, 11vw, 9.5rem); font-weight: 900; line-height: .96; letter-spacing: -.085em; }
.hero h1 span { color: var(--cyan); }
.hero-subtitle { margin-top: 18px; font-size: clamp(1.28rem, 2.6vw, 1.8rem); font-weight: 680; letter-spacing: -.035em; }
.lede { max-width: 39ch; margin-top: 12px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 21px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 720; line-height: 1.25; }
.primary { background: var(--cyan); color: #041827; box-shadow: 0 7px 28px #18ceeb24; }
.primary:hover { color: #041827; background: #8af0ff; }
.secondary { background: #141c30; border-color: #303b58; color: var(--text); }
.secondary:hover { border-color: #5b6b97; color: white; }
.platform { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.platform span { margin-inline: 5px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 496px); }
.hero-art::before { content: ""; position: absolute; inset: 9% 1% 8%; z-index: -1; background: radial-gradient(ellipse at 42% 42%, #103560 0%, #17163d 42%, transparent 73%); filter: blur(25px); }
.hero-art img { display: block; width: 100%; height: auto; mix-blend-mode: screen; mask-image: radial-gradient(ellipse at center, black 62%, #000a 75%, transparent 90%); }
.info-panel { padding: clamp(20px, 3.2vw, 35px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.info-panel h2 { font-size: 1.23rem; font-weight: 690; letter-spacing: -.022em; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 30px; margin: 11px 0 0; padding-left: 1.45rem; color: var(--muted); }
.steps li::marker { color: var(--cyan); font-weight: 700; }
.steps code { color: var(--text); font-size: .89em; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 27px; margin-top: 28px; color: var(--muted); border-top: 1px solid var(--line); font-size: .91rem; }
.footer span { font-weight: 800; letter-spacing: .12em; }
.footer a { color: var(--muted); }

.doc-header { padding-block: 49px 32px; border-bottom: 1px solid var(--line); }
.doc-header h1 { margin-top: 10px; font-weight: 850; font-size: clamp(2.55rem, 6vw, 4.2rem); letter-spacing: -.07em; line-height: 1.05; }
.doc-header p:last-child { color: var(--muted); max-width: 54ch; margin-top: 12px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 34px; padding-block: 30px 8px; align-items: start; }
.doc-toc { position: sticky; top: 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.doc-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: .91rem; text-decoration: none; }
.doc-toc a:hover { color: var(--cyan); }
.doc-toc .toc-title { padding: 4px 0 7px; color: var(--text); font-weight: 680; }
.doc-start { margin-bottom: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.doc-start h2 { font-size: 1.18rem; }
.doc-start p { margin: 6px 0 12px; color: var(--muted); }
.doc-start pre { margin: 0; }
.doc-search { margin-bottom: 20px; }
.doc-search label { display: block; margin-bottom: 5px; font-weight: 680; }
.doc-search input { width: 100%; min-height: 46px; padding: 7px 12px; border: 1px solid #3c4967; border-radius: 9px; background: var(--panel); color: var(--text); }
.doc-search p, .no-results { color: var(--muted); margin-top: 6px; font-size: .93rem; }
.api-group { margin: 22px 0; }
.api-group h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.035em; margin-bottom: 10px; }
.api-group article { margin-bottom: 9px; padding: 12px 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.api-group article:target { border-color: var(--cyan); }
.api-group h3 { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
.api-group h3 a { text-decoration: none; }
.api-group article p { color: var(--muted); font-size: .95rem; }
.api-group details { margin-top: 4px; }
.api-group details:first-of-type { margin-top: 8px; }
.api-group summary { color: var(--violet); cursor: pointer; font-size: .92rem; }
pre { padding: 10px 12px; border-radius: 7px; background: #080e1d; color: #d7eaff; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; margin: 8px 0; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 440px; }
  .hero h1 { font-size: clamp(4.5rem, 12.5vw, 7rem); }
  .doc-layout { grid-template-columns: 168px minmax(0,1fr); gap: 17px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { height: 65px; min-height: 0; }
  .top nav { gap: 15px; }
  .top nav a { font-size: .88rem; }
  .hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .hero-copy { padding-top: 36px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(4.4rem, 19vw, 7rem); }
  .hero-art { width: min(77%, 310px); margin-block: 14px 9px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .doc-header { padding-block: 30px 22px; }
  .doc-layout { grid-template-columns: minmax(0,1fr); padding-top: 19px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 0 13px; }
  .doc-toc .toc-title { width: 100%; }
}
