:root {
  --bg: #101010;
  --surface: #181818;
  --line: #333;
  --muted: #8a8a8a;
  --text: #dedede;
  --white: #fff;
  --font: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: 15px/1.7 var(--font); }
a { color: inherit; }
code, pre { font: inherit; }

.home-page { min-height: 100vh; overflow: hidden; }
.home { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px; }
.launch { position: relative; display: grid; place-items: center; width: min(520px, 90vw); height: 190px; }
.open-console {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 52px;
  color: #c5c5c5;
  background: var(--bg);
  border: 0;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
}
.prompt-mark { color: #777; }
.prompt-cursor { width: 8px; height: 16px; background: currentColor; }
.open-console:focus-visible { outline: 1px solid #aaa; outline-offset: 5px; }
.open-console:hover { color: var(--white); }

.read-docs { position: relative; z-index: 2; color: var(--muted); font-size: 13px; text-underline-offset: 5px; }
.read-docs:hover { color: var(--white); }
.shockwave { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.home { position: relative; z-index: 1; }
.read-docs { background: var(--bg); padding: 4px 8px; }

.docs-page { background: #f5f5f3; color: #222; }
.docs-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 820px) / 2)); border-bottom: 1px solid #d8d8d4; background: #fff; }
.docs-header a { color: #222; text-decoration: none; font-weight: 700; }
.docs-header .console-link { font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.docs { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 100px; }
.docs h1 { margin: 0 0 20px; font-size: clamp(40px, 7vw, 64px); line-height: 1; letter-spacing: -.05em; }
.docs .intro { max-width: 680px; margin: 0 0 44px; color: #555; font-size: 18px; }
.docs-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 20px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.docs-nav a { color: #555; font-size: 13px; }
.docs-nav a:hover { color: #000; }
.docs section { padding: 58px 0; border-bottom: 1px solid #ccc; }
.docs h2 { margin: 0 0 20px; font-size: 28px; letter-spacing: -.03em; }
.docs h3 { margin-top: 34px; font-size: 18px; }
.docs p, .docs li { color: #444; }
.docs code { padding: 2px 5px; background: #e5e5e1; color: #111; }
.docs pre { overflow: auto; margin: 24px 0; padding: 20px; color: #e8e8e8; background: #181818; border-radius: 2px; }
.docs pre code { padding: 0; color: inherit; background: transparent; }
.docs table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.docs td { padding: 12px 8px; border-bottom: 1px solid #d5d5d0; vertical-align: top; }
.docs td:first-child { width: 230px; }
.docs ul { padding-left: 22px; }
.docs-footer { display: flex; justify-content: space-between; padding: 28px max(24px, calc((100vw - 820px) / 2)); color: #666; border-top: 1px solid #d8d8d4; background: #fff; font-size: 13px; }

@media (max-width: 620px) {
  .open-console { height: 52px; }
  .docs { padding-top: 50px; }
  .docs td { display: block; width: 100% !important; border-bottom: 0; padding-bottom: 2px; }
  .docs tr { display: block; padding: 10px 0; border-bottom: 1px solid #d5d5d0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .open-console { animation: none; }
}
