:root {
  --paper: #f5f4ed;
  --paper-elev: #ffffff;
  --paper-card: #ffffff;
  --paper-soft: #ece9dc;
  --line: #ddd8c9;
  --line-soft: #ebe7da;
  --ink: rgba(36, 41, 47, 0.94);
  --ink-dim: rgba(36, 41, 47, 0.76);
  --ink-muted: rgba(36, 41, 47, 0.54);
  --brand: #24292f;
  --brand-light: #404040;
  --brand-tint: #f2f3f4;
  --green: #0d7d4d;
  --green-bright: #70d99f;
  --red: #b84646;
  --term: #101013;
  --term-soft: #17171b;
  --term-bar: #202024;
  --term-line: #303036;
  --term-text: #e7e4d9;
  --term-muted: #9b978c;
  --serif: "TsangerJinKai02", "STKaiti", "KaiTi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "TsangerJinKai02", "STKaiti", "KaiTi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(20, 19, 19, 0.05), 0 18px 48px rgba(20, 19, 19, 0.08);
  --shadow-lift: 0 1px 2px rgba(20, 19, 19, 0.06), 0 24px 70px rgba(20, 19, 19, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[lang="en"] {
  --serif: "TsangerJinKai02", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before { content: none; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }
img { max-width: 100%; height: auto; }
code, pre, kbd { font-family: var(--mono); }
button, input { font: inherit; }
:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--paper-elev);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 13px;
  transition: transform 160ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.hero-wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.section-tight { padding: 46px 0; border-bottom: 1px solid var(--line-soft); }
.label {
  color: var(--brand);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.section-head {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  touch-action: manipulation;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand);
  color: var(--paper-elev);
  box-shadow: none;
}
.btn-primary:hover { background: var(--brand-light); color: var(--paper-elev); }
.btn-secondary {
  background: var(--paper-card);
  border-color: var(--line);
  color: var(--brand);
}
.btn-secondary:hover { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 34%, var(--line)); }

.site-nav {
  display: none;
}
@supports (backdrop-filter: blur(10px)) {
  .site-nav { backdrop-filter: none; }
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--brand);
}
.brand strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a {
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 13px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}
.nav-pill.primary { background: var(--brand); color: var(--paper-elev); border-color: var(--brand); }
.nav-pill:hover { border-color: var(--brand); text-decoration: none; }
.nav-pill.primary:hover { background: var(--brand-light); color: var(--paper-elev); border-color: var(--brand-light); }

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 42px; }
.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { display: none; }
.hero h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(58px, 10vw, 108px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.hero-sub {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ink-dim);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.copy-command code { color: inherit; font-size: 13px; background: none; }
.copy-hint { color: var(--ink-muted); font-size: 12px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 32px;
}
.hero-stats span { display: grid; gap: 2px; }
.hero-stats b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats small {
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
}
.terminal-window {
  overflow: hidden;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-md);
  background: var(--term);
  box-shadow: none;
}
.terminal-chrome {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--term-line);
  background: var(--term-bar);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #55545a; }
.terminal-title {
  margin-left: auto;
  color: var(--term-muted);
  font-family: var(--mono);
  font-size: 11px;
}
.hero-shot { position: relative; margin: 0; }
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.hero-shot figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  max-width: calc(100% - 40px);
  color: rgba(231, 228, 217, 0.84);
  font-family: var(--sans);
  font-size: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.62);
}
.hero-tags { display: none; }
.hero-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--paper-card);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
}
.intro-strip {
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.intro-strip .wide {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.intro-strip p {
  max-width: 820px;
  margin: 0;
  color: var(--ink-dim);
  line-height: 1.7;
}
.intro-strip a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
}

.terminal-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
}
.terminal-body {
  padding: 24px;
  color: var(--term-text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}
.term-line { margin: 0 0 7px; }
.term-line:last-child { margin-bottom: 0; }
.prompt { color: var(--green-bright); }
.muted { color: var(--term-muted); }
.error { color: #ff7d74; }
.success { color: var(--green-bright); }
.term-callout {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(112, 217, 159, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(112, 217, 159, 0.08);
  color: var(--term-text);
}
.term-callout code {
  color: var(--green-bright);
  background: rgba(112, 217, 159, 0.1);
  border-radius: 3px;
  padding: 1px 4px;
}
.prose h2, .prose h3 { color: var(--ink); font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.prose h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 38px); }
.prose h3 { margin: 0 0 10px; font-size: 22px; }
.prose p { color: var(--ink-dim); margin: 0 0 18px; text-wrap: pretty; }
.prose .label { margin-bottom: 18px; display: block; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.feature {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  box-shadow: none;
  transition: border-color 160ms var(--ease);
}
.feature:hover {
  border-color: var(--line);
}
.feature .mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-family: var(--mono);
}
.feature strong { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.28; }
.feature span { color: var(--ink-dim); font-family: var(--sans); font-size: 14px; line-height: 1.6; }

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.command-card {
  min-height: 100%;
}
.command-card .terminal-body { min-height: 248px; display: grid; align-content: center; }
.command-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-wrap: anywhere;
}
.command-row:last-child { border-bottom: 0; }
.command-label {
  display: block;
  margin-bottom: 4px;
  color: var(--term-muted);
  font-family: var(--sans);
  font-size: 12px;
}
.workflow-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.workflow-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.workflow-item:first-child { border-top: 0; }
.workflow-item .mark {
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 13px;
}
.workflow-item h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.workflow-item p {
  margin: 0;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--term);
  box-shadow: none;
  outline: 1px solid rgba(20, 19, 19, 0.1);
  outline-offset: -1px;
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 14px 16px;
  color: var(--term-muted);
  font-family: var(--sans);
  font-size: 12px;
  background: var(--term);
}

.quick-grid, .method-grid, .doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.method, .doc-card, .roadmap-stage, .release-card, .quick-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  box-shadow: none;
}
.method, .doc-card, .quick-card { padding: 20px; }
.doc-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.doc-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.doc-card {
  grid-template-rows: none;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
}
.method h2, .doc-card h2, .quick-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}
.method p, .doc-card p, .quick-card p {
  margin: 0 0 18px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}
.doc-card p {
  max-width: 680px;
  margin-bottom: 0;
}
.doc-card > span { display: none; }
.code-box {
  display: block;
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-sm);
  background: var(--term);
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
}
.page-hero {
  padding: 46px 0 32px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.page-hero .label { display: none; }
.page-hero h1 {
  max-width: 820px;
  margin: 14px 0 12px;
  color: var(--brand);
  font-size: clamp(36px, 7vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}
.page-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.68;
}
.docs-section { padding-top: 42px; }
.docs-layout {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
  max-height: calc(100svh - 108px);
  overflow: auto;
  padding-right: 4px;
  font-family: var(--sans);
}
.docs-home {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  border-bottom: 0;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.docs-home:hover { color: var(--brand); }
.docs-menu {
  display: grid;
  gap: 8px;
}
.docs-menu a {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--ink-dim);
  background: transparent;
}
.docs-menu a:hover, .docs-menu a[aria-current="page"] {
  border-bottom-color: var(--brand);
  background: transparent;
  color: var(--brand);
}
.docs-menu span {
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.docs-menu small {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
  display: none;
}
.section-toc {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.section-toc p {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.section-toc a {
  padding: 4px 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.35;
}
.section-toc a.depth-3 { padding-left: 12px; }
.section-toc a:hover { color: var(--brand); }
.doc-content {
  min-width: 0;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
}
.doc-content > :first-child { margin-top: 0; }
.doc-content h2, .doc-content h3, .doc-content h4 {
  position: relative;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
  scroll-margin-top: 90px;
  text-wrap: balance;
}
.doc-content h2 {
  margin: 38px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(26px, 4vw, 34px);
}
.doc-content > h2:first-child {
  padding-top: 0;
  border-top: 0;
}
.doc-content h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}
.doc-content h4 {
  margin: 28px 0 10px;
  font-size: 20px;
}
.doc-content .anchor {
  position: absolute;
  left: -24px;
  opacity: 0;
  color: var(--brand-light);
  font-family: var(--mono);
  font-size: 16px;
  transition: opacity 160ms var(--ease);
}
.doc-content h2:hover .anchor, .doc-content h3:hover .anchor, .doc-content h4:hover .anchor {
  opacity: 1;
}
.doc-content p, .doc-content li {
  color: var(--ink-dim);
  text-wrap: pretty;
}
.doc-content p { margin: 0 0 16px; }
.doc-content ul, .doc-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.doc-content li { margin-bottom: 8px; }
.doc-content strong { color: var(--ink); }
.doc-content a {
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
  color: var(--brand);
  font-weight: 700;
}
.doc-content a:hover { border-bottom-color: var(--brand); text-decoration: none; }
.doc-content code {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--paper-card);
  color: var(--brand);
  padding: 0.08em 0.32em;
  font-size: 0.9em;
  word-break: break-word;
}
.doc-content pre {
  overflow-x: auto;
  margin: 20px 0 24px;
  padding: 18px;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-md);
  background: var(--term);
  box-shadow: none;
}
.doc-content pre code {
  display: block;
  min-width: max-content;
  border: 0;
  background: transparent;
  color: var(--term-text);
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  word-break: normal;
}
.doc-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-card);
  border-spacing: 0;
}
.doc-content thead {
  background: var(--brand-tint);
}
.doc-content th, .doc-content td {
  min-width: 150px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.doc-content th:last-child, .doc-content td:last-child { border-right: 0; }
.doc-content tr:last-child td { border-bottom: 0; }
.doc-content th {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.doc-content blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--paper-card);
}
.doc-content blockquote p:last-child { margin-bottom: 0; }
.doc-content hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--line-soft);
}
.doc-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.doc-pager a {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-card);
}
.doc-pager a:last-child { text-align: right; }
.doc-pager span {
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.doc-pager strong {
  color: var(--brand);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}
.roadmap-list, .release-list {
  display: grid;
  gap: 18px;
}
.roadmap-stage, .release-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.26fr) minmax(0, 0.74fr);
  gap: 24px;
  padding: 28px;
}
.roadmap-stage h2, .release-card h2 {
  margin: 0;
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}
.roadmap-stage p, .release-card time {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
}
.roadmap-stage ul, .release-card ul { margin: 0; padding-left: 18px; }
.roadmap-stage li, .release-card li {
  margin-bottom: 10px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}
.faq-list { max-width: 760px; margin: 0 auto; }
details {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
}
details:last-child { border-bottom: 1px solid var(--line-soft); }
summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}
summary::before { content: "+ "; color: var(--brand); font-family: var(--mono); }
details[open] summary::before { content: "- "; }
details p {
  margin: 12px 0 0 24px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
}
.site-footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-elev);
}
.footer-brand {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 42px;
  margin-bottom: 42px;
}
.footer-brand a {
  color: var(--brand);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}
.footer-brand p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.72;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-col h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 13px;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
}

@media (hover: hover) {
  .doc-card:hover, .method:hover, .quick-card:hover {
    border-color: var(--line);
  }
  .doc-card, .method, .quick-card {
    transition: border-color 160ms var(--ease);
  }
}
@media (max-width: 820px) {
  .nav-inner { gap: 16px; }
  .nav-links {
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
  }
  .nav-actions { margin-left: auto; }
  .section-head, .terminal-demo, .split, .docs-layout, .roadmap-stage, .release-card, .footer-brand {
    grid-template-columns: 1fr;
  }
  .section-head { max-width: none; }
  .docs-layout { gap: 34px; }
  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .docs-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-toc { display: none; }
  .section-toc p { grid-column: 1 / -1; }
  .feature-grid, .quick-grid, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-item { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 18px; }
  .workflow-item p { grid-column: 2; }
  .intro-strip .wide { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 20px; }
  .hero { min-height: auto; padding: 58px 0 38px; }
  .hero-sub { font-size: 18px; }
  .hero-shot figcaption {
    position: static;
    padding: 8px 0 0;
    color: var(--ink-muted);
    text-shadow: none;
    background: transparent;
  }
}
@media (max-width: 560px) {
  .container, .wide, .hero-wrap { padding: 0 16px; }
  .section, .section-tight { padding: 42px 0; }
  .hero h1 { font-size: 58px; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; }
  .feature-grid, .quick-grid, .method-grid, .doc-grid, .doc-pager, .gallery, .footer-cols { grid-template-columns: 1fr; }
  .docs-sidebar { gap: 12px; }
  .docs-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .docs-menu::-webkit-scrollbar { display: none; }
  .docs-menu a {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0 0 7px;
  }
  .workflow-item { grid-template-columns: 1fr; gap: 8px; }
  .workflow-item p { grid-column: auto; }
  .doc-content { font-size: 15px; }
  .doc-content .anchor { display: none; }
  .doc-content h2 { font-size: 30px; }
  .doc-content pre { margin-left: -2px; margin-right: -2px; padding: 14px; }
  .doc-content th, .doc-content td { min-width: 132px; padding: 10px 11px; }
  .doc-pager a:last-child { text-align: left; }
  .nav-pill.primary span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
