/* Burr: monochrome canvas, industrial display type, open editorial layouts. */
:root {
  --bg: #000000;
  --bg-subtle: #0a0a0a;
  --surface: #0a0a0a;
  --surface-raised: #141414;
  --surface-hover: #222222;
  --border: #3a3a3f;
  --border-light: #727277;
  --border-focus: #ffffff;
  --text: #ffffff;
  --text-muted: #d0d0d5;
  --text-dim: #b0b0b8;
  --ember: #ffffff;
  --green: #ffffff;
  --red: #ffffff;
  --yellow: #ffffff;
  --mono: ui-monospace, Consolas, monospace;
  --sans:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  letter-spacing: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
select {
  font: inherit;
}
button,
a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
img {
  -webkit-user-drag: none;
  user-select: none;
  max-width: 100%;
  height: auto;
  display: block;
}
code,
pre {
  font-family: var(--mono);
  letter-spacing: 0;
}
code {
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}
.container {
  max-width: 1280px;
  padding-inline: 40px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 2000;
  padding: 12px 20px;
  background: white;
  color: black;
}
.skip-link:focus {
  top: 10px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.landing .header {
  position: absolute;
  width: 100%;
  background: transparent;
  border: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 96px;
}
.brand {
  white-space: nowrap;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-icon {
  width: 38px;
  height: 38px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a,
.nav-actions a,
.eyebrow,
.section-tag,
.sidebar-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.096em;
}
.nav-links a {
  text-decoration: none;
  display: block;
  padding-block: 12px;
}
.nav-links a:hover,
.nav-links a.active {
  text-decoration: underline;
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-primary {
  color: #ffffff;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 18px 24px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.btn-primary:hover,
.btn-secondary:hover {
  background: #ffffff;
  color: #000000;
}
.nav-actions .btn-secondary {
  padding: 12px 18px;
  min-height: 44px;
}
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.mobile-drawer {
  display: none;
  background: var(--bg);
  padding: 8px 24px 12px;
  max-height: calc(100svh - 80px);
  overflow-y: auto;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer.open {
  display: none;
}
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  text-decoration: none;
}
.hero {
  min-height: 820px;
  min-height: min(940px, 100svh);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  padding-block: 156px 100px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  width: 100%;
}
.eyebrow {
  display: block;
  margin-bottom: 28px;
  color: var(--text-muted);
}
h1,
h2,
.docs-h1 {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  max-width: 760px;
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}
.hero-sub {
  max-width: 395px;
  margin: 28px 0 32px;
  color: var(--text-muted);
}
.hero-foot {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}
.hero-foot a {
  text-decoration: none;
}
.section {
  padding-block: 56px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 24px;
}
.section-intro p:not(.eyebrow),
.split p:not(.eyebrow) {
  max-width: 540px;
  color: var(--text-muted);
  margin-top: 24px;
}
.workflow-figure {
  margin-block: 28px;
}
.workflow-figure img {
  width: 100%;
}
figcaption,
.caption {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 18px;
}
.editorial-rows article {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.editorial-rows article > span {
  color: var(--text-dim);
  font-size: 12px;
}
.editorial-rows h3 {
  font-size: 22px;
  font-weight: 400;
}
.editorial-rows p {
  color: var(--text-muted);
  font-size: 15px;
}
.text-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.install-section {
  background: var(--bg-subtle);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.quickstart-box {
  border: 1px solid var(--border);
  min-width: 0;
}
.quickstart-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.quickstart-tab {
  padding: 14px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  min-height: 48px;
}
.quickstart-tab.active {
  color: var(--text);
  border-bottom-color: white;
}
.quickstart-body {
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.quickstart-cmd {
  min-width: 0;
  display: flex;
  gap: 10px;
  font: 13px/1.8 var(--mono);
  overflow-wrap: anywhere;
}
.cmd-prompt {
  color: var(--text-dim);
}
.quickstart-copy,
.code-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  min-height: 44px;
  padding: 8px 12px;
  font-size: 12px;
}
.quickstart-copy {
  margin-left: auto;
}
.quickstart-copy:hover,
.code-copy-btn:hover:hover {
  border-color: white;
}
.evidence-links a {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
}
.evidence-links a span:last-child {
  color: var(--text-dim);
  font-size: 13px;
}
.footer {
  padding-block: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  background: white;
  color: black;
  padding: 14px 20px;
  z-index: 2000;
  visibility: hidden;
  font-size: 14px;
}
.toast.show {
  visibility: visible;
}
/* Documentation keeps technical content readable without marketing scale. */
.docs-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 80px;
  padding-top: 18px;
}
.docs-sidebar {
  position: sticky;
  top: 128px;
  align-self: start;
  max-height: calc(100svh - 150px);
  overflow-y: auto;
  padding-bottom: 32px;
}
.sidebar-group {
  margin-bottom: 32px;
}
.sidebar-heading {
  margin-bottom: 12px;
  color: var(--text-dim);
}
.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-link {
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
.sidebar-link.active {
  color: white;
  text-decoration: underline;
}
.docs-body {
  min-width: 0;
  max-width: 800px;
}
.docs-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
  margin-bottom: 36px;
  scroll-margin-top: 120px;
}
.docs-h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin-bottom: 24px;
}
.docs-h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 16px;
  text-transform: none;
}
.docs-lead,
.docs-p,
.docs-list {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.docs-list {
  padding-left: 24px;
}
.docs-list li {
  margin-block: 12px;
}
.docs-body details {
  margin-block: 16px;
  border-block: 1px solid var(--border);
}
.docs-body summary {
  font-size: 15px;
}
.code-container {
  position: relative;
  margin: 20px 0 24px;
}
.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-container:has(.code-copy-btn) .code-block {
  padding-top: 18px;
}
.code-copy-btn {
  position: static;
}
.inline-code {
  font-size: 0.9em;
}
.table-wrapper {
  overflow-x: auto;
  border-block: 1px solid var(--border);
  margin-block: 24px;
}
.opencode-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
.opencode-table th,
.opencode-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.opencode-table th {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.opencode-table td {
  color: var(--text-muted);
}
.docs-body table {
  min-width: 560px;
}
.storage-figure {
  margin-block: 32px;
}
.storage-figure img {
  width: 100%;
}
.mobile-toc-bar {
  display: none;
  position: sticky;
  top: 96px;
  z-index: 900;
  padding: 6px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mobile-toc {
  position: relative;
}
.mobile-toc summary {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 14px;
  border: 1px solid var(--border);
}
.mobile-toc-links {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(264px, 34svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 12px;
  box-shadow: 0 8px 24px #0008;
}
.mobile-toc-links a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
.mobile-toc-links a:hover {
  text-decoration: underline;
}

@media (min-width: 1500px) {
  .hero-art img {
    object-position: center 45%;
  }
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
  }
  .nav {
    gap: 20px;
  }
  .docs-layout {
    gap: 40px;
  }
  .split {
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav {
    min-height: 80px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .docs-sidebar {
    display: none;
  }
  .mobile-toc-bar {
    display: block;
    top: 80px;
  }
  .docs-section {
    scroll-margin-top: 150px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-intro .eyebrow {
    margin-bottom: 8px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-rows article {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }
  .editorial-rows p {
    grid-column: 2;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .container {
    padding-inline: 24px;
  }
  .hero {
    min-height: 850px;
    padding-top: 330px;
    padding-bottom: 112px;
    justify-content: flex-start;
  }
  .hero-art {
    height: 340px;
  }
  .hero-art img {
    object-position: center;
  }
  h1 {
    font-size: 40px;
    line-height: 0.98;
  }
  h2 {
    font-size: 36px;
  }
  .hero-content .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero-sub {
    margin-block: 24px;
    max-width: 340px;
  }
  .hero-foot {
    bottom: 28px;
    font-size: 10px;
  }
  .hero-foot span {
    max-width: 170px;
  }
  .section {
    padding-block: 64px;
  }
  .section-intro {
    margin-bottom: 32px;
  }
  .workflow-figure {
    margin-block: 32px;
  }
  .nav-actions .btn-secondary {
    font-size: 10px;
    padding: 10px 12px;
  }
  .brand {
    white-space: nowrap;
    font-size: 20px;
    gap: 8px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
  }
  .nav {
    gap: 8px;
  }
  .evidence-links a {
    flex-direction: column;
    gap: 4px;
  }
  .quickstart-body {
    padding: 20px 12px;
    gap: 8px;
  }
  .quickstart-copy {
    padding: 8px;
  }
  .quickstart-cmd {
    font-size: 12px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    gap: 20px;
  }
  .docs-h1 {
    font-size: 28px;
  }
  .code-block {
    padding: 16px;
    font-size: 12px;
  }
  .docs-layout {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  .mobile-drawer.open {
    display: block;
  }
}
@media (max-width: 600px) {
  .hero-art {
    top: 72px;
    height: 196px;
  }
  .hero-art img {
    object-position: right center;
  }
  .hero {
    min-height: 780px;
  }
}

@media (max-width: 360px) {
  .nav-actions .btn-secondary span {
    display: none;
  }
  .nav-actions .btn-secondary {
    width: 44px;
    padding: 10px;
  }
  .hero-foot {
    font-size: 9px;
  }
}
@media (min-width: 601px) and (max-width: 960px) {
  .hero {
    min-height: 0;
    padding-top: 360px;
    justify-content: flex-start;
  }
  .hero-art {
    top: 80px;
    height: 270px;
  }
  .hero-art img {
    object-fit: contain;
    object-position: right center;
  }
  h1 {
    font-size: 60px;
  }
}

/* Content uses one readable family; compact controls do not shrink body copy. */
.hero-sub,
.docs-p,
.docs-lead,
.docs-list,
.editorial-rows p {
  font-size: 16px;
  line-height: 1.7;
}
.caption,
figcaption {
  font-size: 14px;
}
button,
.btn-primary,
.btn-secondary,
a {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:disabled:hover {
  background: transparent;
}
.quickstart-tab {
  font-size: 14px;
  padding: 12px;
}
.quickstart-cmd {
  font-size: 14px;
  line-height: 1.7;
}
.quickstart-body {
  min-height: 88px;
  align-items: center;
}
.quickstart-copy,
.code-copy-btn {
  min-width: 86px;
}
.code-container {
  border: 1px solid var(--border);
  background: var(--surface);
}
.code-container .code-block {
  border: 0;
  padding: 18px;
  font-size: 14px;
  line-height: 1.65;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.code-toolbar > span {
  font-size: 12px;
  color: var(--text-dim);
}
.code-copy-btn {
  min-height: 36px;
  font-size: 13px;
}
.workflow-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.workflow-flow li {
  position: relative;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.workflow-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -24px;
  width: 20px;
  text-align: center;
  top: 48px;
  color: var(--text-muted);
  font-size: 24px;
}
.flow-number {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 12px;
}
.workflow-flow strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}
.workflow-flow li > span:last-child {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .docs-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .workflow-flow {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 440px;
    margin-inline: auto;
  }
  .workflow-flow li {
    text-align: left;
    padding: 12px 16px;
    border: 1px solid var(--border);
  }
  .workflow-flow li:not(:last-child)::after {
    content: "↓";
    top: auto;
    bottom: -30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    line-height: 28px;
  }
  .flow-number {
    margin-bottom: 4px;
  }
  .workflow-flow strong {
    margin-bottom: 4px;
  }
}
@media (max-width: 860px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: clamp(32px, 9vw, 40px);
  }
  h2 {
    font-size: 30px;
  }
  .hero {
    min-height: 0;
    padding-top: 280px;
    padding-bottom: 76px;
  }
  .section {
    padding-block: 36px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .brand {
    white-space: nowrap;
    font-size: 18px;
    letter-spacing: 0.06em;
  }
  .nav-actions .btn-secondary span {
    display: none;
  }
  .nav-actions .btn-secondary {
    width: 44px;
    padding: 10px;
  }
  .quickstart-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .quickstart-tab {
    font-size: 14px;
  }
  .quickstart-body {
    flex-wrap: wrap;
    min-height: 0;
  }
  .quickstart-cmd {
    width: 100%;
    font-size: 13px;
  }
  .quickstart-copy {
    margin-left: 0;
  }
  .code-container .code-block {
    padding: 14px;
    font-size: 13px;
  }
  .docs-h1 {
    font-size: 26px;
    text-transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  .docs-body details::details-content {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
