:root {
  --ink: #111827;
  --ink-soft: #1d2a3d;
  --paper: #f7f8f3;
  --lime: #d6f36b;
  --orange: #f2a65a;
  --muted: #667085;
  --line: #d9dfd6;
  --white: #fff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.7; }
a { color: inherit; }
.docs-shell { min-height: 100vh; }
.docs-header { border-bottom: 1px solid var(--line); background: rgba(247,248,243,.94); }
.docs-header-inner, .docs-main, .docs-footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.docs-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.docs-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { display: inline-flex; gap: 3px; width: 24px; height: 24px; align-items: end; }
.brand-mark i { display: block; width: 9px; border-radius: 3px; background: var(--orange); }
.brand-mark i:first-child { height: 15px; }
.brand-mark i:last-child { height: 22px; background: var(--lime); }
.docs-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; color: #526071; font-size: 13px; }
.docs-nav a, .language-link { text-decoration: none; }
.docs-nav a:hover, .language-link:hover { color: #71851a; }
.language-link { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; font-family: var(--mono); font-size: 11px; }
.docs-main { padding: 70px 0 92px; }
.docs-breadcrumb { margin-bottom: 34px; color: #758091; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.docs-breadcrumb a { color: #71851a; text-decoration: none; }
.docs-hero { max-width: 820px; }
.docs-kicker { color: #71851a; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
h1, h2, h3 { letter-spacing: -.05em; line-height: 1.15; }
h1 { max-width: 800px; margin: 14px 0 22px; font-size: clamp(42px, 7vw, 76px); }
h1 em, h2 em { color: #71851a; font-style: normal; }
.docs-lead { max-width: 730px; margin: 0; color: #526071; font-size: clamp(18px, 2vw, 22px); }
.docs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: #697586; font-family: var(--mono); font-size: 11px; }
.docs-meta span { padding: 5px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.docs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 70px; margin-top: 72px; }
.docs-content h2 { margin: 58px 0 18px; font-size: clamp(28px, 4vw, 42px); }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { margin: 34px 0 9px; font-size: 23px; }
.docs-content p { max-width: 780px; color: #526071; }
.docs-content ul, .docs-content ol { max-width: 780px; padding-left: 24px; color: #526071; }
.docs-content li { margin: 8px 0; }
.docs-content strong { color: var(--ink); }
.docs-aside { align-self: start; position: sticky; top: 24px; padding: 22px; color: #ccd6e3; background: var(--ink); border-radius: 8px; box-shadow: 12px 12px 0 rgba(17,24,39,.1); }
.docs-aside h2 { margin: 0 0 14px; color: var(--lime); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.docs-aside a { display: block; padding: 8px 0; color: #d7dfd5; border-bottom: 1px solid #35425a; font-size: 13px; text-decoration: none; }
.docs-aside a:last-child { border-bottom: 0; }
.docs-aside a:hover { color: var(--lime); }
.callout { margin: 30px 0; padding: 20px 22px; border-left: 4px solid var(--orange); background: #eef2e9; }
.callout p { margin: 0; }
.dark-callout { color: #d7dfd5; background: var(--ink); border-left-color: var(--lime); }
.dark-callout p { color: #b6c1d0; }
.table-wrap { overflow-x: auto; margin: 24px 0 30px; border: 1px solid #cdd5cf; background: var(--white); }
table { width: 100%; min-width: 690px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; border-bottom: 1px solid #e1e6e1; text-align: left; vertical-align: top; }
th { color: #526071; background: #eef2e9; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
td { color: #526071; }
tr:last-child td { border-bottom: 0; }
td strong { display: block; margin-bottom: 2px; }
.code-block { overflow-x: auto; margin: 20px 0 30px; padding: 20px; color: #d7dfd5; background: var(--ink); border-radius: 7px; font: 13px/1.75 var(--mono); }
.inline-code { padding: 2px 5px; color: #475569; background: #e9ede6; border-radius: 3px; font-family: var(--mono); font-size: .9em; }
.docs-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.docs-link-card { display: block; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.58); text-decoration: none; transition: transform .2s, border-color .2s; }
.docs-link-card:hover { border-color: #aab675; transform: translateY(-2px); }
.docs-link-card small { display: block; margin-bottom: 8px; color: #71851a; font: 10px var(--mono); letter-spacing: .08em; }
.docs-link-card strong { display: block; font-size: 16px; }
.docs-link-card span { display: block; margin-top: 8px; color: #758091; font-size: 13px; }
.docs-footer { padding: 32px 0; color: #a6b2c2; background: var(--ink); }
.docs-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; }
.docs-footer a { color: var(--lime); text-decoration: none; }
.docs-footer p { margin: 0; }
@media (max-width: 820px) { .docs-layout { grid-template-columns: 1fr; gap: 40px; }.docs-aside { position: static; order: -1; }.docs-links { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .docs-header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }.docs-nav { justify-content: flex-start; }.docs-main { padding-top: 46px; }.docs-header-inner, .docs-main, .docs-footer-inner { width: min(100% - 32px, 560px); } h1 { font-size: 43px; } }
