/* Solo: a quiet workspace for shipping and operating your own apps. */
:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --bg2: #eef2ec;
  --border: #dce3db;
  --text: #172b24;
  --muted: #58695f;
  --accent: #086c50;
  --accent-hover: #03583f;
  --accent-soft: #e1eee5;
  --code-bg: #edf1eb;
  --code-text: #185c43;
  --terminal: #112b24;
  --terminal-text: #dcebe2;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 60px -36px #173c2850;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1815;
  --surface: #14221c;
  --bg2: #192b22;
  --border: #2a3f33;
  --text: #e4ede4;
  --muted: #a3b5a7;
  --accent: #9ce4b9;
  --accent-hover: #c7f5d9;
  --accent-soft: #203b2a;
  --code-bg: #1d3025;
  --code-text: #b0e2bf;
  --terminal: #0a1511;
  --terminal-text: #dcebe2;
  --shadow: 0 24px 60px -36px #00000099;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-soft); color: var(--text); }
[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; background: var(--surface); padding: 10px 20px; border: 1px solid var(--accent); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-nav { position: sticky; z-index: 10; top: 0; height: 76px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav-logo { color: var(--text); font-size: 27px; font-weight: 800; letter-spacing: -1.5px; display: flex; align-items: center; gap: 10px; }
.nav-logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); display: grid; place-items: center; font: 700 16px var(--mono); color: var(--accent); letter-spacing: -2px; padding-right: 2px; }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 550; }
.nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 9px; }
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { background: var(--bg2); }
.hero { max-width: 1200px; margin: auto; padding: 96px 0 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 70px; }
.eyebrow, .section-label { color: var(--accent); font: 600 11px/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -0.06em; font-weight: 650; margin: 0 0 26px; max-width: 680px; }
.hero h1 span { color: var(--accent); }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 7px; padding: 13px 20px; font-size: 14px; font-weight: 600; border: 1px solid var(--border); transition: transform 120ms, background 120ms; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); }
.hero-copy > p.hero-note { font-size: 12px; max-width: 470px; }
.hero-panel { min-width: 0; }
.install-block { border: 1px solid var(--border); border-radius: 12px; background: var(--terminal); box-shadow: var(--shadow); overflow: hidden; color: var(--terminal-text); }
.install-block-header { display: flex; align-items: center; gap: 7px; padding: 17px 20px; border-bottom: 1px solid #ffffff15; font: 11px var(--mono); color: #b5d0c0; }
.terminal-dot { width: 7px; height: 7px; border-radius: 50%; background: #638a73; }
.terminal-title { margin-left: auto; }
.install-block pre { background: transparent; color: inherit; margin: 0; padding: 26px 22px 30px; font: 12px/2.1 var(--mono); overflow-x: auto; border: 0; }
.prompt { color: #8bd3a7; user-select: none; }
.terminal-comment { color: #93b29f; }
.terminal-caption { padding: 16px 20px; border-top: 1px solid #ffffff15; color: #b5d0c0; font-size: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.panel-footnote { margin: 14px 0 0; color: var(--muted); font: 11px/1.6 var(--mono); }
.capability-strip { max-width: 1200px; margin: 0 auto 24px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: var(--muted); font: 12px var(--mono); }
.capability-strip strong { font-family: var(--font); color: var(--text); font-size: 13px; font-weight: 550; }
.section { max-width: 1200px; margin: auto; padding: 82px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading .section-label { margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.045em; font-weight: 600; margin: 0; }
.section-intro { max-width: 400px; color: var(--muted); font-size: 14px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: var(--surface); border-radius: 10px; overflow: hidden; }
.feature { padding: 30px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-icon { color: var(--accent); font: 12px var(--mono); margin-bottom: 30px; }
.feature h3 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.architecture-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.architecture-section .section-title { margin-bottom: 24px; }
.architecture-section p { color: var(--muted); font-size: 15px; }
.architecture-flow { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 30px; }
.flow-title { margin-bottom: 28px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.flow-node { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--bg); }
.flow-node small { display: block; color: var(--accent); font: 10px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.flow-node strong { font-size: 16px; }
.flow-node p { margin: 5px 0 0; font: 11px/1.7 var(--mono); }
.flow-connection { display: flex; align-items: center; gap: 12px; margin: 0 0 0 24px; padding: 14px 18px; border-left: 1px dashed var(--accent); color: var(--accent); font: 11px var(--mono); }
.flow-node .flow-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.flow-tags span { font: 10px var(--mono); background: var(--accent-soft); color: var(--accent); padding: 4px 7px; border-radius: 4px; }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: 40px; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--border); }
.step:first-child { padding-top: 0; border-top: 0; }
.step-num { font: 11px var(--mono); color: var(--accent); padding-top: 4px; }
.step h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.snippet { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.snippet-header { padding: 16px 20px; border-bottom: 1px solid var(--border); color: var(--muted); font: 11px var(--mono); }
.snippet pre { margin: 0; border: 0; padding: 24px; background: transparent; color: var(--text); font: 12px/1.9 var(--mono); overflow-x: auto; }
.example-note { color: var(--muted); font-size: 12px; margin-top: 16px; }
.operations { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding: 50px 0; }
.operations .section-title { margin-bottom: 18px; }
.operations p { color: var(--muted); font-size: 15px; }
.operation-links { display: grid; gap: 0; }
.operation-link { padding: 15px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; color: var(--text); font-size: 14px; }
.operation-link:last-child { border: 0; }
.operation-link code { color: var(--accent); background: none; border: 0; padding: 0; }
.status-note { border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; max-width: 900px; }
.status-note h2 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 14px; }
.status-note p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.status-note p:last-child { margin-bottom: 0; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 0; }
.final-cta h2 { font-size: 36px; line-height: 1.2; letter-spacing: -0.05em; font-weight: 600; margin-bottom: 12px; }
.final-cta p { color: var(--muted); margin: 0; }
code { font: 0.85em/1.6 var(--mono); color: var(--code-text); background: var(--code-bg); border: 1px solid var(--border); padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
/* Reference and tutorial pages */
.layout { display: flex; max-width: 1300px; margin: auto; min-height: calc(100vh - 76px); }
.sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 76px; align-self: flex-start; height: calc(100vh - 76px); padding: 30px 24px 40px 20px; overflow-y: auto; border-right: 1px solid var(--border); scrollbar-width: thin; }
.doc-search-label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.doc-search { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--surface); font-size: 12px; margin-bottom: 26px; }
.sidebar-section { margin-bottom: 26px; }
.sidebar-section-title { color: var(--text); font-size: 11px; font-weight: 650; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.sidebar-section-title a { color: inherit; }
.sidebar ul { padding: 0; margin: 0; list-style: none; }
.sidebar li { margin-bottom: 2px; }
.sidebar li a { display: block; font-size: 12px; color: var(--muted); padding: 6px 10px; border-left: 1px solid transparent; line-height: 1.6; }
.sidebar li a:hover, .sidebar li a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); text-decoration: none; border-radius: 0 5px 5px 0; }
.content { flex: 1; min-width: 0; max-width: 100%; padding: 46px 58px 80px; font-size: 15px; line-height: 1.85; }
.breadcrumb { color: var(--muted); font: 11px var(--mono); margin-bottom: 24px; }
.content > h1 { font-size: 42px; line-height: 1.1; letter-spacing: -0.05em; font-weight: 650; margin-bottom: 16px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 640px; margin-bottom: 26px; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0; }
.task-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; padding: 18px; transition: border-color 120ms; }
.task-card:hover { border-color: var(--accent); text-decoration: none; }
.task-card strong { color: var(--text); font-size: 13px; margin-bottom: 7px; }
.task-card span { font-size: 11px; line-height: 1.7; color: var(--muted); }
.page-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; padding: 18px 0; border-block: 1px solid var(--border); margin-bottom: 44px; }
.content h2 { font-size: 28px; line-height: 1.3; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 22px; }
.content h3 { font-size: 20px; letter-spacing: -0.025em; font-weight: 600; line-height: 1.4; margin: 38px 0 16px; }
.content h4 { font-size: 16px; margin: 28px 0 14px; }
.content p { margin-bottom: 18px; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 22px; }
.content li { margin-bottom: 9px; }
.doc-section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.doc-section:last-child { border-bottom: 0; margin: 0; padding: 0; }
pre { white-space: pre; tab-size: 2; }
.content pre { margin: 22px 0; padding: 22px; background: var(--terminal); color: var(--terminal-text); border: 1px solid var(--border); border-radius: 8px; overflow-x: auto; font: 12px/1.85 var(--mono); }
.content pre code { color: inherit; background: none; border: 0; padding: 0; font: inherit; overflow-wrap: normal; }
.code-block { background: var(--terminal); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 22px 0; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff15; padding: 8px 14px; color: #a6c6b1; font: 10px var(--mono); }
.copy-code { color: #dcebe2; font: 10px var(--mono); background: transparent; border: 1px solid #ffffff25; border-radius: 4px; padding: 4px 8px; cursor: pointer; }
.copy-code:hover { background: #ffffff15; }
.content .code-block pre { margin: 0; border: 0; border-radius: 0; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 12px; line-height: 1.8; }
th { background: var(--bg2); text-align: left; font-weight: 600; padding: 12px 16px; color: var(--text); border-bottom: 1px solid var(--border); }
td { vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border: 0; }
td code { font-size: 11px; }
footer { border-top: 1px solid var(--border); padding: 30px max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1280px) { .hero, .section, .capability-strip { margin-left: 40px; margin-right: 40px; } .hero { gap: 40px; } }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr 1fr; padding-top: 64px; gap: 30px; } .hero h1 { font-size: 52px; } .features { grid-template-columns: repeat(2, minmax(0,1fr)); } .architecture-section { gap: 36px; } .sidebar { width: 220px; padding-left: 16px; padding-right: 16px; } .content { padding: 40px 30px 60px; } .task-grid { grid-template-columns: 1fr; } .task-card { flex-direction: row; gap: 16px; align-items: baseline; } }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; gap: 32px; padding: 52px 0; } .hero-copy { max-width: 600px; } .hero h1 { font-size: clamp(44px, 8vw, 60px); } .hero-panel { max-width: 600px; width: 100%; } .section { padding: 52px 0; } .section-heading { display: block; } .section-intro { margin-top: 20px; } .architecture-section, .workflow-grid, .operations { grid-template-columns: 1fr; gap: 32px; } .sidebar { display: none; } .content { padding: 36px 24px 60px; } .layout { max-width: 850px; } .content > h1 { font-size: 36px; } .final-cta { align-items: flex-start; flex-direction: column; padding-top: 0; } .final-cta h2 { font-size: 32px; } }
@media (max-width: 480px) { .site-nav { height: 66px; padding: 0 20px; gap: 16px; } .nav-logo { font-size: 24px; gap: 7px; } .logo-mark { width: 25px; height: 25px; font-size: 13px; border-radius: 6px; } .nav-links, .nav-right { gap: 16px; } .nav-links a { font-size: 12px; } .nav-links .nav-source { display: none; } .theme-toggle { width: 30px; height: 30px; } .hero, .section, .capability-strip { margin-left: 24px; margin-right: 24px; } .features { grid-template-columns: 1fr; } .feature { padding: 25px; } .feature-icon { margin-bottom: 20px; } .capability-strip { gap: 16px; font-size: 10px; } .hero-copy > p:not(.eyebrow) { font-size: 16px; } .hero h1 { font-size: 45px; } .btn { padding: 12px 15px; font-size: 12px; } .architecture-flow { padding: 20px; } .content { padding: 30px 20px 50px; font-size: 14px; } .content h2 { font-size: 25px; } .content h3 { font-size: 19px; } .task-card { flex-direction: column; gap: 0; } .install-block pre { font-size: 11px; padding: 20px 16px; } footer { padding: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Keep architecture labels readable and preserve vector detail at every size. */
.architecture-diagram { margin: 26px 0; }
.diagram-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.diagram-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.architecture-diagram img { display: block; width: 100%; min-width: 1040px; height: auto; max-width: none; }
.architecture-diagram figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }

.terminal-success { color: #8bd3a7; }
