@charset "UTF-8";
/* Carbon seeds: designsystemkit/theme/color/palette/SystemPaletteSeeds.kt.
   Secondary text and pressed accents use the same Oklab derivation as BiProxyPaletteSeed.kt. */
:root {
  color-scheme: dark;
  --bg: #161616;
  --surface: #262626;
  --surface-2: #393939;
  --sunken: #0b0b0b;
  --text: #f4f4f4;
  --muted: color-mix(in oklab, var(--text) 78%, var(--bg));
  --subtle: color-mix(in oklab, var(--text) 60%, var(--bg));
  --border: #393939;
  --accent: #4589ff;
  --accent-strong: color-mix(in oklab, var(--accent) 86%, black);
  --accent-wash: #4589ff12;
  --button-bg: var(--accent);
  --button-text: #0b0b0b;
  --header: #161616ed;
  --code: var(--sunken);
  --shadow: 0 28px 100px #0005;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme=light] {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f4f4;
  --surface-2: #e8e8e8;
  --sunken: #e8e8e8;
  --text: #161616;
  --muted: color-mix(in oklab, var(--text) 84%, var(--bg));
  --subtle: color-mix(in oklab, var(--text) 55%, var(--bg));
  --border: #e0e0e0;
  --accent: #0f62fe;
  --accent-strong: color-mix(in oklab, var(--accent) 82%, black);
  --accent-wash: #0f62fe0a;
  --button-bg: var(--accent);
  --button-text: #ffffff;
  --header: #ffffffee;
  --shadow: 0 28px 100px #00000012;
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.65
}

button,input,select {
  font:inherit
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent
}

button,a {
  touch-action:manipulation
}

button {
  cursor:pointer
}

a {
  color:inherit;
  text-decoration:none
}

button {
  color:inherit
}

svg {
  width:20px;
  height:20px;
  flex-shrink:0;
  vertical-align:middle
}

img {
  display:block;
  max-width:100%;
  height:auto
}

button {
  border:0;
  background:none
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  line-height:1.12;
  font-weight:600;
  letter-spacing:-.045em
}

h1 {
  font-size:clamp(48px,5.6vw,78px)
}

h2 {
  font-size:clamp(32px,3.2vw,44px)
}

h3 {
  font-size:22px
}

p {
  color:var(--muted)
}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px
}

::selection {
  background:var(--accent);
  color:var(--bg)
}

[hidden] {
  display:none!important
}

.container {
  width:min(1200px,calc(100% - 96px));
  margin-inline:auto
}

.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  background:var(--button-bg);
  color:var(--button-text);
  padding:10px 16px;
  z-index:200
}

.skip-link:focus {
  top:10px
}

.site-header {
  height:77px;
  position:sticky;
  top:0;
  z-index:30;
  border-bottom:1px solid var(--border);
  background:var(--header);
  backdrop-filter:blur(18px)
}

.header-inner {
  height:100%;
  max-width:1536px;
  margin:auto;
  padding:0 40px;
  display:flex;
  align-items:center;
  gap:45px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  letter-spacing:-1px;
  font-weight:650;
  white-space:nowrap
}

.brand img {
  border-radius:9px
}

.brand-dot {
  color:var(--accent)
}

.desktop-nav {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:13px
}

.desktop-nav a {
  color:var(--muted);
  white-space:nowrap
}

.desktop-nav a:hover,.desktop-nav a[aria-current],.site-footer a:hover {
  color:var(--text)
}

.desktop-nav svg {
  width:12px;
  height:12px;
  margin-left:4px
}

.header-actions {
  display:flex;
  align-items:center;
  gap:15px;
  margin-left:auto
}

.search-trigger {
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid var(--border);
  background:var(--surface);
  padding:7px 9px 7px 11px;
  border-radius:7px;
  font-size:12px;
  color:var(--muted)
}

.search-trigger svg {
  width:15px;
  height:15px
}

.search-trigger kbd {
  font:11px ui-monospace,monospace;
  border:1px solid var(--border);
  border-radius:3px;
  padding:1px 4px;
  margin-left:20px;
  color:var(--subtle)
}

.language-button {
  display:flex;
  gap:5px;
  font-size:11px;
  align-items:center;
  padding:8px 0;
  color:var(--subtle);
  font-weight:600
}

.selected-language {
  color:var(--text)
}

.language-divider {
  opacity:.4
}

.icon-button {
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  color:var(--muted);
  font-size:26px
}

.icon-button:hover {
  background:var(--surface-2);
  color:var(--text)
}

.icon-button svg {
  width:18px;
  height:18px
}

.mobile-menu-button {
  display:none
}

.mobile-menu {
  background:var(--bg);
  padding:12px 24px;
  border-bottom:1px solid var(--border)
}

.mobile-menu a {
  display:block;
  padding:10px 0
}

.eyebrow {
  font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:1.6px;
  font-weight:500;
  color:var(--muted)
}

.status-dot,.tiny-dot {
  width:6px;
  height:6px;
  display:inline-block;
  background:var(--accent);
  border-radius:100%;
  box-shadow:0 0 0 4px var(--accent-wash);
  flex-shrink:0
}

.hero {
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:90px;
  align-items:center;
  padding-top:85px;
  padding-bottom:76px
}

.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:26px
}

.hero h1 {
  margin-bottom:22px;
  line-height:1.06
}

.hero h1 span,.workflow-copy h2 span {
  color:var(--accent)
}

.hero-description {
  max-width:490px;
  font-size:16px;
  line-height:1.8;
  margin-bottom:29px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:12px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  min-height:44px;
  padding:11px 18px;
  border-radius:7px;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  transition:background .15s,transform .15s
}

.button.primary {
  background:var(--button-bg);
  color:var(--button-text);
  border:1px solid var(--button-bg)
}

.button.primary:hover {
  filter:brightness(1.08);
  transform:translateY(-1px)
}

.button.secondary {
  border:1px solid var(--border);
  background:var(--surface)
}

.button.secondary:hover {
  background:var(--surface-2)
}

.button svg {
  width:17px;
  height:17px
}

.hero-meta {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:20px;
  font-size:10px;
  color:var(--subtle)
}

.hero-meta>span+span {
  border-left:1px solid var(--border);
  padding-left:16px
}

.hero-meta svg {
  width:13px;
  height:13px;
  margin-right:5px;
  color:var(--accent)
}

.connection-map {
  position:relative;
  border:1px solid var(--border);
  border-radius:12px;
  padding:27px 28px 20px;
  background-image:radial-gradient(var(--border) .65px,transparent .65px);
  background-size:14px 14px;
  background-color:var(--bg);
  max-width:390px;
  width:100%;
  justify-self:end;
  box-shadow:inset 0 0 70px var(--bg)
}

.map-heading {
  font:9px ui-monospace,monospace;
  letter-spacing:.8px;
  color:var(--subtle);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:30px
}

.tiny-dot {
  width:4px;
  height:4px;
  background:var(--muted);
  box-shadow:none
}

.map-sources {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px
}

.map-sources>span {
  display:flex;
  align-items:center;
  flex-direction:column;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:6px;
  font-size:9px;
  padding:10px 2px;
  color:var(--subtle)
}

.map-sources b {
  color:var(--muted);
  font-weight:500;
  font-size:12px
}

.map-lines {
  height:26px;
  width:69%;
  border:1px solid var(--border);
  border-top:0;
  border-radius:0 0 10px 10px;
  margin:auto;
  position:relative
}

.map-lines:before {
  content:"";
  position:absolute;
  left:50%;
  height:39px;
  border-left:1px solid var(--border)
}

.map-proxy {
  position:relative;
  margin:13px auto 0;
  border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));
  background:var(--surface);
  border-radius:8px;
  display:flex;
  align-items:center;
  padding:12px 13px;
  gap:12px;
  box-shadow:0 0 35px var(--accent-wash)
}

.map-proxy img {
  border-radius:10px
}

.map-proxy>span {
  font-size:17px;
  font-weight:600;
  line-height:1.3
}

.map-proxy small {
  display:block;
  font:10px ui-monospace,monospace;
  margin-top:4px;
  color:var(--subtle)
}

.map-proxy .map-capture {
  margin-left:auto;
  border:1px solid var(--border);
  font:8px ui-monospace,monospace;
  letter-spacing:1px;
  padding:4px 7px;
  border-radius:4px;
  color:var(--accent)
}

.map-down {
  height:27px;
  border-left:1px solid var(--border);
  width:1px;
  margin:auto
}

.map-api {
  display:flex;
  align-items:center;
  gap:14px;
  border:1px dashed var(--border);
  border-radius:6px;
  background:var(--bg);
  padding:9px 14px;
  font:11px ui-monospace,monospace;
  color:var(--muted)
}

.map-api>span {
  color:var(--accent);
  font-size:18px
}

.map-api svg {
  width:15px;
  height:15px;
  margin-left:auto;
  color:var(--subtle)
}

.map-footnote {
  display:flex;
  justify-content:center;
  gap:17px;
  margin-top:22px;
  font:8px ui-monospace,monospace;
  letter-spacing:1px;
  color:var(--subtle)
}

.map-footnote>span {
  color:var(--accent)
}

.showcase-caption,.showcase-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font:10px ui-monospace,monospace;
  color:var(--subtle)
}

.showcase-caption {
  padding:0 2px 15px
}

.showcase-caption .status-dot {
  width:5px;
  height:5px;
  margin-right:10px;
  box-shadow:none
}

.showcase-caption>span:first-child {
  color:var(--muted)
}

i {
  font-style:normal;
  color:var(--border);
  margin-inline:8px
}

.screenshot-frame {
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--surface)
}

.screenshot-frame img {
  width:100%;
  height:auto
}

.showcase-bottom {
  padding-top:16px;
  font-size:9px
}

.features {
  padding-top:112px;
  padding-bottom:100px
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:36px;
  margin-bottom:40px
}

.section-heading .eyebrow {
  margin-bottom:16px
}

.section-heading h2 {
  margin-bottom:0
}

.section-heading>p {
  font-size:13px;
  margin-bottom:4px;
  line-height:1.8
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border)
}

.feature {
  padding:28px 30px 30px;
  transition:background .2s
}

.feature:hover {
  background:var(--accent-wash)
}

.feature:first-child {
  padding-left:0
}

.feature:last-child {
  padding-right:0
}

.feature+.feature {
  border-left:1px solid var(--border)
}

.feature-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:46px;
  color:var(--subtle);
  font:10px ui-monospace,monospace
}

.feature-top svg {
  width:24px;
  height:24px;
  color:var(--accent)
}

.feature h3 {
  letter-spacing:-.03em;
  font-size:20px;
  margin-bottom:15px
}

.feature p {
  font-size:13px;
  line-height:1.9;
  min-height:74px;
  margin-bottom:26px
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--accent);
  font-size:12px;
  font-weight:500;
  padding:0
}

.text-link:hover {
  color:var(--accent-strong)
}

.text-link svg {
  width:15px;
  height:15px
}

.workflow-section {
  background:var(--accent-wash);
  border-block:1px solid var(--border);
  overflow:hidden
}

.workflow-layout {
  padding-block:72px;
  display:grid;
  grid-template-columns:1fr 1.65fr;
  gap:65px;
  align-items:center
}

.workflow-copy .eyebrow {
  font-size:9px
}

.workflow-copy h2 {
  font-size:48px;
  margin-bottom:24px
}

.workflow-copy>p:not(.eyebrow) {
  font-size:13px;
  max-width:310px;
  line-height:1.9
}

.workflow-copy .text-link {
  margin-top:10px
}

.workflow-preview {
  min-width:0;
  border:1px solid var(--border);
  border-radius:9px;
  overflow:hidden;
  background:var(--surface);
  box-shadow:var(--shadow)
}

.preview-tabs {
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 22px;
  border-bottom:1px solid var(--border)
}

.preview-tabs button {
  font-size:11px;
  padding:15px 0 13px;
  color:var(--subtle);
  border-bottom:2px solid transparent
}

.preview-tabs button[aria-selected=true] {
  border-color:var(--accent);
  color:var(--text)
}

.workflow-preview img {
  width:100%;
  aspect-ratio:2000/1338;
  object-fit:contain;
  background:var(--surface)
}

.guides {
  padding-top:100px;
  padding-bottom:95px
}

.guide-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 55px
}

.guide-link {
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:20px;
  padding:23px 0
}

.guide-link:nth-last-child(-n+2) {
  border-bottom:1px solid var(--border)
}

.guide-number {
  font:10px ui-monospace,monospace;
  color:var(--subtle);
  align-self:flex-start;
  padding-top:4px
}

.guide-link>span:nth-child(2) {
  display:flex;
  flex-direction:column;
  gap:4px;
  flex:1
}

.guide-link strong {
  font-size:15px;
  font-weight:500
}

.guide-link>span>span {
  font-size:11px;
  line-height:1.7;
  color:var(--subtle)
}

.guide-link>svg {
  width:17px;
  height:17px;
  color:var(--subtle);
  transition:transform .2s
}

.guide-link:hover>svg {
  transform:translateX(4px);
  color:var(--accent)
}

.guide-link:hover strong {
  color:var(--accent)
}

.bottom-cta {
  border-top:1px solid var(--border);
  padding-block:55px 70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px
}

.bottom-cta h2 {
  font-size:32px;
  margin-bottom:12px
}

.bottom-cta .eyebrow {
  margin-bottom:13px
}

.bottom-cta p {
  font-size:13px;
  margin-bottom:0
}

.site-footer {
  border-top:1px solid var(--border);
  font-size:10px
}

.footer-inner {
  display:flex;
  align-items:center;
  gap:28px;
  padding-block:26px
}

.footer-inner .brand {
  font-size:19px
}

.footer-inner p {
  margin-bottom:0;
  color:var(--subtle)
}

.footer-inner>div {
  margin-left:auto;
  display:flex;
  gap:25px;
  color:var(--muted)
}

.footer-inner svg {
  width:12px;
  height:12px;
  margin-left:4px
}

.home:focus,.docs-layout:focus {
  outline:none
}

/* Documentation */
.docs-layout {
  display:grid;
  grid-template-columns:208px minmax(0,1fr) 176px;
  gap:48px;
  align-items:start;
  max-width:1360px;
  width:calc(100% - 80px);
  min-height:calc(100vh - 160px)
}

.docs-sidebar {
  position:sticky;
  top:77px;
  height:calc(100vh - 77px);
  overflow-y:auto;
  padding:30px 18px 30px 0;
  border-right:1px solid var(--border);
  scrollbar-width:thin;
  scrollbar-color:var(--border) transparent
}

.docs-back {
  color:var(--subtle);
  font-size:11px;
  display:block;
  margin-bottom:27px
}

.docs-back:hover {
  color:var(--text)
}

.sidebar-heading {
  font:10px ui-monospace,monospace;
  letter-spacing:1px;
  color:var(--text);
  margin-bottom:26px
}

.sidebar-group {
  margin-bottom:25px
}

.sidebar-group>p {
  font:8px ui-monospace,monospace;
  letter-spacing:1px;
  color:var(--subtle);
  margin-bottom:10px
}

.sidebar-group a {
  display:block;
  font-size:12px;
  line-height:1.6;
  padding:6px 10px;
  border-left:1px solid var(--border);
  color:var(--muted)
}

.sidebar-group a:hover {
  color:var(--text);
  background:var(--surface)
}

.sidebar-group a[aria-current] {
  border-left:2px solid var(--accent);
  color:var(--accent);
  background:var(--accent-wash);
  padding-left:9px
}

.sidebar-source {
  font-size:11px;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--subtle);
  border-top:1px solid var(--border);
  padding-top:20px
}

.sidebar-source svg {
  width:14px;
  height:14px
}

.sidebar-source svg:last-child {
  margin-left:auto;
  width:11px;
  height:11px
}

.doc-center {
  min-width:0;
  padding-top:43px;
  padding-bottom:60px
}

.doc-breadcrumb {
  display:flex;
  align-items:center;
  gap:12px;
  font:9px ui-monospace,monospace;
  letter-spacing:.5px;
  color:var(--subtle);
  margin-bottom:26px
}

.doc-breadcrumb>a {
  color:var(--accent)
}

.doc-breadcrumb>span {
  opacity:.4
}

.doc-article h1 {
  font-size:42px;
  letter-spacing:-1.8px;
  margin-bottom:16px
}

.doc-lead {
  font-size:17px;
  line-height:1.8;
  margin-bottom:27px
}

.article-divider {
  border-top:1px solid var(--border);
  margin-bottom:34px
}

.doc-section {
  scroll-margin-top:100px;
  margin-bottom:40px
}

.doc-section h2 {
  font-size:24px;
  letter-spacing:-.6px;
  margin-bottom:19px;
  line-height:1.35
}

.doc-section h2 a:hover {
  color:var(--accent)
}

.anchor-mark {
  padding-left:10px;
  color:var(--accent);
  opacity:0;
  font-weight:400
}

.doc-section h2:hover .anchor-mark,.doc-section h2 a:focus-visible .anchor-mark {
  opacity:1
}

.doc-section p {
  font-size:14px;
  line-height:1.95;
  margin-bottom:20px
}

.doc-section ul,.doc-section ol {
  margin:0 0 25px;
  padding-left:22px;
  color:var(--muted);
  font-size:14px;
  line-height:1.9
}

.doc-section li {
  padding-left:7px;
  margin-bottom:12px
}

.doc-section li::marker {
  color:var(--accent);
  font-size:12px
}

.doc-section figure {
  margin:25px 0 32px
}

.doc-section figure img {
  border:1px solid var(--border);
  border-radius:7px
}

.doc-section figcaption {
  font-size:10px;
  color:var(--subtle);
  text-align:center;
  margin-top:9px
}

.note {
  display:flex;
  gap:12px;
  border:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));
  background:var(--accent-wash);
  padding:16px;
  border-radius:7px;
  margin-block:24px
}

.note>svg {
  color:var(--accent);
  width:17px;
  height:17px;
  margin-top:5px
}

.note p {
  margin:0;
  font-size:12px;
  line-height:1.85;
  color:var(--muted)
}

.code-block {
  margin-block:24px;
  border:1px solid var(--border);
  border-radius:7px;
  overflow:hidden;
  background:var(--code)
}

.code-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 14px;
  border-bottom:1px solid var(--border);
  font:10px ui-monospace,monospace;
  color:var(--subtle);
  gap:12px
}

.code-heading>span {
  overflow-wrap:anywhere
}

.copy-button {
  font:10px ui-monospace,monospace;
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--muted);
  padding:4px;
  white-space:nowrap
}

.copy-button:hover {
  color:var(--accent)
}

.copy-button svg {
  width:12px;
  height:12px
}

.code-block pre {
  margin:0;
  padding:20px;
  overflow:auto;
  color:var(--text);
  font:11px/1.9 ui-monospace,SFMono-Regular,Menlo,monospace;
  tab-size:4
}

.table-scroll {
  overflow-x:auto;
  margin-block:24px;
  border:1px solid var(--border);
  border-radius:7px
}

table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  text-align:left;
  line-height:1.8
}

th {
  font-weight:500;
  color:var(--text);
  background:var(--surface);
  font-size:11px
}

th,td {
  padding:12px 15px;
  vertical-align:top
}

td {
  color:var(--muted);
  border-top:1px solid var(--border)
}

td:first-child {
  color:var(--text);
  width:36%
}

.doc-source {
  font-size:10px;
  line-height:1.8;
  border-top:1px solid var(--border);
  padding-top:22px;
  color:var(--subtle);
  overflow-wrap:anywhere
}

.doc-source a {
  color:var(--accent)
}

.doc-source svg {
  width:11px;
  height:11px
}

.doc-pagination {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:30px
}

.doc-pagination a {
  border:1px solid var(--border);
  border-radius:7px;
  padding:15px 17px;
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0
}

.doc-pagination a:hover {
  border-color:var(--accent);
  background:var(--accent-wash)
}

.doc-pagination>a:last-child {
  text-align:right
}

.doc-pagination small {
  font-size:10px;
  color:var(--subtle)
}

.doc-pagination strong {
  font-size:12px;
  font-weight:500
}

.doc-toc {
  position:sticky;
  top:116px;
  padding-top:4px
}

.doc-toc>p {
  font:9px ui-monospace,monospace;
  letter-spacing:.7px;
  color:var(--subtle);
  margin-bottom:18px
}

.doc-toc nav a {
  display:block;
  font-size:11px;
  line-height:1.7;
  color:var(--subtle);
  border-left:1px solid var(--border);
  padding:6px 0 6px 13px
}

.doc-toc nav a:hover,.doc-toc nav a.active {
  color:var(--accent);
  border-left-color:var(--accent)
}

.toc-help {
  border-top:1px solid var(--border);
  margin-top:35px;
  padding-top:22px
}

.toc-help>span {
  display:block;
  color:var(--subtle);
  margin-bottom:10px
}

.toc-help>strong {
  font-size:11px;
  font-weight:500;
  display:block;
  margin-bottom:10px
}

.toc-help .text-link {
  font-size:10px
}

.toc-help svg {
  width:15px;
  height:15px
}

.mobile-doc-selector {
  display:none
}

.not-found {
  min-height:65vh;
  padding-block:100px
}

.not-found h1 {
  font-size:40px;
  margin-bottom:30px
}

/* Search */
dialog {
  position:fixed;
  inset:12vh 0 auto;
  width:min(600px,calc(100% - 32px));
  margin:0 auto;
  padding:0;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  color:var(--text);
  box-shadow:var(--shadow);
  max-height:75vh;
  overflow:hidden
}

dialog::backdrop {
  background:#0008;
  backdrop-filter:blur(5px)
}

.search-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px 0;
  color:var(--subtle);
  font-size:11px
}

#search-input {
  background:transparent;
  color:var(--text);
  border:0;
  border-bottom:1px solid var(--border);
  width:100%;
  padding:13px 20px 20px;
  outline:none;
  font-size:20px;
  border-radius:0
}

#search-input::placeholder {
  color:var(--subtle)
}

.search-results {
  max-height:calc(75vh - 160px);
  overflow-y:auto;
  padding:8px
}

.search-result {
  display:flex;
  align-items:center;
  gap:20px;
  padding:12px;
  border-radius:6px
}

.search-result:hover,.search-result:focus {
  background:var(--surface-2);
  outline:none
}

.search-result>span {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px
}

.search-result strong {
  font-size:13px;
  font-weight:500
}

.search-result>span>span {
  font-size:11px;
  color:var(--muted)
}

.search-result>svg {
  width:15px;
  height:15px;
  color:var(--subtle)
}

.search-empty {
  text-align:center;
  padding:35px 20px;
  font-size:13px
}

.search-hint {
  border-top:1px solid var(--border);
  padding:10px 20px;
  color:var(--subtle);
  font-size:10px
}

.toast {
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translate(-50%,15px);
  z-index:100;
  background:var(--text);
  color:var(--bg);
  padding:11px 18px;
  border-radius:7px;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
  max-width:calc(100% - 32px);
  box-shadow:var(--shadow)
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}

.noscript {
  padding:30px;
  text-align:center
}

@media(min-width:1500px) {
  .hero {
    gap:130px
  }
  .hero h1 {
    font-size:82px
  }
  .container {
    max-width:1240px
  }
  .docs-layout {
    max-width:1360px
  }
}

@media(max-width:1150px) {
  .header-inner {
    gap:30px;
    padding-inline:26px
  }
  .desktop-nav {
    gap:20px
  }
  .search-trigger>span {
    display:none
  }
  .search-trigger kbd {
    margin-left:0
  }
  .header-actions {
    gap:14px
  }
  .container {
    width:calc(100% - 64px)
  }
  .hero {
    gap:45px
  }
  .connection-map {
    padding:23px 20px
  }
  .hero h1 {
    font-size:64px
  }
  .hero-description {
    font-size:15px
  }
  .hero-actions {
    gap:8px
  }
  .hero-actions .button {
    font-size:11px;
    padding:11px 14px;
    gap:10px
  }
  .docs-layout {
    grid-template-columns:190px minmax(0,1fr);
    gap:35px;
    width:calc(100% - 56px)
  }
  .doc-toc {
    display:none
  }
  .workflow-layout {
    gap:35px
  }
  .workflow-copy h2 {
    font-size:42px
  }
}

@media(max-width:800px) {
  .header-inner {
    padding-inline:22px;
    gap:24px
  }
  .brand {
    font-size:22px
  }
  .desktop-nav {
    gap:20px
  }
  .desktop-nav a {
    font-size:12px
  }
  .desktop-nav a:first-child,.desktop-nav a:last-child {
    display:none
  }
  .header-actions {
    gap:12px
  }
  .search-trigger {
    padding:6px
  }
  .search-trigger kbd {
    display:none
  }
  .container {
    width:calc(100% - 44px)
  }
  .hero {
    gap:30px;
    grid-template-columns:1.15fr 1fr;
    padding-top:60px;
    padding-bottom:50px
  }
  .hero h1 {
    font-size:49px
  }
  .hero .eyebrow {
    font-size:8px;
    letter-spacing:1px
  }
  .hero-description {
    font-size:13px
  }
  .hero-actions {
    flex-wrap:wrap
  }
  .hero-actions .button {
    font-size:11px
  }
  .hero-meta {
    font-size:8px;
    gap:9px
  }
  .hero-meta>span+span {
    padding-left:9px
  }
  .connection-map {
    padding:20px 15px;
    align-self:center
  }
  .map-heading {
    font-size:7px;
    letter-spacing:.3px
  }
  .map-sources b {
    font-size:10px
  }
  .map-proxy {
    gap:8px;
    padding:10px
  }
  .map-proxy img {
    width:30px;
    height:30px
  }
  .map-proxy>span {
    font-size:15px
  }
  .map-proxy .map-capture {
    font-size:6px;
    padding:4px
  }
  .map-footnote {
    font-size:6px;
    gap:10px
  }
  .map-api {
    font-size:9px;
    gap:8px
  }
  .features {
    padding-block:75px
  }
  .section-heading {
    gap:25px
  }
  .section-heading>p {
    max-width:240px;
    font-size:11px
  }
  .feature {
    padding-inline:20px
  }
  .feature h3 {
    font-size:18px
  }
  .feature p {
    font-size:12px;
    min-height:110px
  }
  .feature-top {
    margin-bottom:32px
  }
  .workflow-layout {
    grid-template-columns:1fr 1.4fr;
    gap:24px;
    padding-block:50px
  }
  .workflow-copy h2 {
    font-size:38px
  }
  .workflow-copy .eyebrow {
    font-size:7px
  }
  .workflow-copy>p:not(.eyebrow) {
    font-size:12px
  }
  .guides {
    padding-block:75px
  }
  .guide-grid {
    gap:0 28px
  }
  .guide-link {
    gap:13px
  }
  .guide-link strong {
    font-size:13px
  }
  .guide-link>span>span {
    font-size:10px
  }
  .docs-layout {
    grid-template-columns:165px minmax(0,1fr);
    gap:28px
  }
  .doc-article h1 {
    font-size:36px
  }
  .doc-lead {
    font-size:15px
  }
  .docs-sidebar {
    padding-right:12px
  }
  .sidebar-group a {
    font-size:11px
  }
  .footer-inner {
    gap:18px
  }
  .footer-inner p {
    font-size:9px
  }
  .footer-inner>div {
    gap:16px
  }
}

@media(max-width:600px) {
  .site-header {
    height:65px
  }
  .header-inner {
    padding-inline:18px;
    gap:14px
  }
  .brand {
    font-size:21px;
    gap:8px
  }
  .brand img {
    width:28px;
    height:28px
  }
  .desktop-nav {
    display:none
  }
  .header-actions {
    gap:10px
  }
  .search-trigger {
    border:0;
    background:none
  }
  .search-trigger svg {
    width:18px;
    height:18px
  }
  .icon-button {
    width:30px;
    height:34px
  }
  .mobile-menu-button {
    display:inline-flex
  }
  .language-button {
    font-size:10px
  }
  .container {
    width:calc(100% - 40px)
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:47px;
    padding-bottom:40px;
    gap:35px
  }
  .hero .eyebrow {
    font-size:8px;
    margin-bottom:22px
  }
  .hero h1 {
    font-size:clamp(46px,12.5vw,67px);
    letter-spacing:-2.8px;
    margin-bottom:20px
  }
  .hero-description {
    font-size:14px;
    max-width:370px;
    margin-bottom:25px
  }
  .hero-actions {
    gap:9px
  }
  .hero-actions .button {
    font-size:11px;
    padding:12px 14px
  }
  .hero-meta {
    font-size:9px;
    margin-top:18px
  }
  .connection-map {
    max-width:none;
    padding:20px 24px
  }
  .map-heading {
    font-size:8px;
    margin-bottom:20px
  }
  .map-sources {
    gap:14px
  }
  .map-sources b {
    font-size:11px
  }
  .map-sources>span {
    font-size:8px;
    padding:7px
  }
  .map-lines {
    height:18px
  }
  .map-lines:before {
    height:31px
  }
  .map-proxy {
    max-width:260px;
    padding:10px 13px
  }
  .map-proxy img {
    width:32px;
    height:32px
  }
  .map-proxy .map-capture {
    font-size:7px
  }
  .map-proxy>span {
    font-size:16px
  }
  .map-down {
    height:18px
  }
  .map-api {
    max-width:260px;
    margin:auto;
    font-size:10px;
    padding-block:7px
  }
  .map-footnote {
    font-size:7px;
    margin-top:17px;
    gap:16px
  }
  .showcase-caption {
    font-size:8px;
    gap:10px;
    flex-wrap:wrap;
    padding-bottom:10px
  }
  .showcase-caption>span:last-child {
    font-size:7px
  }
  .showcase-caption i {
    margin-inline:4px
  }
  .screenshot-frame {
    border-radius:6px
  }
  .showcase-bottom {
    font-size:7px;
    align-items:flex-start
  }
  .showcase-bottom>span:last-child {
    text-align:right;
    max-width:150px
  }
  .showcase-bottom i {
    margin-inline:3px
  }
  .features {
    padding-top:65px;
    padding-bottom:55px
  }
  .section-heading {
    display:block;
    margin-bottom:30px
  }
  .section-heading h2 {
    font-size:33px
  }
  .section-heading .eyebrow {
    font-size:8px;
    margin-bottom:14px;
    letter-spacing:1px
  }
  .section-heading>p {
    max-width:none;
    margin-top:20px;
    font-size:12px
  }
  .feature-grid {
    grid-template-columns:1fr
  }
  .feature,.feature:first-child,.feature:last-child {
    padding:25px 0
  }
  .feature+.feature {
    border-left:0;
    border-top:1px solid var(--border)
  }
  .feature-top {
    margin-bottom:18px
  }
  .feature-top svg {
    width:22px;
    height:22px
  }
  .feature h3 {
    font-size:22px
  }
  .feature p {
    min-height:0;
    font-size:13px;
    max-width:370px;
    margin-bottom:17px
  }
  .workflow-layout {
    grid-template-columns:1fr;
    padding-block:45px;
    gap:27px
  }
  .workflow-copy h2 {
    font-size:46px;
    margin-bottom:20px
  }
  .workflow-copy .eyebrow {
    font-size:8px
  }
  .workflow-copy>p:not(.eyebrow) {
    font-size:13px;
    max-width:370px
  }
  .preview-tabs {
    gap:24px;
    padding-inline:18px
  }
  .guides {
    padding-block:55px
  }
  .guides .section-heading {
    display:flex;
    align-items:flex-end;
    gap:16px
  }
  .guides .section-heading h2 {
    font-size:29px
  }
  .guides .section-heading .text-link {
    font-size:10px;
    gap:5px;
    white-space:nowrap;
    margin-bottom:3px
  }
  .guide-grid {
    grid-template-columns:1fr
  }
  .guide-link {
    padding-block:20px
  }
  .guide-link strong {
    font-size:14px
  }
  .guide-link>span>span {
    font-size:11px
  }
  .guide-link:nth-last-child(2) {
    border-bottom:0
  }
  .bottom-cta {
    padding-block:37px 45px;
    flex-direction:column;
    align-items:flex-start;
    gap:22px
  }
  .bottom-cta h2 {
    font-size:29px
  }
  .bottom-cta .eyebrow {
    font-size:8px
  }
  .bottom-cta p {
    font-size:12px
  }
  .footer-inner {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding-block:23px
  }
  .footer-inner .brand {
    font-size:19px
  }
  .footer-inner>p {
    grid-row:2;
    grid-column:1/-1;
    font-size:10px
  }
  .footer-inner>div {
    grid-column:2;
    grid-row:1;
    gap:20px;
    justify-self:end;
    font-size:10px
  }
  .docs-layout {
    display:block;
    width:calc(100% - 36px)
  }
  .docs-sidebar {
    display:none
  }
  .doc-center {
    padding-top:20px;
    padding-bottom:40px
  }
  .mobile-doc-selector {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border:1px solid var(--border);
    padding:10px 12px;
    border-radius:6px;
    margin-bottom:30px;
    background:var(--surface)
  }
  .mobile-doc-selector label {
    font-size:10px;
    color:var(--subtle)
  }
  .mobile-doc-selector select {
    max-width:70%;
    min-width:0;
    padding:4px;
    border:0;
    background:var(--surface);
    color:var(--text);
    font-size:12px
  }
  .doc-breadcrumb {
    font-size:8px;
    margin-bottom:20px
  }
  .doc-article h1 {
    font-size:35px;
    line-height:1.2;
    letter-spacing:-1.4px
  }
  .doc-lead {
    font-size:15px
  }
  .doc-section h2 {
    font-size:23px
  }
  .doc-section p,.doc-section ul,.doc-section ol {
    font-size:13px
  }
  .doc-section {
    margin-bottom:33px
  }
  .note p {
    font-size:11px
  }
  .note {
    padding:13px;
    gap:10px
  }
  .code-block pre {
    font-size:10px;
    padding:16px
  }
  .code-heading {
    font-size:9px;
    padding-inline:12px
  }
  th,td {
    font-size:11px;
    padding:10px 11px
  }
  .doc-pagination a {
    padding:13px
  }
  .doc-pagination strong {
    font-size:11px
  }
  .doc-pagination {
    gap:10px
  }
  .doc-source {
    font-size:9px
  }
  .not-found {
    padding-block:65px
  }
  .not-found h1 {
    font-size:34px
  }
  dialog {
    top:7vh;
    max-height:80vh
  }
  .search-results {
    max-height:calc(80vh - 160px)
  }
  #search-input {
    font-size:17px
  }
  .search-result strong {
    font-size:12px
  }
  .search-result>span>span {
    font-size:10px
  }
  html {
    scroll-padding-top:85px
  }
  .doc-section {
    scroll-margin-top:85px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important
  }
}

@media print {
  .site-header,.site-footer,.docs-sidebar,.doc-toc,.mobile-doc-selector,.doc-pagination,.copy-button {
    display:none!important
  }
  .docs-layout,.container {
    display:block;
    width:100%;
    margin:0
  }
  .doc-center {
    padding:0
  }
  :root {
    color-scheme:light;
    --bg:#fff;
    --text:#111;
    --muted:#333;
    --border:#ddd;
    --code:#f5f5f5;
    --accent:#0f62fe
  }
  .doc-section {
    break-inside:avoid
  }
  .code-block pre {
    white-space:pre-wrap
  }
  a {
    color:inherit
  }
  body {
    background:white
  }
  .home .connection-map {
    display:none
  }
  .hero {
    display:block;
    padding-top:0
  }
}

