@font-face {
  font-family: "BDO Grotesk";
  src: url("fonts/bdo-grotesk-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060607;
  --bg-2: #0B0B0D;
  --surface: #0E0E10;
  --surface-2: #141416;
  --line: rgba(246, 245, 243, 0.08);
  --line-2: rgba(246, 245, 243, 0.12);
  --text: #F6F5F3;
  --muted: #A3A19D;
  --dim: #8C8A86;
  --accent: #C6FF3D;
  --accent-2: #E6FF9E;
  --accent-rgb: 198, 255, 61;
  --paper-bg: #EFEEEA;
  --paper-text: #0B0B0D;
  --paper-muted: #57544F;
  --radius: 16px;
  --radius-sm: 10px;
  --sans: "BDO Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1104px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--bg);
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.dim { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: 100px;
  font-size: 14px; letter-spacing: -0.035em; line-height: 1;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: #0B0B0D; box-shadow: 0 2px 12px rgba(0, 0, 0, .22); }
.btn-light:hover { background: #FFFFFF; box-shadow: 0 4px 24px rgba(var(--accent-rgb), .18); }
.btn-dark { background: rgba(246, 245, 243, .04); border: 1px solid var(--line-2); color: var(--text); }
.btn-dark:hover { background: rgba(246, 245, 243, .08); border-color: rgba(246, 245, 243, .2); }
.btn-accent { background: var(--accent); color: #0B0B0D; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 6px 30px rgba(var(--accent-rgb), .25); }
.btn-ink { background: #0B0B0D; color: var(--text); }
.btn-ink:hover { background: #1C1C20; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 11px 0 9px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(246, 245, 243, .03);
  font-size: 12px; line-height: 1; letter-spacing: -0.02em;
  color: var(--dim);
}
.badge svg { color: var(--accent); flex: none; }
.badge-hero { color: rgba(246, 245, 243, .92); background: rgba(20, 20, 22, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 7, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.pill {
  display: inline-flex; align-items: center;
  height: 40px; padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(14, 14, 16, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.brand { justify-self: start; gap: 8px; padding: 0 14px 0 10px; font-size: 16px; letter-spacing: -0.03em; }
.brand .mark { width: 18px; height: 18px; }
.nav-links { gap: 2px; }
.nav-links a {
  height: 30px; display: inline-flex; align-items: center;
  padding: 0 13px; border-radius: 100px;
  font-size: 14px; letter-spacing: -0.035em; color: rgba(246, 245, 243, .6);
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(246, 245, 243, .06); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-right .btn { height: 40px; }
.nav-right .btn-dark { background: rgba(14, 14, 16, .6); }

/* ---------- Mark (logo) ---------- */
.mark { color: var(--accent); }
.mark .hand { transform-origin: 12px 12px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
section { position: relative; }
.block { padding: 128px 0; }
.rule { height: 1px; background: var(--line); max-width: var(--wrap); margin: 0 auto; }
.h1 {
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.h2 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.h2 .indent { padding-left: .12em; }
.lead { font-size: 18px; line-height: 1.55; color: rgba(246, 245, 243, .66); letter-spacing: -0.025em; }
.body-s { font-size: 14px; line-height: 1.55; color: var(--dim); letter-spacing: -0.02em; }
.label {
  font-family: var(--mono);
  font-size: 11.5px; line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.head-split { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
.head-split .badge { margin-bottom: 22px; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto; }
.head-center .badge { margin-bottom: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 0; text-align: center; overflow: hidden; }
.hero .caption { margin-top: 96px; }
.hero-rays {
  position: absolute; inset: 0 0 auto 0; height: 1100px; width: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
}
.hero .wrap { position: relative; }
.hero .badge { margin-bottom: 26px; }
.hero .lead { max-width: 500px; margin: 22px auto 0; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.console {
  position: relative;
  max-width: 880px; margin: 72px auto 0;
  background: linear-gradient(180deg, rgba(20, 20, 22, .92), rgba(11, 11, 13, .96));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  text-align: left;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 120px -40px rgba(var(--accent-rgb), .18);
}
.win-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; letter-spacing: -0.02em;
}
.win-title { display: inline-flex; align-items: center; gap: 8px; }
.win-title .mark { width: 15px; height: 15px; }
.win-dots { display: flex; gap: 5px; }
.win-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(246, 245, 243, .3); }
.console-body { padding: 28px 24px 18px; }
.console-head { text-align: center; }
.console-head h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.console-head p { font-size: 13px; color: var(--dim); margin-top: 6px; }

.tabs { display: flex; gap: 6px; margin: 22px 0 6px; flex-wrap: wrap; }
.tab {
  height: 28px; padding: 0 12px; border-radius: 100px;
  font-size: 13px; color: var(--dim);
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.tab i { width: 8px; height: 2px; border-radius: 2px; background: currentColor; }
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { color: var(--text); background: rgba(246, 245, 243, .07); border-color: var(--line-2); }
.tab.t-tick i { background: var(--accent); height: 3px; }
.tab.t-leaf i { background: #B9B7B3; }
.tab.t-paper i { background: #6E6C69; }

.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); }
.chart .axis text { fill: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0; }
.chart .thr line { stroke: rgba(246, 245, 243, .35); stroke-dasharray: 3 5; }
.chart .thr text { fill: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0; }
.chart .s { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .35s var(--ease), stroke-width .35s var(--ease); }
.chart .s-paper { stroke: #6E6C69; stroke-width: 2; }
.chart .s-leaf { stroke: #B9B7B3; stroke-width: 2; }
.chart .s-tick { stroke: var(--accent); stroke-width: 3.2; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .45)); }
.chart .area { fill: url(#tickFill); opacity: .9; transition: opacity .35s var(--ease); }
.chart[data-focus="leaf"] .s:not(.s-leaf), .chart[data-focus="paper"] .s:not(.s-paper), .chart[data-focus="tick"] .s:not(.s-tick) { opacity: .15; }
.chart[data-focus="leaf"] .area, .chart[data-focus="paper"] .area { opacity: 0; }
.chart .end { fill: var(--accent); }
.chart .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-origin: 780px 164px; transform-box: view-box; animation: ping 2.4s var(--ease) 2.6s infinite; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(4); opacity: 0; } }
.chart .cursor { opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.chart .cursor line { stroke: rgba(246, 245, 243, .25); }
.chart .cursor circle { stroke: var(--bg); stroke-width: 2; }
.chart.hover .cursor { opacity: 1; }
.tip {
  position: absolute; top: 0; left: 0; z-index: 3;
  min-width: 168px; padding: 10px 12px;
  background: rgba(14, 14, 16, .92);
  border: 1px solid var(--line-2); border-radius: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; line-height: 1.7; pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.chart.hover .tip { opacity: 1; transform: none; }
.tip .row { display: flex; justify-content: space-between; gap: 16px; }
.tip .row span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.tip .row i { width: 7px; height: 7px; border-radius: 2px; }
.tip .row b { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.tip .t-head { font-family: var(--mono); color: var(--dim); letter-spacing: 0; margin-bottom: 2px; }

.chart .series path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart.drawn .series path { animation: draw 1.8s var(--ease) forwards; }
.chart.drawn .series .s-leaf { animation-delay: .12s; }
.chart.drawn .series .s-tick { animation-delay: .3s; animation-duration: 2.1s; }
.chart .area { opacity: 0; }
.chart.drawn .area { animation: fadeIn 1.2s ease 1.4s forwards; }
.chart .end { opacity: 0; }
.chart.drawn .end { animation: fadeIn .3s ease 2.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.console-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 24px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.console-foot .live { display: inline-flex; align-items: center; gap: 8px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.toast {
  position: absolute; left: -96px; bottom: -72px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  background: rgba(20, 20, 22, .88);
  border: 1px solid var(--line-2); border-radius: 12px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  animation: bob 6s ease-in-out infinite;
}
.toast .eq { width: 46px; height: 36px; border-radius: 8px; background: rgba(var(--accent-rgb), .08); display: flex; align-items: center; justify-content: center; gap: 2px; }
.toast .eq i { width: 2px; height: 16px; border-radius: 2px; background: var(--accent); animation: eq 1.1s ease-in-out infinite; transform-origin: center; }
.toast .eq i:nth-child(2) { animation-delay: -.2s; } .toast .eq i:nth-child(3) { animation-delay: -.5s; }
.toast .eq i:nth-child(4) { animation-delay: -.8s; } .toast .eq i:nth-child(5) { animation-delay: -.35s; }
.toast .eq i:nth-child(6) { animation-delay: -.65s; } .toast .eq i:nth-child(7) { animation-delay: -.1s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.toast strong { display: block; font-weight: 400; font-size: 13px; }
.toast span { display: block; font-size: 12px; color: var(--dim); }

.caption { margin-top: 18px; font-size: 13px; color: var(--dim); text-align: center; }

.marquee {
  margin-top: 88px; padding: 26px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track.ready { animation: marquee var(--dur, 40s) linear infinite; }
.marquee-track ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(246, 245, 243, .38); white-space: nowrap; }
.marquee li svg { color: rgba(var(--accent-rgb), .6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Benchmarks ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.stat {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 372px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.stat:hover { border-color: rgba(246, 245, 243, .2); transform: translateY(-3px); }
.stat.warm { background: radial-gradient(120% 70% at 50% 120%, rgba(var(--accent-rgb), .14), transparent 60%), var(--surface); }
.stat .label { color: var(--accent); font-weight: 400; }
.stat.cool .label { color: var(--muted); }
.stat .num { margin-top: 14px; font-size: 58px; line-height: 1; letter-spacing: -0.03em; }
.stat .num.soon { color: var(--muted); }
.stat .num small { font-size: .45em; color: var(--dim); margin-left: 4px; letter-spacing: -0.02em; }
.stat p { margin-top: 14px; max-width: 260px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.stat .viz { margin-top: auto; padding-top: 24px; }
.stat .foot { display: flex; justify-content: flex-end; margin-top: 18px; }
.stat .foot .btn { height: 32px; font-size: 13px; padding: 0 13px; }

.bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 2px 2px 0 0;
  background: rgba(var(--accent-rgb), var(--o, .3));
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--k) * 35ms);
}
.in .bars i { transform: scaleY(1); animation: breathe 3.2s ease-in-out calc(1.2s + var(--k) * 90ms) infinite; }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.78); } }

.dots { display: grid; grid-template-columns: repeat(22, 1fr); gap: 4px; }
.dots i { aspect-ratio: 1; border-radius: 2px; background: rgba(246, 245, 243, .07); transition: background-color .6s ease, box-shadow .6s ease; }
.dots i.on { background: rgba(var(--accent-rgb), .85); box-shadow: 0 0 10px rgba(var(--accent-rgb), .35); }
.dots i.half { background: rgba(var(--accent-rgb), .3); }

.meter { height: 6px; border-radius: 6px; background: rgba(246, 245, 243, .08); overflow: hidden; display: flex; gap: 3px; }
.meter b { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, rgba(246, 245, 243, .5), rgba(246, 245, 243, .85)); transition: width 1.6s var(--ease) .3s; }
.in .meter b { width: 72%; }
.meter-legend { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.meter-legend div { padding-left: 10px; border-left: 1px solid var(--line-2); }
.meter-legend .label { font-size: 10.5px; }
.meter-legend span:last-child { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0; }

.bench-note { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--dim); }
.link { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.link .arr { transition: transform .25s var(--ease); color: var(--accent); }
.link:hover .arr { transform: translateX(3px); }

/* ---------- Features ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 64px; }
.trio > li { padding-top: 28px; border-top: 1px solid var(--line-2); }
.ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 22px; }
.trio .label { display: block; margin-bottom: 10px; }
.trio h3, .cards3 h3 { font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; }
.trio p, .cards3 p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--dim); max-width: 300px; }

.composer {
  display: grid; grid-template-columns: 372px 1fr;
  margin-top: 72px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.composer-side { padding: 34px 32px 30px; display: flex; flex-direction: column; }
.composer-side .title { display: flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.composer-side .title svg { color: var(--accent); }
.composer-side > p { margin-top: 14px; font-size: 14px; color: var(--dim); }
.steps { margin-top: 30px; border-top: 1px solid var(--line); }
.steps li { border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.step-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 0 14px; text-align: left; font-size: 17px; letter-spacing: -0.02em; color: var(--muted); transition: color .3s ease; }
.step-btn .n { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0; width: 18px; transition: color .3s ease; }
.step-btn .chev { margin-left: auto; color: var(--dim); transition: transform .3s var(--ease), color .3s ease; }
.step-btn:hover { color: var(--text); }
.steps li.active .step-btn { color: var(--text); }
.steps li.active .n, .steps li.active .chev { color: var(--accent); }
.steps li.active .chev { transform: translateX(3px); }
.step-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.step-more > div { overflow: hidden; }
.steps li.active .step-more { grid-template-rows: 1fr; }
.step-more p { padding: 0 0 14px 32px; font-size: 14px; color: var(--dim); }
.progress { height: 1px; margin: 0 0 0 32px; background: transparent; position: relative; top: -1px; }
.progress b { display: block; height: 1px; width: 0; background: var(--accent); }
.steps li.active .progress b { animation: prog var(--dur, 5s) linear forwards; }
.composer.paused .steps li.active .progress b { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

.scene { position: relative; min-height: 460px; overflow: hidden; background: #0d0f16; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; image-rendering: crisp-edges; }
.scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 60%, transparent, rgba(6, 6, 7, .35)); pointer-events: none; }
.float-win {
  position: absolute; z-index: 2;
  left: 50%; top: 50%; width: min(330px, 84%);
  transform: translate(-50%, -50%);
  background: rgba(16, 16, 18, .78);
  border: 1px solid var(--line-2); border-radius: 14px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  padding: 14px;
}
.panel { display: none; }
.panel.show { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.fw-title { display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: -0.02em; margin: 2px 2px 12px; }
.fw-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .8); }
.fw-rows { display: grid; gap: 6px; }
.fw-rows > div {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-radius: 8px;
  background: rgba(246, 245, 243, .04); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
  opacity: 0; animation: rowIn .5s var(--ease) forwards;
}
.fw-rows > div:nth-child(1) { animation-delay: .15s; } .fw-rows > div:nth-child(2) { animation-delay: .3s; }
.fw-rows > div:nth-child(3) { animation-delay: .45s; } .fw-rows > div:nth-child(4) { animation-delay: .6s; }
.fw-rows > div::before { content: "›"; color: var(--dim); }
.fw-rows.term > div { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; }
.fw-rows.term > div::before { content: "$"; color: var(--accent); }
.fw-rows.term > div.out::before { content: "·"; color: var(--dim); }
.fw-rows .ok { margin-left: auto; color: var(--accent); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fw-btn { margin-top: 12px; width: 100%; height: 34px; border-radius: 8px; background: var(--accent); color: #0B0B0D; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Cards 3 + wide card ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.cards3 > li {
  padding: 26px 22px 28px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .4s var(--ease);
}
.cards3 > li:hover { border-color: rgba(246, 245, 243, .2); background: var(--surface-2); transform: translateY(-3px); }
.cards3 .ico { margin-bottom: 26px; }
.cards3 .label { display: block; margin-bottom: 10px; }

.wide {
  display: grid; grid-template-columns: 1.55fr 1fr;
  margin-top: 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.wide .scene { min-height: 400px; }
.wide-side { padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.wide-side .title { display: flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: -0.02em; }
.wide-side .title svg { color: var(--accent); }
.wide-side > p { margin-top: 14px; font-size: 14px; color: var(--dim); }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.checks svg { color: var(--accent); flex: none; }
.wide-side .btn { margin-top: 26px; align-self: flex-start; }

.yaml { width: min(380px, 88%); padding: 0; }
.yaml .win-bar { height: 38px; padding: 0 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; }
.yaml pre { margin: 0; padding: 14px 16px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; letter-spacing: 0; overflow-x: auto; }
.yaml .ln { display: block; white-space: pre; }
.js .yaml .ln { clip-path: inset(0 100% 0 0); }
.yaml.typing .ln { animation: type calc(var(--n) * 22ms) steps(var(--n), end) forwards; animation-delay: calc(var(--k) * 260ms); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.yaml .c { color: #6E6C69; } .yaml .k { color: var(--text); } .yaml .p { color: var(--dim); } .yaml .v { color: var(--accent); } .yaml .n { color: #D9E6B8; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Compat ---------- */
.compat-head { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: end; }
.compat-head .badge { margin-bottom: 22px; }
.compat-head .lead { margin-top: 22px; font-size: 15px; color: var(--dim); max-width: 470px; }
.sync {
  border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--surface);
  padding: 14px 16px 6px;
  font-size: 13px;
}
.sync-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); padding-bottom: 10px; }
.sync-top span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sync-top span:last-child { color: var(--dim); font-family: var(--mono); letter-spacing: 0; }
.sync dl { margin: 0; }
.sync dl div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.sync dt { color: var(--dim); } .sync dd { margin: 0; font-family: var(--mono); letter-spacing: 0; }

.tiles-stage {
  position: relative; margin-top: 72px; height: 380px; overflow: hidden;
  perspective: 1100px;
  -webkit-mask-image: radial-gradient(60% 75% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(60% 75% at 50% 50%, #000 40%, transparent 100%);
}
.tiles {
  position: absolute; left: 50%; top: 50%;
  display: grid; grid-template-columns: repeat(11, 76px); gap: 14px;
  transform: translate(-50%, -50%) rotateX(38deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}
.tile {
  width: 76px; height: 76px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #19191C, #0F0F11);
  border: 1px solid rgba(246, 245, 243, .08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: rgba(246, 245, 243, .45);
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--k) * -0.37s);
}
.tile svg { width: 30px; height: 30px; }
.tile.hot {
  background: radial-gradient(circle at 50% 40%, #2A3313, #12140D);
  border-color: rgba(var(--accent-rgb), .55);
  color: var(--accent);
  box-shadow: 0 0 60px rgba(var(--accent-rgb), .35), 0 0 0 1px rgba(var(--accent-rgb), .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
}
.tile.hot svg { width: 38px; height: 38px; }
@keyframes float { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(14px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 40px rgba(var(--accent-rgb), .25), 0 0 0 1px rgba(var(--accent-rgb), .3); } 50% { box-shadow: 0 0 90px rgba(var(--accent-rgb), .5), 0 0 0 1px rgba(var(--accent-rgb), .5); } }
.tiles-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 260px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(var(--accent-rgb), .16), transparent); filter: blur(30px); pointer-events: none; }

/* ---------- Pricing (light) ---------- */
.light { background: var(--paper-bg); color: var(--paper-text); }
.light .badge { color: var(--paper-muted); border-color: rgba(11, 11, 13, .12); background: rgba(11, 11, 13, .03); }
.light .badge svg { color: #5E7A12; }
.light ::selection { background: #0B0B0D; color: var(--paper-bg); }
.light :focus-visible { outline-color: #0B0B0D; }
.pricing { padding: 128px 0 112px; text-align: center; }
.pricing .mark-wrap { display: flex; justify-content: center; margin: 26px 0 28px; }
.pricing .mark-wrap .mark { width: 28px; height: 28px; color: #0B0B0D; }
.pricing .quote { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto; }
.pricing .quote .dim { color: #8A8780; }
.price-card {
  max-width: 560px; margin: 48px auto 0;
  padding: 28px;
  border-radius: 20px;
  background: #F8F7F4;
  border: 1px solid rgba(11, 11, 13, .1);
  box-shadow: 0 30px 60px -30px rgba(11, 11, 13, .25);
  text-align: left;
}
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-row .name { font-size: 17px; }
.price-row .name span { display: block; font-size: 13px; color: var(--paper-muted); margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-weight: 400; font-size: 58px; line-height: 1; letter-spacing: -0.04em; }
.price span { font-size: 14px; color: var(--paper-muted); }
.price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 26px; padding-top: 22px; border-top: 1px solid rgba(11, 11, 13, .1); }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.price-list svg { flex: none; margin-top: 3px; color: #0B0B0D; }
.price-card .btn { width: 100%; }
.pro { margin-top: 18px; font-size: 14px; color: var(--paper-muted); }
.pro a { color: var(--paper-text); text-decoration: underline; text-decoration-color: rgba(11, 11, 13, .25); text-underline-offset: 3px; }
.pro a:hover { text-decoration-color: #0B0B0D; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(11, 11, 13, .1); }
.facts div + div { border-left: 1px solid rgba(11, 11, 13, .1); }
.facts b { display: block; font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.04em; }
.facts span { display: block; margin-top: 12px; font-size: 12.5px; color: var(--paper-muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.faq-grid .badge { margin-bottom: 22px; }
.faq-grid .body-s { margin-top: 20px; max-width: 320px; }
.faq-grid .body-s a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.acc { border-top: 1px solid var(--line-2); }
.acc li { border-bottom: 1px solid var(--line-2); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; text-align: left; font-size: 17px; letter-spacing: -0.02em; transition: color .2s ease; }
.acc-btn:hover { color: #FFF; }
.acc-btn .pm { position: relative; width: 14px; height: 14px; flex: none; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--muted); border-radius: 2px; transition: transform .4s var(--ease), background-color .3s ease; }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.acc-btn[aria-expanded="true"] .pm::before, .acc-btn[aria-expanded="true"] .pm::after { background: var(--accent); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 40px 24px 0; font-size: 15px; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity .4s ease, transform .4s var(--ease); }
.acc-btn[aria-expanded="true"] + .acc-panel p { opacity: 1; transform: none; transition-delay: .1s; }
.acc-panel a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.acc-panel a:hover { text-decoration-color: var(--accent); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 128px 0 0; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; position: relative; z-index: 2; }
.cta .badge { margin-bottom: 22px; }
.cta-side p { font-size: 14px; color: rgba(246, 245, 243, .66); }
.cta-side .btn { margin-top: 20px; }
.cta-stage { position: relative; height: 300px; margin-top: 24px; }
.cta-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: radial-gradient(60% 100% at 50% 100%, rgba(var(--accent-rgb), .3), transparent 70%); pointer-events: none; }
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(14, 14, 16, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; color: rgba(246, 245, 243, .86);
  animation: bob 7s ease-in-out infinite;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.chip:nth-of-type(2) { animation-delay: -2.3s; } .chip:nth-of-type(3) { animation-delay: -4.6s; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-size: 17px; letter-spacing: -0.03em; }
.foot-brand .mark { width: 18px; height: 18px; }
.foot-grid > div > p { margin-top: 14px; font-size: 14px; color: var(--dim); max-width: 260px; }
.foot-grid h3 { font-size: 12px; color: var(--dim); margin-bottom: 14px; letter-spacing: -0.02em; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid ul a { font-size: 14px; color: rgba(246, 245, 243, .66); transition: color .2s ease; }
.foot-grid ul a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.wordmark-xl {
  position: relative;
  margin: 10px auto 0; max-width: var(--wrap);
  font-size: clamp(60px, 24.5vw, 340px);
  line-height: .78; letter-spacing: -0.065em;
  text-align: center; white-space: nowrap;
  user-select: none;
  color: #101012;
  padding-bottom: .04em;
}
.wordmark-xl span {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), .95) 0 .9px, transparent 1.4px) 0 0 / 5px 5px;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 30%, transparent 75%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 30%, transparent 75%);
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

/* ---------- Reveal animations (JS only) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px); filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: blur(0); }
.js [data-split] .w {
  display: inline-block;
  opacity: 0; filter: blur(10px); transform: translateY(.22em);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i) * var(--step, 55ms) + var(--base, 0ms));
}
.js [data-split].in .w { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .toast { left: 16px; bottom: -64px; }
}
@media (max-width: 980px) {
  .nav-inner > nav { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .head-split, .compat-head, .cta-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .composer, .wide { grid-template-columns: 1fr; }
  .composer .scene { order: -1; min-height: 360px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .stats, .cards3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .block { padding: 96px 0; }
  .hero { padding-top: 128px; }
  .hero .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; height: 46px; }
  .nav-right .btn-dark { display: none; }
  .console { margin-top: 56px; }
  .console-body { padding: 22px 12px 12px; }
  .console-foot { padding: 12px 14px 14px; }
  .chart .axis text, .chart .thr text { font-size: 21px; }
  .chart .hide-s { display: none; }
  .toast { position: relative; left: auto; bottom: auto; margin: 16px auto 0; width: max-content; max-width: 100%; }
  .hero .caption { margin-top: 18px; }
  .marquee { margin-top: 56px; }
  .trio { grid-template-columns: 1fr; }
  .trio { gap: 32px; }
  .stat { min-height: 0; }
  .composer-side, .wide-side { padding: 26px 20px; }
  .scene, .wide .scene { min-height: 340px; }
  .tiles-stage { height: 260px; margin-top: 48px; }
  .tiles { grid-template-columns: repeat(11, 56px); gap: 10px; }
  .tile { width: 56px; height: 56px; border-radius: 14px; }
  .tile svg { width: 22px; height: 22px; }
  .tile.hot svg { width: 28px; height: 28px; }
  .pricing { padding: 96px 0 80px; }
  .price-card { padding: 22px; }
  .price-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; padding-top: 8px; }
  .facts div { padding: 24px 0; }
  .facts div + div { border-left: 0; border-top: 1px solid rgba(11, 11, 13, .1); }
  .acc-panel p { padding-right: 0; }
  .cta { padding-top: 96px; }
  .cta-stage { height: 240px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w { opacity: 1; transform: none; filter: none; }
  .chart .series path { stroke-dashoffset: 0; }
  .chart .area, .chart .end { opacity: 1; }
  .js .yaml .ln { clip-path: none; }
  .bars i { transform: none; }
}

/* ---------- Legal page ---------- */
.legal { padding: 156px 0 112px; }
.legal .wrap { max-width: 768px; }
.legal .badge { margin-bottom: 22px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.legal .updated { margin-top: 16px; font-size: 14px; color: var(--dim); }
.legal .note { margin-top: 32px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 14px; color: var(--muted); }
.legal h2 { margin-top: 56px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; }
.legal h2 .n { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0; margin-right: 12px; vertical-align: 3px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; display: grid; gap: 8px; }
.legal li { padding-left: 20px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--accent); }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); }
.legal strong { color: var(--text); font-weight: 400; }

/* ---------- Docs page ---------- */
.docs { padding: 132px 0 112px; }
.docs-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; align-items: start; }
.docs-side { position: sticky; top: 104px; }
.docs-side .label { margin-bottom: 14px; }
.toc { display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 14px; color: var(--dim);
  transition: color .2s ease, border-color .2s ease;
}
.toc a:hover { color: var(--text); }
.toc a.current { color: var(--text); border-left-color: var(--accent); }
.docs-body { max-width: 720px; }
.docs-body section { padding-top: 8px; }
.docs-body section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.docs-body .badge { margin-bottom: 22px; }
.docs-body h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.docs-lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(246, 245, 243, .66); }
.docs-body h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.docs-body h3 { margin-top: 28px; font-size: 18px; letter-spacing: -0.02em; }
.docs-body p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.docs-body strong { color: var(--text); font-weight: 400; }
.docs-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.docs-body a:hover { text-decoration-color: var(--accent); }
.docs-body code { font-family: var(--mono); font-size: .86em; letter-spacing: 0; padding: 2px 6px; border-radius: 6px; background: rgba(246, 245, 243, .06); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; }
.docs-list { margin-top: 16px; display: grid; gap: 10px; }
.docs-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.docs-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--accent); }
.docs-steps { margin-top: 18px; display: grid; gap: 12px; counter-reset: s; }
.docs-steps li { position: relative; padding-left: 40px; font-size: 16px; line-height: 1.6; color: var(--muted); counter-increment: s; }
.docs-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--accent); }
.code-block {
  margin: 18px 0 0; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; letter-spacing: 0;
  color: var(--text); overflow-x: auto;
}
.code-block code { all: unset; white-space: pre; }
.code-block .c { color: #6E6C69; } .code-block .k { color: var(--text); } .code-block .p { color: var(--dim); } .code-block .v { color: var(--accent); } .code-block .n { color: #D9E6B8; }
.callout { margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 12px; background: rgba(var(--accent-rgb), .05); font-size: 14px; line-height: 1.6; color: var(--muted); }
.callout strong { color: var(--text); }
.table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { font-weight: 400; font-size: 12px; color: var(--dim); background: var(--surface); }
.table-wrap td { color: var(--muted); }
.table-wrap td code { white-space: nowrap; }

@media (max-width: 980px) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-grid > * { min-width: 0; }
  .docs-side {
    position: sticky; top: 68px; z-index: 50;
    margin: 0 -24px 32px; padding: 10px 24px;
    background: rgba(6, 6, 7, .85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .docs-side .label { display: none; }
  .toc { display: flex; gap: 6px; overflow-x: auto; border-left: 0; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; padding: 6px 12px; margin: 0; border: 1px solid var(--line-2); border-radius: 100px; font-size: 13px; }
  .toc a.current { border-color: rgba(var(--accent-rgb), .5); }
}
@media (max-width: 640px) {
  .docs { padding-top: 104px; }
  .docs-side { margin: 0 -16px 28px; padding: 10px 16px; }
  .docs-body h2 { font-size: 24px; }
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap tbody, .table-wrap tr { display: block; }
  .table-wrap tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { display: block; padding: 0; border: 0; }
  .table-wrap td:nth-child(3) { grid-column: 1 / -1; }
  .table-wrap td code { white-space: normal; }
}
