/* One stylesheet for the landing page, the docs and the dashboard. Night ground, cream type, CRT blue, pixel wordmark. */
@font-face { font-family: "Pixelify Sans"; src: url(/fonts/PixelifySans.woff2) format("woff2-variations"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url(/fonts/GeistPixel-Square.woff2) format("woff2"); font-display: block; }
:root {
  --night: #0b0d10; --panel: #0f1216; --panel2: #13171c; --cream: #ede6d6; --muted: #b6b0a3; --dim: #7f7b73; --line: #ede6d621; --line2: #ede6d614;
  --signal: #6f93ff; --crt: #2c55e0; --limit: #ff8a6b; --good: #9fd1c2;
  --sans: ui-sans-serif, -apple-system, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --sb-thumb: #ede6d630; --sb-thumb-hover: #ede6d660;
  color-scheme: dark;
}
/* NO STOCK SCROLLBARS (larpcheck/scrollbars.css) */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(140, 140, 150, .35)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover, rgba(160, 160, 170, .6)); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb, rgba(140, 140, 150, .35)) transparent; } }
.no-sb { scrollbar-width: none; } .no-sb::-webkit-scrollbar { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: var(--crt); color: #fff; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }

/* ---- header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.solid { background: #0b0d10e6; backdrop-filter: blur(10px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.mark { font: 700 26px/1 var(--pixel); letter-spacing: -.01em; color: var(--cream); white-space: nowrap; }
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.top nav a:hover { color: var(--cream); }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.xbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream); }
.xbtn:hover { border-color: #ede6d655; }
.xbtn svg { width: 14px; height: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--cream); color: #0b0d10; font-size: 14.5px; font-weight: 500; white-space: nowrap; border: 0; cursor: pointer; transition: background .2s; }
.pill:hover { background: #fff; }
.pill.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.pill-ghost { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid #ede6d640; color: var(--cream); font-size: 14.5px; white-space: nowrap; background: transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.pill-ghost:hover { border-color: #ede6d690; background: #ffffff08; }
.pill-ghost.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.coin { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; }
.coin-t { color: var(--dim); }
.coin-ca { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--mono); color: var(--muted); }
.coin-ca:hover { color: var(--cream); }
.coin-l { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.coin-l:hover { color: var(--cream); }
.coin-soon { color: var(--muted); }
@media (max-width: 860px) { .top nav { display: none; } .top .end .coin { display: none; } }

/* ---- hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050608; }
.hero-stage { position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78svh); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
.hero-stage > img { width: 100%; height: 100%; object-fit: cover; }
.hero-tube { position: absolute; left: var(--tx); top: var(--ty); width: var(--tw); height: var(--th); border-radius: 7% / 9%; overflow: hidden; background: var(--crt); box-shadow: 0 0 60px 6px #2c55e055, inset 0 0 40px #0008; }
.hero-tube canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.hero-tube::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, #0000 0 2px, #0002 2px 3px), radial-gradient(120% 120% at 50% 45%, #0000 55%, #000a 100%); mix-blend-mode: multiply; }
.hero-tube::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(80% 60% at 35% 25%, #ffffff1c, #0000 60%); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0d10f2 0%, #0b0d10c8 30%, #0b0d1000 58%), linear-gradient(0deg, #0b0d10 0%, #0b0d1000 30%); }
.hero-copy { width: 100%; padding: 120px 0 72px; }
.wordmark { margin: 0; font: 700 clamp(72px, 12vw, 148px)/.86 var(--pixel); letter-spacing: -.02em; color: var(--cream); }
.lede { margin: 26px 0 0; max-width: 560px; font-size: 21px; line-height: 1.35; color: var(--cream); }
.body { color: var(--muted); font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.hero .body { margin: 16px 0 0; max-width: 540px; }
.hero .acts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .coin { margin-top: 24px; }
.try { margin-top: 28px; max-width: 540px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #0b0d10b0; padding: 6px 6px 6px 14px; backdrop-filter: blur(6px); }
.try label { font: 400 13px var(--mono); color: var(--dim); white-space: nowrap; }
.try input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font: 400 14px var(--mono); color: var(--cream); padding: 6px 0; }
.try output { font: 400 12px var(--mono); color: var(--muted); white-space: nowrap; padding: 6px 10px; border-radius: 6px; background: #ede6d60d; }
@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero-stage { width: max(100vw, 177.78svh); left: calc(50% - (var(--sx) - .5) * max(100vw, 177.78svh)); top: 38%; }
  .hero-shade { background: linear-gradient(0deg, #0b0d10 0%, #0b0d10e0 42%, #0b0d1000 70%); }
  .hero-copy { padding-top: 52svh; }
  .lede { font-size: 19px; }
}

/* ---- sections */
.section { padding: 120px 0; }
.h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--cream); text-wrap: balance; }
.kicker { font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.tiers { margin-top: 56px; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; }
.tiers li { padding: 14px; display: flex; flex-direction: column; }
.tiers img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #000; }
.tiers .rung { margin: 18px 4px 0; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tiers h3 { margin: 8px 4px 0; font-size: 16.5px; font-weight: 500; color: var(--cream); }
.tiers p { margin: 8px 4px 0; flex: 1; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tiers .eg { margin-top: 16px; font-size: 13px; color: var(--dim); flex: none; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

.band { position: relative; overflow: hidden; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); isolation: isolate; }
.band-art { position: absolute; inset: 0; z-index: -1; background: #050608 url(/art/band.webp) 72% 50% / cover no-repeat; }
.band-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0d10f5 0%, #0b0d10d0 38%, #0b0d1030 70%, #0b0d1000 100%); }
.band .section { padding: 150px 20px; }
.gpu-state { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font: 400 13px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #0b0d10a0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px #7f7b7322; }
.dot.on { background: var(--good); box-shadow: 0 0 0 3px #9fd1c233; }
.dot.warm { background: #e3c27a; box-shadow: 0 0 0 3px #e3c27a33; }
@media (max-width: 860px) { .band-art::after { background: linear-gradient(0deg, #0b0d10f5 0%, #0b0d10cc 60%, #0b0d1066 100%); } }

.setup { display: grid; gap: 64px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 1000px) { .setup { grid-template-columns: 1fr; gap: 40px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; font-size: 16px; color: var(--cream); transition: background .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #ffffff05; }
.faq summary span { font-size: 22px; line-height: 1; color: var(--dim); transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 24px 24px; font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.link { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.link:hover { color: #fff; }

/* code samples */
.code { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #07090b; }
.code .tabs { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-right: 8px; }
.code .tabs > div { display: flex; overflow-x: auto; }
.code .tabs button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font-size: 12px; color: var(--dim); cursor: pointer; white-space: nowrap; }
.code .tabs button:hover { color: var(--cream); }
.code .tabs button[aria-selected="true"] { border-color: var(--signal); color: var(--cream); }
.code .copy { flex: none; background: none; border: 0; border-radius: 5px; padding: 4px 8px; font-size: 12px; color: var(--muted); cursor: pointer; }
.code .copy:hover { color: var(--cream); }
.code pre { margin: 0; overflow-x: auto; padding: 14px 16px; font-size: 12.5px; line-height: 1.7; color: var(--cream); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.foot .mark { font-size: 40px; }
.foot p { margin: 14px 0 0; max-width: 360px; font-size: 13px; color: var(--dim); }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--cream); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%) translateY(20px); opacity: 0; transition: .25s; background: var(--cream); color: #0b0d10; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.toast.bad { background: var(--limit); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* the set logo beside the wordmark (round, like the X picture) */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark-logo { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.foot .mark .mark-logo { width: 40px; height: 40px; }
