@font-face {
  font-family: Inter;
  src: url("../assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #f8faf8;
  --surface: #edf1ed;
  --text: #1e2c24;
  --muted: #536259;
  --quiet: #5e6c63;
  --line: #dce3dd;
  --accent: #087b53;
  --accent-hover: #056442;
  --button-text: #ffffff;
  --selected: #dcece2;
  --code: #2c4636;
  --disabled-bg: #e6ebe7;
  --disabled-text: #56685c;
  --terminal: #191d1b;
  --terminal-bar: #272c29;
  --terminal-text: #dce5df;
  --terminal-muted: #a9b6ae;
  --terminal-accent: #71deb0;
  --terminal-line: #383f3a;
  --terminal-shadow: 0 24px 64px -16px #12291d38, 0 8px 20px -8px #12291d24;
  --display: Inter, sans-serif;
  --body: Inter, sans-serif;
  --mono: "JetBrains Mono", monospace;
  color-scheme: light;
}
:root[data-theme="ink"] {
  --bg: #111613;
  --surface: #1c241f;
  --text: #eaf0ec;
  --muted: #b0bdb5;
  --quiet: #9fada4;
  --line: #303d34;
  --accent: #73dfb0;
  --accent-hover: #a4eccb;
  --button-text: #102e20;
  --selected: #263f31;
  --code: #d5e4db;
  --disabled-bg: #27342c;
  --disabled-text: #a7b8ac;
  --terminal-shadow: 0 24px 64px -16px #00000080, 0 8px 20px -8px #00000060;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--button-text);
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent-hover);
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
select {
  touch-action: manipulation;
}
button:disabled,
[aria-disabled="true"] {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
code,
pre {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
code {
  font-size: 0.88em;
}
pre {
  margin: 0;
  overflow: auto;
  tab-size: 2;
  scrollbar-color: var(--quiet) var(--surface);
}
input,
select {
  caret-color: var(--accent);
}
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 32px;
}
.page-frame {
  width: 100%;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--bg);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav > a {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.site-header nav > a:hover {
  color: var(--accent);
}
.theme-picker {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: var(--surface);
}
.theme-picker button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 12px var(--body);
  padding: 7px 10px;
  min-height: 32px;
  border-radius: 4px;
}
.theme-picker button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--text);
}
.theme-picker button:hover:not([aria-pressed="true"]) {
  color: var(--accent);
}
.site-header .nav-install {
  color: var(--accent);
  font-weight: 600;
}
.hero {
  padding-top: 48px;
  padding-bottom: 32px;
  text-align: left;
}
.hero h1 {
  font: 750 clamp(42px, 6vw, 76px) / 1.04 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 23px;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  max-width: 54ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--button-text);
  padding: 12px 19px;
  font: 600 13px var(--body);
  border-radius: 6px;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.button:hover {
  background: var(--accent-hover);
  color: var(--button-text);
}
.button[aria-disabled="true"] {
  background: var(--disabled-bg);
  color: var(--disabled-text);
}
.demo-section {
  padding-bottom: 88px;
}
.terminal-window {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--terminal);
  box-shadow: var(--terminal-shadow);
  color-scheme: dark;
}
.terminal-chrome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: 22px;
  border-bottom: 1px solid var(--terminal-line);
  background: var(--terminal-bar);
}
.window-dots {
  position: absolute;
  left: 22px;
  display: flex;
  gap: 8px;
}
.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.window-dots .close {
  background: #ff6057;
}
.window-dots .minimize {
  background: #febc2e;
}
.window-dots .maximize {
  background: #28c840;
}
.window-title {
  text-align: center;
  font: 12px var(--mono);
  color: #b7c2bb;
}
.terminal-window pre {
  height: 720px;
  padding: 25px 28px 4lh;
  font: 14px/1.8 var(--mono);
  color: var(--terminal-text);
  white-space: pre;
  overscroll-behavior: contain;
  scrollbar-width: none;
  caret-color: transparent;
  scroll-behavior: auto;
  overflow-anchor: none;
}
.terminal-window pre::selection,
.terminal-window pre ::selection {
  background: #355c46;
  color: #edf8f1;
}
.terminal-window pre:focus-visible {
  outline-color: var(--terminal-accent);
  outline-offset: -3px;
}
.terminal-command {
  color: #eff7f1;
}
.terminal-prompt,
.terminal-success {
  color: var(--terminal-accent);
}
.terminal-step {
  color: var(--terminal-muted);
}
.terminal-window pre::-webkit-scrollbar {
  display: none;
}
.terminal-line {
  display: block;
  min-height: 1.8em;
  width: max-content;
  min-width: 100%;
}
.capabilities {
  padding-top: 16px;
  padding-bottom: 24px;
}
.capability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.capability h2 {
  font: 650 34px/1.2 var(--display);
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.capability p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 26px;
}
.capability > a {
  display: inline-block;
  font-size: 14px;
  margin-top: 18px;
}
.example {
  background: var(--surface);
  border-radius: 8px;
  min-width: 0;
}
.example pre {
  padding: 24px;
  font: 12px/1.9 var(--mono);
  color: var(--code);
  white-space: pre;
}
.prompt {
  color: var(--accent);
}
.install-intro,
select {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: 13px var(--body);
  padding: 11px 12px;
  border-radius: 6px;
  min-width: 0;
  width: 100%;
  min-height: 44px;
}
.code-panel {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.code-heading {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  font: 12px var(--body);
  color: var(--muted);
}
.copy {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 12px var(--body);
  min-height: 42px;
  min-width: 60px;
  padding: 10px 14px;
}
.copy:hover {
  color: var(--accent-hover);
  background: var(--selected);
}
.code-panel pre {
  font: 12px/1.9 var(--mono);
  padding: 22px 20px;
  color: var(--code);
  white-space: pre;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 27px;
}
.site-footer .brand {
  font-size: 16px;
  gap: 8px;
}
.footer-inner > div {
  display: flex;
  gap: 24px;
}
.site-footer a:not(.brand) {
  font: 12px var(--body);
  color: var(--quiet);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
}
.docs-page {
  padding-top: 50px;
  padding-bottom: 64px;
}
.docs-title {
  margin-bottom: 44px;
}
.docs-title h1 {
  font: 600 clamp(38px, 5vw, 54px) / 1.1 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.docs-title p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.docs-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 48px;
}
.docs-nav {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 30px;
  align-self: start;
}
.docs-nav a {
  font: 13px/1.6 var(--body);
  text-decoration: none;
}
.prose {
  min-width: 0;
  max-width: 78ch;
}
.prose h1 {
  display: none;
}
.prose h2 {
  font: 600 27px/1.25 var(--display);
  letter-spacing: -0.025em;
  margin: 44px 0 18px;
}
.prose h2:first-of-type {
  margin-top: 20px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 15px;
}
.prose p,
.prose li {
  font-size: 15px;
  color: var(--muted);
}
.prose pre {
  font: 12px/1.9 var(--mono);
  padding: 20px;
  background: var(--surface);
  border-radius: 8px;
  color: var(--code);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose table {
  display: block;
  width: 100%;
  overflow: auto;
  border-collapse: collapse;
  font-size: 13px;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}
.prose th {
  color: var(--text);
  font-weight: 600;
}
.prose td {
  color: var(--muted);
}
@media (max-width: 900px) {
  .container {
    padding-inline: 26px;
  }
  .docs-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }
  .header-inner {
    height: 72px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
    gap: 7px;
  }
  .brand img {
    width: 24px;
    height: 28px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav > a {
    font-size: 12px;
  }
  .site-header nav > a[href^="https:"] {
    display: none;
  }
  .site-header nav {
    gap: 10px;
  }
  .site-header .nav-install {
    padding: 10px 12px;
    min-height: 40px;
  }
  .theme-picker button {
    font-size: 11px;
    padding: 7px;
  }
  .hero {
    padding-top: 44px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    letter-spacing: -0.035em;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 23px;
  }
  .demo-section {
    padding-bottom: 56px;
  }
  .terminal-chrome {
    height: 44px;
    padding-inline: 16px;
  }
  .window-dots {
    left: 16px;
    gap: 6px;
  }
  .window-dots span {
    width: 10px;
    height: 10px;
  }
  .window-title {
    font-size: 11px;
  }
  .window-title .window-path {
    display: none;
  }
  .terminal-line {
    min-height: 1.85em;
    width: auto;
    min-width: 0;
  }
  .terminal-window pre {
    height: 600px;
    padding: 20px 18px 4lh;
    font-size: 12px;
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .capabilities {
    padding-top: 0;
    padding-bottom: 0;
  }
  .capability {
    margin-bottom: 56px;
  }
  .capability h2 {
    font-size: 27px;
    margin-bottom: 16px;
  }
  .capability p {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .example pre {
    padding: 19px;
    font-size: 11px;
    line-height: 1.9;
  }
  .code-panel pre {
    font-size: 11px;
    padding: 19px 16px;
  }
  .code-heading {
    padding-left: 16px;
  }
  .footer-inner {
    gap: 12px;
  }
  .footer-inner > div {
    gap: 15px;
  }
  .site-footer a:not(.brand) {
    font-size: 11px;
  }
  .docs-page {
    padding-top: 36px;
  }
  .docs-title {
    margin-bottom: 32px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .docs-nav a {
    font-size: 12px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose p,
  .prose li {
    font-size: 14px;
  }
  .prose pre {
    font-size: 11px;
    padding: 18px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 380px) {
  .site-header nav > a[href^="https:"] {
    display: none;
  }
}

.site-header .nav-install {
  color: var(--button-text);
}
.site-header .nav-install:hover {
  color: var(--button-text);
}
.theme-picker button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
}
.theme-picker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.install-command {
  display: flex;
  align-items: center;
  max-width: 580px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.install-command code {
  padding: 15px 18px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--code);
}
.install-command .copy {
  border-left: 1px solid var(--line);
  align-self: stretch;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 13px;
  font-size: 13px;
}
.hero-links a {
  text-decoration: none;
}
.hero-links a:hover {
  text-decoration: underline;
}
.feature-copy {
  min-width: 0;
}
.feature-copy a {
  font-size: 14px;
}
.docs-nav [aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}
.prose pre {
  position: relative;
}
.prose .docs-code {
  margin-block: 20px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.prose .docs-code pre {
  margin: 0;
  border-radius: 0;
  padding-top: 12px;
}
.prose .code-heading {
  justify-content: flex-end;
  padding-left: 0;
  border: 0;
}
@media (max-width: 900px) {
  .capability {
    gap: 32px;
  }
  .capability h2 {
    font-size: 29px;
  }
}
@media (max-width: 640px) {
  .capability {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 32px;
    margin-bottom: 0;
  }
  .capability h2 {
    font-size: 27px;
  }
  .install-command code {
    padding: 14px 12px;
    font-size: 11px;
  }
  .hero-links {
    gap: 18px;
    font-size: 12px;
  }
}
