@font-face {
  font-family:Manrope;
  src:url(fonts/manrope.ttf) format('truetype');
  font-weight:200 800;
  font-display:swap
}
@font-face {
  font-family:Plex;
  src:url(fonts/plex-mono.ttf) format('truetype');
  font-weight:400;
  font-display:swap
}
:root {
  color-scheme:light;
  --bg:#f7f6f2;
  --panel:#fffefa;
  --ink:#202823;
  --muted:#5e665f;
  --line:#d9dcd3;
  --soft:#eeeee7;
  --accent:#bd401d;
  --accent-soft:#f7e6da;
  --forest:#286151;
  --grid:#d7dacf;
  --chart-v:#bc441e;
  --chart-o:#236eaa;
  --chart-e:#8060b7;
  --chart-s:#267c66;
  --chart-five:#a66c14;
  --shadow:0 12px 40px #1c23180a
}
:root[data-theme=dark] {
  color-scheme:dark;
  --bg:#141b18;
  --panel:#1b2420;
  --ink:#eef0e8;
  --muted:#a5afa6;
  --line:#35423a;
  --soft:#222e27;
  --accent:#ff956c;
  --accent-soft:#38281f;
  --forest:#8fc1a6;
  --grid:#354238;
  --chart-v:#ff996e;
  --chart-o:#72b6ef;
  --chart-e:#c1a5f1;
  --chart-s:#6dccaa;
  --chart-five:#e6bd66;
  --shadow:0 12px 40px #0002
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:105px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Manrope,Arial,sans-serif;
  font-size:15px;
  line-height:1.65
}
button,input,select {
  font:inherit
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--accent)
}
button,a,input,select {
  touch-action:manipulation
}
button {
  color:inherit;
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}
button svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1,h2,h3 {
  line-height:1.12;
  letter-spacing:-.055em
}
h1 {
  font-size:clamp(52px,6.7vw,96px);
  font-weight:600;
  margin-bottom:28px
}
h2 {
  font-size:clamp(36px,4.2vw,58px);
  font-weight:500
}
h3 {
  font-size:23px;
  font-weight:600;
  letter-spacing:-.03em
}
p {
  margin-bottom:18px
}
.wrap {
  max-width:1440px;
  padding-left:64px;
  padding-right:64px;
  margin:auto
}
.mono,.eyebrow {
  font-family:Plex,monospace
}
.eyebrow {
  font-size:10px;
  letter-spacing:.11em;
  text-transform:uppercase;
  line-height:1.8;
  font-weight:400
}
.section {
  padding-top:110px;
  padding-bottom:110px
}
.section-intro {
  max-width:520px;
  margin-bottom:48px
}
.section-intro>p:last-child {
  font-size:17px;
  color:var(--muted);
  line-height:1.8
}
.section-intro h2 {
  margin:18px 0 26px
}
.button {
  display:inline-flex;
  gap:28px;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--bg);
  padding:15px 22px;
  font-size:13px;
  font-weight:600;
  border-radius:3px;
  transition:background .18s,color .18s
}
.button:hover {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--bg)
}
.button.secondary {
  background:transparent;
  color:var(--ink);
  border-color:var(--line)
}
.button.secondary:hover {
  border-color:var(--ink)
}
.text-link {
  font-size:13px;
  font-weight:600;
  border-bottom:1px solid var(--line);
  padding:10px 0;
  display:inline-flex;
  gap:16px
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  background:var(--ink);
  color:var(--bg);
  padding:12px 20px;
  z-index:100
}
.skip:focus {
  top:10px
}
.header {
  max-width:1600px;
  margin:auto;
  padding:22px 48px;
  display:flex;
  align-items:center;
  gap:42px;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:10
}
.brand-group {
  display:flex;
  align-items:center;
  gap:12px
}
.brand-credit {
  color:var(--muted);
  font-size:.75rem;
  line-height:1.35;
  white-space:nowrap
}
.brand-credit a {
  text-decoration:underline;
  text-underline-offset:.18em
}
.brand {
  font-size:25px;
  font-weight:750;
  letter-spacing:-1.5px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  gap:9px
}
.brand svg {
  width:32px;
  height:32px;
  flex-shrink:0
}
.brand-dot {
  color:var(--accent)
}
.nav {
  display:flex;
  gap:28px;
  margin-left:auto;
  font-size:12px;
  font-weight:600
}
.nav a[aria-current=page] {
  color:var(--accent)
}
.header-actions {
  display:flex;
  align-items:center;
  gap:22px
}
.themes {
  display:flex;
  border:1px solid var(--line);
  border-radius:5px;
  padding:3px;
  gap:1px
}
.themes button {
  border:0;
  padding:6px;
  background:transparent;
  display:grid;
  place-items:center;
  border-radius:3px;
  color:var(--muted)
}
.themes button[aria-pressed=true] {
  background:var(--soft);
  color:var(--ink)
}
.menu-toggle {
  display:none;
  border:0;
  background:none
}
.hero {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:54px;
  padding-top:88px;
  padding-bottom:80px;
  align-items:center;
  min-height:690px
}
.hero h1 span {
  color:var(--accent)
}
.hero .eyebrow {
  margin-bottom:32px
}
.status-dot {
  display:inline-block;
  background:var(--accent);
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:50%;
  vertical-align:1px
}
.lead {
  font-size:18px;
  line-height:1.8;
  max-width:440px;
  color:var(--muted)
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:25px;
  margin:32px 0 30px
}
.hero-foot {
  font-size:9px;
  color:var(--muted);
  letter-spacing:.01em
}
.hero-graphic {
  border:1px solid var(--line);
  background:var(--panel);
  transform:rotate(1deg);
  box-shadow:var(--shadow)
}
.graphic-top,.graphic-bottom {
  display:flex;
  justify-content:space-between;
  padding:16px 20px;
  font-size:9px;
  letter-spacing:.06em;
  border-bottom:1px solid var(--line)
}
.graphic-bottom {
  border-bottom:0;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:9px
}
.signal {
  color:var(--accent)
}
.hero-graphic svg {
  display:block;
  width:100%;
  height:auto
}
.grid-dot {
  fill:var(--grid)
}
.art-line {
  fill:none;
  stroke:var(--line);
  stroke-width:2
}
.art-doc rect {
  fill:var(--soft);
  stroke:var(--ink)
}
.art-doc path {
  stroke:var(--muted)
}
.art-core rect {
  fill:var(--accent)
}
.art-logo {
  color:var(--bg)
}
.art-label {
  font:9px Plex,monospace;
  letter-spacing:.04em;
  fill:var(--muted)
}
.art-server rect {
  fill:var(--panel);
  stroke:var(--ink);
  stroke-width:1.5
}
.art-server circle {
  fill:var(--accent)
}
.art-server.serve rect {
  stroke:var(--forest)
}
.art-server.serve circle {
  fill:var(--forest)
}
.query-symbol {
  stroke:var(--forest);
  stroke-width:2;
  fill:var(--panel)
}
.flow-dot {
  fill:var(--accent);
  animation:pulse 3s infinite
}
.flow-dot.second {
  fill:var(--forest);
  animation-delay:1.5s
}
@keyframes pulse {
  50% {
    opacity:.2
  }
}
.proof-strip {
  display:grid;
  grid-template-columns:1.1fr 1fr 1.6fr 1.35fr 1.35fr;
  gap:25px;
  padding-top:32px;
  padding-bottom:25px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.proof-strip .eyebrow {
  font-size:9px;
  line-height:2.2;
  margin-bottom:0
}
.proof-strip .eyebrow a {
  color:var(--accent)
}
.proof-strip strong {
  display:block;
  font-size:29px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:-1.3px;
  margin-bottom:10px
}
.proof-strip strong span {
  font-size:13px;
  letter-spacing:-.3px
}
.proof-strip div>span {
  display:block;
  font-size:10px;
  line-height:1.7;
  color:var(--muted)
}
.strip-note {
  grid-column:1/-1;
  margin:0;
  color:var(--muted);
  font-size:10px
}
.architecture {
  display:grid;
  grid-template-columns:.65fr 1.35fr;
  gap:70px
}
.architecture .section-intro {
  margin:0
}
.architecture>* {
  min-width:0
}
.architecture-art {
  background:var(--panel);
  border:1px solid var(--line);
  padding:20px 10px
}
.architecture-art svg {
  display:block;
  width:100%;
  height:auto
}
.connector {
  stroke:var(--muted);
  stroke-width:1.3;
  fill:none
}
.diagram-node rect {
  fill:var(--bg);
  stroke:var(--line);
  stroke-width:1.4
}
.diagram-node text,.plane text {
  text-anchor:middle;
  fill:var(--ink);
  font:12px Manrope,sans-serif;
  font-weight:650
}
.diagram-node text.sub,.plane text.sub {
  font-size:9px;
  fill:var(--muted);
  font-weight:400
}
.plane rect {
  fill:var(--soft);
  stroke:var(--line)
}
.plane text {
  font:9px Plex,monospace
}
.architecture-art[data-active="0"] .node-ingest rect,.architecture-art[data-active="0"] .node-index rect,.architecture-art[data-active="1"] .node-publish rect,.architecture-art[data-active="2"] .node-serve rect,.architecture-art[data-active="2"] .query-node rect {
  stroke:var(--accent);
  fill:var(--accent-soft);
  stroke-width:2
}
.walkthrough {
  margin-top:20px
}
.stage-buttons {
  display:flex;
  gap:8px
}
.stage-buttons button {
  border:0;
  border-bottom:2px solid var(--line);
  background:transparent;
  padding:8px 12px;
  font-size:11px;
  flex:1
}
.stage-buttons button[aria-pressed=true] {
  border-color:var(--accent);
  color:var(--accent)
}
.stage-detail {
  padding-top:22px;
  min-height:150px
}
.stage-detail h3 {
  font-size:18px
}
.stage-detail p {
  font-size:13px;
  color:var(--muted);
  max-width:560px
}
.scaling-section {
  background:var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.scaling-section>.wrap {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:55px
}
.scaling-section .section-intro {
  margin:0
}
.scaling-rows article {
  display:grid;
  grid-template-columns:22px 1fr;
  gap:22px;
  padding:28px 0;
  border-top:1px solid var(--line)
}
.scaling-rows article:first-child {
  padding-top:0;
  border:0
}
.row-number {
  color:var(--accent);
  font-size:10px;
  padding-top:5px
}
.scaling-rows h3 {
  font-size:21px;
  margin-bottom:12px
}
.scaling-rows p {
  font-size:13px;
  color:var(--muted);
  margin:0
}
.fine-print {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin:12px 0 0
}
.scaling-section .fine-print {
  grid-column:1/-1
}
.landscape {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px
}
.landscape-list article {
  display:grid;
  grid-template-columns:115px 1fr;
  column-gap:20px;
  padding:22px 0;
  border-top:1px solid var(--line)
}
.landscape-list h3 {
  font-size:16px;
  letter-spacing:-.03em
}
.landscape-list p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.landscape-list a {
  grid-column:2;
  font-size:10px;
  color:var(--accent);
  margin-top:10px
}
.landscape>.fine-print {
  grid-column:1/-1
}
.closing {
  padding-top:75px;
  padding-bottom:95px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1.2fr 1fr;
  column-gap:80px
}
.closing>.eyebrow {
  grid-column:1/-1
}
.closing h2 {
  margin:14px 0 0;
  font-size:clamp(48px,5.5vw,78px)
}
.closing h2 span {
  color:var(--accent)
}
.closing>div {
  align-self:end;
  max-width:350px
}
.closing p:not(.eyebrow) {
  color:var(--muted);
  font-size:16px
}
.page-hero {
  padding-top:72px;
  padding-bottom:45px
}
.page-hero h1 {
  font-size:clamp(44px,5vw,70px);
  max-width:850px;
  margin:24px 0
}
.page-hero .lead {
  max-width:670px;
  font-size:16px
}
.tabs {
  display:flex;
  gap:28px;
  border-bottom:1px solid var(--line);
  margin-top:30px
}
.tabs button {
  background:transparent;
  border:0;
  border-bottom:2px solid transparent;
  padding:14px 0;
  font-size:12px;
  color:var(--muted)
}
.tabs button[aria-selected=true] {
  border-color:var(--accent);
  color:var(--ink)
}
.tabs small {
  font-size:9px;
  border:1px solid var(--line);
  padding:2px 5px;
  border-radius:3px;
  margin-left:5px
}
.benchmark-main {
  padding-bottom:80px
}
.bench-controls {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
  margin-bottom:25px
}
.segmented {
  display:flex;
  border:1px solid var(--line);
  border-radius:4px;
  padding:3px;
  gap:3px
}
.segmented button {
  border:0;
  border-radius:2px;
  background:transparent;
  font-size:11px;
  padding:8px 13px;
  color:var(--muted)
}
.segmented button[aria-pressed=true] {
  background:var(--ink);
  color:var(--bg)
}
.select-label {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:11px;
  color:var(--muted)
}
select {
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--ink);
  padding:9px 28px 9px 11px;
  border-radius:3px;
  font-size:12px;
  max-width:100%
}
.bench-controls>.text-link {
  margin-left:auto;
  font-size:10px
}
.study-context {
  font-size:12px;
  color:var(--muted);
  margin-bottom:25px
}
.notice {
  border-left:3px solid var(--accent);
  background:var(--accent-soft);
  padding:15px 19px;
  margin:20px 0;
  font-size:12px;
  line-height:1.8
}
.notice strong {
  display:block;
  margin-bottom:3px
}
.notice p {
  margin-bottom:0
}
.table-wrap {
  overflow:auto;
  max-width:100%;
  margin:25px 0 30px;
  border:1px solid var(--line);
  background:var(--panel)
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:11px;
  text-align:left;
  white-space:nowrap
}
th {
  background:var(--soft);
  font-size:10px;
  font-weight:600;
  color:var(--muted)
}
th,td {
  padding:13px 16px;
  border-bottom:1px solid var(--line)
}
tr:last-child td {
  border-bottom:0
}
td.numeric,th.numeric {
  text-align:right;
  font-variant-numeric:tabular-nums
}
.table-note {
  font-size:11px;
  color:var(--muted)
}
.system-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  margin-right:7px
}
.phase-pills {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:10px;
  margin:30px 0 18px
}
.phase-pills span {
  border:1px solid var(--line);
  padding:3px 9px;
  border-radius:3px;
  color:var(--muted)
}
.plot-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.plot {
  border:1px solid var(--line);
  background:var(--panel);
  padding:24px 24px 17px;
  min-width:0;
  border-radius:4px
}
.plot.wide {
  grid-column:1/-1
}
.plot-head {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:start
}
.plot h3 {
  font-size:17px;
  letter-spacing:-.035em;
  margin:0 0 7px
}
.plot-subtitle {
  font-size:10px;
  color:var(--muted);
  margin:0 0 12px;
  min-height:32px
}
.plot-tools {
  display:flex;
  gap:9px;
  align-items:center;
  flex-shrink:0
}
.plot-tools button {
  background:transparent;
  border:1px solid var(--line);
  border-radius:3px;
  font:9px Plex,monospace;
  padding:5px 8px
}
.plot-tools label {
  display:flex;
  align-items:center;
  gap:3px;
  font-size:9px;
  color:var(--muted)
}
.chart-legend {
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  min-height:30px;
  margin:8px 0
}
.chart-legend label {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  cursor:pointer
}
.chart-legend input {
  width:12px;
  height:12px;
  accent-color:var(--ink);
  margin:0
}
.legend-swatch {
  height:2px;
  width:13px
}
.chart {
  width:100%;
  display:block;
  overflow:visible;
  touch-action:pan-y
}
.chart text {
  font:11px Plex,monospace;
  fill:var(--muted)
}
.chart .grid {
  stroke:var(--line);
  stroke-dasharray:2 4;
  stroke-width:1
}
.chart .axis {
  stroke:var(--line);
  stroke-width:1
}
.chart .trace {
  fill:none;
  stroke-width:1.6;
  stroke-linejoin:round;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke
}
.chart .phase-line {
  stroke:var(--muted);
  stroke-dasharray:3 4;
  stroke-width:.8;
  opacity:.4
}
.chart .cursor-line {
  stroke:var(--ink);
  stroke-dasharray:2 3;
  stroke-width:1;
  opacity:.5
}
.chart input {
  accent-color:var(--accent)
}
.scrubber {
  width:100%;
  height:14px;
  margin:0;
  accent-color:var(--accent)
}
.plot.is-inspected h3 { font-weight:800; }
.chart .trace.is-inspected { stroke-width:3.5; }
.plot-tooltip {
  position:fixed;
  z-index:100;
  pointer-events:none;
  max-width:calc(100vw - 16px);
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--panel);
  box-shadow:0 5px 22px #0003;
  color:var(--ink);
  line-height:1.4;
}
.tip-title { display:block; font-size:14px; }
.tip-axis { margin:3px 0 8px; color:var(--muted); font-size:12px; }
.plot-tooltip table { width:auto; max-width:100%; white-space:normal; font-size:12px; }
.plot-tooltip th, .plot-tooltip td { padding:4px 0; border:0; background:none; font-size:inherit; color:inherit; font-weight:400; }
.plot-tooltip th:first-child { padding-right:12px; }
.plot-tooltip thead th { font-size:11px; color:var(--muted); }
.plot-tooltip tr > :not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
.plot-tooltip tr > :nth-child(3) { padding-left:10px; }
.plot-tooltip tbody tr { border-top:1px solid var(--line); }
.plot-tooltip tbody small { display:block; margin-left:14px; color:var(--muted); font-weight:400; }
.plot-tooltip tr.is-inspected > * { font-weight:800; }
.tip-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; }
.sample-note {
  font-size:9px;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:8px;
  display:flex;
  justify-content:space-between;
  gap:10px
}
.empty-plot {
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:35px;
  color:var(--muted);
  font-size:12px
}
.extra-plots {
  margin-top:30px
}
.extra-plots>summary,.methodology>summary {
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  padding:18px 0
}
.extra-plots[open]>summary {
  margin-bottom:10px
}
.methodology {
  border-top:1px solid var(--line);
  margin-top:40px
}
.method-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px 50px;
  margin:15px 0 35px
}
.method-grid h3 {
  font-size:16px
}
.method-grid p {
  font-size:12px;
  color:var(--muted)
}
.cost-section {
  margin:60px 0 30px;
  border-top:1px solid var(--line);
  padding-top:40px
}
.cost-section h2 {
  font-size:32px
}
.cost-controls {
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  font-size:12px
}
.cost-controls input {
  width:95px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:3px;
  padding:8px 10px;
  color:var(--ink)
}
.cost-controls label {
  display:flex;
  gap:9px;
  align-items:center
}
.pending {
  border:1px solid var(--line);
  padding:40px;
  margin:20px 0;
  background:var(--panel)
}
.pending h2 {
  font-size:30px
}
.pending p {
  max-width:690px;
  color:var(--muted);
  font-size:14px
}
.pending li {
  font-size:13px;
  padding:7px 0
}
.loading {
  font:12px Plex,monospace;
  padding:50px 0;
  color:var(--muted)
}
.doc-layout {
  display:grid;
  grid-template-columns:195px minmax(0,780px);
  gap:70px;
  padding-bottom:100px;
  max-width:1250px
}
.doc-layout>* {
  min-width:0
}
.doc-sidebar {
  font-size:12px;
  align-self:start;
  position:sticky;
  top:25px
}
.doc-sidebar .eyebrow {
  margin:0 0 16px
}
.doc-sidebar a {
  display:block;
  padding:9px 12px;
  border-left:1px solid var(--line);
  color:var(--muted)
}
.doc-sidebar a[aria-current=page] {
  border-left:2px solid var(--accent);
  color:var(--ink);
  background:var(--soft)
}
.doc-content section {
  padding-top:30px;
  margin-bottom:32px;
  border-top:1px solid var(--line)
}
.doc-content section:first-child {
  padding-top:0;
  border-top:0
}
.doc-content h2 {
  font-size:30px;
  margin-bottom:18px
}
.doc-content h3 {
  font-size:20px;
  margin:27px 0 14px
}
.doc-content p,.doc-content li {
  font-size:14px;
  color:var(--muted);
  line-height:1.85
}
.doc-content a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px
}
.doc-content details {
  font-size:13px;
  margin:20px 0
}
.doc-content summary {
  cursor:pointer;
  font-weight:600
}
.doc-content ul,.doc-content ol {
  padding-left:22px
}
.doc-content li {
  margin:9px 0
}
.doc-content th,.doc-content td {
  white-space:normal;
  vertical-align:top
}
.doc-content th:first-child,.doc-content td:first-child {
  min-width:150px
}
code {
  font:11px/1.8 Plex,monospace;
  background:var(--soft);
  padding:2px 5px;
  border-radius:3px;
  overflow-wrap:anywhere
}
pre {
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:4px;
  position:relative;
  padding:25px 68px 25px 22px;
  overflow-x:auto;
  margin:20px 0
}
pre code {
  padding:0;
  background:none;
  font-size:11px;
  line-height:1.9;
  white-space:pre;
  overflow-wrap:normal
}
.copy {
  position:absolute;
  top:9px;
  right:9px;
  font:9px Plex,monospace;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:3px;
  padding:4px 7px
}
.doc-next {
  border-top:1px solid var(--line);
  padding-top:25px;
  display:flex;
  justify-content:space-between;
  font-size:12px
}
.observability-flow {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding:25px 0;
  font-size:12px
}
.observability-flow span {
  border:1px solid var(--line);
  padding:15px;
  background:var(--panel)
}
[hidden] {
  display:none!important
}
@media(min-width:1500px) {
  .hero {
    gap:90px
  }
  .hero-graphic {
    max-width:550px
  }
}
@media(max-width:1150px) {
  .wrap {
    padding-left:35px;
    padding-right:35px
  }
  .header {
    padding:20px 30px;
    gap:24px
  }
  .nav {
    gap:20px
  }
  .header-actions {
    gap:13px
  }
  .hero {
    gap:25px;
    min-height:600px;
    padding-top:65px
  }
  .hero-actions {
    gap:15px;
    flex-wrap:wrap
  }
  .hero-foot {
    font-size:8px
  }
  .architecture {
    grid-template-columns:1fr;
    gap:15px
  }
  .architecture .section-intro {
    max-width:600px
  }
  .architecture-art {
    padding:25px
  }
  .architecture-body {
    max-width:100%
  }
  .scaling-section>.wrap,.landscape {
    gap:40px
  }
  .plot {
    padding:19px 16px 14px
  }
  .plot-head {
    gap:8px
  }
  .plot-tools {
    gap:5px
  }
  .doc-layout {
    gap:35px
  }
}
@media(max-width:800px) {
  .brand-group {
    flex-direction:column;
    gap:3px
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:55px;
    gap:42px
  }
  .hero h1 {
    font-size:clamp(54px,11vw,78px)
  }
  .hero-copy {
    max-width:620px
  }
  .lead {
    max-width:550px
  }
  .hero-graphic {
    max-width:520px;
    justify-self:center;
    width:100%;
    transform:none
  }
  .hero-foot {
    font-size:9px
  }
  .proof-strip {
    grid-template-columns:1fr 1fr;
    gap:25px 20px
  }
  .proof-strip>.eyebrow {
    grid-column:1/-1
  }
  .proof-strip strong {
    font-size:32px
  }
  .proof-strip div>span {
    font-size:11px
  }
  .section {
    padding-top:75px;
    padding-bottom:75px
  }
  .scaling-section>.wrap,.landscape {
    grid-template-columns:1fr
  }
  .landscape .section-intro {
    margin:0
  }
  .closing {
    gap:35px;
    grid-template-columns:1fr;
    padding-bottom:65px
  }
  .closing>div {
    max-width:500px
  }
  .plot-grid {
    grid-template-columns:1fr
  }
  .plot.wide {
    grid-column:auto
  }
  .plot {
    padding:25px
  }
  .plot-subtitle {
    min-height:0
  }
  .page-hero {
    padding-top:50px
  }
  .method-grid {
    grid-template-columns:1fr;
    gap:10px
  }
  .doc-layout {
    grid-template-columns:1fr;
    gap:35px
  }
  .doc-sidebar {
    position:static;
    display:flex;
    flex-wrap:wrap;
    gap:5px
  }
  .doc-sidebar .eyebrow {
    width:100%;
    margin-bottom:3px
  }
  .doc-sidebar a {
    border:1px solid var(--line);
    padding:7px 12px;
    font-size:11px
  }
  .doc-sidebar a[aria-current=page] {
    border:1px solid var(--accent)
  }
  .bench-controls {
    align-items:start
  }
  .bench-controls>.text-link {
    margin-left:0
  }
  .tabs {
    gap:20px;
    flex-wrap:wrap
  }
  .tabs button {
    padding:9px 0
  }
  .cost-section {
    margin-top:40px
  }
}
@media(max-width:650px) {
  .header {
    padding:20px 22px;
    gap:10px;
    flex-wrap:wrap
  }
  .brand {
    font-size:23px
  }
  .brand svg {
    width:28px;
    height:28px
  }
  .header-actions {
    margin-left:auto;
    gap:12px
  }
  .themes {
    padding:2px
  }
  .themes button {
    padding:5px
  }
  .themes button svg {
    width:15px;
    height:15px
  }
  .menu-toggle {
    display:flex;
    font-size:10px;
    align-items:center;
    gap:7px;
    padding:0
  }
  .menu-toggle span {
    font-size:18px
  }
  .nav {
    display:none;
    width:100%;
    order:3;
    padding-top:18px;
    margin-top:4px;
    border-top:1px solid var(--line);
    gap:25px
  }
  .menu-open .nav {
    display:flex
  }
}
@media(max-width:540px) {
  .wrap {
    padding-left:22px;
    padding-right:22px
  }
  .hero {
    padding-top:42px;
    padding-bottom:40px;
    gap:30px
  }
  .hero .eyebrow {
    font-size:8px;
    margin-bottom:24px
  }
  .hero h1 {
    font-size:54px;
    margin-bottom:20px
  }
  .lead {
    font-size:16px
  }
  .hero-actions {
    gap:18px;
    margin-bottom:22px
  }
  .hero-actions .button {
    padding:12px 17px
  }
  .hero-foot {
    font-size:8px
  }
  .graphic-top,.graphic-bottom {
    font-size:8px;
    padding:12px 15px
  }
  .section {
    padding-top:60px;
    padding-bottom:60px
  }
  .section-intro>p:last-child {
    font-size:15px
  }
  .architecture-art {
    padding:20px 0;
    overflow-x:auto
  }
  .architecture-art svg {
    min-width:530px
  }
  .stage-buttons button {
    padding:9px 5px;
    font-size:10px
  }
  .stage-detail {
    min-height:180px
  }
  .stage-detail p {
    font-size:12px
  }
  .scaling-rows article {
    gap:14px
  }
  .landscape-list article {
    grid-template-columns:90px 1fr;
    gap:12px
  }
  .landscape-list h3 {
    font-size:14px
  }
  .closing h2 {
    font-size:46px
  }
  .page-hero h1 {
    font-size:43px
  }
  .page-hero .lead {
    font-size:14px
  }
  .tabs {
    gap:17px
  }
  .tabs button {
    font-size:11px
  }
  .tabs small {
    font-size:8px;
    margin-left:2px
  }
  .bench-controls {
    gap:16px
  }
  .segmented button {
    font-size:10px;
    padding:8px 11px
  }
  .select-label {
    flex-wrap:wrap;
    gap:7px
  }
  .plot {
    padding:20px 13px 15px
  }
  .plot-head {
    flex-wrap:wrap
  }
  .plot h3 {
    font-size:17px
  }
  .plot-tools {
    margin-left:auto
  }
  .chart-legend {
    gap:8px 12px
  }
  .chart-legend label {
    font-size:9px
  }
  .sample-note {
    font-size:8px
  }
  .notice {
    font-size:11px;
    padding:13px 15px
  }
  .doc-content h2 {
    font-size:27px
  }
  .doc-content p,.doc-content li {
    font-size:13px
  }
  .pending {
    padding:25px
  }
  .proof-strip {
    margin-top:10px
  }
  .doc-content pre {
    margin-left:-5px;
    margin-right:-5px
  }
  .doc-content pre code {
    font-size:10px
  }
}
@media(max-width:360px) {
  .header {
    padding-inline:12px;
    column-gap:6px
  }
  .header-actions {
    gap:6px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
@media(max-width:540px) {
  .chart text {
    font-size:17px
  }
  .scrubber {
    height:22px
  }
  .chart-legend label {
    font-size:10px
  }
  .chart-legend input {
    width:15px;
    height:15px
  }
  .plot-subtitle {
    font-size:11px
  }
  .sample-note {
    font-size:9px
  }
}

.architecture-mobile { display: none; }
@media(max-width:540px) {
  .architecture-art { padding: 20px 15px; overflow: visible; }
  .architecture-art>svg { display: none; }
  .architecture-mobile { display: block; text-align: center; font-size: 12px; }
  .mobile-plane { padding: 15px 8px; background: var(--soft); border: 1px dashed var(--line); margin-bottom: 24px; }
  .mobile-plane strong { font-weight: 600; }
  .mobile-plane span { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
  .mobile-ingest { padding: 10px; border: 1px solid var(--line); margin: 0 35px 15px; }
  .mobile-ingest span { display: block; font-size: 9px; color: var(--muted); }
  .mobile-flow { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: 3px; }
  .mobile-flow span { padding: 15px 0; background: var(--bg); border: 1px solid var(--line); }
  .mobile-flow b { font-weight: 400; color: var(--muted); }
  .mobile-query { border: 1px solid var(--line); padding: 12px 6px; margin-top: 16px; font-size: 10px; }
  .mobile-query span { color: var(--muted); font-size: 9px; }
  .architecture-art[data-active="0"] .mobile-ingest,
  .architecture-art[data-active="0"] .mobile-flow .node-index,
  .architecture-art[data-active="1"] .mobile-flow .node-publish,
  .architecture-art[data-active="2"] .mobile-flow .node-serve,
  .architecture-art[data-active="2"] .mobile-query { border-color: var(--accent); background: var(--accent-soft); }
}

/* Center the shared benchmark navigation within the public page width. */
.wrap.aws-study-tabs{margin-inline:auto}

.distribution-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,4vw,4rem); }
.distribution-pair h2, .benchmark-main > h2 { font-size:clamp(1.55rem,3vw,2.2rem); }
.distribution-pair meter { width:100%; min-width:3rem; height:0.7rem; accent-color:var(--chart-v); }
.distribution-pair td:nth-child(2) { width:35%; }
.workload-method { margin-block:3rem; }
@media (max-width:760px) { .distribution-pair { grid-template-columns:1fr; } }

.comparison-rail {
  position: sticky;
  top: .75rem;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: .8rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.comparison-rail fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.comparison-rail legend, .comparison-rail label { padding: 0; font-size: .75rem; font-weight: 600; color: var(--muted); }
.comparison-rail .segmented { margin-top: .3rem; }
.comparison-rail .segmented button { flex: 1; padding: .5rem .25rem; }
.comparison-rail select { display: block; width: 100%; margin-top: .3rem; }
.load-caption, #load-stops { display: flex; align-items: baseline; justify-content: space-between; }
#load-value { color: var(--accent); font-weight: 650; font-variant-numeric: tabular-nums; }
#load-slider { display: block; width: 100%; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
#load-stops { margin-inline: 8px; font: 10px Plex, monospace; color: var(--muted); }
#load-stops span { width: 0; display: grid; justify-content: center; }
.comparison-results { min-width: 0; }
@media (min-width: 64rem) {
  .study-layout { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: clamp(1.5rem, 2.5vw, 3rem); }
  .study-layout > .benchmark-main, .study-layout > .comparison-results { grid-column: 2; }
  .comparison-rail { align-self: start; grid-template-columns: 1fr; top: 1.5rem; padding: 1rem; }
  .comparison-rail > div { padding-top: .8rem; border-top: 1px solid var(--line); }
}
@media (max-width: 63.99rem) {
  .comparison-results :is(input, button, summary, [tabindex]) { scroll-margin-top: 7rem; }
}
