:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f6f7f5;
  --surface-2: #eef0ec;
  --ink: #1c201d;
  --muted: #606861;
  --faint: #6d776e;
  --line: #dfe3dc;
  --accent: #344d37;
  --dark: #1b211d;
  --mono:
    ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, Helvetica, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lead: 1.25rem;
  --text-code: 0.875rem;
  --header-h: 80px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171b18;
  --surface: #1f2520;
  --surface-2: #28302a;
  --ink: #ecf0e9;
  --muted: #b0b8af;
  --faint: #8c978d;
  --line: #343e35;
  --accent: #b6d0b3;
  --dark: #111813;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  background: none;
}
button:disabled {
  cursor: default;
}
a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #d0e2c7;
  color: #182019;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.12;
}
h1,
h2 {
  letter-spacing: -0.055em;
}
button {
  border: 0;
}
img,
svg {
  max-width: 100%;
}
pre {
  margin: 0;
  overflow: auto;
  tab-size: 2;
}
code,
kbd {
  font-family: var(--mono);
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-version {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 0;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0 5px;
  border-radius: 3px;
  align-self: center;
  margin-left: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: var(--text-sm);
  margin-left: 10px;
}
.main-nav a {
  color: var(--muted);
  transition: color 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: var(--ink);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: var(--text-sm);
  background: var(--surface);
}
.search-trigger kbd {
  font-size: var(--text-xs);
  margin-left: 20px;
  color: var(--faint);
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-content: center;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1;
}
.icon-button:hover {
  background: var(--surface-2);
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 60px;
  padding-top: 74px;
  padding-bottom: 72px;
  align-items: center;
}
.release-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: var(--muted);
}
.release-note > span:last-child {
  margin-left: 12px;
  font-size: var(--text-base);
  color: var(--ink);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #608963;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(46px, 5.1vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin-left: -4px;
}
.hero h1 > span {
  color: var(--faint);
}
.hero-lead {
  font-size: var(--text-lead);
  line-height: 1.65;
  max-width: 465px;
  color: var(--muted);
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 19px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: var(--text-sm);
  line-height: 1.6;
  font-weight: 500;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.button.primary:hover {
  opacity: 0.88;
}
.button.secondary {
  background: var(--bg);
}
.text-link {
  font-size: var(--text-sm);
  white-space: nowrap;
  text-underline-offset: 5px;
}
.text-link:hover {
  text-decoration: underline;
}
.install-command {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  width: 100%;
  max-width: 350px;
  gap: 12px;
  font-size: var(--text-sm);
  margin-top: 26px;
  text-align: left;
}
.install-command:hover {
  background: var(--surface);
}
.install-command .prompt {
  color: var(--faint);
  font-family: var(--mono);
}
.copy-glyph {
  margin-left: auto;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.hero-meta {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.9;
}
.hero-meta > span {
  color: var(--faint);
}
.harness-lab {
  min-width: 0;
  align-self: center;
  margin-top: 3px;
}
.lab-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.tiny-label,
.eyebrow {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: 1.4px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}
.lab-symbol {
  font-size: 24px;
  color: var(--muted);
}
.runtime-map {
  height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.map-top {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--muted);
}
.map-wire {
  width: 38px;
  height: 1px;
  background: var(--line);
  margin-inline: 12px;
}
.map-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
}
.map-agent .brand-mark {
  width: 23px;
  height: 23px;
}
.map-spine {
  width: 1px;
  height: 25px;
  background: var(--line);
  margin-left: 154px;
}
.map-nodes {
  display: flex;
  gap: 16px;
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  width: 100%;
  justify-content: center;
}
.map-node {
  font-family: var(--mono);
  font-size: var(--text-xs);
  position: relative;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--muted);
  background: var(--bg);
}
.map-node:before {
  content: "";
  position: absolute;
  width: 1px;
  height: 18px;
  background: var(--line);
  top: -19px;
  left: 50%;
}
.map-node.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.lab-body {
  background: var(--dark);
  color: #e5ebe3;
  border: 1px solid #343d35;
  border-radius: 8px;
  overflow: hidden;
}
.lab-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid #343d35;
}
.lab-picker button {
  font-size: var(--text-xs);
  padding: 6px 8px;
  border-radius: 3px;
  color: #b0bbaf;
  white-space: nowrap;
  border: 1px solid transparent;
}
.lab-picker button:hover {
  background: #303a31;
  color: #fff;
}
.lab-picker button.selected {
  background: #e3eadf;
  color: #1b211d;
}
.code-caption {
  display: flex;
  justify-content: space-between;
  font: var(--text-xs) var(--mono);
  color: #a0ad9e;
  padding: 14px 18px 0;
}
.harness-status {
  border: 1px solid #485546;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: var(--text-xs);
}
.hero-code {
  font-size: var(--text-xs);
  line-height: 1.75;
  padding: 12px 18px 16px;
  min-height: 315px;
  color: #d7dfd3;
  scrollbar-width: thin;
}
.lab-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #343d35;
  gap: 10px;
  color: #b5c3b0;
  font-size: var(--text-xs);
}
.lab-bottom > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lab-bottom a {
  white-space: nowrap;
}
.lab-disclaimer {
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--faint);
  margin-top: 10px;
  max-width: 430px;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in {
  color: #93adc2;
}
.hljs-string,
.hljs-attr {
  color: #b2c9a3;
}
.hljs-comment {
  color: #8c9988;
}
.hljs-number,
.hljs-literal {
  color: #d0b58d;
}
.hljs-title,
.hljs-function {
  color: #e5dfc5;
}
.hljs-params {
  color: inherit;
}
.foundation-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.foundation-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 25px;
}
.foundation-inner > span {
  font: var(--text-xs) var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}
.foundation-inner > div {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--text-sm);
}
.foundation-inner i {
  font-style: normal;
  color: var(--faint);
}
.section {
  padding-block: 105px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 48px;
}
.eyebrow {
  margin-bottom: 19px;
}
.section-heading h2,
.applications-heading h2,
.docs-entry h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
}
.section-heading > p {
  font-size: var(--text-base);
  max-width: 430px;
  color: var(--muted);
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 27px 25px 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
  transition: background 0.15s;
}
.feature:last-child {
  border: 0;
}
.feature:hover {
  background: var(--surface);
}
.feature-index {
  font: var(--text-xs) var(--mono);
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 28px;
}
.feature h3 {
  font-size: 24px;
  letter-spacing: -0.7px;
  line-height: 1.15;
  max-width: 210px;
  margin-bottom: 16px;
}
.feature p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.feature-foot {
  font-size: var(--text-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 6px;
}
.feature-foot > span {
  font-size: var(--text-lead);
}
.section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  font-size: var(--text-xs);
  color: var(--muted);
}
.section-link .text-link {
  font-size: var(--text-xs);
  color: var(--ink);
}
.foundation-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: 96px;
}
.foundation-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.outline-icon {
  display: inline-grid;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 7px;
  place-content: center;
  font-size: 26px;
  margin-bottom: 25px;
}
.foundation-item h3 {
  font-size: 26px;
  letter-spacing: -0.65px;
  margin-bottom: 16px;
}
.foundation-item > p {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--muted);
}
.foundation-item p.small-text {
  font-size: var(--text-xs);
  line-height: 1.8;
  margin-top: 14px;
  margin-bottom: 24px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  min-height: 64px;
  align-content: center;
}
.service-tags span {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 3px;
  font-size: var(--text-xs);
  padding: 3px 8px;
}
.memory-sketch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  min-height: 64px;
  gap: 4px;
}
.memory-sketch span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: var(--text-xs);
  border-radius: 4px;
}
.memory-sketch i {
  font: var(--text-xs) var(--mono);
  color: var(--faint);
  text-align: center;
}
.modality-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  min-height: 64px;
}
.modality-list span {
  border: 1px solid var(--line);
  padding: 9px 6px;
  border-radius: 3px;
  font: var(--text-xs) var(--mono);
}
.foundation-item .text-link {
  font-size: var(--text-sm);
}
.applications-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.app-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 30px 32px 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-panel:hover {
  border-color: var(--faint);
}
.app-panel.amos {
  background: var(--dark);
  color: #e7ede3;
  border-color: #374137;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-name {
  font-size: 30px;
  letter-spacing: -1px;
}
.app-name .cursor {
  font: 28px var(--mono);
  margin-left: 2px;
}
.pill {
  font: var(--text-xs) var(--mono);
  letter-spacing: 1px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 6px;
  color: var(--muted);
}
.amos .pill {
  border-color: #495347;
  color: #bdc6b8;
}
.app-panel h3 {
  font-size: 34px;
  letter-spacing: -1.3px;
  line-height: 1.1;
  margin-top: 30px;
}
.app-panel > p {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--muted);
  max-width: 390px;
  margin-top: 16px;
}
.amos > p {
  color: #aab8a5;
}
.terminal-preview,
.desktop-preview {
  margin-top: 28px;
  margin-bottom: 25px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.terminal-preview {
  font: var(--text-xs) var(--mono);
  line-height: 1.9;
  padding: 14px 19px;
  border-color: #3c483a;
  background: #182016;
}
.terminal-dots {
  display: block;
  color: #5b6956;
  font-size: var(--text-xs);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.terminal-muted {
  color: #99aa92;
  margin: 0 0 12px 13px;
}
.terminal-preview b {
  font-weight: 400;
  color: #b4ce9f;
}
.app-cta {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-size: var(--text-sm);
}
.amos .app-cta {
  border-color: #3c483a;
}
.desktop-preview {
  display: flex;
  background: var(--surface);
  font-size: var(--text-xs);
}
.desktop-sidebar {
  width: 90px;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.mini-mark {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--ink);
}
.desktop-content {
  flex: 1;
  min-width: 0;
  padding: 50px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}
.preview-greeting {
  font-size: var(--text-base);
  letter-spacing: -0.5px;
  text-align: center;
}
.preview-input {
  width: 100%;
  font-size: var(--text-xs);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
}
.preview-input b {
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  width: 16px;
  text-align: center;
}
.comparison-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding-block: 55px;
}
.comparison-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.comparison-inner h2 {
  font-size: 45px;
}
.comparison-inner p:not(.eyebrow) {
  margin-top: 15px;
  max-width: 550px;
  color: var(--muted);
  font-size: var(--text-base);
}
.comparison-inner .button {
  white-space: nowrap;
}
.docs-entry .resource-grid {
  margin-top: 43px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.resource-grid > a {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.resource-grid > a > span {
  font: var(--text-xs) var(--mono);
  color: var(--faint);
}
.resource-grid h3 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.resource-grid p {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 200px;
}
.resource-grid b {
  font-size: var(--text-lead);
  font-weight: 400;
  display: block;
  margin-top: 20px;
}
.resource-grid > a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.closing {
  padding: 43px 0 60px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.closing .brand-mark {
  margin-bottom: 18px;
  width: 38px;
  height: 38px;
}
.closing h2 {
  font-size: 36px;
}
.closing p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 11px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-top: 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-top .brand {
  align-self: start;
  font-size: 26px;
}
.footer-top p {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.footer-top > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--text-xs);
}
.footer-top a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-xs);
  color: var(--muted);
}
.footer-sep {
  padding-inline: 8px;
  color: var(--faint);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.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;
}
/* Documentation shares the same tokens and shell as the product pages. */
.docs-container {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr) 200px;
  gap: 50px;
  max-width: 1440px;
  margin: auto;
  padding: 0 40px;
}
.docs-sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  padding: 35px 10px 40px 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.nav-group {
  margin-bottom: 24px;
}
.nav-group p {
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 8px;
}
.nav-group a {
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
  padding: 5px 8px;
  margin-left: -8px;
  border-radius: 4px;
  line-height: 1.6;
}
.nav-group a:hover,
.nav-group a[aria-current] {
  background: var(--surface);
  color: var(--ink);
}
.sidebar-toggle {
  display: none;
}
.doc-main {
  min-width: 0;
  padding-top: 35px;
  padding-bottom: 55px;
}
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.doc-breadcrumb span:last-child {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 70%;
}
.doc-breadcrumb a:hover {
  text-decoration: underline;
}
.doc-version {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: -9px;
  margin-bottom: 24px;
  font: var(--text-xs) var(--mono);
  color: var(--muted);
}
.doc-version a {
  margin-left: auto;
}
.doc-version a:hover {
  text-decoration: underline;
}
.prose {
  font-size: var(--text-base);
  line-height: 1.85;
  overflow-wrap: break-word;
}
.prose h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 23px;
  max-width: 780px;
}
.prose h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
  margin-top: 45px;
  margin-bottom: 18px;
  padding-top: 8px;
}
.prose h3 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-top: 30px;
  margin-bottom: 12px;
}
.prose h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
}
.prose h5,
.prose h6 {
  font-size: var(--text-base);
  margin-top: 22px;
  margin-bottom: 10px;
}
.prose p {
  margin-block: 15px;
  color: var(--muted);
}
.prose li {
  color: var(--muted);
  margin-block: 7px;
}
.prose li p {
  margin-block: 8px;
}
.prose strong {
  font-weight: 600;
  color: var(--ink);
}
.prose a:not(.cookbook-callout):not(.doc-card-grid a) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.prose a:hover {
  text-decoration-color: var(--muted);
}
.prose ul,
.prose ol {
  padding-left: 23px;
}
.prose blockquote {
  border-left: 2px solid var(--line);
  margin: 22px 0;
  padding: 1px 20px;
  background: var(--surface);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
.prose :not(pre) > code {
  font-size: 0.85em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.prose pre code {
  font-size: var(--text-xs);
  color: #dce3d7;
}
.code-block {
  background: var(--dark);
  border: 1px solid #3a4539;
  border-radius: 6px;
  margin: 23px 0;
  overflow: hidden;
  color: #dce3d7;
}
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  border-bottom: 1px solid #3a4539;
  font: var(--text-xs) var(--mono);
  color: #aab7a4;
}
.copy-code {
  font: var(--text-xs) var(--mono);
  color: #b6c4b0;
  min-height: 32px;
  padding: 6px 0 6px 10px;
}
.copy-code:hover {
  color: #fff;
}
.code-block pre {
  padding: 17px 19px;
  line-height: 1.8;
  scrollbar-width: thin;
  max-height: 620px;
}
.prose table {
  display: block;
  overflow: auto;
  max-width: 100%;
  border-collapse: collapse;
  white-space: normal;
  font-size: var(--text-xs);
  line-height: 1.8;
  margin: 25px 0;
  scrollbar-width: thin;
}
.prose th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  font-size: var(--text-xs);
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  vertical-align: top;
  min-width: 125px;
}
.prose td {
  color: var(--muted);
}
.prose table code {
  font-size: var(--text-xs);
}
.prose img {
  border-radius: 5px;
  height: auto;
  max-width: 100%;
}
.prose details {
  background: var(--surface);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.prose summary {
  cursor: pointer;
}
.doc-intro {
  font-size: 17px !important;
  line-height: 1.7 !important;
}
.prose .eyebrow {
  font: var(--text-xs) var(--mono);
  margin-bottom: 18px;
  color: var(--muted);
}
.prose .doc-note {
  font-size: var(--text-sm);
  line-height: 1.9;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-block: 25px;
}
.cookbook-callout {
  display: block;
  margin-block: 30px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  text-decoration: none;
}
.cookbook-callout:hover {
  border-color: var(--faint);
}
.cookbook-callout h2 {
  margin-top: 5px !important;
  font-size: 28px;
  padding: 0;
}
.cookbook-callout h2 span {
  float: right;
}
.cookbook-callout p {
  margin: 8px 0 0;
  font-size: var(--text-sm);
}
.doc-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.doc-card-grid > a {
  display: block;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 4px;
}
.doc-card-grid > a:hover {
  background: var(--surface);
}
.doc-card-grid h3 {
  font-size: var(--text-base);
  margin: 0 0 9px;
}
.doc-card-grid h3 span {
  float: right;
  font-size: var(--text-base);
  color: var(--muted);
}
.doc-card-grid p {
  font-size: var(--text-xs);
  margin: 0;
}
.all-guides {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
}
.all-guides a {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
}
.doc-toc {
  position: sticky;
  top: var(--header-h);
  padding-top: 40px;
  height: calc(100vh - var(--header-h));
  overflow: auto;
  scrollbar-width: thin;
}
.doc-toc > p {
  font: var(--text-xs) var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}
.doc-toc a {
  display: block;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.6;
  padding-block: 6px;
}
.doc-toc a:hover {
  color: var(--ink);
}
.doc-toc a.level-3 {
  padding-left: 10px;
  color: var(--faint);
}
.chapter-nav {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  padding-top: 23px;
  font-size: var(--text-sm);
}
.chapter-nav a:last-child {
  text-align: right;
}
.chapter-nav small {
  display: block;
  color: var(--muted);
  font-size: var(--text-xs);
  margin-bottom: 8px;
}
.chapter-nav a:hover {
  text-decoration: underline;
}
.chapter-list {
  margin-top: 32px;
}
.chapter-list h2 {
  font-size: 26px;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
}
.chapter-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: var(--text-sm);
}
.chapter-list a:hover {
  color: var(--accent);
}
.doc-end {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--text-xs);
  color: var(--muted);
}
.source-path {
  font: var(--text-xs) var(--mono);
  overflow-wrap: anywhere;
}
.not-found {
  padding-block: 100px;
  min-height: 60vh;
}
.not-found h1 {
  font-size: 48px;
}
.not-found p:not(.eyebrow) {
  margin-block: 25px;
  color: var(--muted);
}
.not-found .button {
  margin-right: 15px;
}
/* Native dialog, local-only search, keyboard navigation and reduced motion. */
.search-dialog {
  background: var(--bg);
  color: var(--ink);
  width: min(660px, calc(100% - 32px));
  max-height: 80vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 25px 100px #0003;
  margin-top: 12vh;
}
.search-dialog::backdrop {
  background: #13191380;
  backdrop-filter: blur(3px);
}
.search-heading {
  padding: 16px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-heading h2 {
  font-size: var(--text-base);
  letter-spacing: -0.2px;
}
.search-dialog input {
  margin: 0 20px;
  width: calc(100% - 40px);
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-base);
  outline-offset: 0;
}
.search-status {
  font-size: var(--text-xs);
  color: var(--muted);
  padding: 12px 20px;
}
.search-results {
  max-height: 48vh;
  overflow: auto;
  padding: 0 10px 10px;
}
.search-results a {
  display: block;
  padding: 12px 10px;
  border-radius: 5px;
}
.search-results a:hover,
.search-results a:focus {
  background: var(--surface);
  outline-offset: -2px;
}
.search-results a strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
}
.search-results a small {
  font-size: var(--text-xs);
  color: var(--muted);
}
.search-results a p {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}
.search-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font: var(--text-xs) var(--mono);
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 17px;
  font-size: var(--text-sm);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 95px;
  }
  .hero h1 {
    font-size: 79px;
  }
  .hero-code {
    font-size: var(--text-sm);
  }
}
@media (max-width: 1200px) {
  .header-inner {
    padding-inline: 28px;
    gap: 22px;
  }
  .main-nav {
    margin-left: 10px;
    gap: 20px;
  }
  .search-trigger kbd {
    margin-left: 5px;
  }
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 36px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero-lead {
    font-size: var(--text-base);
  }
  .hero-actions {
    gap: 18px;
  }
  .lab-picker {
    gap: 1px;
    padding: 9px;
  }
  .lab-picker button {
    font-size: var(--text-xs);
    padding: 5px;
  }
  .feature {
    padding-inline: 20px;
  }
  .feature h3 {
    font-size: 24px;
  }
  .foundation-columns {
    gap: 30px;
  }
  .foundation-inner > div {
    gap: 14px;
  }
  .docs-container {
    grid-template-columns: 205px minmax(0, 1fr);
    padding-inline: 28px;
    gap: 34px;
  }
  .doc-toc {
    display: none;
  }
  .section-heading {
    gap: 65px;
  }
  .footer-top {
    gap: 25px;
  }
}
@media (max-width: 960px) {
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    border: 0;
    padding: 8px;
    background: none;
  }
  .main-nav {
    gap: 20px;
    margin-left: auto;
  }
  .header-tools {
    margin-left: 0;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-block: 60px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-lead {
    font-size: var(--text-base);
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
  }
  .button {
    font-size: var(--text-sm);
    padding: 11px 15px;
  }
  .hero-actions .text-link {
    font-size: var(--text-sm);
  }
  .hero-meta {
    font-size: var(--text-xs);
  }
  .hero-code {
    font-size: var(--text-xs);
    min-height: 280px;
  }
  .lab-bottom {
    font-size: var(--text-xs);
  }
  .map-top {
    font-size: var(--text-xs);
  }
  .map-agent {
    padding: 7px;
  }
  .runtime-map {
    height: 160px;
  }
  .lab-picker button {
    font-size: var(--text-xs);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature:nth-child(2) {
    border-right: 0;
  }
  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .feature {
    padding: 25px;
  }
  .feature h3 {
    max-width: none;
  }
  .feature-index {
    margin-bottom: 24px;
  }
  .feature p {
    font-size: var(--text-sm);
  }
  .feature-foot {
    font-size: var(--text-xs);
  }
  .foundation-inner {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  .foundation-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foundation-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    column-gap: 18px;
  }
  .foundation-item .outline-icon {
    grid-column: 1;
    grid-row: 1/6;
    margin-top: 3px;
  }
  .foundation-item > h3,
  .foundation-item > p,
  .foundation-item > div,
  .foundation-item > .text-link {
    grid-column: 2;
  }
  .foundation-item h3 {
    font-size: 28px;
  }
  .service-tags,
  .memory-sketch,
  .modality-list {
    min-height: initial;
    margin-top: 18px;
    justify-content: start;
    max-width: 400px;
    gap: 10px;
  }
  .memory-sketch {
    gap: 17px;
  }
  .foundation-item p.small-text {
    margin-block: 12px;
  }
  .foundation-section {
    padding-block: 65px;
  }
  .section-heading {
    gap: 40px;
  }
  .section-heading > p {
    font-size: var(--text-sm);
  }
  .section {
    padding-block: 70px;
  }
  .app-panel {
    padding: 24px;
  }
  .app-panel h3 {
    font-size: 30px;
  }
  .app-panel > p {
    font-size: var(--text-sm);
  }
  .terminal-preview,
  .desktop-preview {
    min-height: 177px;
  }
  .desktop-sidebar {
    width: 75px;
    font-size: var(--text-xs);
  }
  .desktop-content {
    padding: 42px 12px 15px;
  }
  .preview-greeting {
    font-size: var(--text-sm);
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-top p {
    grid-column: 2;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .docs-container {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 28px;
    padding-inline: 24px;
  }
  .prose h1 {
    font-size: 40px;
  }
  .prose {
    font-size: var(--text-sm);
  }
  .prose h2 {
    font-size: 28px;
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 65px;
  }
  .header-inner {
    padding-inline: 20px;
    gap: 12px;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .brand-version {
    font-size: var(--text-xs);
  }
  .header-tools {
    margin-left: auto;
    gap: 4px;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 20px #0001;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 0;
    font-size: var(--text-base);
  }
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .release-note {
    margin-bottom: 23px;
    font-size: var(--text-xs);
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 65px);
    letter-spacing: -0.065em;
    line-height: 1.03;
  }
  .hero-lead {
    font-size: var(--text-base);
    max-width: 470px;
    margin-top: 24px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 23px;
  }
  .hero-actions .button {
    padding: 12px 15px;
  }
  .hero-actions .text-link {
    font-size: var(--text-sm);
  }
  .install-command {
    margin-top: 23px;
    max-width: 100%;
  }
  .hero-meta {
    font-size: var(--text-xs);
  }
  .harness-lab {
    margin-top: 0;
  }
  .runtime-map {
    height: 155px;
  }
  .map-top {
    font-size: var(--text-xs);
  }
  .map-node {
    font-size: var(--text-xs);
  }
  .lab-picker {
    padding: 11px;
    gap: 5px;
  }
  .lab-picker button {
    font-size: var(--text-xs);
    padding: 5px 7px;
  }
  .hero-code {
    font-size: var(--text-xs);
    min-height: 320px;
  }
  .code-caption {
    font-size: var(--text-xs);
  }
  .harness-status {
    font-size: var(--text-xs);
  }
  .lab-bottom {
    font-size: var(--text-xs);
    padding: 12px;
  }
  .lab-disclaimer {
    font-size: var(--text-xs);
  }
  .foundation-inner {
    padding-block: 20px;
  }
  .foundation-inner > span {
    font-size: var(--text-xs);
  }
  .foundation-inner > div {
    gap: 10px;
    font-size: var(--text-xs);
    flex-wrap: wrap;
  }
  .foundation-inner i {
    font-size: var(--text-xs);
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 500px;
    font-size: var(--text-base);
  }
  .section-heading h2,
  .applications-heading h2,
  .docs-entry h2 {
    font-size: 40px;
  }
  .eyebrow {
    font-size: var(--text-xs);
    margin-bottom: 14px;
  }
  .section {
    padding-block: 55px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px;
  }
  .feature:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }
  .feature-index {
    font-size: var(--text-xs);
    margin-bottom: 16px;
  }
  .feature h3 {
    font-size: 28px;
  }
  .feature p {
    font-size: var(--text-sm);
    margin-bottom: 18px;
  }
  .section-link {
    align-items: start;
    flex-direction: column;
    gap: 13px;
    font-size: var(--text-xs);
  }
  .foundation-section {
    padding-block: 55px;
  }
  .foundation-item {
    column-gap: 12px;
    grid-template-columns: 35px 1fr;
  }
  .outline-icon {
    width: 31px;
    height: 31px;
    font-size: 24px;
  }
  .foundation-item h3 {
    font-size: 26px;
  }
  .foundation-item > p {
    font-size: var(--text-sm);
  }
  .foundation-columns {
    gap: 35px;
  }
  .foundation-item p.small-text {
    font-size: var(--text-xs);
  }
  .applications-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 27px;
  }
  .applications-heading h2 {
    font-size: 36px;
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .app-panel {
    padding: 24px;
  }
  .app-panel h3 {
    font-size: 34px;
  }
  .app-panel > p {
    font-size: var(--text-sm);
  }
  .terminal-preview,
  .desktop-preview {
    min-height: 190px;
  }
  .desktop-sidebar {
    width: 88px;
    font-size: var(--text-xs);
  }
  .desktop-content {
    padding: 53px 15px 16px;
  }
  .preview-greeting {
    font-size: var(--text-base);
  }
  .comparison-band {
    padding-block: 40px;
  }
  .comparison-inner {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .comparison-inner h2 {
    font-size: 40px;
  }
  .comparison-inner p:not(.eyebrow) {
    font-size: var(--text-sm);
  }
  .docs-entry .resource-grid {
    margin-top: 30px;
  }
  .resource-grid {
    gap: 25px 20px;
  }
  .resource-grid h3 {
    font-size: var(--text-lead);
    margin-top: 16px;
  }
  .resource-grid p {
    font-size: var(--text-xs);
  }
  .resource-grid b {
    margin-top: 12px;
  }
  .closing {
    align-items: start;
    flex-direction: column;
    padding-block: 30px 40px;
    gap: 25px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .closing p {
    font-size: var(--text-sm);
  }
  .footer-top {
    gap: 25px 15px;
    padding-bottom: 32px;
  }
  .footer-top .brand {
    font-size: 24px;
  }
  .footer-top p {
    font-size: var(--text-xs);
  }
  .footer-top > div {
    font-size: var(--text-xs);
  }
  .site-footer {
    padding-top: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    font-size: var(--text-xs);
    padding-block: 20px;
  }
  .docs-container {
    display: block;
    padding-inline: 20px;
  }
  .docs-sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .sidebar-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    font-size: var(--text-sm);
    text-align: left;
  }
  .docs-sidebar nav {
    display: none;
    max-height: 60vh;
    overflow: auto;
    padding-bottom: 15px;
  }
  .docs-sidebar nav.open {
    display: block;
  }
  .docs-sidebar .nav-group {
    margin-bottom: 15px;
  }
  .doc-main {
    padding-top: 20px;
    padding-bottom: 35px;
  }
  .doc-breadcrumb {
    margin-bottom: 22px;
    font-size: var(--text-xs);
  }
  .doc-version {
    font-size: var(--text-xs);
    gap: 8px;
    flex-wrap: wrap;
  }
  .prose {
    font-size: var(--text-base);
    line-height: 1.85;
  }
  .prose h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .prose h2 {
    font-size: 28px;
    margin-top: 35px;
  }
  .prose h3 {
    font-size: 24px;
  }
  .prose table {
    font-size: var(--text-xs);
    margin-inline: 0;
    max-width: 100%;
  }
  .prose th,
  .prose td {
    padding: 10px;
    min-width: 145px;
  }
  .prose pre code {
    font-size: var(--text-xs);
  }
  .code-block pre {
    padding: 14px;
    max-height: 480px;
  }
  .doc-intro {
    font-size: 15px !important;
  }
  .doc-card-grid {
    gap: 12px;
  }
  .doc-card-grid > a {
    padding: 15px;
  }
  .doc-card-grid h3 {
    font-size: var(--text-base);
    line-height: 1.3;
    letter-spacing: -0.2px;
  }
  .doc-card-grid p {
    font-size: var(--text-xs);
  }
  .cookbook-callout {
    padding: 22px;
  }
  .cookbook-callout h2 {
    font-size: 26px;
  }
  .doc-end {
    font-size: var(--text-xs);
    flex-direction: column;
    gap: 10px;
  }
  .chapter-nav {
    font-size: var(--text-xs);
    gap: 15px;
  }
  .chapter-list a {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  .search-dialog {
    margin-top: 8vh;
    max-height: 85vh;
  }
  .not-found h1 {
    font-size: 37px;
  }
  .not-found {
    padding-block: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.source-anchor {
  scroll-margin-top: 110px;
}
.hero-code {
  font-size: var(--text-xs);
  line-height: 1.6;
  min-height: 280px;
}
.runtime-map {
  height: 145px;
}
.hero {
  padding-block: 55px;
}
.hero-copy {
  align-self: start;
}
.hero h1 {
  font-size: clamp(44px, 5.1vw, 72px);
}
@media (max-width: 900px) {
  .hero {
    padding-block: 40px;
  }
  .hero-code {
    font-size: var(--text-xs);
    min-height: 265px;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 65px);
  }
}

/* Reading sizes are shared across product pages, docs, tables and code. */
.hero-copy {
  align-self: start;
  min-width: 0;
  padding-top: 18px;
}
.hero h1 {
  font-size: clamp(52px, 5.4vw, 80px);
}
.hero-lead {
  max-width: 510px;
  line-height: 1.6;
}
.hero-code,
.prose pre code,
.terminal-preview {
  font-size: var(--text-code);
}
.hero-code {
  line-height: 1.65;
  min-height: 0;
}
.prose {
  font-size: var(--text-base);
  line-height: 1.8;
}
.prose table,
.prose th {
  font-size: 0.9375rem;
}
.prose table code {
  font-size: var(--text-code);
}
.doc-intro {
  font-size: var(--text-lead) !important;
}
.lab-picker {
  gap: 5px;
}
.lab-picker button {
  font-size: var(--text-xs);
  padding: 7px 9px;
}
.lab-bottom {
  flex-wrap: wrap;
  row-gap: 10px;
}
.lab-disclaimer {
  max-width: none;
}
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
  padding: 28px;
}
.feature:nth-child(2) {
  border-right: 0;
}
.feature:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.feature h3 {
  max-width: none;
}
.section-heading {
  gap: 55px;
}
.doc-card-grid h3 {
  font-size: 20px;
}
.doc-card-grid p,
.cookbook-callout p {
  font-size: var(--text-sm);
}
.doc-version,
.footer-bottom {
  flex-wrap: wrap;
}
.source-path {
  font-size: var(--text-code);
}
.memory-sketch {
  gap: 7px;
  flex-wrap: wrap;
}
.service-tags,
.modality-list {
  flex-wrap: wrap;
}
.footer-top {
  grid-template-columns: 1fr 1.2fr 0.8fr 0.8fr;
  gap: 25px;
}
@media (max-width: 1200px) {
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    padding: 9px;
    border: 0;
    background: none;
  }
  .main-nav {
    margin-left: auto;
  }
  .hero {
    gap: 32px;
  }
  .hero h1 {
    font-size: 58px;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(48px, 8.5vw, 64px);
  }
  .hero-lead {
    font-size: var(--text-lead);
  }
  .hero-code,
  .prose pre code {
    font-size: var(--text-code);
  }
  .hero-actions {
    gap: 20px;
  }
  .map-top {
    width: 100%;
    max-width: 320px;
  }
  .map-wire {
    flex: 1;
    min-width: 12px;
    margin-inline: 6px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child {
    border-bottom: 0;
  }
  .feature h3 {
    font-size: 26px;
  }
  .prose {
    font-size: var(--text-base);
  }
  .doc-card-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .desktop-sidebar {
    width: 110px;
  }
  .desktop-content {
    padding-inline: 12px;
  }
  .preview-greeting {
    font-size: var(--text-base);
  }
  .preview-input {
    font-size: var(--text-xs);
  }
}
@media (max-width: 380px) {
  .header-inner {
    padding-inline: 16px;
    gap: 8px;
  }
  .brand-version {
    display: none;
  }
  .install-command code {
    font-size: var(--text-code);
  }
}
