/* Copyright (c) 2026 ifielsc */
/* SPDX-License-Identifier: MIT */

:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f5f7fc;
  --surface-2: #eef3ff;
  --text: #172844;
  --muted: #5c6c84;
  --line: #dce3ef;
  --blue: #315ee9;
  --blue-soft: #e9efff;
  --paper: #fff;
  --shadow: 0 24px 65px #243d7918;
  --header: #fffffff2;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101724;
  --surface: #161f30;
  --surface-2: #1b2943;
  --text: #e7edf9;
  --muted: #a6b5cc;
  --line: #2a3a53;
  --blue: #93b0ff;
  --blue-soft: #202f51;
  --paper: #192436;
  --shadow: 0 24px 65px #0004;
  --header: #101724f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 46px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 20px;
}
p {
  color: var(--muted);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 18px;
}
.quiet {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  max-width: 1440px;
  padding: 0 32px;
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.brand img {
  object-fit: contain;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-left: 5px;
  font-weight: 700;
  color: var(--muted);
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
}
#site-nav a {
  font-size: 14px;
  white-space: nowrap;
}
#site-nav a:hover,
#site-nav [aria-current="page"] {
  color: var(--blue);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-open {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
}
.search-open kbd {
  font: 10px inherit;
  color: var(--muted);
}
.language {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.icon-button {
  background: transparent;
  border: 0;
  padding: 6px;
  font-size: 20px;
  line-height: 1.4;
}
.menu-button {
  display: none;
}
.hero {
  padding-top: 82px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 44px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(32px, 3.25vw, 48px);
  font-weight: 750;
  margin: 0 0 24px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.hero-copy em {
  font-style: normal;
  color: var(--blue);
}
.intro {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 11px 21px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}
.button.primary {
  background: var(--blue);
  color: var(--bg);
}
.button.secondary {
  border-color: var(--line);
  background: var(--paper);
}
.button:hover {
  transform: translateY(-1px);
}
.hero-meta {
  font-size: 12px;
  margin: 24px 0 0;
  color: var(--muted);
}
.hero-meta span {
  margin: 0 8px;
}
.hero-figure {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-5deg);
}
.window-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 11px 15px;
  background: var(--surface);
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.window-dots {
  letter-spacing: 3px;
  color: #98a9c5;
  font-size: 9px;
}
.window-version {
  margin-left: auto;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: contain;
  background: #fff;
}
.hero-figure figcaption {
  font-size: 10px;
  text-align: center;
  padding: 9px;
  color: var(--muted);
}
.zoom {
  display: block;
  cursor: zoom-in;
}
.capability-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.capability-strip span::before {
  content: "+";
  color: var(--blue);
  margin-right: 9px;
}
.section {
  padding-top: 76px;
  padding-bottom: 76px;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin-bottom: 14px;
}
.section-heading p:last-child {
  margin: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ordinal {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--blue);
}
.feature h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.feature h3 span {
  color: var(--muted);
  font-size: 16px;
}
.feature p {
  font-size: 14px;
  margin: 0;
}
.feature:hover h3,
.case:hover h3,
.step:hover h3 {
  color: var(--blue);
}
.scenario-section {
  background: var(--surface);
}
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.case {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.case .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}
.case h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.case p {
  font-size: 14px;
  max-width: 480px;
}
.case-bottom {
  width: 100%;
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.case code {
  font-family: Consolas, monospace;
  overflow-wrap: anywhere;
}
.shot-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.shot-tab {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  padding: 8px 18px;
  font-size: 13px;
}
.shot-tab[aria-pressed="true"] {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
}
.gallery {
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: auto;
  background: #fff;
}
.gallery figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  background: var(--surface);
  font-size: 13px;
}
.gallery figcaption a {
  color: var(--blue);
}
.image-note {
  font-size: 12px;
  max-width: 900px;
  margin-top: 18px;
}
.getting-started {
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.step {
  display: flex;
  gap: 18px;
}
.step > span {
  font:
    13px Consolas,
    monospace;
  padding-top: 5px;
  color: var(--blue);
}
.step h3 {
  font-size: 18px;
}
.step p {
  font-size: 14px;
  margin-bottom: 0;
}
.deploy {
  padding-top: 38px;
  padding-bottom: 38px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  background: var(--surface-2);
  border-radius: 12px;
  margin-bottom: 75px;
}
.deploy h2 {
  font-size: 24px;
}
.deploy p {
  margin: 0;
  font-size: 14px;
}
.deploy-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
}
.site-footer {
  max-width: 1240px;
  margin: auto;
  padding: 20px 32px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.site-footer p {
  font-size: 12px;
  margin: 8px 0;
}
.site-footer small {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
}
.preview-label {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 5px;
}
.docs-layout {
  max-width: 1600px;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 36px;
  padding: 0 32px;
  margin: auto;
}
.sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 18px 40px 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
  scrollbar-width: thin;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 22px;
}
.sidebar-heading span {
  font-size: 11px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 5px;
  padding: 1px 7px;
}
.sidebar details {
  margin-bottom: 9px;
}
.sidebar summary {
  padding: 8px 0;
  font-weight: 650;
  list-style: none;
}
.sidebar summary::before {
  content: "›";
  display: inline-block;
  width: 15px;
  color: var(--muted);
}
.sidebar details[open] summary::before {
  transform: rotate(90deg);
}
.sidebar details a {
  display: block;
  color: var(--muted);
  padding: 7px 10px 7px 16px;
  border-radius: 5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.sidebar a:hover {
  color: var(--blue);
  background: var(--surface);
}
.sidebar a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
}
.sidebar-extra {
  display: block;
  margin-top: 20px;
  color: var(--muted);
}
.doc-main {
  min-width: 0;
  padding: 30px 0 28px;
  max-width: none;
}
.doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.doc-toolbar .breadcrumbs {
  margin: 0;
  flex-wrap: wrap;
}
.toc-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  flex-shrink: 0;
}
.toc-toggle:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.doc-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 36px;
  align-items: start;
}
.doc-reading-layout.toc-collapsed {
  grid-template-columns: minmax(0, 1fr);
}
.doc-body {
  min-width: 0;
}
.doc-body .prose > p,
.doc-body .prose > ul,
.doc-body .prose > ol {
  max-width: 900px;
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--blue);
}
.prose {
  font-size: 15px;
  overflow-wrap: break-word;
}
.prose h1 {
  font-size: 32px;
  margin-bottom: 25px;
  line-height: 1.5;
}
.prose h2 {
  font-size: 23px;
  margin: 42px 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}
.prose h3 {
  font-size: 18px;
  margin: 30px 0 14px;
  line-height: 1.5;
}
.prose p {
  color: var(--text);
  margin-bottom: 18px;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .zoom {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.prose .zoom img {
  width: 100%;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li {
  margin: 7px 0;
}
.prose code {
  font-family: Consolas, "Cascadia Code", monospace;
  background: var(--surface);
  color: var(--text);
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.prose pre {
  position: relative;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px 18px 18px;
  overflow-x: auto;
  tab-size: 2;
  scrollbar-width: thin;
}
.prose pre code {
  padding: 0;
  font-size: 13px;
  white-space: pre;
  overflow-wrap: normal;
  background: transparent;
}
.copy-button {
  position: absolute;
  right: 9px;
  top: 7px;
  font-size: 11px;
  padding: 4px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  scrollbar-width: thin;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.prose th {
  background: var(--surface);
  font-weight: 650;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 11px 13px;
  vertical-align: top;
  min-width: 110px;
}
.prose td:first-child {
  min-width: 150px;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose blockquote,
.notice {
  border-left: 3px solid var(--blue);
  background: var(--surface);
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--muted);
}
.prose .notice {
  font-size: 13px;
  color: var(--muted);
}
.toc {
  position: sticky;
  top: 105px;
  align-self: start;
  max-height: calc(100vh - 135px);
  overflow: auto;
  scrollbar-width: thin;
  font-size: 11px;
  padding: 0 0 20px 15px;
  border-left: 1px solid var(--line);
  margin-top: 0;
}
.toc > span {
  font-weight: 650;
  display: block;
  margin-bottom: 10px;
}
.toc a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
  line-height: 1.5;
}
.toc a:hover {
  color: var(--blue);
}
.toc .level-3 {
  padding-left: 10px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.pager a {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 8px;
}
.pager small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
}
.pager a:last-child {
  text-align: right;
}
.pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.doc-footnote {
  font-size: 11px;
  margin-top: 18px;
}
.docs-menu {
  display: none;
}
.doc-intro {
  font-size: 17px;
  color: var(--muted) !important;
}
.reading-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}
.prose .reading-path {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: var(--surface);
}
.prose .reading-path h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 17px;
  color: var(--text);
}
.prose .reading-path p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.editorial {
  max-width: 900px;
  padding-top: 60px;
  padding-bottom: 75px;
}
.editorial .prose h1 {
  font-size: 38px;
}
.editorial .prose > p:first-of-type {
  font-size: 18px;
  color: var(--muted);
}
dialog {
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  max-height: 85vh;
  width: min(700px, calc(100% - 30px));
  overflow: auto;
}
dialog::backdrop {
  background: #0b163b88;
  backdrop-filter: blur(4px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.dialog-header h2 {
  font-size: 20px;
  margin: 0;
}
#search-input {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}
#search-status {
  font-size: 12px;
  margin: 15px 0;
}
#search-results a {
  display: block;
  padding: 16px 8px;
  border-top: 1px solid var(--line);
}
#search-results h3 {
  font-size: 16px;
  margin: 0 0 7px;
  color: var(--blue);
}
#search-results p {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
#image-dialog {
  width: min(1480px, calc(100% - 24px));
  padding: 14px;
}
#image-dialog .dialog-close {
  display: block;
  margin: 0 0 12px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
}
#image-dialog img {
  width: 100%;
  height: auto;
}
#image-dialog p {
  font-size: 12px;
  margin: 12px 0 0;
}
body.modal-open {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .hero-copy h1 {
    font-size: 48px;
  }
}
@media (max-width: 1180px) {
  .header-inner {
    gap: 20px;
    padding: 0 24px;
  }
  #site-nav {
    gap: 18px;
  }
  .search-open kbd {
    display: none;
  }
  .docs-layout {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 28px;
    padding: 0 25px;
  }
  .toc {
    position: static;
    grid-row: 1;
    margin: 0;
    max-height: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
  .doc-reading-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .hero {
    gap: 30px;
    padding-top: 65px;
  }
  .site-footer nav {
    gap: 16px;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
  .intro {
    font-size: 15px;
  }
}
@media (max-width: 950px) {
  .header-inner {
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 13px;
    padding-bottom: 13px;
    min-height: 70px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .header-tools {
    gap: 12px;
  }
  #site-nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    padding: 14px 0;
    flex-wrap: wrap;
  }
  #site-nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    gap: 35px;
  }
  .hero-copy {
    max-width: 660px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .intro {
    max-width: 620px;
    font-size: 16px;
  }
  .hero-figure {
    transform: none;
    max-width: 720px;
  }
  .hero-figure img {
    max-height: 490px;
    object-fit: contain;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .deploy {
    margin-left: 25px;
    margin-right: 25px;
    gap: 25px;
  }
  .docs-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }
  .sidebar {
    top: 70px;
    max-height: calc(100vh - 70px);
  }
  .prose h1 {
    font-size: 27px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .reading-paths {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  h2 {
    font-size: 27px;
  }
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .header-inner {
    padding: 12px 18px;
    gap: 10px;
  }
  .brand small {
    font-size: 9px;
  }
  .header-tools {
    gap: 8px;
  }
  .search-open {
    font-size: 0;
    padding: 4px 7px;
    border: 0;
    background: transparent;
  }
  .search-open::before {
    content: "⌕";
    font-size: 24px;
    line-height: 1;
  }
  .search-open span {
    display: none;
  }
  .icon-button {
    padding: 6px;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 35px;
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.45;
  }
  .intro {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .hero-figure img {
    max-height: none;
  }
  .capability-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 10px;
    margin: 0 22px;
    padding-left: 0;
    padding-right: 0;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .features {
    gap: 24px;
  }
  .feature h3 {
    font-size: 17px;
  }
  .feature p {
    font-size: 13px;
  }
  .cases {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case {
    padding: 25px;
  }
  .case h3 {
    font-size: 21px;
  }
  .shot-tabs {
    gap: 7px;
  }
  .shot-tab {
    padding: 8px 12px;
    font-size: 12px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .deploy {
    grid-template-columns: 1fr;
    margin: 0 22px 45px;
    padding: 28px 22px;
    gap: 22px;
  }
  .deploy h2 {
    font-size: 23px;
  }
  .site-footer {
    padding: 22px;
    gap: 18px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .preview-label {
    width: 100%;
  }
  .docs-layout {
    display: block;
    padding: 0 20px;
  }
  .sidebar {
    display: none;
    position: static;
    max-height: calc(100vh - 148px);
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar.open {
    display: block;
  }
  .docs-menu {
    display: block;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 12px;
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 25px;
  }
  .doc-main {
    padding-top: 22px;
  }
  .doc-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .prose {
    font-size: 14px;
  }
  .prose h1 {
    font-size: 25px;
  }
  .prose h2 {
    font-size: 20px;
  }
  .prose h3 {
    font-size: 17px;
  }
  .prose th,
  .prose td {
    padding: 10px;
    font-size: 12px;
  }
  .prose pre code {
    font-size: 12px;
  }
  .pager {
    gap: 10px;
  }
  .pager a {
    padding: 12px;
    font-size: 12px;
  }
  .editorial {
    padding-top: 36px;
    padding-bottom: 45px;
  }
  .editorial .prose h1 {
    font-size: 28px;
  }
  .editorial .prose > p:first-of-type {
    font-size: 16px;
  }
  dialog {
    padding: 18px;
  }
  #search-input {
    font-size: 16px;
  }
  .reading-paths {
    grid-template-columns: 1fr;
  }
  .gallery figcaption {
    padding: 12px;
  }
  .hero-meta {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand small {
    display: none;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .actions .button {
    padding: 10px 15px;
    font-size: 12px;
  }
  .capability-strip {
    font-size: 9px;
  }
  .shot-tab {
    padding: 8px 9px;
  }
  .case-bottom {
    font-size: 10px;
  }
  .prose h1 {
    font-size: 23px;
  }
  .site-footer nav {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.mobile-docsbar {
  display: none;
}
@media (max-width: 700px) {
  .mobile-docsbar {
    display: block;
    position: sticky;
    top: 70px;
    z-index: 20;
    background: var(--bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-docsbar .docs-menu {
    margin-bottom: 0;
  }
}

.concept-flow {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.concept-flow > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.concept-flow span,
.concept-flow strong {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text);
}
.concept-flow strong {
  color: var(--blue);
}
