/* Exact palette and type families from the Anicca reference. */
:root {
  --bg: #ffffff;
  --bg2: #fafafa;
  --surface: #ffffff;
  --fg: #18181b;
  --muted: #52525b;
  --faint: #71717a;
  --border: #e4e4e7;
  --border2: #d4d4d8;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --accent: #0f766e;
  --accent-soft: #f0fdfa;
  --accent-muted: #99f6e4;
  --on-primary: #ffffff;
  --secondary: #f4f4f5;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', monospace;
  color-scheme: light;
}
.dark {
  --bg: #09090b;
  --bg2: #111113;
  --surface: #18181b;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --faint: #a1a1aa;
  --border: #27272a;
  --border2: #3f3f46;
  --accent: #2dd4bf;
  --accent-soft: #102421;
  --secondary: #27272a;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* Scrollbar rules retained from the reference project's src/index.css. */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}
.dark ::-webkit-scrollbar-thumb {
  background: #3f3f46;
}
body:has(dialog[open]) {
  overflow: hidden;
}
::selection {
  background: var(--accent-muted);
  color: #18181b;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
img,
svg {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(42px, 5.3vw, 72px);
}
h2 {
  font-size: clamp(30px, 3.2vw, 43px);
}
h3 {
  font-size: 22px;
}
p {
  color: var(--muted);
}
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.skip-link:focus {
  top: 8px;
}
.eyebrow {
  display: block;
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.announcement {
  min-height: 34px;
  padding: 6px 24px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}
.announcement a {
  margin-left: 15px;
  color: var(--accent);
  font-weight: 500;
}
.announcement a:hover {
  text-decoration: underline;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1360px;
  min-height: 72px;
  padding-inline: 32px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.wordmark {
  font: 700 26px/1 var(--display);
  letter-spacing: -0.065em;
  color: var(--fg);
}
.wordmark span {
  color: var(--primary);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.desktop-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding-block: 12px;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
}
.icon-button:hover {
  background: var(--secondary);
  color: var(--fg);
}
.theme-sun {
  display: none;
}
.dark .theme-sun {
  display: block;
}
.dark .theme-moon {
  display: none;
}
.search-trigger {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--bg2);
  color: var(--muted);
  font-size: 11px;
}
kbd {
  font: 10px/1.4 var(--mono);
  border: 1px solid var(--border2);
  border-radius: 3px;
  padding: 2px 4px;
  color: var(--muted);
}
.search-trigger kbd {
  margin-left: 16px;
}
.mobile-menu-button {
  display: none;
}
.button {
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  background: var(--secondary);
  border-color: var(--muted);
}
.button-primary {
  background: var(--primary-hover);
  border-color: var(--primary);
  color: var(--on-primary);
}
.button-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  filter: brightness(0.92);
}
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.small-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  padding-block: 84px 66px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero .eyebrow {
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 24px;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.065em;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  max-width: 450px;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.development-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 420px;
}
.development-note svg {
  margin-top: 1px;
}
.development-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.workflow {
  position: relative;
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 0 26px;
  background: var(--bg2);
  box-shadow: 0 20px 70px -35px #0d948825;
}
.workflow:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -22px;
  background-image: radial-gradient(var(--border2) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  opacity: 0.7;
}
.workflow-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
  font: 10px var(--mono);
  color: var(--muted);
}
.workflow-top span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}
.workflow-owner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
  font-size: 12px;
}
.workflow-owner strong {
  font-weight: 500;
}
.tiny-label {
  font: 9px var(--mono);
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.agent {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 19px 17px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  transition:
    border-color 0.25s,
    background 0.25s;
}
.agent-primary {
  border-color: var(--primary);
  background: var(--accent-soft);
}
.agent-number {
  font: 11px var(--mono);
  color: var(--faint);
}
.agent-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 15px var(--display);
}
.agent-detail {
  display: block;
  font: 10px var(--mono);
  color: var(--muted);
  margin-top: 6px;
}
.agent-state {
  font: 9px var(--mono);
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--accent);
}
.agent-state.next {
  color: var(--muted);
}
.agent-state.after {
  display: none;
}
.connector {
  padding: 13px 12px 13px 34px;
  margin-left: 25px;
  border-left: 1px dashed var(--border2);
  font: 9px/1.8 var(--mono);
  color: var(--faint);
}
.connector span {
  color: var(--accent);
}
.workflow.switched .agent-primary {
  background: var(--surface);
  border-color: var(--border);
}
.workflow.switched .agent-secondary {
  background: var(--accent-soft);
  border-color: var(--primary);
}
.workflow.switched .before {
  display: none;
}
.workflow.switched .after {
  display: inline-flex;
}
.workflow-bottom {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding-block: 22px;
  font: 9px var(--mono);
  color: var(--muted);
}
.workflow-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  padding: 5px 7px;
  border-radius: 4px;
}
.workflow-preview {
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  padding: 14px 0;
  width: 100%;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.workflow-caption {
  color: var(--faint);
  font: 9px/1.6 var(--mono);
  margin: 13px 0 0;
  text-align: center;
}
.principles {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principles-inner {
  display: flex;
  gap: 25px;
  padding-block: 22px;
  justify-content: space-between;
  font: 10px var(--mono);
  color: var(--muted);
}
.principles-inner span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.principles-inner svg {
  color: var(--accent);
}
.section {
  padding-block: 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin: 14px 0 0;
}
.section-heading > p {
  max-width: 330px;
  font-size: 13px;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.feature {
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-top {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  margin-bottom: 27px;
}
.feature-top span {
  font: 10px var(--mono);
  color: var(--faint);
}
.feature h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  margin-bottom: 11px;
}
.feature p {
  font-size: 12px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.feature .small-link {
  font-size: 11px;
}
.section-surface {
  background: var(--bg2);
  border-block: 1px solid var(--border);
}
.native-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.native-grid h2 {
  margin-top: 16px;
}
.native-grid > div > p {
  font-size: 14px;
  max-width: 440px;
}
.ownership-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ownership-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}
.ownership-list li:first-child {
  padding-top: 0;
}
.ownership-list svg {
  margin-top: 3px;
  color: var(--accent);
}
.ownership-list h3 {
  font: 500 14px var(--sans);
  letter-spacing: 0;
  margin-bottom: 5px;
}
.ownership-list p {
  font-size: 12px;
  margin: 0;
}
.build-status {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.build-status h2 {
  margin-top: 15px;
}
.status-rows {
  border-top: 1px solid var(--border);
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 3px 7px;
  font: 9px/1.6 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.badge-contract,
.badge-overview {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}
.badge-open {
  color: var(--fg);
  border-style: dashed;
}
.cta {
  border-top: 1px solid var(--border);
  padding-block: 50px;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.cta h2 {
  font-size: 28px;
  margin-bottom: 7px;
}
.cta p {
  margin-bottom: 0;
  font-size: 12px;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 35px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-inner .wordmark {
  font-size: 21px;
}
.footer-inner p {
  font-size: 10px;
  margin: 9px 0 0;
}
.footer-inner nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.footer-inner nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.footer-inner nav a:hover {
  color: var(--accent);
}
.footer-note {
  font: 9px var(--mono);
  color: var(--faint);
  white-space: nowrap;
}
.page-hero {
  padding-top: 65px;
  padding-bottom: 40px;
  max-width: 830px;
}
.page-hero h1 {
  font-size: clamp(38px, 4.4vw, 55px);
  margin: 15px 0 18px;
}
.page-hero > p {
  font-size: 16px;
  max-width: 650px;
}
.page-content {
  padding-bottom: 70px;
}
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 18px 20px;
  border-radius: 0 6px 6px 0;
  background: var(--bg2);
  margin: 25px 0;
}
.callout svg {
  color: var(--accent);
  margin-top: 2px;
}
.callout p {
  margin: 0;
  font-size: 12px;
}
.callout strong {
  color: var(--fg);
  font-weight: 600;
}
.docs-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 190px;
  max-width: 1380px;
  margin-inline: auto;
  gap: 45px;
  padding-inline: 32px;
}
.docs-sidebar {
  position: sticky;
  top: 73px;
  height: calc(100dvh - 73px);
  overflow-y: auto;
  padding: 30px 17px 45px 0;
  border-right: 1px solid var(--border);
}
.sidebar-overview {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  padding-bottom: 20px;
}
.docs-sidebar h2,
.docs-mobile-nav h2 {
  font: 600 11px var(--sans);
  letter-spacing: 0;
  margin: 24px 0 10px;
  color: var(--fg);
}
.docs-sidebar ul,
.docs-mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-sidebar li a,
.docs-mobile-nav li a {
  display: block;
  padding: 6px 10px;
  margin-left: -10px;
  color: var(--muted);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
}
.docs-sidebar li a:hover,
.docs-mobile-nav li a:hover {
  background: var(--bg2);
  color: var(--fg);
}
.docs-sidebar li a[aria-current],
.docs-mobile-nav li a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
  border-left: 2px solid var(--primary);
}
.article-main {
  min-width: 0;
  padding-block: 32px 70px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.article-header h1 {
  margin: 15px 0 13px;
  font-size: clamp(33px, 3.2vw, 43px);
  line-height: 1.12;
}
.article-header > p {
  font-size: 14px;
  margin-bottom: 0;
}
.article-labels {
  display: flex;
  gap: 12px;
  align-items: center;
}
.article-labels .eyebrow {
  font-size: 9px;
}
.prose {
  font-size: 13px;
  line-height: 1.95;
}
.prose p {
  margin-bottom: 20px;
}
.prose h2 {
  font-size: 25px;
  margin: 40px 0 17px;
  padding-top: 4px;
}
.prose h3 {
  font-size: 19px;
  margin: 28px 0 12px;
}
.prose h2,
.prose h3 {
  scroll-margin-top: 100px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-thickness: 2px;
}
.prose strong {
  font-weight: 600;
  color: var(--fg);
}
.prose ul,
.prose ol {
  padding-left: 22px;
  color: var(--muted);
  margin-block: 15px 22px;
}
.prose li {
  margin-bottom: 7px;
  padding-left: 3px;
}
.prose :not(pre) > code {
  font: 11px/1.6 var(--mono);
  color: var(--accent);
  padding: 2px 5px;
  border: 1px solid var(--border);
  background: var(--bg2);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.prose pre {
  padding: 20px;
  overflow: auto;
  font: 11px/1.85 var(--mono);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.dark .code-highlight,
.dark .code-highlight span {
  color: var(--shiki-dark) !important;
  background-color: var(--shiki-dark-bg) !important;
}
.prose blockquote {
  border-left: 3px solid var(--primary);
  margin: 25px 0;
  padding: 14px 20px;
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
}
.prose blockquote p:last-child {
  margin: 0;
}
.prose table,
.content-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  line-height: 1.8;
  margin: 22px 0;
}
.prose th,
.prose td,
.content-table th,
.content-table td {
  text-align: left;
  padding: 13px 15px;
  border: 1px solid var(--border);
  vertical-align: top;
  min-width: 100px;
}
.prose th,
.content-table th {
  font-weight: 600;
  color: var(--fg);
  background: var(--bg2);
}
.prose td,
.content-table td {
  color: var(--muted);
}
.code-block {
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  margin: 25px 0;
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  font: 10px var(--mono);
  color: var(--faint);
}
.code-bar button {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 4px 9px;
  color: var(--muted);
  font: 10px var(--sans);
  min-height: 28px;
}
.code-bar button:hover {
  color: var(--accent);
}
.code-block pre {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.article-sources {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 25px;
}
.article-sources .eyebrow {
  font-size: 9px;
}
.article-sources p {
  font-size: 10px;
  margin: 8px 0 12px;
}
.article-sources ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.article-sources li a {
  color: var(--muted);
  font: 9px/2 var(--mono);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.article-sources li a:hover {
  color: var(--accent);
}
.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 35px;
}
.article-pager a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
}
.article-pager a:hover {
  border-color: var(--primary);
}
.article-pager a:last-child {
  text-align: right;
  grid-column: 2;
}
.article-pager span {
  color: var(--faint);
  font: 9px var(--mono);
}
.desktop-toc {
  padding-top: 36px;
  position: sticky;
  top: 73px;
  height: max-content;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
}
.desktop-toc h2 {
  font: 500 10px var(--sans);
  letter-spacing: 0;
  margin-bottom: 15px;
}
.desktop-toc a {
  color: var(--muted);
  font-size: 10px;
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 1px solid var(--border);
  line-height: 1.6;
}
.desktop-toc a:hover,
.desktop-toc a[aria-current] {
  color: var(--accent);
  border-left-color: var(--primary);
}
.desktop-toc a.subheading {
  padding-left: 24px;
}
.toc-status {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding-top: 18px;
}
.toc-status a {
  border: 0;
  padding: 0;
  color: var(--accent);
}
.docs-mobile-nav,
.mobile-toc {
  display: none;
}
dialog {
  padding: 0;
  border: 1px solid var(--border2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 25px 100px #0003;
}
dialog::backdrop {
  background: #09090b88;
  backdrop-filter: blur(3px);
}
.search-dialog {
  width: min(600px, calc(100% - 32px));
  margin-top: min(14vh, 120px);
  max-height: 75dvh;
}
.dialog-top {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.dialog-top h2 {
  font: 600 13px var(--sans);
  letter-spacing: 0;
  margin: 0;
}
.dialog-top .icon-button {
  border: 0;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}
.search-input-wrap input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--fg);
  padding: 5px;
  font-size: 14px;
}
#search-status {
  padding: 12px 20px 0;
  margin: 0;
  font-size: 11px;
}
#search-results {
  padding: 10px;
  margin: 0;
  list-style: none;
  max-height: 42dvh;
  overflow-y: auto;
}
#search-results a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 5px;
}
#search-results a:hover,
#search-results a.selected {
  background: var(--accent-soft);
}
#search-results strong {
  font-size: 13px;
  font-weight: 500;
}
#search-results span {
  font-size: 11px;
  color: var(--muted);
}
#search-results .search-category {
  font: 9px var(--mono);
  color: var(--accent);
}
.search-help {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--faint);
}
.mobile-dialog {
  width: min(400px, calc(100% - 32px));
}
.mobile-dialog nav {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mobile-dialog nav a {
  padding: 12px 0;
}
.roadmap-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 55px;
}
.phase-panel {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 22px;
}
.phase-panel h2 {
  font-size: 28px;
  margin: 15px 0;
}
.phase-panel p {
  font-size: 13px;
}
.phase-panel ul {
  font-size: 12px;
  color: var(--muted);
  padding-left: 18px;
  line-height: 2;
}
.phase-panel-placeholder {
  border-style: dashed;
  background: var(--bg2);
}
.roadmap-aside h2 {
  font-size: 18px;
}
.roadmap-aside p {
  font-size: 12px;
}
.roadmap-aside .badge {
  margin-bottom: 10px;
}
.providers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-block: 35px;
}
.provider-card {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 26px;
}
.provider-card svg {
  color: var(--accent);
}
.provider-card h2 {
  font-size: 23px;
  margin: 20px 0 12px;
}
.provider-card p {
  font-size: 12px;
}
.source-list {
  list-style: none;
  padding: 0;
}
.source-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.source-list a {
  font: 11px var(--mono);
  color: var(--accent);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.source-list code {
  display: block;
  font: 9px var(--mono);
  color: var(--muted);
  margin-top: 6px;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  .hero-copy {
    animation: arrive 0.55s both;
  }
  .workflow {
    animation: arrive 0.6s 0.08s both;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  .hero {
    padding-block: 105px 85px;
  }
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 25px;
  }
  .desktop-nav {
    gap: 18px;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .workflow {
    padding-inline: 20px;
  }
  .docs-shell {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 35px;
    max-width: 1100px;
  }
  .desktop-toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 11px;
  }
  .mobile-toc a {
    display: block;
    color: var(--muted);
    padding: 5px 0;
  }
  .mobile-toc summary {
    cursor: pointer;
    font-weight: 500;
  }
  .mobile-toc nav {
    padding-top: 12px;
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 800px) {
  .container,
  .header-inner {
    padding-inline: 24px;
  }
  .header-inner {
    min-height: 64px;
  }
  .desktop-nav {
    display: none;
  }
  .header-external {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
  .hero {
    padding-block: 55px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero h1 {
    font-size: clamp(46px, 8vw, 68px);
  }
  .hero-description {
    max-width: 550px;
  }
  .workflow-container {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .principles-inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 500px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature {
    padding: 25px;
  }
  .native-grid,
  .build-status {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .native-grid > div > p {
    max-width: 550px;
  }
  .footer-inner {
    display: block;
  }
  .footer-inner nav {
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .docs-shell {
    display: block;
    padding-inline: 24px;
  }
  .docs-sidebar {
    display: none;
  }
  .docs-mobile-nav {
    display: block;
    border-bottom: 1px solid var(--border);
    padding-block: 15px;
  }
  .docs-mobile-nav summary {
    font-size: 12px;
    cursor: pointer;
    color: var(--accent);
  }
  .docs-mobile-nav nav {
    max-height: 60dvh;
    overflow-y: auto;
    padding: 0 12px 15px;
  }
  .article-main {
    max-width: 680px;
    margin-inline: auto;
    padding-top: 23px;
  }
  .article-header h1 {
    font-size: 36px;
  }
  .breadcrumbs {
    margin-bottom: 22px;
  }
  .article-labels {
    flex-wrap: wrap;
  }
  .roadmap-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cta-inner {
    display: block;
  }
  .cta .button {
    margin-top: 22px;
  }
}
@media (max-width: 480px) {
  .container,
  .header-inner,
  .docs-shell {
    padding-inline: 20px;
  }
  .announcement {
    justify-content: flex-start;
    padding-inline: 20px;
    font-size: 10px;
    gap: 7px;
  }
  .announcement-detail {
    display: none;
  }
  .announcement a {
    margin-left: auto;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .workflow {
    padding-inline: 16px;
  }
  .workflow-top {
    font-size: 9px;
  }
  .workflow-owner {
    font-size: 11px;
  }
  .agent {
    padding: 16px 12px;
    gap: 7px;
    grid-template-columns: 23px 1fr auto;
  }
  .agent-title {
    font-size: 14px;
  }
  .agent-state {
    font-size: 8px;
  }
  .workflow-bottom {
    gap: 6px;
  }
  .workflow-bottom span {
    font-size: 8px;
    padding-inline: 5px;
  }
  .principles-inner {
    justify-content: flex-start;
    font-size: 9px;
    gap: 15px;
  }
  .principles-inner span:last-child {
    display: none;
  }
  .feature-grid,
  .providers-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 27px;
  }
  .feature-top {
    margin-bottom: 20px;
  }
  .status-row {
    align-items: flex-start;
  }
  .status-row > span:first-child {
    max-width: 190px;
  }
  .article-header h1 {
    font-size: 33px;
  }
  .prose {
    font-size: 13px;
  }
  .article-pager {
    gap: 10px;
  }
  .article-pager a {
    font-size: 11px;
    padding: 13px;
  }
  .article-pager strong {
    font-weight: 500;
  }
  .phase-panel {
    padding: 24px;
  }
  .page-hero {
    padding-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .announcement,
  .docs-sidebar,
  .desktop-toc,
  .site-footer,
  .docs-mobile-nav,
  .search-dialog,
  .code-bar button {
    display: none;
  }
  .docs-shell {
    display: block;
  }
  body {
    background: white;
    color: black;
  }
}

.tabular {
  font-variant-numeric: tabular-nums;
}
