@font-face {
  font-family: Space;
  src: url("fonts/space.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f3f6fb;
  --surface-2: #eaf0f9;
  --ink: #14233b;
  --muted: #54647b;
  --line: #dbe3ee;
  --accent: #214fe8;
  --accent-hover: #163dc4;
  --accent-soft: #edf2ff;
  --night: #111f38;
  --night-ink: #f4f7ff;
  --night-muted: #b8c6de;
  --violet: #aab4ff;
  --radius: 12px;
  --shadow: 0 20px 65px #1c325b16;
  --max: 1240px;
  --header: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101b2c;
  --surface: #16233a;
  --surface-2: #1c2d49;
  --ink: #f0f4fc;
  --muted: #b5c2d8;
  --line: #2d3e58;
  --accent: #8aa7ff;
  --accent-hover: #abc0ff;
  --accent-soft: #233452;
  --night: #0b1424;
  --shadow: 0 20px 65px #0004;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s var(--ease);
}
button:active,
.button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Space, Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
h1 {
  font-size: clamp(58px, 7.7vw, 108px);
}
h2 {
  font-size: clamp(34px, 4vw, 54px);
}
h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}
.wrap {
  width: calc(100% - 96px);
  max-width: var(--max);
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  width: calc(100% - 96px);
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 56px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: Space, sans-serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.4px;
}
.brand > svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}
#primary-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
#primary-nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
}
#primary-nav a:hover,
#primary-nav a[aria-current] {
  color: var(--accent);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--surface-2);
}
.search-trigger.icon-button {
  width: 62px;
  gap: 10px;
}
kbd {
  font-family: Inter, sans-serif;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  color: var(--muted);
}
.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.github-link:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
}
.moon-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: block;
}
[data-theme="dark"] .sun-icon {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 22px;
  min-height: 52px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--accent);
  border-radius: 8px;
}
.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--surface);
  border-color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.text-link:hover {
  gap: 19px;
}
.hero {
  padding-top: 76px;
  padding-bottom: 62px;
}
.hero-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.hero h1 {
  font-size: clamp(75px, 9.6vw, 138px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.hero-description {
  padding-top: 10px;
  max-width: 490px;
}
.hero-description > p:first-child {
  font-size: 20px;
  line-height: 1.7;
}
.hero-meta {
  font-size: 12px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.hero-meta span {
  width: 3px;
  height: 3px;
  background: var(--muted);
  border-radius: 100%;
}
.hero-product {
  position: relative;
  isolation: isolate;
  margin-top: 58px;
  padding: 27px 48px 0;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}
.screen-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 11px;
  color: var(--muted);
  position: relative;
  z-index: 2;
}
.screen-caption > span:first-child {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #258158;
  border-radius: 100%;
}
.product-screen {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ffffff25;
  background: #101317;
  box-shadow: var(--shadow);
  line-height: 0;
}
.zoom-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  position: relative;
  line-height: 0;
}
.zoom-image:after {
  content: "View full screen";
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  background: #fff;
  color: #14233b;
  box-shadow: 0 2px 20px #0004;
  border-radius: 6px;
  padding: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s;
}
.zoom-image:hover:after,
.zoom-image:focus-visible:after {
  opacity: 1;
  transform: none;
}
.zoom-image:focus-visible {
  outline-offset: -4px;
}
.hero-product .product-screen {
  border-radius: 10px 10px 0 0;
  max-height: 465px;
  box-shadow: 0 0 35px #233c6125;
  z-index: 2;
}
.hero-product img {
  width: 100%;
  height: auto;
}
.stream-motif {
  position: absolute;
  right: -65px;
  top: 0;
  width: 430px;
  height: 310px;
  color: var(--accent);
  opacity: 0.15;
  z-index: 0;
}
.capability-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.capability-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  gap: 25px;
}
.capability-strip span {
  font-size: 13px;
  color: var(--muted);
}
.capability-strip p {
  font-family: Space;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  gap: 25px;
}
.capability-strip p span {
  font-size: 22px;
  color: var(--line);
}
.section {
  padding-block: 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 55px;
}
.section-heading > p {
  max-width: 370px;
  font-size: 17px;
  line-height: 1.8;
}
.feature-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
}
.feature-index > a {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.feature-index > a:hover {
  border-color: var(--accent);
}
.feature-symbol {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 24px;
}
.feature-symbol svg {
  width: 22px;
  height: 22px;
}
.feature-index h3 {
  margin-bottom: 16px;
}
.feature-index p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.record-section {
  background: var(--night);
  padding-block: 90px;
  color: var(--night-ink);
}
.record-section p {
  color: var(--night-muted);
}
.record-section .text-link {
  color: #b6c8ff;
}
.split-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.feature-copy > p {
  font-size: 16px;
  line-height: 1.8;
  margin: 25px 0;
  max-width: 490px;
}
.record-section .product-screen {
  margin-right: -22px;
}
.mini-code {
  margin-top: 35px;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  padding: 17px 20px;
  background: #ffffff05;
  max-width: 430px;
}
.mini-code > span {
  display: block;
  font-size: 11px;
  color: var(--night-muted);
  margin-bottom: 10px;
}
.mini-code code {
  font-size: 12px;
  color: #bfccff;
  overflow-wrap: anywhere;
}
.ecosystem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
}
.ecosystem-list a {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  gap: 8px 20px;
}
.ecosystem-list a > p {
  font-size: 13px;
  grid-column: 1;
}
.ecosystem-list a > svg {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--muted);
}
.ecosystem-list a:hover h3,
.ecosystem-list a:hover > svg {
  color: var(--accent);
}
.gallery-callout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  align-items: center;
}
.gallery-callout > span {
  font-size: 14px;
  color: var(--muted);
}
.safety-section {
  background: var(--surface);
  padding-block: 85px;
}
.safety-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
}
.safety-layout > div > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 510px;
  margin: 28px 0;
}
.plan-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.plan-steps > div {
  position: relative;
  padding: 6px 0 36px 58px;
}
.plan-steps > div:last-child {
  padding-bottom: 0;
}
.plan-steps > div:not(:last-child):after {
  content: "";
  position: absolute;
  left: 17px;
  top: 45px;
  bottom: 5px;
  border-left: 1px dashed var(--line);
}
.plan-steps span {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-family: Space;
  color: var(--accent);
}
.plan-steps h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
.plan-steps p {
  font-size: 13px;
  margin-top: 8px;
}
.start-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.start-section p {
  font-size: 16px;
  max-width: 430px;
  margin-top: 25px;
}
.terminal {
  background: var(--night);
  color: var(--night-ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-heading {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #ffffff15;
  color: var(--night-muted);
  font-size: 11px;
}
.terminal-heading > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #526381;
}
.terminal pre {
  font-size: 12px;
  padding: 24px;
  line-height: 2.2;
  overflow: auto;
  margin: 0;
}
.terminal > p {
  font-size: 12px;
  max-width: none;
  margin: 0;
  padding: 15px 24px;
  border-top: 1px solid #ffffff15;
  color: var(--night-muted);
}
.terminal strong {
  font-weight: 500;
  color: var(--night-ink);
}
.release-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 26px 0 45px;
}
.release-note p {
  font-size: 12px;
  max-width: 680px;
}
.release-note a {
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 45px 48px 25px;
}
.footer-top,
.footer-bottom {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-top > p {
  font-size: 13px;
}
.footer-top > div {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 12px;
}
.footer-top a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 35px;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.page-intro {
  padding-top: 80px;
  padding-bottom: 60px;
}
.page-intro h1 {
  font-size: clamp(48px, 6.2vw, 84px);
}
.page-intro p {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.8;
}
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.feature-tabs a {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}
.feature-tabs a:hover {
  color: var(--accent);
}
.feature-band {
  padding-block: 85px;
  scroll-margin-top: 80px;
}
.feature-band.alternate {
  background: var(--surface);
}
.feature-band .split-feature {
  grid-template-columns: 0.8fr 1.2fr;
}
.feature-band .reversed {
  grid-template-columns: 1.2fr 0.8fr;
}
.reversed .feature-copy {
  order: 2;
}
.section-label {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}
.feature-band h2 {
  font-size: clamp(32px, 3.5vw, 47px);
}
.detail-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 6px 0;
  color: var(--muted);
}
.detail-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.compact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 70px;
  border-top: 1px solid var(--line);
}
.compact-cta h2 {
  font-size: 38px;
}
.scope-note {
  font-size: 12px;
  padding-bottom: 35px;
}
.gallery-section {
  padding-bottom: 70px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-buttons button {
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
}
.filter-buttons button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--line);
}
.filter-buttons button:hover {
  background: var(--surface);
}
#gallery-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 28px;
}
.gallery-grid figure {
  min-width: 0;
}
.gallery-grid .zoom-image {
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 15px #15233b08;
}
.gallery-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding-top: 16px;
}
.gallery-grid h2 {
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.gallery-grid figcaption > span {
  font-size: 11px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.docs-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr) 170px;
  gap: 52px;
  align-items: start;
  padding-block: 40px 70px;
}
.docs-sidebar,
.toc {
  position: sticky;
  top: calc(var(--header) + 28px);
  max-height: calc(100dvh - var(--header) - 55px);
  overflow: auto;
  scrollbar-width: thin;
}
.docs-home {
  font-family: Space;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 19px;
}
.docs-search {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  width: 100%;
  padding: 9px 12px;
}
.docs-search .icon {
  width: 15px;
}
.docs-search kbd {
  margin-left: auto;
}
.sidebar-group {
  margin-top: 28px;
}
.sidebar-group h2 {
  font-family: Inter;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  padding-left: 12px;
}
.sidebar-group a {
  display: block;
  line-height: 1.55;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--muted);
  margin: 2px 0;
}
.sidebar-group a:hover {
  background: var(--surface);
}
.sidebar-group a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.doc-breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.doc-breadcrumb a:hover {
  color: var(--accent);
}
.prose h1 {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.prose .doc-lead {
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 30px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.prose p {
  font-size: 14px;
  line-height: 1.9;
  margin: 18px 0;
}
.prose h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 42px 0 18px;
  scroll-margin-top: 110px;
}
.prose h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 30px 0 15px;
  scroll-margin-top: 110px;
}
.prose h4 {
  font-family: Space;
  margin: 25px 0 12px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .heading-anchor {
  font-size: 18px;
  opacity: 0;
  text-decoration: none;
  margin-left: 10px;
}
.prose h2:hover .heading-anchor,
.prose .heading-anchor:focus-visible {
  opacity: 1;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.prose li + li {
  margin-top: 9px;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
  background: var(--surface-2);
  padding: 3px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.prose pre {
  margin: 24px 0;
  background: var(--night);
  color: var(--night-ink);
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  padding: 42px 20px 20px;
  font-size: 12px;
  line-height: 1.8;
}
.prose pre code {
  background: none;
  color: inherit;
  font-size: inherit;
  padding: 0;
  display: block;
  overflow: auto;
  white-space: pre;
  overflow-wrap: normal;
}
.code-label {
  position: absolute;
  top: 12px;
  left: 20px;
  color: var(--night-muted);
  font-size: 10px;
}
.copy-code {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 1px solid #ffffff25;
  border-radius: 5px;
  background: transparent;
  color: var(--night-muted);
  font-size: 10px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.copy-code svg {
  width: 12px;
  height: 12px;
}
.copy-code:hover {
  background: #ffffff18;
  color: var(--night-ink);
}
.prose blockquote {
  margin: 26px 0;
  padding: 2px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
}
.prose blockquote p {
  font-size: 13px;
  color: var(--ink);
}
.table-wrap {
  overflow: auto;
  margin: 24px 0;
}
.prose table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 12px;
}
.prose td,
.prose th {
  border: 1px solid var(--line);
  text-align: left;
  padding: 12px;
  min-width: 115px;
}
.prose th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.prose td {
  color: var(--muted);
}
.prose img {
  border-radius: 8px;
  margin: 25px 0;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.toc {
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.toc h2 {
  font-family: Inter;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 15px;
}
.toc nav > a {
  display: block;
  color: var(--muted);
  margin: 12px 0;
  line-height: 1.6;
}
.toc nav > a:hover,
.toc nav > a.active {
  color: var(--accent);
}
.toc-start {
  display: block;
  background: var(--surface);
  font-size: 11px;
  padding: 16px;
  border-radius: 8px;
  margin-top: 32px;
  color: var(--muted);
}
.toc-start strong {
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-top: 6px;
}
.toc-start svg {
  width: 13px;
}
.doc-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.doc-pagination a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.doc-pagination a:hover {
  border-color: var(--accent);
  background: var(--surface);
}
.doc-pagination span {
  font-size: 10px;
  color: var(--muted);
}
.doc-pagination strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  padding-right: 15px;
}
.doc-pagination svg {
  position: absolute;
  right: 10px;
  bottom: 17px;
  width: 14px;
  color: var(--accent);
}
.edit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 28px;
}
.edit-link:hover {
  color: var(--accent);
}
.edit-link svg {
  width: 12px;
}
.mobile-doc-nav {
  display: none;
}
dialog {
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 100px #0005;
  max-height: 85dvh;
}
dialog::backdrop {
  background: #091226bb;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.dialog-heading h2 {
  font-family: Space;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.search-dialog {
  width: 620px;
  margin: 100px auto auto;
}
.search-dialog input {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
}
.search-dialog #search-status {
  font-size: 12px;
  margin: 16px 0;
}
.search-dialog #search-results {
  max-height: 50dvh;
  overflow: auto;
}
.search-result {
  display: block;
  border-top: 1px solid var(--line);
  padding: 15px 8px;
}
.search-result:hover {
  background: var(--surface);
}
.search-result strong {
  font-family: Space;
  font-weight: 500;
  font-size: 17px;
  display: block;
}
.search-result span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}
.search-result small {
  display: block;
  color: var(--accent);
  font-size: 10px;
  margin-bottom: 5px;
}
.image-dialog {
  width: min(1380px, 95vw);
  padding: 20px;
}
.image-dialog #enlarged-image {
  width: 100%;
  max-height: calc(85dvh - 130px);
  object-fit: contain;
  background: #0e1012;
  border-radius: 5px;
}
.image-dialog > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--accent);
  margin-top: 15px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 144px;
  }
  .hero-product .product-screen {
    max-height: 510px;
  }
}
@media (max-width: 1100px) {
  .wrap,
  .header-inner {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 35px;
  }
  #primary-nav {
    gap: 20px;
  }
  .hero-copy {
    gap: 35px;
  }
  .hero-description {
    max-width: 440px;
  }
  .hero-description > p:first-child {
    font-size: 18px;
  }
  .hero-product {
    padding: 23px 32px 0;
  }
  .split-feature {
    gap: 35px;
  }
  .safety-layout {
    gap: 55px;
  }
  .docs-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 35px;
  }
  .toc {
    display: none;
  }
  .start-section {
    gap: 35px;
  }
  .feature-index {
    gap: 28px;
  }
  .site-footer {
    padding-inline: 32px;
  }
}
@media (max-width: 800px) {
  :root {
    --header: 70px;
  }
  .wrap,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    gap: 20px;
  }
  .header-actions {
    gap: 7px;
  }
  .github-link {
    padding-left: 12px;
  }
  .github-link > span {
    display: none;
  }
  #primary-nav {
    gap: 18px;
  }
  #primary-nav a {
    font-size: 12px;
  }
  .hero {
    padding-top: 50px;
    padding-bottom: 40px;
  }
  .hero-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .hero h1 {
    font-size: 94px;
  }
  .hero-description {
    max-width: none;
  }
  .hero-description > p:first-child {
    font-size: 18px;
  }
  .hero-product {
    margin-top: 38px;
    padding: 20px 24px 0;
  }
  .hero-product .product-screen {
    max-height: 340px;
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    gap: 28px;
    margin-bottom: 40px;
  }
  .section-heading > p {
    font-size: 14px;
    max-width: 300px;
  }
  .feature-index {
    gap: 20px;
  }
  .feature-index h3 {
    font-size: 22px;
  }
  .feature-index p {
    font-size: 13px;
  }
  .feature-index .text-link {
    font-size: 12px;
  }
  .split-feature,
  .feature-band .split-feature,
  .feature-band .reversed {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .feature-copy > p {
    max-width: 590px;
  }
  .reversed .feature-copy {
    order: 0;
  }
  .record-section .product-screen {
    margin-right: 0;
  }
  .record-section {
    padding-block: 65px;
  }
  .safety-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .plan-steps {
    max-width: 480px;
  }
  .start-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terminal {
    max-width: 640px;
  }
  .capability-strip .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 20px;
  }
  .capability-strip p {
    font-size: 20px;
    gap: 20px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-top > div {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
  .footer-bottom {
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
  .page-intro {
    padding-top: 55px;
    padding-bottom: 40px;
  }
  .feature-band {
    padding-block: 60px;
  }
  .compact-cta h2 {
    font-size: 32px;
  }
  .release-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .docs-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
  }
  .prose h1 {
    font-size: 38px;
  }
  .doc-breadcrumb {
    flex-wrap: wrap;
  }
  .gallery-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .gallery-grid {
    gap: 28px 20px;
  }
  .gallery-grid figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .gallery-grid h2 {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .menu-toggle {
    display: inline-flex;
  }
  #primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    box-shadow: 0 12px 20px #0001;
  }
  #primary-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  #primary-nav a {
    font-size: 15px;
    padding: 10px;
  }
  .header-actions {
    gap: 4px;
  }
  .brand {
    font-size: 26px;
  }
  .brand > svg {
    width: 26px;
  }
  .github-link {
    border: 0;
    padding: 8px;
  }
  .search-trigger.icon-button {
    width: 36px;
  }
  .search-trigger kbd {
    display: none;
  }
  .hero h1 {
    font-size: 86px;
  }
  .hero-description > p:first-child {
    font-size: 16px;
  }
  .hero .actions {
    display: flex;
    gap: 10px;
  }
  .hero .button {
    padding: 12px 15px;
    font-size: 12px;
    gap: 12px;
  }
  .hero-meta {
    font-size: 10px !important;
  }
  .hero-product {
    padding: 15px 12px 0;
    border-radius: 10px;
    margin-top: 32px;
  }
  .screen-caption {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .screen-caption > span:last-child {
    display: none;
  }
  .hero-product .product-screen {
    max-height: none;
    border-radius: 5px 5px 0 0;
  }
  .hero-product img {
    width: 100%;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .section-heading > p {
    max-width: 400px;
    font-size: 15px;
  }
  .feature-index {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-index > a {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
    row-gap: 14px;
    padding-top: 25px;
  }
  .feature-symbol {
    grid-column: 1;
    grid-row: 1/4;
    margin: 0;
  }
  .feature-index h3,
  .feature-index p,
  .feature-index .text-link {
    grid-column: 2;
    margin: 0;
  }
  .feature-index p {
    font-size: 14px;
  }
  .feature-index h3 {
    font-size: 24px;
  }
  .ecosystem-list {
    grid-template-columns: 1fr;
  }
  .ecosystem-list h3 {
    font-size: 24px;
  }
  .gallery-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .safety-section {
    padding-block: 60px;
  }
  .start-section {
    padding-block: 60px;
  }
  .terminal pre {
    font-size: 10px;
    padding: 20px;
  }
  .compact-cta {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 50px;
    gap: 25px;
  }
  .compact-cta h2 {
    font-size: 34px;
  }
  .page-intro h1 {
    font-size: 52px;
  }
  .page-intro p {
    font-size: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-grid figcaption {
    flex-direction: row;
    align-items: center;
  }
  .filter-buttons button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .gallery-grid h2 {
    font-size: 14px;
  }
  .docs-layout {
    display: block;
    padding-top: 24px;
  }
  .docs-sidebar {
    display: none;
  }
  .mobile-doc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }
  .mobile-doc-nav label {
    font-size: 11px;
    color: var(--muted);
  }
  .mobile-doc-nav select {
    width: 100%;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 13px;
    padding: 11px;
  }
  .prose h1 {
    font-size: 36px;
    line-height: 1.14;
  }
  .prose .doc-lead {
    font-size: 16px;
    padding-bottom: 24px;
    margin-bottom: 22px;
  }
  .prose p {
    font-size: 14px;
  }
  .prose h2 {
    font-size: 26px;
  }
  .prose pre {
    margin-inline: 0;
    padding-inline: 15px;
  }
  .prose table {
    font-size: 11px;
  }
  .doc-pagination {
    gap: 10px;
  }
  .doc-pagination a {
    padding: 12px;
  }
  .doc-pagination strong {
    font-size: 11px;
  }
  .site-footer {
    padding: 35px 20px 20px;
  }
  .footer-top > p {
    font-size: 12px;
  }
  .footer-bottom {
    gap: 12px;
    flex-direction: column;
  }
  .search-dialog {
    margin: 25px auto;
    width: calc(100% - 24px);
    padding: 20px;
  }
  .image-dialog {
    padding: 12px;
  }
  .dialog-heading h2 {
    font-size: 17px;
  }
  .image-dialog #enlarged-image {
    max-height: 60dvh;
  }
  .zoom-image:after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  .capability-strip p {
    font-size: clamp(14px, 4.5vw, 18px);
    gap: clamp(6px, 2vw, 10px);
  }
  .capability-strip p span {
    font-size: inherit;
  }
}
