* {
  box-sizing: border-box;
}

:root {
  --ink: #161616;
  --ink-soft: #2a2928;
  --surface: #fff;
  --radius-card: 18px;
  --shadow-card: 0 1px 2px rgb(22 22 22 / 4%), 0 12px 40px rgb(22 22 22 / 6%);
  --shadow-float: 0 2px 6px rgb(22 22 22 / 6%), 0 22px 60px rgb(22 22 22 / 14%);
  --chart-ink: #161616;
  --chart-reasoning: #a39d96;
  --graphite: #5b5753;
  --stone: #a39d96;
  --sand: #d4cbbf;
  --cream: #ece6de;
  --tint: #f3efea;
  --coral: #f2805a;
  --lime-deep: #5aa02c;
  --lime-line: #8fd14f;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 5px;
}

a.preview-pointer-focus:focus-visible {
  outline: none;
}

a:hover {
  color: var(--link);
}

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

figure,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

code,
pre {
  font-family: var(--code-font);
}

pre {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(60px, 6.6vw, 98px);
  line-height: 0.99;
  letter-spacing: -0.062em;
  font-weight: 650;
}

h2 {
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.048em;
  font-weight: 620;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 620;
}

.section-wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-intro > :where(p:not(.eyebrow)) {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading > :where(p),
.section-heading > div > :where(p:not(.eyebrow)) {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
}

/* Decorative glows may extend past the viewport; clip them without creating a scroll container. */
main {
  overflow-x: clip;
}

/* Header */

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: max(32px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgb(249 247 245 / 86%);
  backdrop-filter: saturate(160%) blur(18px);
}

.topbar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgb(164 242 88 / 70%) 30%,
    rgb(219 50 118 / 45%) 66%,
    rgb(255 126 93 / 50%) 84%,
    transparent 98%
  );
  pointer-events: none;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(22 22 22 / 18%);
}

.brand-group {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.brand-by {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  white-space: nowrap;
}

.brand-by:hover {
  color: var(--ink);
}

.topbar-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  color: var(--text-soft);
  font-size: 13px;
}

nav a,
.topbar .button {
  white-space: nowrap;
}

/* Buttons and links */

.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--accent);
  box-shadow:
    0 6px 18px rgb(105 156 53 / 22%),
    inset 0 1px rgb(255 255 255 / 45%);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.4;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  color: var(--ink);
  background: #b2fa68;
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12px;
}

.button-ghost {
  gap: 9px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 1px 2px rgb(22 22 22 / 6%);
}

.button-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.github-icon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: currentcolor;
}

.button:has(.github-icon) {
  gap: 10px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.text-link,
.inline-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--link);
  font-size: 14px;
  font-weight: 550;
}

.inline-link {
  margin-top: 18px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  min-height: 720px;
  padding-block: 72px 88px;
}

.hero-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgb(255 255 255 / 70%);
  font-size: 12px;
  font-weight: 550;
}

.status-dot,
.caption-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bc97a;
  box-shadow: 0 0 0 3px rgb(91 201 122 / 18%);
}

.accent-text {
  color: var(--text);
  background: linear-gradient(transparent 80%, var(--accent) 80%, var(--accent) 94%, transparent 94%);
}

.hero-definition {
  margin-top: 28px;
  font-size: 21px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 460px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero .actions {
  margin-top: 30px;
  gap: 24px;
}

.install-chip {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  margin-top: 30px;
  padding: 6px 6px 6px 14px;
  border-radius: 11px;
  color: #e9e6e2;
  background: var(--ink);
  box-shadow: 0 8px 24px rgb(22 22 22 / 14%);
}

.install-chip code {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-chip .copy-button {
  color: var(--ink);
  background: var(--accent);
}

.install-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  justify-items: start;
  margin-top: 28px;
}

.install-list .install-chip {
  margin-top: 0;
}

/* The Docker command is the longest line in the hero; let the chips use the column gap instead of truncating it. */
.hero .install-list {
  margin-right: -72px;
}

.install-list .install-chip code {
  font-size: 11.5px;
}

.install-tag {
  flex: none;
  min-width: 46px;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent);
  background: rgb(255 255 255 / 8%);
  font-family: var(--code-font);
  font-size: 11px;
  text-align: center;
}

.hero-stage {
  position: relative;
  min-width: 0;
  padding: 26px 0 30px 26px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -60px -20px 0;
  background:
    radial-gradient(closest-side at 70% 40%, rgb(164 242 88 / 22%), transparent),
    radial-gradient(closest-side at 30% 80%, rgb(255 126 93 / 14%), transparent);
  filter: blur(10px);
}

.hero-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding-inline: 13px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  background: #fbfaf8;
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dad6d1;
}

.window-dots i:first-child {
  background: #ff7e5d;
}

.window-dots i:nth-child(2) {
  background: #e8b445;
}

.window-dots i:nth-child(3) {
  background: #a4f258;
}

.window-label {
  font-family: var(--code-font);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.screenshot-link {
  display: block;
}

.float-card {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 14px;
  background: rgb(255 255 255 / 86%);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px) saturate(160%);
}

.float-request {
  top: 0;
  left: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  font-size: 11px;
}

.float-request code {
  font-size: 11px;
}

.float-method {
  padding: 2px 6px;
  border-radius: 5px;
  color: #71398c;
  background: rgb(137 68 171 / 10%);
  font-size: 10px;
  font-weight: 650;
}

.float-status {
  padding: 2px 7px;
  border-radius: 999px;
  color: #337c49;
  background: rgb(91 201 122 / 16%);
  font-size: 10px;
  font-weight: 650;
}

.float-cache {
  right: -18px;
  bottom: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  width: 272px;
  padding: 12px 16px 12px 12px;
}

.float-cache .ring-center strong {
  font-size: 19px;
}

.float-cache .ring-center span {
  font-size: 9.5px;
}

.float-copy {
  display: grid;
  gap: 3px;
}

.float-kicker {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.float-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.hero-stage figcaption {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.hero-stage .caption-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

/* Provider strip */

.provider-strip {
  padding-block: 26px;
  border-block: 1px solid var(--line-soft);
  background: rgb(255 255 255 / 55%);
}

.provider-strip p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.provider-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}

.provider-strip li {
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

/* Workflow */

.workflow {
  padding-block: 96px 100px;
}

.workflow-flow {
  --flow-gap: 64px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
  margin-top: 52px;
}

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.flow-glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--ink);
}

.flow-glyph svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-node p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.flow-node p code {
  color: var(--text-soft);
  font-size: 12px;
}

.flow-link {
  position: absolute;
  top: 43px;
  left: 100%;
  width: var(--flow-gap);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--graphite) 0 5px, transparent 5px 10px);
}

.flow-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--graphite);
  border-right: 2px solid var(--graphite);
  transform: translateY(-50%) rotate(45deg);
}

.flow-link i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(164 242 88 / 28%);
  animation: flow-x 2.6s ease-in-out infinite;
}

@keyframes flow-x {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  15%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(var(--flow-gap) - 16px));
  }
}

@keyframes flow-y {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  15%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(calc(var(--flow-gap) - 16px));
  }
}

.step-code {
  margin-top: auto;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 12px;
  color: #e9e6e2;
  background: var(--ink);
  font-size: 11.5px;
  line-height: 1.75;
}

.code-keyword {
  color: #c39bff;
}

.code-string {
  color: #b9f27a;
}

.code-comment {
  color: #8f8a84;
}

/* Dashboard */

.dashboard-section {
  padding-block: 96px 80px;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f3efea, var(--canvas) 40%);
}

.dashboard-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.dashboard-figure > a {
  display: block;
}

.dashboard-figure figcaption {
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  margin-top: 64px;
}

.detail-grid .eyebrow {
  margin-bottom: 12px;
}

.detail-grid :where(p:not(.eyebrow)) {
  max-width: 480px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.detail-image {
  display: block;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.lifecycle {
  margin-top: 84px;
}

.lifecycle-heading {
  max-width: 640px;
  margin-bottom: 26px;
}

.lifecycle-heading .eyebrow {
  margin-bottom: 12px;
}

.lifecycle-heading h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.lifecycle-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.lifecycle-canvas {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  background-image: radial-gradient(circle, rgb(22 22 22 / 8%) 1px, transparent 1.3px);
  background-size: 18px 18px;
  box-shadow: var(--shadow-card);
}

.lifecycle-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.lifecycle-tall {
  display: none;
}

.lc-link {
  color: var(--graphite);
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
}

.lc-link-return {
  color: var(--lime-deep);
  stroke: var(--lime-deep);
}

.lc-node rect {
  fill: #fff;
  stroke: rgb(22 22 22 / 14%);
}

.lc-node-core rect {
  fill: var(--ink);
  stroke: var(--ink);
}

.lc-node-core .lc-chip {
  fill: rgb(164 242 88 / 12%);
  stroke: rgb(164 242 88 / 55%);
}

.lc-title {
  fill: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.lc-node-core .lc-title {
  fill: #fff;
}

.lc-sub {
  fill: var(--muted);
  font-size: 12.5px;
}

.lc-mono {
  fill: var(--text-soft);
  font-family: var(--code-font);
  font-size: 12px;
}

.lc-chip {
  fill: var(--tint);
}

.lc-chip-text {
  fill: var(--text-soft);
  font-size: 11.5px;
  font-weight: 550;
}

.lc-node-core .lc-chip-text {
  fill: var(--accent);
}

.lc-pill rect {
  fill: #fff;
  stroke: rgb(22 22 22 / 12%);
}

.lc-pill text,
.lc-side {
  fill: var(--text-soft);
  font-size: 11.5px;
  font-weight: 550;
}

.lc-packet {
  opacity: 0;
  fill: none;
  stroke: #76c043;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 2 200;
  stroke-dashoffset: 2;
  animation: lc-packet-1 7s linear infinite;
}

.lc-packet-2 {
  animation-name: lc-packet-2;
}

.lc-packet-3 {
  animation-name: lc-packet-3;
}

@keyframes lc-packet-1 {
  0% {
    opacity: 1;
    stroke-dashoffset: 2;
  }

  30% {
    opacity: 1;
    stroke-dashoffset: -100;
  }

  31%,
  100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@keyframes lc-packet-2 {
  0%,
  32% {
    opacity: 0;
    stroke-dashoffset: 2;
  }

  33% {
    opacity: 1;
    stroke-dashoffset: 2;
  }

  64% {
    opacity: 1;
    stroke-dashoffset: -100;
  }

  65%,
  100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@keyframes lc-packet-3 {
  0%,
  36% {
    opacity: 0;
    stroke-dashoffset: 2;
  }

  37% {
    opacity: 1;
    stroke-dashoffset: 2;
  }

  70% {
    opacity: 1;
    stroke-dashoffset: -100;
  }

  71%,
  100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

/* Token analytics */

.analytics-section {
  position: relative;
  padding-block: 104px;
  overflow: hidden;
  color: #f3f1ee;
  background:
    radial-gradient(900px 500px at 8% 0%, rgb(164 242 88 / 12%), transparent 65%),
    radial-gradient(800px 480px at 100% 10%, rgb(219 50 118 / 14%), transparent 60%),
    var(--ink);
}

.analytics-section .eyebrow {
  color: var(--accent);
}

.section-heading-dark > :where(p),
.section-heading-dark > div > :where(p:not(.eyebrow)) {
  color: rgb(243 241 238 / 72%);
}

.analytics-section .inline-link {
  color: var(--accent);
}

.chart-card {
  min-width: 0;
  padding: 26px;
  border-radius: 22px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}

.chart-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.chart-card-header h3 {
  font-size: 18px;
}

.chart-card-header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.sankey {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) minmax(0, 2.8fr) minmax(104px, 1fr);
  height: 390px;
}

.sankey-labels {
  position: relative;
}

.sankey-labels li {
  position: absolute;
  display: grid;
  line-height: 1.2;
  transform: translateY(-50%);
}

.sankey-labels span {
  color: var(--text-soft);
  font-size: 13px;
}

.sankey-labels strong {
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.sankey-labels-left li {
  right: 14px;
  text-align: right;
}

.sankey-labels-right li {
  left: 14px;
}

.sankey-plot {
  position: relative;
}

.sankey-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sankey-node {
  position: absolute;
  width: 10px;
  border-radius: 3px;
}

.sankey-node-left {
  left: 0;
}

.sankey-node-right {
  right: 0;
}

.sankey-node-center {
  left: 50%;
  width: 14px;
  background: var(--chart-ink);
  transform: translateX(-50%);
}

.sankey-center-label {
  position: absolute;
  left: 50%;
  display: grid;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgb(255 255 255 / 88%);
  line-height: 1.2;
  text-align: center;
  transform: translate(-50%, calc(-100% - 10px));
}

.sankey-center-label span {
  color: var(--muted);
  font-size: 12px;
}

.sankey-center-label strong {
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.donut-wrap {
  display: grid;
  gap: 22px;
}

.donut {
  position: relative;
  width: 168px;
  height: 168px;
  margin-inline: auto;
}

.donut svg {
  display: block;
  width: 100%;
  height: 100%;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  line-height: 1.15;
  text-align: center;
}

.donut-center strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.donut-center span {
  color: var(--muted);
  font-size: 11px;
}

.legend {
  display: grid;
  gap: 2px;
}

.legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto 50px;
  gap: 10px;
  align-items: center;
  padding-block: 4px;
  font-size: 13px;
}

.legend span:not(.swatch) {
  overflow: hidden;
  color: var(--text-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.legend em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.swatch-ink {
  background: var(--chart-ink);
}

.swatch-reasoning {
  background: var(--chart-reasoning);
}

.legend-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 12px;
}

.legend-inline li {
  display: inline-flex;
  gap: 7px;
  padding: 0;
  font-size: 12px;
}

.growth {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  height: 168px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.growth li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.growth-total {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.growth-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 44px;
  max-height: calc(100% - 46px);
  overflow: hidden;
  border-radius: 6px 6px 2px 2px;
  background: #d6d1cb;
}

.growth-cached {
  display: block;
  width: 100%;
  border-top: 2px solid var(--surface);
  background: #5aa02c;
}

.growth-index {
  order: 3;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.output-split {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.output-split p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.output-split p span {
  color: var(--text-soft);
}

.output-split p strong {
  font-weight: 650;
}

.output-bar {
  display: flex;
  gap: 2px;
  height: 10px;
}

.output-bar > span {
  height: 100%;
}

.output-visible {
  border-radius: 999px 2px 2px 999px;
  background: var(--chart-ink);
}

.output-reasoning {
  border-radius: 2px 999px 999px 2px;
  background: var(--chart-reasoning);
}

.output-split .legend-inline strong {
  margin-left: 2px;
}

.chart-note {
  max-width: 760px;
  margin-top: 22px;
  color: rgb(243 241 238 / 62%);
  font-size: 13px;
}

.example-chip {
  flex: none;
  padding: 4px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  color: rgb(243 241 238 / 80%);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-chip-light {
  border-color: var(--line);
  color: var(--muted);
}

.ring {
  position: relative;
  flex: none;
  margin-inline: auto;
}

.ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track,
.ring-arc {
  fill: none;
}

.ring-track {
  stroke: var(--cream);
}

.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  line-height: 1.1;
  text-align: center;
}

.ring-center strong {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.ring-center span {
  color: var(--muted);
  font-size: 11px;
}

.insights-block {
  margin-top: 72px;
}

.insights-heading {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.insights-heading h3 {
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.insights-heading p {
  margin-top: 6px;
  color: rgb(243 241 238 / 72%);
  font-size: 14px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 372px;
}

.insight-card .chart-card-header {
  margin-bottom: 14px;
}

.insight-visual {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-height: 0;
}

.capsules {
  display: grid;
  gap: 8px;
}

.capsule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding-inline: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tint);
  font-size: 13px;
}

.capsule-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--sand);
}

.capsule-accent .capsule-fill {
  background: var(--accent);
}

.capsule-label,
.capsule strong {
  position: relative;
}

.capsule-label {
  color: var(--text);
  font-weight: 550;
}

.capsule strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.dots {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
}

.legend-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: 16px;
}

.legend-single {
  grid-template-columns: minmax(0, 1fr);
}

.legend-compact li,
.legend-ops li {
  grid-template-columns: 10px minmax(0, 1fr) auto;
  padding-block: 3px;
  font-size: 12px;
}

.swatch-round {
  border-radius: 50%;
}

.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.status-chips li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--tint);
  font-size: 12px;
}

.status-chips strong {
  font-weight: 650;
}

.status-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pillcols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  height: 220px;
}

.pillcol {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 7px;
  justify-items: center;
  height: 100%;
}

.pillcol strong {
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.pillcol-track {
  display: flex;
  align-items: flex-end;
  width: 40px;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tint);
}

.pillcol-fill {
  width: 100%;
  border-radius: 999px;
  background: var(--graphite);
}

.pillcol-accent .pillcol-fill {
  background: var(--accent);
}

.pillcol-label {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.segbar {
  display: flex;
  gap: 3px;
  height: 16px;
}

.segbar span {
  flex-basis: 0;
  min-width: 4px;
  border-radius: 999px;
}

.legend-ops code {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bubbles {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-inline: auto;
}

.bubble-sand {
  fill: #e3dbd0;
}

.bubble-ink {
  fill: var(--ink);
}

.bubble-text {
  fill: var(--text);
  font-size: 18px;
  font-weight: 650;
}

.bubble-text-light {
  fill: var(--accent);
}

.legend-center {
  justify-content: center;
}

/* Capabilities */

.capabilities {
  padding-block: 104px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.capability {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.capability h3 {
  margin-top: 22px;
  padding-inline: 24px;
  font-size: 19px;
}

.capability p {
  margin-top: 8px;
  padding-inline: 24px;
  color: var(--muted);
  font-size: 14px;
}

.capability .inline-link {
  margin-top: auto;
  padding: 16px 24px 0;
}

.capability-visual {
  display: grid;
  place-items: center;
  min-height: 204px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.cap-svg {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  overflow: visible;
  color: var(--graphite);
}

.cap-text {
  fill: var(--text-soft);
  font-size: 12.5px;
  font-weight: 550;
}

.cap-small {
  font-size: 11px;
}

.cap-muted {
  fill: var(--muted);
}

.cap-mono {
  fill: var(--text);
  font-family: var(--code-font);
  font-size: 11.5px;
}

.cap-on-ink {
  fill: var(--accent);
}

.cap-link {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

.cap-node {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 3;
}

.cap-node-accent {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}

.cap-axis {
  stroke: var(--line);
  stroke-width: 1.5;
}

.cap-bracket {
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.4;
}

.cap-chunk {
  fill: var(--tint);
  stroke: rgb(22 22 22 / 10%);
}

.cap-done,
.cap-seal {
  fill: var(--ink);
}

.cap-tickdot {
  fill: var(--graphite);
}

.cap-tickdot-accent {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.cap-status {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.6;
}

.cap-status.cap-status-done {
  fill: var(--ink);
}

.cap-status-fault {
  fill: var(--coral);
  stroke: var(--coral);
}

.cap-status-retry {
  stroke: var(--graphite);
  stroke-dasharray: 3 3;
}

.cap-code {
  fill: var(--text);
  font-family: var(--code-font);
  font-size: 13px;
  font-weight: 650;
}

.cap-code-fault,
.cap-code-done {
  fill: #fff;
}

.cap-retry {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.cap-cell {
  fill: #fff;
  stroke: rgb(22 22 22 / 12%);
}

.cap-glyph {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.cap-glyph-fill {
  fill: var(--ink);
}

.cap-glyph-accent {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 1.2;
}

.cap-divider {
  stroke: var(--line);
  stroke-dasharray: 4 4;
}

.cap-lane {
  stroke-width: 2.5;
  stroke-linecap: round;
}

.cap-lane-accent,
.cap-station-accent {
  stroke: var(--lime-line);
}

.cap-lane-ink,
.cap-station-ink {
  stroke: var(--ink);
}

.cap-badge-accent {
  fill: var(--accent);
}

.cap-badge-ink {
  fill: var(--ink);
}

.cap-badge-text {
  font-size: 13px;
  font-weight: 700;
}

.cap-badge-text-accent {
  fill: var(--ink);
}

.cap-badge-text-ink {
  fill: #fff;
}

.cap-station {
  fill: #fff;
  stroke-width: 2.5;
}

.cap-row {
  fill: var(--tint);
}

.cap-check-ink,
.cap-seal-check {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-check-ink {
  stroke: var(--ink);
  stroke-width: 2;
}

.cap-seal-ring {
  fill: none;
  stroke: rgb(164 242 88 / 50%);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.cap-seal-check {
  stroke: var(--accent);
  stroke-width: 4;
}

/* Providers */

.coverage-section {
  padding-block: 96px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f3efea, var(--canvas) 50%);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.provider-grid li {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.provider-grid li:hover {
  border-color: rgb(131 204 60 / 60%);
  transform: translateY(-2px);
}

.provider-grid strong {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.provider-grid code {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sdk-tag {
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #365b16;
  background: rgb(164 242 88 / 26%);
  font-size: 10.5px;
  font-weight: 600;
}

.provider-grid .provider-native {
  grid-column: span 3;
  background: #fff;
}

.sdk-tag-muted {
  color: var(--text-soft);
  background: rgb(22 22 22 / 6%);
}

.coverage-note {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* Get started */

.start-section {
  padding-block: 104px;
  border-block: 1px solid var(--line-soft);
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.start-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.start-card header {
  margin-bottom: 22px;
}

.start-card header p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.start-card header code {
  color: var(--text-soft);
  font-size: 12px;
}

.start-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #365b16;
  background: rgb(164 242 88 / 30%);
  font-size: 11px;
  font-weight: 650;
}

.start-badge-muted {
  color: var(--text-soft);
  background: rgb(22 22 22 / 7%);
}

.start-card .inline-link {
  margin-top: auto;
  padding-top: 8px;
}

.code-panel {
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 13px;
  color: #e9e6e2;
  background: var(--ink);
}

.code-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 10px 8px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  color: #a39d96;
  font-size: 11px;
}

.code-panel pre {
  padding: 16px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.8;
}

.copy-button {
  min-height: 28px;
  padding: 4px 10px;
  border: 0;
  border-radius: 7px;
  color: #e9e6e2;
  background: rgb(255 255 255 / 10%);
  font-size: 11px;
  cursor: pointer;
}

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

.package-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 32px;
}

.package-row p {
  color: var(--muted);
  font-size: 13px;
}

.package-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-row a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--surface);
  font-family: var(--code-font);
  font-size: 12px;
}

.package-row a:hover {
  border-color: rgb(131 204 60 / 70%);
  color: var(--link);
}

/* FAQ */

.faq-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  padding-block: 96px;
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  padding-right: 15px;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
}

.faq-list p {
  margin-top: 14px;
  padding-right: 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Closing and footer */

.closing {
  padding-block: 96px 110px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgb(164 242 88 / 16%), transparent 70%),
    var(--canvas);
}

.closing-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgb(22 22 22 / 22%);
}

.closing h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.closing .section-wrap > :where(p:not(.eyebrow)) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.closing .actions {
  justify-content: center;
  margin-top: 30px;
}

.footer {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.footer .brand {
  font-size: 13px;
}

.footer .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.footer p,
.footer > div {
  color: var(--muted);
  font-size: 12px;
}

.footer > div {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 16px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Screenshot viewer */

.image-viewer {
  width: min(1200px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--canvas);
  box-shadow: 0 24px 100px rgb(0 0 0 / 25%);
}

.image-viewer::backdrop {
  background: rgb(15 15 15 / 72%);
  backdrop-filter: blur(6px);
}

.image-viewer-content {
  padding: 16px;
}

.image-viewer-toolbar,
.image-viewer-navigation {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.image-viewer-toolbar {
  margin-bottom: 12px;
}

.image-viewer-toolbar h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: normal;
}

.image-viewer-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}

.image-viewer button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--canvas);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.image-viewer button:hover {
  background: var(--accent);
}

.image-viewer-stage {
  max-height: calc(94dvh - 180px);
  overflow: auto;
  border-radius: 6px;
  overscroll-behavior: contain;
}

.image-viewer-image {
  display: block;
  width: 100%;
  max-height: calc(94dvh - 180px);
  border-radius: 6px;
  object-fit: contain;
}

.image-viewer-expanded .image-viewer-stage {
  height: calc(94dvh - 180px);
}

.image-viewer-expanded .image-viewer-image {
  width: auto;
  max-width: none;
  max-height: none;
}

.image-viewer-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.image-viewer-navigation {
  margin-top: 12px;
  font-size: 12px;
}

/* Responsive */

@media (width <= 1180px) {
  .section-wrap {
    width: calc(100% - 64px);
  }

  .hero {
    gap: 36px;
  }

  .hero .install-list {
    margin-right: 0;
  }

  .section-heading,
  .faq-section {
    gap: 50px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-grid > :last-child {
    grid-column: 1 / -1;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-grid .provider-native {
    grid-column: span 2;
  }

  .float-cache {
    right: -8px;
  }
}

@media (width <= 1080px) {
  .brand-by {
    display: none;
  }
}

@media (width <= 900px) {
  .topbar {
    gap: 16px;
    height: 64px;
    padding-inline: 24px;
  }

  nav {
    gap: 20px;
  }

  nav a:nth-child(3) {
    display: none;
  }

  .section-wrap {
    width: calc(100% - 48px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    min-height: auto;
    padding-block: 56px 72px;
  }

  h1 {
    font-size: clamp(60px, 12vw, 88px);
  }

  .hero-lede {
    max-width: 560px;
  }

  .hero-stage {
    max-width: 720px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section-heading > :where(p),
  .section-heading > div > :where(p:not(.eyebrow)) {
    max-width: 560px;
  }

  .workflow-flow {
    --flow-gap: 48px;

    grid-template-columns: minmax(0, 1fr);
  }

  .flow-link {
    top: 100%;
    left: 43px;
    width: 2px;
    height: var(--flow-gap);
    background: repeating-linear-gradient(180deg, var(--graphite) 0 5px, transparent 5px 10px);
  }

  .flow-link::after {
    inset: auto auto 3px 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .flow-link i {
    top: 0;
    left: 50%;
    margin-top: 0;
    margin-left: -4px;
    animation-name: flow-y;
  }

  .lifecycle-wide {
    display: none;
  }

  .lifecycle-tall {
    display: block;
    max-width: 420px;
    margin-inline: auto;
  }

  .lifecycle-canvas {
    padding: 18px 10px;
  }

  .start-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .workflow,
  .capabilities,
  .coverage-section,
  .start-section,
  .faq-section,
  .analytics-section {
    padding-block: 72px;
  }

  .dashboard-section {
    padding-block: 72px 60px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer > div {
    width: 100%;
    margin-left: 0;
  }
}

@media (width <= 780px) {
  .topbar nav {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }
}

@media (width <= 640px) {
  .topbar {
    height: 60px;
    padding-inline: 18px;
  }

  .topbar nav {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .brand-by,
  .topbar .button-label {
    display: none;
  }

  .topbar .button-ghost {
    width: 38px;
    padding-inline: 0;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .section-wrap {
    width: calc(100% - 36px);
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(54px, 15vw, 72px);
  }

  h2 {
    font-size: 36px;
  }

  .hero-definition {
    font-size: 18px;
  }

  .hero-lede {
    font-size: 15px;
  }

  .install-chip {
    display: flex;
  }

  .install-list {
    justify-items: stretch;
  }

  .install-chip code {
    font-size: 11px;
  }

  .hero-stage {
    padding: 0;
  }

  .hero-stage::before {
    inset: -30px 0 -10px;
  }

  .float-request {
    display: none;
  }

  .float-cache {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -28px 12px 0;
  }

  .hero-window {
    border-radius: 12px;
  }

  .window-bar {
    height: 30px;
    font-size: 9px;
  }

  .flow-node {
    padding: 20px;
  }

  .chart-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .chart-card-header {
    flex-direction: column;
    gap: 10px;
  }

  .sankey {
    grid-template-columns: 82px minmax(0, 1fr) 82px;
    height: 400px;
  }

  .sankey-labels span,
  .sankey-labels strong {
    font-size: 11.5px;
  }

  .sankey-labels-left li {
    right: 8px;
  }

  .sankey-labels-right li {
    left: 8px;
  }

  .sankey-node {
    width: 8px;
  }

  .sankey-node-center {
    width: 10px;
  }

  .chart-grid,
  .insight-grid,
  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .insights-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .insight-card {
    min-height: 0;
  }

  .chart-grid > :last-child {
    grid-column: auto;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .provider-grid li {
    padding: 14px;
  }

  .provider-grid .provider-native {
    grid-column: 1 / -1;
  }

  .start-card {
    padding: 18px;
  }

  .code-panel pre {
    font-size: 11px;
  }

  .closing h2 {
    font-size: 40px;
  }
}

@media (width <= 480px) {
  .image-viewer-content {
    padding: 12px;
  }

  .image-viewer-stage,
  .image-viewer-image {
    max-height: calc(94dvh - 230px);
  }

  .image-viewer-expanded .image-viewer-stage {
    height: calc(94dvh - 230px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .provider-grid li {
    transition: none;
  }

  .flow-link i,
  .lc-packet {
    animation: none;
  }

  .flow-link i {
    opacity: 0;
  }
}
