/* Generated by scripts/build.py. Edit src/styles/. */
/* tokens.css */
/* Change the palette here. Text and surface roles stay separate. */
:root {
  color-scheme: dark;
  --canvas: #0b0a0a;
  --paper: #171311;
  --ink: #f0ead6;
  --muted: #b2a89f;
  --line: #3b302b;
  --accent: #ff946f;
  --accent-hover: #ffb59a;
  --header-height: 78px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}

/* base.css */
* {
  box-sizing: border-box;
 
}
body {
  margin: 0;
 
}
img {
  display: block;
  max-width: 100%;
  height: auto;
 
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
 
}
a:hover {
  color: var(--accent-hover);
 
}
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
 
}
figure {
  margin: 0;
 
}
h1, h2, h3, p {
  margin-top: 0;
 
}
h1, h2, h3 {
  line-height: 1.18;
  font-weight: 650;
 
}
h1 {
  font-size: 44px;
  margin-bottom: 20px;
 
}
h2 {
  font-size: 32px;
  margin-bottom: 20px;
 
}
h3 {
  font-size: 21px;
 
}
p {
  margin-bottom: 18px;
 
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
 
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 10px 20px;
  background: var(--paper);
  color: var(--ink);
  z-index: 30;
 
}
.skip:focus {
  top: 12px;
 
}

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
 
}
:target {
  scroll-margin-top: 24px;
 
}
::selection {
  background: #ff946f;
  color: #0b0a0a;
 
}
a {
  transition: color 160ms ease, background-color 160ms ease;
 
}
h1, h2 {
  letter-spacing: -.035em;
 
}
@media (prefers-reduced-motion: reduce) {
  a {
  transition: none;
 
}
}

/* navigation.css */
/* Sticky keeps the header anchored without taking it out of document flow. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
 
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
  background: rgb(11 10 10 / 86%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
 
}
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  min-height: var(--header-height);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 42px;
 
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: 720;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
 
}
.brand img {
  width: 36px;
  height: 36px;
 
}
.header-inner nav {
  display: flex;
  gap: 28px;
 
}
.header-inner nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
 
}
.header-inner nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--accent);
 
}
.author-link {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
 
}

.header-inner nav a:hover, .author-link:hover {
  color: var(--ink);
 
}
.header-inner nav a[aria-current] {
  border-bottom-color: var(--accent);
 
}

/* overview.css */
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 760;
  color: var(--accent);
  letter-spacing: .16em;
  margin-bottom: 16px;
 
}
.intro {
  padding-block: 90px 54px;
  position: relative;
 
}
.intro h1 {
  font-size: clamp(64px, 8.5vw, 110px);
  line-height: 1;
  margin-bottom: 26px;
  font-weight: 730;
  letter-spacing: -.065em;
 
}
.lead {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  font-weight: 430;
  margin-bottom: 20px;
 
}
.intro-copy {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
 
}
.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
 
}
.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
 
}
.button.primary {
  background: var(--accent);
  color: var(--canvas);
 
}
.button.primary:hover {
  background: var(--accent-hover);
 
}
.text-link {
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
 
}
.text-link span {
  margin-left: 12px;
 
}
.requirements {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 0;
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--muted);
 
}
.requirements li:last-child {
  color: var(--accent);
 
}
.workspace img {
  width: 100%;
  height: auto;
 
}
.workspace a {
  display: block;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgb(0 0 0 / 35%);
 
}
figcaption {
  color: var(--muted);
  font-size: 12px;
  padding-block: 14px;
 
}
.workspace figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
 
}
.workspace figcaption span {
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
 
}
.section {
  padding-block: 88px;
 
}
.section-heading {
  max-width: 690px;
  margin-bottom: 40px;
 
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
 
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
 
}
.feature-grid article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
 
}
.feature-number {
  color: var(--accent);
  font: 12px ui-monospace, monospace;
  display: block;
  margin-bottom: 16px;
 
}
.feature-grid h3 {
  margin-bottom: 12px;
 
}
.feature-grid p {
  color: var(--muted);
 
}
.feature-grid a {
  font-size: 14px;
 
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .85em;
  background: var(--paper);
  padding: 2px 5px;
  border-radius: 3px;
  overflow-wrap: anywhere;
 
}
.analysis-band {
  background: var(--paper);
  border-block: 1px solid var(--line);}
.analysis-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
 
}
.analysis-list h3 {
  font-size: 19px;
 
}
.analysis-list > div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
 
}
.analysis-list p {
  font-size: 14px;
  color: var(--muted);
 
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
 
}
.gallery img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--line);
 
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 48px 72px;
  border-top: 1px solid var(--line);
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 16px 72px;
}
.closing h2 {
  font-size: 28px;
 
}
.closing-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
 
}

.overview {
  background: radial-gradient(ellipse 70% 650px at 85% 0, rgb(255 120 78 / 7%), transparent);
 
}
.requirements li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
 
}
.requirements li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
 
}

/* footer.css */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px max(32px, calc((100% - 1120px) / 2));
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.site-footer .brand {
  font-size: 16px;
}
.site-footer small {
  color: var(--muted);
  font-size: 11px;
}
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-size: 12px;
}
.site-footer nav a {
  padding-block: 8px;
  color: var(--muted);
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--ink);
}

/* documentation.css */
.docs-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 60px;
  padding-block: 56px 90px;
 
}
.sidebar {
  font-size: 13px;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  max-height: calc(100dvh - var(--header-height) - 56px);
  overflow-y: auto;
 
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
 
}
.sidebar a {
  padding: 6px 0;
  text-decoration: none;
  color: var(--muted);
  line-height: 1.45;
 
}
.sidebar a[aria-current] {
  color: var(--accent);
  font-weight: 750;
 
}
.sidebar .toc {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
 
}
.sidebar .eyebrow {
  margin-bottom: 8px;
 
}
.sidebar nav:empty {
  display: none;
 
}
.sidebar .toc:first-child,
.sidebar nav:empty + .toc {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
 
}
.prose {
  min-width: 0;
  max-width: 820px;
 
}
.prose h1 {
  font-size: 40px;
 
}
.prose h2 {
  font-size: 26px;
  padding-top: 30px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
 
}
.prose h3 {
  font-size: 20px;
  margin-top: 32px;
 
}
.prose p, .prose li {
  overflow-wrap: anywhere;
 
}
.prose li {
  margin-bottom: 8px;
 
}
.prose ul, .prose ol {
  padding-left: 24px;
 
}
.prose pre {
  max-width: 100%;
  overflow-x: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.7;
 
}
.prose pre code {
  padding: 0;
  background: transparent;
  font-size: inherit;
  overflow-wrap: normal;
 
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  table-layout: fixed;
  margin-block: 24px;
 
}
.prose th, .prose td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: top;
 
}
.prose th {
  background: var(--paper);
  font-weight: 650;
 
}
.prose th:first-child {
  width: 35%;
 
}
.prose blockquote {
  margin: 24px 0;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  color: var(--muted);
 
}
.source-note {
  font-size: 12px;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
 
}

.prose > .section {
  padding-block: 12px;
 
}

/* downloads.css */
.lead-small {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
 
}
.content-page {
  padding-block: 56px 90px;
 
}
.page-heading {
  max-width: 680px;
  margin-bottom: 44px;
 
}
.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding-block: 32px;
  border-top: 1px solid var(--line);
 
}
.download-row h2 {
  font-size: 25px;
 
}
.download-row .eyebrow {
  margin-bottom: 10px;
 
}
.download-row p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
 
}
details {
  border-block: 1px solid var(--line);
  padding-block: 18px;
 
}
summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 650;
 
}
details[open] summary {
  margin-bottom: 24px;
 
}

.source-download {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.source-download > p, .command-card > p {
  color: var(--muted);
}
.command-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  min-width: 0;
}
.command-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.command-heading h3 {
  margin: 0;
  font-size: 18px;
}
.command-card > p {
  margin-block: 10px 16px;
  font-size: 14px;
}
.command-card pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.command-card code {
  padding: 0;
  background: transparent;
  font-size: inherit;
  user-select: all;
}
.copy-command {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.copy-command:hover { border-color: var(--accent); }
.copy-command:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.copy-status { min-height: 1.65em; margin-block: 12px 0; font-size: 13px; }

/* responsive.css */
@media (min-width: 1500px) {
  .intro {
  padding-top: 100px;
 
}
}
@media (max-width: 1000px) {
  .author-link {
  display: none;
 
}
  .header-inner {
  justify-content: space-between;
  gap: 24px;
 
}
  .docs-layout {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
 
}
  .analysis-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
 
}
}
@media (max-width: 700px) {
  :root {
  --header-height: 64px;
 
}
  .wrap {
  width: calc(100% - 36px);
 
}
  .header-inner {
    padding: 8px 14px;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .header-inner .brand {
    flex-shrink: 0;
  }
  .header-inner .brand span {
    display: none;
  }
  .header-inner .brand img {
    width: 32px;
    height: 32px;
  }
  .header-inner nav {
    flex: 1;
    min-width: 0;
    justify-content: space-between;
    gap: 10px;
  }
  .header-inner nav a {
    padding-block: 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .brand {
  font-size: 18px;
 
}
  .intro {
  padding-block: 48px 32px;
 
}
  .intro h1 {
  font-size: clamp(48px, 12vw, 76px);
 
}
  .lead {
  font-size: 24px;
 
}
  .intro-copy {
  font-size: 15px;
 
}
  .actions {
  gap: 20px;
  margin-top: 20px;
 
}
  .requirements {
  font-size: 10px;
  gap: 6px 14px;
 
}
  .section {
  padding-block: 44px;
 
}
  h2 {
  font-size: 28px;
 
}
  .section-heading {
  margin-bottom: 30px;
 
}
  .feature-grid, .gallery {
  grid-template-columns: 1fr;
  gap: 26px;
 
}
  .analysis-list {
  gap: 18px;
 
}
  .analysis-list h3 {
  font-size: 17px;
 
}
  .closing {
  flex-direction: column;
  align-items: flex-start;
  padding-block: 32px 44px;
  gap: 16px;
}

.download {
  flex-direction: column;
  align-items: flex-center;
  padding-block: 32px 44px;
  gap: 16px;
}
  .site-footer {
    padding: 24px 18px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-identity {
    flex-direction: column;
    gap: 4px;
  }
  .site-footer nav {
    justify-content: center;
    gap: 4px 18px;
  }
  .docs-layout {
  display: block;
  padding-block: 24px 56px;
 
}
  .sidebar {
  position: static;
  max-height: none;
  overflow: visible;
  margin-bottom: 32px;
 
}
  .sidebar nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
 
}
  .sidebar .toc {
  display: none;
 
}
  .prose h1, .page-heading h1 {
  font-size: 32px;
 
}
  .prose h2 {
  font-size: 24px;
 
}
  .prose table {
  font-size: 12px;
 
}
  .prose td, .prose th {
  padding: 8px;
 
}
  .content-page {
  padding-block: 32px 56px;
 
}
  .download-row {
  grid-template-columns: 1fr;
  gap: 12px;
 
}
  .download-row > .button {
  justify-self: start;
 
}
}
@media print {
  .site-header, .site-footer, .sidebar, .skip, .actions {
  display: none;
 
}
  body {
  background: white;
  color: black;
 
}
  .wrap {
  width: 100%;
 
}
  .docs-layout {
  display: block;
 
}
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
  background: var(--canvas);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
 
}
}
@media print {
  :root {
  color-scheme: light;
  --ink: #111;
  --muted: #444;
  --accent: #333;
  --paper: #f5f5f5;
  --line: #bbb;
  --canvas: #fff;
 
}
  .overview {
  background: none;
 
}
}
