:root {
  color-scheme: light dark;
  --bg: #f7f7f4;
  --fg: #26251e;
  --fg-soft: rgba(38, 37, 30, 0.6);
  --fg-mid: rgba(38, 37, 30, 0.5);
  --fg-faint: rgba(38, 37, 30, 0.38);
  --card: #f2f1ed;
  --card-2: #ebeae5;
  --card-3: #e6e5e0;
  --border: rgba(38, 37, 30, 0.1);
  --border-strong: rgba(38, 37, 30, 0.2);
  --button: #26251e;
  --button-hover: #3b3a33;
  --button-text: #f7f7f4;
  --accent: #f54e00;
  --reflux-blue: #007dfe;
  --reflux-pale: #a9d8fb;
  --green: #1f8a65;
  --red: #cf2d56;
  --radius: 4px;
  --radius-ui: 8px;
  --header-height: 56px;
  --container: 1240px;
  --gutter: 40px;
  --duration: 140ms;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-window: 0 40px 90px rgba(38, 37, 30, 0.18);
  --shadow-soft: 0 16px 40px rgba(38, 37, 30, 0.08);
  --text-product-sm: 0.6875rem;
  --text-product-base: 0.75rem;
  --text-product-lg: 0.8125rem;
  --text-md-sm: 1.125rem;
  --text-md: 1.375rem;
  --text-md-lg: 1.625rem;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #14120b;
    --fg: #edecec;
    --fg-soft: rgba(237, 236, 236, 0.6);
    --fg-mid: rgba(237, 236, 236, 0.5);
    --fg-faint: rgba(237, 236, 236, 0.4);
    --card: #1b1913;
    --card-2: #201e18;
    --card-3: #26241e;
    --border: rgba(237, 236, 236, 0.1);
    --border-strong: rgba(237, 236, 236, 0.2);
    --button: #edecec;
    --button-hover: #d7d6d5;
    --button-text: #14120b;
    --reflux-blue: #6fa9db;
    --reflux-pale: #294052;
    --shadow-window: 0 40px 90px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14120b;
  --fg: #edecec;
  --fg-soft: rgba(237, 236, 236, 0.6);
  --fg-mid: rgba(237, 236, 236, 0.5);
  --fg-faint: rgba(237, 236, 236, 0.4);
  --card: #1b1913;
  --card-2: #201e18;
  --card-3: #26241e;
  --border: rgba(237, 236, 236, 0.1);
  --border-strong: rgba(237, 236, 236, 0.2);
  --button: #edecec;
  --button-hover: #d7d6d5;
  --button-text: #14120b;
  --reflux-blue: #6fa9db;
  --reflux-pale: #294052;
  --shadow-window: 0 40px 90px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--header-height);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 8px;
  z-index: 100;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 31px;
  height: 36px;
  object-fit: contain;
}

.brand img.mono-logo {
  filter: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand img.mono-logo {
    filter: invert(1);
  }
}

:root[data-theme="dark"] .brand img.mono-logo {
  filter: invert(1);
}

.brand span {
  font-size: 1.01rem;
}

.center-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.center-nav > a,
.nav-item > a,
.nav-item > button,
.header-actions > a {
  color: var(--fg);
  font-size: 0.875rem;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.center-nav > a,
.nav-item > a {
  padding: 9px 18px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > button {
  position: absolute;
  right: 1px;
  width: 18px;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

.nav-item:hover > button,
.nav-item:focus-within > button {
  opacity: 0.6;
}

.nav-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.nav-menu.two-col {
  grid-template-columns: repeat(2, max-content);
}

.nav-menu a {
  min-width: 8rem;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--fg-soft);
  font-size: 0.875rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--card-2);
  color: var(--fg);
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-actions > .button-primary {
  color: var(--button-text);
}

.header-actions > .button-secondary {
  color: var(--fg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.78em 1.35em 0.8em;
  border: 1px solid var(--button);
  font-size: 1rem;
  line-height: 1;
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--button);
  color: var(--button-text);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--card);
  color: var(--fg);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--card-2);
}

.button-small {
  min-height: 34px;
  padding: 0.4em 0.8em 0.42em;
  font-size: 0.875rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.keep-together {
  white-space: nowrap;
}

.section {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.hero {
  padding-top: 148px;
  padding-bottom: 52px;
}

.hero-copy {
  max-width: 920px;
}

.hero h1 {
  margin: 0;
  font-size: 1.86rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.hero-stage {
  position: relative;
  min-height: 700px;
  margin-top: 74px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-2);
}

.wallpaper,
.soft-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(247, 247, 244, 0.58), rgba(170, 154, 128, 0.24)),
    radial-gradient(circle at 24% 64%, rgba(0, 125, 254, 0.13), transparent 22%),
    radial-gradient(circle at 78% 38%, rgba(245, 78, 0, 0.12), transparent 24%),
    url("assets/wallpaper-product-light-01.jpg") center / cover no-repeat;
  filter: saturate(0.72) contrast(0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .wallpaper,
  :root:not([data-theme]) .soft-bg {
    background:
      linear-gradient(110deg, rgba(47, 38, 25, 0.62), rgba(22, 18, 12, 0.82)),
      radial-gradient(circle at 24% 64%, rgba(0, 125, 254, 0.1), transparent 24%),
      radial-gradient(circle at 78% 38%, rgba(238, 133, 74, 0.11), transparent 26%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
    filter: saturate(0.66) contrast(0.98);
  }
}

:root[data-theme="dark"] .wallpaper,
:root[data-theme="dark"] .soft-bg {
  background:
    linear-gradient(110deg, rgba(47, 38, 25, 0.62), rgba(22, 18, 12, 0.82)),
    radial-gradient(circle at 24% 64%, rgba(0, 125, 254, 0.1), transparent 24%),
    radial-gradient(circle at 78% 38%, rgba(245, 78, 0, 0.11), transparent 26%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  filter: saturate(0.66) contrast(0.98);
}

.desktop-window {
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: color-mix(in srgb, var(--bg) 88%, white 12%);
  box-shadow: var(--shadow-window);
  color: var(--fg);
  overflow: hidden;
}

.desktop-window[data-draggable-window] {
  touch-action: none;
}

.desktop-window[data-draggable-window] .window-chrome {
  cursor: grab;
  user-select: none;
}

.desktop-window.is-dragging {
  z-index: 5;
}

.desktop-window.is-front {
  z-index: 4;
}

.desktop-window.is-dragging .window-chrome {
  cursor: grabbing;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .desktop-window {
    background: color-mix(in srgb, var(--card) 92%, #3d3021 8%);
  }
}

:root[data-theme="dark"] .desktop-window {
  background: color-mix(in srgb, var(--card) 92%, #3d3021 8%);
}

.window-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, white 18%);
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .window-chrome {
    background: color-mix(in srgb, var(--card-2) 86%, #3c3022 14%);
  }
}

:root[data-theme="dark"] .window-chrome {
  background: color-mix(in srgb, var(--card-2) 86%, #3c3022 14%);
}

.window-chrome strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-chrome .dot:first-child {
  margin-left: 12px;
}

.hero-window {
  position: absolute;
  left: 50px;
  right: 72px;
  top: 32px;
  min-height: 390px;
}

.desktop-grid {
  display: grid;
  grid-template-columns: 245px minmax(290px, 1fr) minmax(310px, 0.92fr);
  min-height: 362px;
}

.review-list,
.agent-thread,
.sim-preview {
  min-width: 0;
}

.review-list {
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 44%, transparent);
}

.review-list > p {
  margin: 10px 12px 4px;
  color: var(--fg-mid);
  font-size: var(--text-product-sm);
  font-weight: 650;
}

.review-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--fg-mid);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.review-item.active,
.review-item:hover,
.review-item:focus-visible {
  background: color-mix(in srgb, var(--card-2) 58%, transparent);
  color: var(--fg);
}

.review-item:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--reflux-blue) 48%, var(--border));
  outline-offset: -1px;
}

.review-item strong,
.review-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-item strong {
  font-size: var(--text-product-lg);
  font-weight: 500;
}

.review-item small,
.review-item time {
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.check {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
}

.check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.agent-thread {
  position: relative;
  padding: 14px 14px 132px;
  border-right: 1px solid var(--border);
}

.agent-thread h2,
.mission-panel h3,
.agent-card h3,
.slack-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-product-lg);
  font-weight: 650;
}

.prompt-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--bg);
  padding: 8px 10px;
  color: var(--fg);
  font-size: var(--text-product-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.muted-line {
  margin: 11px 4px 0;
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.agent-answer {
  margin: 16px 4px 0;
  max-width: 360px;
  font-size: var(--text-product-lg);
  line-height: 1.35;
}

.agent-answer.bottom {
  margin-top: 14px;
}

.file-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--bg);
  padding: 9px 10px;
  color: var(--fg);
  font-size: var(--text-product-lg);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.file-pill:hover,
.file-pill:focus-visible,
.file-pill.active {
  border-color: color-mix(in srgb, var(--reflux-blue) 36%, var(--border));
  background: color-mix(in srgb, var(--reflux-pale) 18%, var(--bg));
}

.file-pill:hover,
.file-pill:focus-visible {
  transform: translateY(-1px);
}

.file-pill strong {
  flex: 1;
  font-weight: 650;
}

.file-pill span {
  color: var(--fg-mid);
}

.file-pill em {
  color: var(--green);
  font-style: normal;
}

.file-pill i {
  color: var(--fg-faint);
  font-style: normal;
}

.composer {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--bg);
  padding: 9px 10px 10px;
}

.composer input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fg);
  outline: 0;
  font-size: var(--text-product-lg);
  line-height: 1.2;
}

.composer input::placeholder {
  color: var(--fg-faint);
}

.composer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.composer-picker {
  position: relative;
}

.composer-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--fg-mid);
  min-height: 30px;
  padding: 5px 12px;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.composer-picker-trigger:hover,
.composer-picker-trigger:focus-visible,
.composer-picker.is-open .composer-picker-trigger {
  background: var(--card-2);
  color: var(--fg);
}

.composer-picker-trigger strong {
  font-weight: 500;
}

.composer-picker-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg);
}

.composer-picker ul {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  z-index: 6;
  min-width: 132px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-ui);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.composer-picker.is-open ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.composer-picker li button {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg-mid);
  padding: 6px 8px;
  font-size: var(--text-product-base);
  text-align: left;
  cursor: pointer;
}

.composer-picker li button:hover,
.composer-picker li button:focus-visible,
.composer-picker li button.is-selected {
  background: var(--card);
  color: var(--fg);
}

.composer-submit {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--button);
  color: var(--button-text);
  padding: 0;
  cursor: pointer;
}

.composer-nudge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 112px;
  margin: 0;
  font-size: var(--text-product-base);
}

.browser-bar {
  display: grid;
  grid-template-columns: 22px 22px 22px minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.browser-bar strong {
  font-weight: 400;
  color: var(--fg);
}

.report-page {
  padding: 24px 22px;
}

.report-page h3 {
  margin: 8px 0 14px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: var(--text-product-lg);
  font-style: normal;
  font-weight: 650;
}

.file-preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--fg-faint);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: var(--text-product-sm);
}

.file-preview-code {
  min-height: 252px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--fg) 5%, transparent), transparent 48px),
    color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 14px 16px;
  color: var(--fg);
  font-size: var(--text-product-base);
  line-height: 1.62;
}

.file-preview-code code {
  color: inherit;
  white-space: pre;
}

.file-preview-code[data-language="markdown"] {
  color: color-mix(in srgb, var(--fg) 88%, var(--accent) 12%);
}

.file-preview-code[data-language="case"],
.file-preview-code[data-language="review"],
.file-preview-code[data-language="results"],
.file-preview-code[data-language="flowsheet"] {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--reflux-blue) 6%, transparent), transparent 58px),
    color-mix(in srgb, var(--bg) 86%, transparent);
}

.artifact-canvas {
  display: grid;
  min-height: 224px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

.artifact-canvas svg {
  width: 100%;
  min-height: 180px;
}

.artifact-grid {
  fill: none;
  stroke: color-mix(in srgb, var(--fg) 10%, transparent);
  stroke-width: 1;
}

.artifact-pipe {
  fill: none;
  stroke: color-mix(in srgb, var(--fg) 18%, transparent);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artifact-pipe.active {
  stroke: color-mix(in srgb, var(--reflux-blue) 54%, var(--fg) 14%);
  stroke-width: 4;
  stroke-dasharray: 10 8;
}

.artifact-unit rect,
.artifact-unit circle {
  fill: color-mix(in srgb, var(--bg) 82%, var(--card-2));
  stroke: color-mix(in srgb, var(--fg) 26%, transparent);
  stroke-width: 2;
}

.artifact-unit path {
  fill: none;
  stroke: color-mix(in srgb, var(--fg) 32%, transparent);
  stroke-width: 2;
  stroke-linecap: round;
}

.artifact-unit text {
  fill: var(--fg);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 650;
}

.flowsheet-artifact[data-highlight="feed"] [data-artifact-node="feed"] rect,
.flowsheet-artifact[data-highlight="column"] [data-artifact-node="column"] rect,
.pump-artifact .pump circle {
  stroke: color-mix(in srgb, var(--reflux-blue) 62%, var(--fg));
  filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--reflux-blue) 20%, transparent));
}

.artifact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.artifact-badges span,
.artifact-checklist span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  padding: 4px 8px;
  color: var(--fg-mid);
  font-size: var(--text-product-sm);
  line-height: 1.25;
}

.artifact-table-wrap {
  overflow: auto;
}

.artifact-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fg);
  font-size: var(--text-product-base);
  line-height: 1.45;
}

.artifact-table th,
.artifact-table td {
  border-bottom: 1px solid var(--border);
  padding: 8px 7px;
  text-align: left;
  white-space: nowrap;
}

.artifact-table th {
  color: var(--fg-faint);
  font-weight: 650;
}

.artifact-checklist,
.artifact-case-card {
  display: grid;
  gap: 9px;
}

.artifact-checklist span {
  position: relative;
  border-radius: var(--radius-ui);
  padding-left: 28px;
}

.artifact-checklist span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 7px;
  height: 11px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: translateY(-62%) rotate(45deg);
}

.artifact-checklist strong {
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  font-weight: 500;
}

.artifact-case-card div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.artifact-case-card span {
  color: var(--fg-faint);
}

.artifact-case-card strong {
  min-width: 0;
  font-weight: 500;
}

.cli-window {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 410px;
}

.terminal-lines {
  padding: 15px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: var(--text-product-lg);
  line-height: 1.55;
}

.terminal-lines p {
  margin: 0 0 11px;
}

.terminal-lines pre {
  margin: 0 0 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  padding: 9px 12px;
  white-space: pre-wrap;
}

.terminal-lines span {
  color: var(--green);
}

.terminal-lines i {
  color: var(--red);
  font-style: normal;
}

.terminal-follow-up,
.follow-up {
  margin-top: 4px;
  border: 1px solid var(--fg);
  padding: 9px 12px;
  color: var(--fg-mid);
}

.terminal-follow-up input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fg);
  outline: 0;
}

.terminal-follow-up input::placeholder {
  color: var(--fg-mid);
}

.logo-section {
  padding: 42px 0 96px;
  text-align: center;
}

.logo-section h2 {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 500;
}

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

.logo-grid div {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  font-size: 1.08rem;
  font-weight: 700;
}

.feature-slab {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 14px;
  min-height: 600px;
  margin-bottom: 80px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 74%, var(--card) 26%);
  overflow: hidden;
}

.feature-slab.reverse {
  grid-template-columns: 0.68fr 0.32fr;
}

.slab-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 30px;
}

.slab-copy h2,
.team-copy h2 {
  max-width: 440px;
  margin: 0;
  font-size: 1.36rem;
  font-weight: 400;
  line-height: 1.2;
}

.slab-copy p {
  max-width: 500px;
  margin: 4px 0 0;
  color: var(--fg-mid);
  font-size: 1.29rem;
  line-height: 1.2;
}

.text-link {
  width: fit-content;
  margin-top: 22px;
  color: var(--accent);
  font-size: 0.96rem;
  transition: color var(--duration) var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: color-mix(in srgb, var(--accent) 75%, transparent);
}

.slab-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.mission-window {
  display: grid;
  place-items: center;
  padding: 52px 34px;
  background:
    linear-gradient(140deg, rgba(226, 224, 218, 0.7), rgba(244, 242, 238, 0.52)),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
}

.mission-window > .desktop-window {
  width: min(980px, 100%);
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  min-height: 494px;
}

.mission-panel,
.mission-doc {
  min-width: 0;
  padding: 12px;
}

.mission-panel {
  border-right: 1px solid var(--border);
}

.mission-panel p,
.mission-doc p,
.agent-card p,
.slack-card p,
.terminal-card p {
  color: var(--fg-soft);
}

.mission-panel p,
.mission-doc p,
.mission-doc li {
  font-size: var(--text-product-base);
  line-height: 1.35;
}

.mission-panel code {
  border-radius: var(--radius);
  background: var(--card-2);
  padding: 0 4px;
}

.question-card {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  padding: 7px;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
}

.question-topline,
.question-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.question-topline small,
.question-topline span {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.question-card strong {
  display: block;
  margin: 5px 0 7px;
  font-size: var(--text-product-sm);
  line-height: 1.28;
}

.question-options {
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}

.question-options button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg-mid);
  padding: 4px 6px;
  font-size: var(--text-product-sm);
  text-align: left;
  cursor: pointer;
}

.question-options button::before {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--fg-faint);
  content: attr(data-option-index);
  font-size: var(--text-product-sm);
}

.question-options button:hover,
.question-options button:focus-visible,
.question-options button.is-selected {
  border-color: color-mix(in srgb, var(--reflux-blue) 42%, var(--border));
  background: color-mix(in srgb, var(--reflux-pale) 20%, var(--bg));
  color: var(--fg);
}

.question-actions button,
.generated-doc {
  border: 0;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 72%, var(--fg) 28%);
  color: var(--button-text);
  padding: 4px 8px;
  font-size: var(--text-product-sm);
  cursor: pointer;
}

.question-actions .ghost {
  background: transparent;
  color: var(--fg-mid);
}

.question-running {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.question-running p {
  margin: 0;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.generated-doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  margin-top: 2px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  text-align: left;
}

.generated-doc span {
  color: var(--fg-mid);
}

.generated-doc strong {
  margin: 0;
}

.generated-doc em {
  color: var(--green);
  font-style: normal;
}

.generated-doc i {
  color: var(--red);
  font-style: normal;
}

.demo-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--bg);
  padding: 6px;
  font-size: var(--text-product-base);
}

.demo-composer input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--fg);
  outline: 0;
}

.demo-composer input::placeholder {
  color: var(--fg-faint);
}

.demo-composer button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--button);
  color: var(--button-text);
  cursor: pointer;
}

.download-nudge {
  margin: 14px 4px 0;
  color: var(--fg);
  font-size: 0.9rem;
}

.download-nudge a {
  color: var(--accent);
}

.tabs {
  display: flex;
  margin: -12px -12px 20px;
  border-bottom: 1px solid var(--border);
}

.tabs span,
.tabs button {
  padding: 8px 10px;
  border-right: 1px solid var(--border);
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: var(--fg-mid);
  text-align: left;
}

.tabs button {
  cursor: pointer;
  font-size: var(--text-product-base);
}

.tabs span:first-child,
.tabs button.active,
.tabs button:hover,
.tabs button:focus-visible {
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  color: var(--fg);
}

.doc-panel {
  display: none;
}

.doc-panel.active {
  display: block;
}

.mission-doc h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.2;
}

.mission-doc h4 {
  margin: 12px 0 4px;
  font-size: var(--text-product-lg);
}

.mission-doc ul {
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.mission-doc li {
  margin-top: 7px;
  color: var(--fg);
}

.mission-doc li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.stream-table {
  overflow: auto;
  margin: 14px 0 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 11px;
  color: var(--fg);
  font-size: var(--text-product-base);
  line-height: 1.7;
}

.flowsheet-preview {
  width: 100%;
  max-height: 230px;
  margin: 14px 0 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 64%, var(--bg) 36%);
}

.flowsheet-preview .sheet-grid {
  fill: none;
  stroke: color-mix(in srgb, var(--fg) 10%, transparent);
  stroke-width: 1;
}

.flowsheet-preview .sheet-pipe {
  fill: none;
  stroke: color-mix(in srgb, var(--reflux-blue) 58%, var(--green) 42%);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 8;
  animation: flowDash 12s linear infinite;
}

.flowsheet-preview .sheet-unit,
.flowsheet-preview .sheet-column {
  fill: var(--bg);
  stroke: color-mix(in srgb, var(--reflux-blue) 35%, var(--border-strong));
  stroke-width: 2;
}

.flowsheet-preview text {
  fill: var(--fg-mid);
  font-size: 12px;
  font-weight: 650;
  text-anchor: middle;
}

.agent-card-scene,
.terminal-scene,
.code-scene {
  display: grid;
  place-items: center;
  background: var(--card);
}

.agent-card-scene .soft-bg,
.terminal-scene .soft-bg,
.code-scene .soft-bg {
  inset: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(200, 201, 201, 0.42), rgba(242, 239, 231, 0.54) 52%, rgba(159, 157, 148, 0.34)),
    radial-gradient(circle at 32% 38%, rgba(0, 125, 254, 0.12), transparent 22%),
    radial-gradient(circle at 72% 70%, rgba(245, 78, 0, 0.1), transparent 24%),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
}

.agent-card-scene .soft-bg {
  inset: 0;
  border-radius: 0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .agent-card-scene .soft-bg,
  :root:not([data-theme]) .terminal-scene .soft-bg,
  :root:not([data-theme]) .code-scene .soft-bg {
    background:
      linear-gradient(125deg, rgba(33, 26, 18, 0.72), rgba(50, 39, 25, 0.62) 52%, rgba(23, 19, 13, 0.78)),
      radial-gradient(circle at 32% 38%, rgba(0, 125, 254, 0.08), transparent 24%),
      radial-gradient(circle at 72% 70%, rgba(238, 133, 74, 0.1), transparent 26%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  }
}

:root[data-theme="dark"] .agent-card-scene .soft-bg,
:root[data-theme="dark"] .terminal-scene .soft-bg,
:root[data-theme="dark"] .code-scene .soft-bg {
  background:
    linear-gradient(125deg, rgba(33, 26, 18, 0.72), rgba(50, 39, 25, 0.62) 52%, rgba(23, 19, 13, 0.78)),
    radial-gradient(circle at 32% 38%, rgba(0, 125, 254, 0.08), transparent 24%),
    radial-gradient(circle at 72% 70%, rgba(245, 78, 0, 0.1), transparent 26%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
}

.agent-card-scene .desktop-window {
  position: relative;
  width: min(900px, calc(100% - 96px));
  transform: scale(0.9);
  transform-origin: center;
}

.agent-card {
  padding-bottom: 0;
}

.agent-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 456px;
}

.agent-sidebar {
  min-width: 0;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 58%, transparent);
  padding: 10px 8px;
}

.agent-sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 10px;
  color: var(--fg-faint);
  font-size: 0.76rem;
}

.agent-sidebar-heading strong {
  color: var(--fg-mid);
  font-weight: 500;
}

.agent-run {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 5px 8px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg-mid);
  padding: 7px 7px;
  text-align: left;
  cursor: pointer;
}

.agent-run.active,
.agent-run:hover,
.agent-run:focus-visible {
  background: var(--bg);
  color: var(--fg);
}

.agent-run > span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--fg-faint);
}

.agent-run.active > span {
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 14%, transparent);
}

.agent-run strong,
.agent-run small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-run strong {
  font-size: var(--text-product-base);
  font-weight: 500;
}

.agent-run small {
  grid-column: 2;
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.agent-main {
  min-width: 0;
  padding-bottom: 12px;
}

.agent-card h3 {
  margin: 0 14px 8px;
}

.agent-card .prompt-box {
  margin: 12px 14px 0;
}

.agent-card p {
  margin: 10px 14px 0;
  line-height: 1.34;
}

.agent-card [data-play-copy] {
  margin-top: 18px;
}

.agent-card h4 {
  margin: 16px 14px 0;
  font-size: var(--text-product-lg);
}

.agent-card .refresh {
  margin-left: auto;
  margin-right: 12px;
  color: var(--fg-mid);
}

.video-card {
  position: relative;
  height: 174px;
  margin: 14px 24px 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(0, 125, 254, 0.12), rgba(245, 78, 0, 0.1)),
    repeating-linear-gradient(0deg, rgba(38, 37, 30, 0.08) 0 1px, transparent 1px 18px),
    var(--card-2);
}

.video-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.video-card.is-running::after {
  animation: previewProgress 3.6s linear forwards;
}

.mini-report {
  position: absolute;
  left: 42px;
  top: 22px;
  width: 98px;
  height: 122px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--border) 8px, transparent 8px) 18px 20px / 70px 18px no-repeat,
    repeating-linear-gradient(0deg, var(--border) 0 4px, transparent 4px 13px) 18px 48px /
      72px 86px no-repeat,
    var(--bg);
  box-shadow: var(--shadow-soft);
  transition:
    outline-color 240ms var(--ease),
    transform 240ms var(--ease);
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease),
    background 180ms var(--ease);
}

.play:hover,
.play:focus-visible {
  background: rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-card.is-running .play {
  opacity: 0;
  pointer-events: none;
}

.video-card.is-complete .play {
  left: auto;
  right: 15px;
  top: 18px;
  width: 32px;
  height: 32px;
  opacity: 0.72;
  transform: none;
}

.preview-steps {
  position: absolute;
  left: 178px;
  top: 32px;
  display: grid;
  gap: 8px;
  width: 210px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  color: var(--fg-faint);
  padding: 6px 8px;
  font-size: 0.76rem;
  transform: translateY(6px);
  opacity: 0.64;
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease),
    color 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
}

.preview-steps li span {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.result-strip {
  position: absolute;
  left: 178px;
  right: 76px;
  bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg-mid);
  padding: 8px 10px;
  font-size: 0.78rem;
  box-shadow: var(--shadow-soft);
  transition:
    color 240ms var(--ease),
    border-color 240ms var(--ease),
    transform 240ms var(--ease);
}

.workflow-cursor {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 15px;
  height: 18px;
  background: var(--fg);
  clip-path: polygon(0 0, 0 100%, 32% 75%, 50% 100%, 68% 92%, 50% 68%, 86% 68%);
  opacity: 0;
  transform: translate(-10px, -8px);
  transition:
    opacity 160ms var(--ease),
    transform 420ms var(--ease);
}

.video-card[data-step="open"] .workflow-cursor {
  opacity: 1;
  transform: translate(-82px, -38px);
}

.video-card[data-step="run"] .workflow-cursor {
  opacity: 1;
  transform: translate(-42px, 10px);
}

.video-card[data-step="result"] .workflow-cursor,
.video-card[data-step="done"] .workflow-cursor {
  opacity: 1;
  transform: translate(124px, 56px);
}

.video-card[data-step="open"] .mini-report,
.video-card[data-step="run"] .mini-report,
.video-card[data-step="result"] .result-strip,
.video-card[data-step="done"] .result-strip {
  border-color: color-mix(in srgb, var(--reflux-blue) 48%, var(--border));
  outline: 1px solid color-mix(in srgb, var(--reflux-blue) 18%, transparent);
}

.video-card[data-step="run"] .mini-report {
  transform: translateY(-2px);
}

.video-card[data-step="open"] [data-preview-step="open"],
.video-card[data-step="run"] [data-preview-step="run"],
.video-card[data-step="result"] [data-preview-step="result"],
.video-card[data-step="done"] .preview-steps li {
  border-color: color-mix(in srgb, var(--reflux-blue) 28%, var(--border));
  background: var(--bg);
  color: var(--fg);
  opacity: 1;
  transform: translateY(0);
}

.video-card[data-step="done"] .preview-steps li span {
  background: var(--green);
  border-color: var(--green);
}

.small-composer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 14px 12px 8px;
}

.install-row {
  position: relative;
  display: flex;
  align-items: center;
  width: min(330px, 100%);
  margin-top: 30px;
  border-radius: var(--radius);
  background: var(--card);
  padding: 11px 8px 11px 14px;
  color: var(--fg-soft);
}

.install-row code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.96rem;
}

.install-row button {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: #26251e;
  color: #f7f7f4;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.install-row button:hover,
.install-row button:focus-visible {
  background: #3b3a33;
  transform: translateY(-1px);
}

.copy-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.copy-feedback {
  position: absolute;
  left: 14px;
  top: calc(100% + 7px);
  color: var(--green);
  font-size: var(--text-product-base);
  opacity: 0;
  transform: translateY(-3px);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.install-row.is-copied .copy-feedback,
.install-row.is-copy-error .copy-feedback {
  opacity: 1;
  transform: translateY(0);
}

.install-row.is-copy-error .copy-feedback {
  color: var(--red);
}

.terminal-scene .soft-bg.greenish {
  background:
    linear-gradient(120deg, rgba(223, 226, 217, 0.62), rgba(243, 239, 229, 0.54) 54%, rgba(198, 193, 166, 0.48)),
    radial-gradient(circle at 24% 65%, rgba(31, 138, 101, 0.16), transparent 24%),
    radial-gradient(circle at 76% 34%, rgba(0, 125, 254, 0.08), transparent 28%),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .terminal-scene .soft-bg.greenish {
    background:
      linear-gradient(120deg, rgba(25, 23, 17, 0.74), rgba(44, 39, 25, 0.66) 54%, rgba(23, 19, 13, 0.78)),
      radial-gradient(circle at 24% 65%, rgba(31, 138, 101, 0.11), transparent 25%),
      radial-gradient(circle at 76% 34%, rgba(0, 125, 254, 0.08), transparent 28%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  }
}

:root[data-theme="dark"] .terminal-scene .soft-bg.greenish {
  background:
    linear-gradient(120deg, rgba(25, 23, 17, 0.74), rgba(44, 39, 25, 0.66) 54%, rgba(23, 19, 13, 0.78)),
    radial-gradient(circle at 24% 65%, rgba(31, 138, 101, 0.11), transparent 25%),
    radial-gradient(circle at 76% 34%, rgba(0, 125, 254, 0.08), transparent 28%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
}

.slack-card {
  position: absolute;
  left: 62px;
  top: 80px;
  width: 470px;
  min-height: 282px;
}

.slack-shell {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 254px;
}

.slack-sidebar {
  display: grid;
  align-content: start;
  gap: 5px;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--fg) 88%, #6a405f 12%);
  color: color-mix(in srgb, var(--bg) 86%, white 14%);
  padding: 12px 10px;
  font-size: var(--text-product-base);
}

.slack-sidebar strong {
  margin-bottom: 8px;
  color: var(--bg);
  font-size: var(--text-product-lg);
  font-weight: 650;
}

.slack-sidebar span {
  overflow: hidden;
  border-radius: var(--radius);
  padding: 5px 7px;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slack-sidebar .active {
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  color: var(--bg);
}

.slack-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  background: var(--bg);
}

.slack-channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
}

.slack-channel-bar strong {
  min-width: 0;
  overflow: hidden;
  font-size: var(--text-product-lg);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slack-channel-bar span {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  white-space: nowrap;
}

.slack-messages {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 14px 12px;
}

.slack-messages article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
}

.slack-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--reflux-blue) 20%, var(--card-2));
  color: var(--fg);
  font-size: var(--text-product-sm);
  font-weight: 750;
}

.slack-avatar.reflux {
  background: color-mix(in srgb, var(--green) 26%, var(--card-2));
}

.slack-messages p {
  margin: 0;
  color: var(--fg-soft);
  font-size: var(--text-product-base);
  line-height: 1.36;
}

.slack-messages p:first-child {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--fg);
}

.slack-messages p strong {
  font-weight: 700;
}

.slack-messages time {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.slack-mention {
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--reflux-pale) 42%, transparent);
  color: color-mix(in srgb, var(--reflux-blue) 74%, var(--fg) 26%);
  padding: 0 3px;
  font-weight: 650;
}

.slack-input {
  margin: 0 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--card) 54%, var(--bg) 46%);
  padding: 8px 10px;
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.terminal-card {
  position: absolute;
  right: 54px;
  top: 56px;
  bottom: auto;
  width: min(620px, calc(100% - 108px));
  padding-bottom: 14px;
}

.terminal-card p {
  margin: 12px 18px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.rich-terminal {
  min-height: 386px;
}

.terminal-log {
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 214px;
  max-height: 244px;
  overflow: hidden;
  margin: 14px 16px;
  color: var(--fg-mid);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: var(--text-product-base);
  line-height: 1.45;
}

.terminal-log p {
  margin: 0;
}

.terminal-line {
  color: var(--fg-soft);
}

.terminal-line.user {
  color: var(--fg);
}

.terminal-line.question,
.terminal-line.complete {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  padding: 6px 8px;
}

.terminal-line.question strong {
  display: block;
  margin-bottom: 4px;
  color: var(--fg);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
}

.terminal-line.complete a {
  color: var(--accent);
}

.terminal-agent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.terminal-agent-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  padding: 3px 8px;
  color: var(--fg);
}

.terminal-input {
  display: flex;
  align-items: center;
  margin: 16px 16px 0;
  border: 1px solid color-mix(in srgb, var(--green) 55%, transparent);
  padding: 8px 10px;
  font-size: var(--text-product-base);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.terminal-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--fg);
  outline: 0;
}

.terminal-input span {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  background: var(--fg);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

.terminal-hint {
  color: var(--fg-faint);
  font-size: var(--text-product-base);
  margin-top: 8px;
}

.code-scene .soft-bg.amber {
  background:
    linear-gradient(130deg, rgba(230, 217, 195, 0.56), rgba(240, 238, 229, 0.58) 48%, rgba(201, 208, 196, 0.42)),
    radial-gradient(circle at 18% 84%, rgba(0, 125, 254, 0.13), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(245, 78, 0, 0.12), transparent 28%),
    url("assets/wallpaper-product-light-01.jpg") center / cover no-repeat;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .code-scene .soft-bg.amber {
    background:
      linear-gradient(130deg, rgba(42, 33, 22, 0.72), rgba(23, 19, 13, 0.78) 48%, rgba(48, 39, 25, 0.66)),
      radial-gradient(circle at 18% 84%, rgba(0, 125, 254, 0.09), transparent 28%),
      radial-gradient(circle at 78% 18%, rgba(238, 133, 74, 0.1), transparent 30%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  }
}

:root[data-theme="dark"] .code-scene .soft-bg.amber {
  background:
    linear-gradient(130deg, rgba(42, 33, 22, 0.72), rgba(23, 19, 13, 0.78) 48%, rgba(48, 39, 25, 0.66)),
    radial-gradient(circle at 18% 84%, rgba(0, 125, 254, 0.09), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(245, 78, 0, 0.1), transparent 30%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
}

.flowsheet-window {
  position: relative;
  width: min(900px, calc(100% - 72px));
  min-height: 470px;
}

.flowsheet-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  padding: 16px;
}

.flowsheet-canvas {
  position: relative;
  min-height: 346px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--fg) 7%, transparent) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--fg) 5%, transparent) 0 1px, transparent 1px 38px),
    color-mix(in srgb, var(--card) 58%, var(--bg) 42%);
}

.flowsheet-diagram {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
}

.flow-grid {
  fill: none;
  stroke: color-mix(in srgb, var(--fg) 7%, transparent);
  stroke-width: 1;
}

.flow-pipe {
  fill: none;
  stroke: color-mix(in srgb, var(--reflux-blue) 56%, var(--green) 44%);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-pipe.muted {
  stroke: color-mix(in srgb, var(--fg) 16%, transparent);
  stroke-dasharray: 7 8;
}

.flow-node,
.flow-column {
  fill: var(--bg);
  stroke: var(--border-strong);
  stroke-width: 2;
  transition:
    fill 180ms var(--ease),
    stroke 180ms var(--ease),
    filter 180ms var(--ease),
    transform 180ms var(--ease);
}

.flowsheet-diagram text {
  fill: var(--fg-mid);
  font-size: 13px;
  font-weight: 650;
  text-anchor: middle;
}

.flowsheet-window[data-active-flow="feed"] [data-flow-node="feed"],
.flowsheet-window[data-active-flow="heat"] [data-flow-node="heat"],
.flowsheet-window[data-active-flow="column"] [data-flow-node="column"],
.flowsheet-window[data-active-flow="condenser"] [data-flow-node="condenser"],
.flowsheet-window[data-active-flow="reboiler"] [data-flow-node="reboiler"] {
  fill: color-mix(in srgb, var(--reflux-pale) 30%, var(--bg));
  stroke: color-mix(in srgb, var(--reflux-blue) 62%, var(--border-strong));
  filter: drop-shadow(0 8px 14px rgba(0, 125, 254, 0.16));
}

.flowsheet-callout {
  position: absolute;
  left: 42%;
  top: 38px;
  max-width: 230px;
  border: 1px solid color-mix(in srgb, var(--reflux-blue) 38%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--fg);
  padding: 7px 10px;
  font-size: var(--text-product-base);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms var(--ease),
    opacity 220ms var(--ease);
}

.flowsheet-window.is-flow-active .flowsheet-callout {
  animation: flowCalloutPulse 3.6s var(--ease) infinite;
}

.suggestion-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.suggestion-rail > p {
  margin: 0 0 2px;
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  font-weight: 650;
}

.flow-suggestion {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  color: var(--fg-mid);
  padding: 9px;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.flow-suggestion:hover,
.flow-suggestion:focus-visible,
.flow-suggestion.active {
  border-color: color-mix(in srgb, var(--reflux-blue) 42%, var(--border));
  background: var(--bg);
  color: var(--fg);
  transform: translateY(-1px);
}

.flow-suggestion span {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-mid);
  font-size: var(--text-product-sm);
  font-weight: 700;
}

.flow-suggestion strong,
.flow-suggestion small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-suggestion strong {
  font-size: var(--text-product-base);
  font-weight: 650;
}

.flow-suggestion small {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.suggestion-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--fg-soft);
  padding: 10px;
  font-size: var(--text-product-base);
  line-height: 1.35;
}

.quotes {
  padding: 98px 0 48px;
}

.quotes h2,
.frontier h2,
.resources h2 {
  margin: 0 0 44px;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.12;
}

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

.quote-card {
  display: flex;
  min-height: 198px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 17px 14px;
}

.quote-card p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
}

.quote-card div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  margin-top: 30px;
}

.avatar {
  display: block;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--card-3);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--fg) 10%, transparent),
    0 0 0 1px var(--border);
  object-fit: cover;
  overflow: hidden;
}

.quote-card strong,
.quote-card small {
  display: block;
}

.quote-card strong {
  font-weight: 500;
}

.quote-card small {
  color: var(--fg-mid);
}

.frontier {
  padding: 72px 0;
}

.frontier h2,
.resources h2,
.changelog h2 {
  text-align: left;
  font-size: 1.9rem;
  margin-bottom: 22px;
}

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

.frontier-card {
  display: flex;
  min-height: 408px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px 13px 13px;
}

.frontier-card h3,
.frontier-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.frontier-card h3 {
  font-weight: 500;
}

.frontier-card p {
  color: var(--fg-mid);
}

.frontier-card .text-link {
  margin-top: 16px;
  font-size: 0.92rem;
}

.model-picker,
.search-card,
.photo-card {
  display: grid;
  place-items: center;
  min-height: 282px;
  margin-top: auto;
  border-radius: var(--radius);
  background: var(--card-3);
}

.model-picker {
  position: relative;
  align-content: center;
  gap: 8px;
  overflow: hidden;
}

.picker-trigger {
  position: relative;
  width: min(260px, 80%);
  margin: 0 auto;
  border-radius: var(--radius-ui);
  border: 0;
  background: var(--bg);
  padding: 11px 14px 23px;
  color: var(--fg);
  text-align: left;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.picker-trigger::after {
  content: "⌄";
  position: absolute;
  right: 15px;
  top: 13px;
  color: var(--fg-faint);
}

.picker-trigger:hover,
.picker-trigger:focus-visible {
  background: color-mix(in srgb, var(--bg) 86%, var(--card) 14%);
  transform: translateY(-1px);
}

.picker-trigger span {
  display: block;
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.picker-trigger strong {
  display: block;
  margin-top: 5px;
  font-size: var(--text-product-base);
  font-weight: 500;
}

.model-picker ul {
  position: absolute;
  left: 50%;
  top: 58px;
  z-index: 2;
  width: min(218px, 76%);
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-ui);
  background: var(--bg);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  box-shadow: var(--shadow-soft);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.model-picker.is-open ul {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.model-picker li button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--fg);
  overflow: hidden;
  padding: 5px 10px;
  font-size: var(--text-product-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
}

.model-picker li button:hover,
.model-picker li button:focus-visible,
.model-picker li button.is-selected {
  background: var(--card);
}

.model-picker li button.is-selected {
  color: var(--fg);
  font-weight: 550;
}

.picker-result {
  width: min(260px, 80%);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  padding: 9px 11px;
  box-shadow: var(--shadow-soft);
}

.picker-result span,
.picker-result strong {
  display: block;
}

.picker-result span {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.picker-result strong {
  margin-top: 4px;
  color: var(--fg);
  font-size: var(--text-product-sm);
  font-weight: 500;
  line-height: 1.25;
}

.model-picker.is-updated .picker-result {
  animation: pickerPulse 360ms var(--ease);
}

.search-card {
  place-items: start;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 34px 42px 30px;
}

.search-card span {
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--bg);
  padding: 8px 11px;
  font-size: var(--text-product-base);
  line-height: 1.35;
}

.search-card p {
  margin-top: 0;
  color: var(--fg-mid);
  font-size: var(--text-product-sm);
  transition:
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.search-card p.is-active {
  color: var(--fg);
  transform: translateX(5px);
}

.search-card p.is-complete::before {
  content: "✓ ";
  color: var(--green);
}

.photo-card {
  overflow: hidden;
}

.photo-card div,
.team-photo {
  width: 100%;
  height: 100%;
  min-height: 295px;
  background-position: center;
  background-size: cover;
}

.photo-card div {
  background:
    linear-gradient(90deg, rgba(22, 20, 16, 0.24), rgba(247, 247, 244, 0.04) 45%),
    url("assets/feature-enduring-workflows.jpg") center / cover no-repeat;
}

.team-photo {
  background:
    linear-gradient(90deg, rgba(22, 20, 16, 0.22), rgba(247, 247, 244, 0.02) 45%),
    url("assets/team-join-us.jpg") center / cover no-repeat;
}

.team {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 14px;
  min-height: 460px;
  margin-top: 20px;
  margin-bottom: 80px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 74%, var(--card) 26%);
  overflow: hidden;
}

.changelog {
  padding: 10px 0 82px;
}

.changelog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 17px;
}

.changelog-card {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px;
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.changelog-card:hover,
.changelog-card:focus-visible {
  background: var(--card-2);
  transform: translateY(-1px);
}

.changelog-card span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--fg-mid);
}

.changelog-card em {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--fg-mid);
  font-style: normal;
}

.changelog-card strong {
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
}

.team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 16px;
}

.team-copy h2 {
  font-size: 1.85rem;
}

.team-photo {
  margin: 14px;
  border-radius: var(--radius);
  min-height: auto;
  filter: saturate(0.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .photo-card div,
  :root:not([data-theme]) .team-photo {
    filter: saturate(0.62) brightness(0.78);
  }
}

:root[data-theme="dark"] .photo-card div,
:root[data-theme="dark"] .team-photo {
  filter: saturate(0.62) brightness(0.78);
}

.cli-page main {
  overflow: hidden;
}

.cli-hero {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 0;
}

.cli-hero small {
  display: block;
  margin-bottom: 14px;
  color: var(--fg-soft);
  font-size: 1rem;
}

.cli-hero h1,
.cli-hero p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.3rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.16;
}

.cli-hero p {
  margin-top: 2px;
  color: var(--fg-soft);
}

.cli-showcase {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 20px;
}

.cli-showcase-card,
.cli-feature-card,
.cli-learn-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
}

.cli-showcase-card::before,
.cli-feature-card::before,
.cli-learn-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.cli-showcase-card {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 20px;
  min-height: 650px;
  overflow: hidden;
  padding: 28px;
}

.cli-showcase-copy {
  grid-column: 1 / 10;
  align-self: center;
  min-width: 0;
  max-width: 430px;
  padding-left: 4px;
}

.cli-showcase-copy h2 {
  margin: 0;
  font-size: clamp(1.24rem, 2.1vw, 1.64rem);
  font-weight: 400;
  line-height: 1.26;
}

.cli-showcase-copy p {
  margin: 5px 0 0;
  color: var(--fg-soft);
  font-size: clamp(1.08rem, 2vw, 1.48rem);
  line-height: 1.28;
}

.cli-install-row {
  width: min(420px, 100%);
  background: color-mix(in srgb, var(--bg) 72%, var(--card-2) 28%);
}

.cli-showcase-visual {
  position: relative;
  display: grid;
  grid-column: 10 / 25;
  align-self: stretch;
  min-width: 0;
  min-height: 594px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card-2);
}

.cli-wallpaper {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(208, 212, 207, 0.34), rgba(244, 240, 230, 0.58) 48%, rgba(162, 156, 145, 0.4)),
    radial-gradient(circle at 24% 30%, rgba(0, 125, 254, 0.16), transparent 24%),
    radial-gradient(circle at 78% 76%, rgba(245, 78, 0, 0.13), transparent 28%),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
  filter: saturate(0.9) contrast(0.98);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .cli-wallpaper {
    background:
      linear-gradient(130deg, rgba(30, 25, 18, 0.76), rgba(51, 39, 25, 0.64) 48%, rgba(15, 13, 10, 0.78)),
      radial-gradient(circle at 24% 30%, rgba(0, 125, 254, 0.1), transparent 26%),
      radial-gradient(circle at 78% 76%, rgba(245, 78, 0, 0.12), transparent 30%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
    filter: saturate(0.75) contrast(0.98);
  }
}

:root[data-theme="dark"] .cli-wallpaper {
  background:
    linear-gradient(130deg, rgba(30, 25, 18, 0.76), rgba(51, 39, 25, 0.64) 48%, rgba(15, 13, 10, 0.78)),
    radial-gradient(circle at 24% 30%, rgba(0, 125, 254, 0.1), transparent 26%),
    radial-gradient(circle at 78% 76%, rgba(245, 78, 0, 0.12), transparent 30%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  filter: saturate(0.75) contrast(0.98);
}

.cli-agent-window {
  position: relative;
  align-self: center;
  justify-self: center;
  min-width: 0;
  width: min(580px, calc(100% - 64px));
  min-height: 420px;
}

.cli-agent-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 2px;
  color: var(--fg-mid);
  font-size: var(--text-product-lg);
}

.cli-agent-toolbar a {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  padding: 5px 11px;
  font-size: var(--text-product-base);
  line-height: 1;
}

.cli-agent-body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 18px 18px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
  line-height: 1.5;
}

.cli-agent-body p {
  min-width: 0;
  margin: 0;
  color: var(--fg-mid);
  overflow-wrap: anywhere;
}

.cli-agent-body strong,
.cli-agent-body .cli-prompt {
  color: var(--fg);
  font-weight: 500;
}

.cli-agent-step {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  padding: 8px 10px;
  color: var(--fg-soft);
  overflow-wrap: anywhere;
}

.cli-agent-step.active {
  border-color: color-mix(in srgb, var(--reflux-blue) 44%, var(--border));
  background: color-mix(in srgb, var(--reflux-pale) 24%, var(--bg));
  color: var(--fg);
}

.cli-agent-step.complete {
  border-color: color-mix(in srgb, var(--green) 46%, var(--border));
  color: var(--green);
}

.cli-agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.cli-agent-meta span {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  padding: 4px 9px;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
  overflow-wrap: anywhere;
}

.cli-feature-section,
.cli-learn,
.cli-final {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.cli-feature-section {
  padding-top: 12px;
  padding-bottom: 40px;
}

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

.cli-feature-card {
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.cli-feature-card h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
}

.cli-feature-card p {
  margin: 5px 0 0;
  color: var(--fg-soft);
  line-height: 1.42;
}

.cli-feature-card figure {
  margin: 28px 0 0;
}

.cli-terminal-figure,
.cli-adapter-figure,
.cli-flow-figure {
  display: grid;
  min-height: 220px;
  align-content: end;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bg) 60%, transparent), color-mix(in srgb, var(--card-2) 70%, transparent)),
    var(--card-2);
  padding: 18px;
}

.cli-terminal-figure pre {
  overflow: hidden;
  margin: 0;
  color: var(--fg-soft);
  font-size: var(--text-product-lg);
  line-height: 1.6;
  white-space: pre-wrap;
}

.cli-adapter-figure {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.cli-adapter-figure span,
.cli-flow-figure span {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  padding: 10px;
  color: var(--fg);
  font-size: var(--text-product-lg);
}

.cli-flow-figure {
  grid-template-columns: 1fr;
  gap: 8px;
}

.cli-flow-figure span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cli-flow-figure span::after {
  color: var(--accent);
  content: "->";
}

.cli-flow-figure span:last-child::after {
  color: var(--green);
  content: "ok";
}

.cli-learn {
  padding-top: 34px;
  padding-bottom: 76px;
}

.cli-learn h2 {
  max-width: 460px;
  margin: 0 0 20px;
  font-size: 1.62rem;
  font-weight: 400;
  line-height: 1.2;
}

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

.cli-learn-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.cli-learn-card:hover,
.cli-learn-card:focus-visible {
  background: var(--card-2);
  transform: translateY(-1px);
}

.cli-learn-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.cli-learn-card p {
  max-width: 560px;
  margin: 7px 0 24px;
  color: var(--fg-soft);
}

.cli-learn-card span {
  color: var(--accent);
  font-size: 0.96rem;
}

.cli-final {
  padding-top: 0;
  padding-bottom: 132px;
  text-align: center;
}

.cli-final h2 {
  margin: 0 0 22px;
  font-size: clamp(3.1rem, 7vw, 5.1rem);
  font-weight: 400;
  line-height: 1;
}

.cli-final-command {
  width: min(460px, 100%);
  margin: 0 auto 34px;
  text-align: left;
}

.resources {
  padding: 0 0 114px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 17px;
}

.resource-card {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px;
}

.resource-card span,
.resource-card small {
  color: var(--fg-mid);
}

.resource-card strong {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
}

.final-cta {
  padding: 16px 0 152px;
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 20px;
  font-size: 5.1rem;
  font-weight: 400;
  line-height: 1;
}

.footer {
  padding: 64px var(--gutter) 30px;
  background: color-mix(in srgb, var(--card) 68%, var(--bg) 32%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .footer {
    background: color-mix(in srgb, var(--card) 84%, #0f0b08 16%);
    box-shadow: inset 0 1px 0 var(--border);
  }
}

:root[data-theme="dark"] .footer {
  background: color-mix(in srgb, var(--card) 84%, #0f0b08 16%);
  box-shadow: inset 0 1px 0 var(--border);
}

.footer-grid,
.footer-bottom {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 42px;
  min-height: 310px;
}

.footer h3 {
  margin: 0 0 13px;
  color: var(--fg-mid);
  font-size: 1rem;
  font-weight: 400;
}

.footer a {
  display: block;
  margin-top: 11px;
  color: var(--fg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--fg-mid);
}

.theme-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.theme-button,
.language-picker > button {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-2) 82%, var(--bg) 18%);
  color: var(--fg);
  padding: 6px 10px;
}

.theme-button {
  display: grid;
  place-items: center;
  min-width: 34px;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.theme-button:hover,
.theme-button:focus-visible {
  background: var(--card-3);
  border-color: var(--border-strong);
}

.theme-button[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.theme-button:active {
  transform: translateY(1px);
}

.theme-button span {
  display: grid;
  place-items: center;
  min-width: 1em;
}

.language-picker {
  position: relative;
}

.language-picker > button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 178px;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.language-picker > button:hover,
.language-picker > button:focus-visible,
.language-picker.is-open > button {
  background: var(--card-3);
  border-color: var(--border-strong);
}

.language-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  width: min(260px, calc(100vw - var(--gutter) * 2));
  max-height: min(430px, calc(100vh - 120px));
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--card) 94%, var(--bg) 6%);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.language-picker:hover .language-menu,
.language-picker:focus-within .language-menu,
.language-picker.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: var(--card-2);
}

.language-menu button[aria-checked="true"] {
  background: color-mix(in srgb, var(--reflux-pale) 30%, var(--card-2) 70%);
}

.language-menu button[aria-checked="true"]::after {
  content: "✓";
  color: var(--accent);
  font-size: 0.86rem;
}

.security-main {
  --security-column: 48rem;
  --security-sticky-top: calc(var(--header-height) + 34px);
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 72px 0 112px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: 0;
}

.security-aside {
  grid-column: 1 / 7;
  min-height: 1px;
}

.security-content {
  grid-column: 7 / 19;
  width: min(100%, var(--security-column));
  min-width: 0;
  margin: 0 auto;
}

.security-header {
  margin-bottom: 28px;
}

.security-header h1 {
  margin: 0;
  color: var(--fg);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.security-header p {
  margin: 15px 0 0;
  color: var(--fg-soft);
  font-size: 1rem;
}

.security-toc {
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 15px 17px 13px;
  color: var(--fg);
  font-size: 0.9rem;
}

.security-toc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--fg-soft);
}

.security-toc h2 {
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.security-toc-heading span {
  color: var(--fg-soft);
  line-height: 1;
}

.security-toc ol {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.security-toc a {
  display: block;
  padding: 5px 0;
  color: var(--fg);
  transition: color var(--duration) var(--ease);
}

.security-toc a:hover,
.security-toc a:focus-visible {
  color: var(--fg-soft);
}

.security-prose {
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.68;
}

.security-prose p {
  margin: 16px 0 0;
  color: var(--fg-soft);
}

.security-prose p:first-child {
  margin-top: 0;
}

.security-prose strong {
  color: var(--fg);
  font-weight: 650;
}

.security-prose a:not(.anchor-link) {
  color: var(--accent);
  text-underline-offset: 3px;
  transition:
    color var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}

.security-prose a:not(.anchor-link):hover,
.security-prose a:not(.anchor-link):focus-visible {
  opacity: 0.78;
}

.security-prose h2 {
  position: relative;
  margin: 42px 0 12px;
  color: var(--fg);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.24;
  scroll-margin-top: var(--security-sticky-top);
}

.anchor-link {
  position: absolute;
  left: -1.05em;
  top: 0.02em;
  color: var(--fg-faint);
  opacity: 0;
  transition:
    color var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}

.security-prose h2:hover .anchor-link,
.anchor-link:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.security-prose ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--fg-soft);
  list-style: none;
}

.security-prose li {
  position: relative;
  padding-left: 20px;
}

.security-prose li::before {
  position: absolute;
  left: 0;
  color: var(--fg-faint);
  content: "-";
}

.brand-main {
  padding: 96px var(--gutter) 120px;
}

.footer-page-main {
  overflow: hidden;
}

.footer-page-hero,
.footer-page-section,
.footer-page-cta {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.footer-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 118px var(--gutter) 84px;
}

.footer-page-copy {
  max-width: 780px;
}

.footer-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--fg-mid);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-page-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent);
}

.footer-page-hero h1 {
  margin: 0;
  max-width: 840px;
  color: var(--fg);
  font-size: clamp(2.7rem, 5.2vw, 5.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.footer-page-hero p {
  margin: 24px 0 0;
  max-width: 680px;
  color: var(--fg-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

.footer-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.footer-page-visual {
  position: relative;
  min-height: min(58vw, 520px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card) 76%, transparent), transparent 58%),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-window);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .footer-page-visual {
    background:
      linear-gradient(145deg, color-mix(in srgb, var(--card) 72%, transparent), transparent 58%),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  }
}

:root[data-theme="dark"] .footer-page-visual {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card) 72%, transparent), transparent 58%),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
}

.footer-page-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 56%, transparent));
  content: "";
}

.footer-page-visual > * {
  position: relative;
  z-index: 1;
}

.footer-page-window {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: var(--shadow-soft);
}

.footer-page-window span,
.footer-page-card span,
.footer-page-step span,
.footer-page-channel span {
  display: block;
  color: var(--fg-mid);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-page-window strong {
  display: block;
  margin-top: 10px;
  color: var(--fg);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 500;
}

.footer-page-window p {
  margin: 12px 0 0;
  color: var(--fg-soft);
  line-height: 1.55;
}

.footer-page-section {
  padding: 58px var(--gutter);
}

.footer-page-section h2,
.footer-page-cta h2 {
  margin: 0;
  max-width: 820px;
  color: var(--fg);
  font-size: clamp(2rem, 3.35vw, 3.85rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.footer-page-section > p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--fg-soft);
  font-size: 1.08rem;
  line-height: 1.62;
}

.footer-page-grid,
.footer-page-steps,
.footer-page-channels {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

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

.footer-page-card,
.footer-page-step,
.footer-page-channel {
  min-height: 205px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
}

.footer-page-card strong,
.footer-page-step strong,
.footer-page-channel strong {
  display: block;
  margin-top: 18px;
  color: var(--fg);
  font-size: 1.35rem;
  font-weight: 500;
}

.footer-page-card p,
.footer-page-step p,
.footer-page-channel p {
  margin: 12px 0 0;
  color: var(--fg-soft);
  line-height: 1.55;
}

.footer-page-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-page-step {
  min-height: 220px;
}

.footer-page-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
}

.footer-page-photo {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.footer-page-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.footer-page-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-page-list li {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  color: var(--fg-soft);
}

.footer-page-list strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
}

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

.footer-page-channel {
  min-height: 240px;
}

.footer-page-channel a {
  display: inline-flex;
  margin-top: 20px;
}

.footer-page-cta {
  padding: 74px var(--gutter) 104px;
}

.footer-page-cta p {
  max-width: 660px;
  margin: 18px 0 28px;
  color: var(--fg-soft);
  font-size: 1.08rem;
  line-height: 1.62;
}

.brand-longform {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 10px;
  width: min(1300px, 100%);
  margin: 0 auto;
}

.brand-spacer {
  grid-column: 1 / 7;
}

.brand-content {
  grid-column: 7 / 19;
  min-width: 0;
}

.brand-hero h1 {
  margin: 0;
  color: var(--fg);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-wrap: balance;
}

.brand-hero p {
  margin: 18px 0 0;
  color: var(--fg-soft);
  font-size: var(--text-md-sm);
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty;
}

.brand-download-row {
  margin: 28px 0 44px;
}

.brand-download-row .button {
  gap: 9px;
}

.brand-prose h2 {
  margin: 44px 0 12px;
  color: var(--fg);
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

.brand-prose p {
  margin: 0 0 22px;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.brand-prose strong {
  color: var(--fg);
  font-weight: 700;
}

.brand-asset-stack {
  display: grid;
  gap: 16px;
  margin: 32px 0 12px;
}

.brand-media-frame,
.brand-system-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 78%, var(--bg) 22%);
}

.brand-media-frame::after,
.brand-system-panel::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--fg) 2.5%, transparent);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.brand-lockup-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--reflux-pale) 28%, transparent), transparent 36%),
    color-mix(in srgb, var(--card-2) 62%, var(--bg) 38%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--fg);
  font-size: clamp(2.5rem, 8vw, 6.4rem);
  font-weight: 760;
  line-height: 1;
}

.brand-lockup img {
  width: clamp(96px, 16vw, 178px);
  height: auto;
}

.brand-asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.brand-mark-panel,
.brand-mono-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 260px;
}

.brand-mark-panel {
  background:
    radial-gradient(circle at 28% 24%, color-mix(in srgb, var(--reflux-pale) 42%, transparent), transparent 34%),
    color-mix(in srgb, var(--card) 82%, var(--bg) 18%);
}

.brand-mono-panel {
  background: #26251e;
}

.brand-mark-panel img,
.brand-mono-panel img {
  width: min(44%, 178px);
  height: auto;
}

.brand-mono-panel img {
  filter: invert(1);
}

.brand-system-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--border);
  gap: 1px;
}

.brand-system-panel div {
  min-height: 118px;
  background: color-mix(in srgb, var(--card) 86%, var(--bg) 14%);
  padding: 14px;
}

.brand-system-panel div::before {
  display: block;
  width: 100%;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  content: "";
}

.brand-system-panel div:nth-child(1)::before {
  background: #007dfe;
}

.brand-system-panel div:nth-child(2)::before {
  background: #a9d8fb;
}

.brand-system-panel div:nth-child(3)::before {
  background: #26251e;
}

.brand-system-panel div:nth-child(4)::before {
  background: #f7f7f4;
}

.brand-system-panel small,
.brand-system-panel strong {
  display: block;
}

.brand-system-panel small {
  color: var(--fg-mid);
  font-size: 0.78rem;
}

.brand-system-panel strong {
  margin-top: 3px;
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 500;
}

.brand-caption {
  color: var(--fg-mid) !important;
  font-size: 0.875rem !important;
  line-height: 1.42 !important;
}

.brand-name-section {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.brand-name-section h2 {
  margin-top: 0;
}

.legal-toc {
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 86%, var(--bg) 14%);
  padding: 17px 18px;
}

.legal-toc h2 {
  margin: 0 0 10px;
  color: var(--fg-soft);
  font-size: 0.92rem;
  font-weight: 400;
}

.legal-toc ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  border-radius: var(--radius);
  padding: 5px 0;
  color: var(--fg);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color var(--duration) var(--ease);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--fg-soft);
}

.legal-prose h2 {
  margin: 34px 0 14px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.25;
}

.legal-prose ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding-left: 1.15rem;
}

.legal-prose li {
  padding-left: 0.2rem;
}

.legal-prose li::marker {
  color: var(--fg-mid);
}

.legal-prose li p {
  margin: 0;
}

.docs-main {
  display: grid;
  grid-template-columns: minmax(210px, 252px) minmax(0, 760px) minmax(176px, 220px);
  gap: 32px;
  align-items: start;
  width: min(1420px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 46px 0 112px;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow: auto;
  scrollbar-width: thin;
}

.docs-sidebar {
  padding-right: 10px;
  color: var(--fg-mid);
}

.docs-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  font-size: 0.88rem;
}

.docs-sidebar-head span {
  color: var(--fg);
  font-weight: 650;
}

.docs-sidebar-head a,
.docs-toc a,
.docs-nav a {
  transition:
    color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.docs-nav {
  display: grid;
  gap: 24px;
}

.docs-nav-section {
  display: grid;
  gap: 2px;
}

.docs-nav-section strong,
.docs-toc strong,
.docs-eyebrow {
  color: var(--fg-faint);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.docs-nav-section a {
  border-radius: var(--radius);
  padding: 6px 8px;
  color: var(--fg-mid);
  font-size: 0.9rem;
}

.docs-nav-section a:hover,
.docs-nav-section a:focus-visible,
.docs-nav-section a[aria-current="page"] {
  background: var(--card);
  color: var(--fg);
}

.docs-article {
  min-width: 0;
  color: var(--fg);
}

.docs-hero {
  padding-bottom: 10px;
}

.docs-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
}

.docs-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4rem;
  font-weight: 650;
  line-height: 0.98;
}

.docs-hero p,
.docs-section > p {
  margin: 18px 0 0;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.docs-section {
  margin-top: 52px;
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.docs-section h2 {
  margin: 0 0 12px;
  font-size: 1.62rem;
  font-weight: 650;
  line-height: 1.22;
}

.docs-section code {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 76%, var(--bg) 24%);
  padding: 1px 5px;
  color: var(--fg);
  font-size: 0.9em;
}

.docs-section pre {
  overflow: auto;
  margin: 18px 0 0;
  border: 1px solid color-mix(in srgb, #333 72%, transparent);
  border-radius: var(--radius-ui);
  background: #1a1a1a;
  padding: 15px 18px;
  color: #e4e4e4;
  font-size: 0.86rem;
  line-height: 1.55;
}

.docs-section pre code {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

:root[data-theme="dark"] .docs-section pre {
  border-color: #2a2a2a;
  background: #111;
  color: #d4d4d4;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .docs-section pre {
    border-color: #2a2a2a;
    background: #111;
    color: #d4d4d4;
  }
}

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

.docs-card {
  display: block;
  overflow: hidden;
  min-height: 142px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 86%, var(--bg) 14%);
  outline: none;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.docs-card:hover,
.docs-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.docs-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--card-2) 55%, transparent);
  padding: 13px 15px;
}

.docs-card-heading strong {
  font-size: 0.92rem;
  font-weight: 650;
}

.docs-card-icon {
  width: 17px;
  height: 17px;
  color: var(--fg-mid);
  flex: 0 0 auto;
}

.docs-card-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-card p {
  margin: 0;
  padding: 14px 15px 16px;
  color: var(--fg-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.docs-steps {
  display: grid;
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: var(--border);
  gap: 1px;
  overflow: hidden;
}

.docs-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: color-mix(in srgb, var(--card) 88%, var(--bg) 12%);
  padding: 15px 18px;
}

.docs-step > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--fg-mid);
  font-size: 0.78rem;
  font-weight: 650;
}

.docs-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.docs-step p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.docs-callout {
  margin-top: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--card) 82%, var(--accent) 6%);
  padding: 16px 18px;
}

.docs-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fg);
  font-size: 0.95rem;
}

.docs-callout p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.docs-next-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.docs-next-row a {
  color: var(--accent);
  font-size: 0.95rem;
}

.docs-toc {
  display: grid;
  gap: 7px;
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.docs-toc strong {
  margin-bottom: 4px;
}

.docs-toc a {
  color: var(--fg-mid);
  font-size: 0.86rem;
  line-height: 1.4;
}

.docs-sidebar-head a:hover,
.docs-sidebar-head a:focus-visible,
.docs-toc a:hover,
.docs-toc a:focus-visible,
.docs-next-row a:hover,
.docs-next-row a:focus-visible {
  color: var(--fg);
}

.legal-main {
  width: min(1300px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 84px 0 104px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  grid-column: 1 / span 6;
  color: var(--fg-mid);
}

.legal-sidebar nav {
  display: grid;
  gap: 0;
  margin-bottom: 1.4rem;
  font-size: 1rem;
  line-height: 1.5;
}

.legal-sidebar a {
  display: inline-block;
  width: max-content;
  padding: 0.12rem 0;
  color: var(--fg-soft);
  transition: color var(--duration) var(--ease);
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible,
.legal-sidebar a[aria-current="page"] {
  color: var(--fg);
}

.legal-content {
  grid-column: 7 / span 12;
  min-width: 0;
}

.legal-header {
  margin-bottom: 2.8rem;
}

.legal-header h1 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-wrap: balance;
}

.legal-header div {
  margin-top: 0.47rem;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.legal-prose {
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.5;
}

.legal-prose p {
  margin: 0 0 1.4rem;
  text-wrap: pretty;
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-prose strong {
  font-weight: 700;
}

.legal-prose a {
  color: currentColor;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 46%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.125em;
  transition: color var(--duration) var(--ease);
}

.legal-prose a:hover,
.legal-prose a:focus-visible {
  color: var(--fg-soft);
}

.contact-main,
.changelog-main {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 150px 0 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  align-items: start;
}

.contact-copy h1,
.changelog-main h1 {
  margin: 0 0 32px;
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1.08;
}

.contact-quote,
.contact-card,
.changelog-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.contact-quote {
  min-height: 210px;
  padding: 18px;
}

.contact-quote p {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.42;
}

.contact-quote small {
  display: block;
  margin-top: 58px;
  color: var(--fg-mid);
}

.contact-logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 70px;
  color: var(--fg);
  font-weight: 700;
}

.contact-card {
  padding: 18px;
}

.contact-card h2 {
  margin: 0 0 24px;
  font-size: 1.85rem;
  font-weight: 400;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--fg);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  padding: 12px 13px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

.contact-fallback {
  margin: 18px 0 0;
  color: var(--fg-mid);
}

.contact-fallback a {
  color: var(--accent);
}

.changelog-list {
  display: grid;
  gap: 10px;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px;
}

.changelog-entry time {
  color: var(--fg-mid);
}

.changelog-entry h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 400;
}

.changelog-entry p {
  max-width: 680px;
  margin: 0;
  color: var(--fg-mid);
}

.changelog-main {
  --changelog-column: 48rem;
  --changelog-sticky-top: calc(var(--header-height) + 34px);
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 72px 0 112px;
}

.changelog-kicker-row,
.release-card {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: 0;
}

.changelog-kicker {
  grid-column: 7 / 19;
  width: min(100%, var(--changelog-column));
  margin: 0 auto;
  padding: 0 0 24px;
  color: var(--fg-soft);
  font-size: 1rem;
}

.release-stack {
  display: block;
}

.release-card {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.release-card:last-child {
  margin-bottom: 0;
}

.release-meta {
  grid-column: 1 / 7;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.35;
}

.release-meta-inner {
  position: sticky;
  top: var(--changelog-sticky-top);
  left: -1px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  margin: 0;
}

.release-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 21px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 1px 7px;
  color: var(--fg);
  font-size: 0.82rem;
  line-height: 1.1;
}

.release-dot,
.release-category {
  color: var(--fg-mid);
}

.release-category {
  display: none;
}

.release-body-wrap {
  grid-column: 7 / 19;
  min-width: 0;
}

.release-body {
  width: min(100%, var(--changelog-column));
  margin: 0 auto;
}

.release-card h1,
.release-card h2 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: clamp(1.52rem, 2.15vw, 1.92rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.release-title-link {
  transition: opacity var(--duration) var(--ease);
}

.release-title-link:hover,
.release-title-link:focus-visible {
  opacity: 0.82;
}

.release-body p,
.release-summary {
  margin: 0 0 1.08em;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.release-body p:last-child {
  margin-bottom: 0;
}

.release-section-title {
  margin: 30px 0 11px;
  color: var(--fg);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.release-points {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 1.1rem;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.release-points li::marker {
  color: var(--fg-mid);
}

.release-note {
  margin: 24px 0;
  border-left: 1px solid var(--border-strong);
  padding-left: 16px;
  color: var(--fg-soft);
}

.release-media {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.release-media-caption {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  color: var(--fg-mid);
  font-size: 0.82rem;
  line-height: 1.35;
}

.release-sim-preview {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  min-height: 320px;
}

.release-sim-sidebar {
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--card-2) 72%, var(--bg) 28%);
  padding: 12px;
}

.release-sim-sidebar span,
.release-terminal-header,
.release-stage-label {
  display: block;
  color: var(--fg-mid);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.release-task {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 9px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 80%, var(--bg) 20%);
  padding: 9px;
}

.release-task::before {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.release-task strong {
  display: block;
  color: var(--fg);
  font-size: 0.88rem;
  line-height: 1.25;
}

.release-task small {
  display: block;
  margin-top: 2px;
  color: var(--fg-mid);
  font-size: 0.78rem;
  line-height: 1.35;
}

.release-sim-canvas {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 16px;
}

.release-flowsheet {
  position: relative;
  min-height: 156px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    color-mix(in srgb, var(--bg) 70%, var(--card) 30%);
  background-size: 26px 26px;
}

.release-node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(38, 37, 30, 0.06);
}

:root[data-theme="dark"] .release-node {
  box-shadow: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .release-node {
    box-shadow: none;
  }
}

.release-node-feed {
  left: 9%;
  top: 47%;
}

.release-node-col1 {
  left: 32%;
  top: 18%;
  min-height: 92px;
}

.release-node-col2 {
  left: 53%;
  top: 28%;
  min-height: 84px;
}

.release-node-col3 {
  left: 74%;
  top: 17%;
  min-height: 96px;
}

.release-line {
  position: absolute;
  height: 1px;
  background: var(--border-strong);
  transform-origin: left center;
}

.release-line-1 {
  left: 20%;
  top: 58%;
  width: 13%;
  transform: rotate(-18deg);
}

.release-line-2 {
  left: 43%;
  top: 43%;
  width: 12%;
  transform: rotate(10deg);
}

.release-line-3 {
  left: 64%;
  top: 44%;
  width: 12%;
  transform: rotate(-8deg);
}

.release-terminal {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.release-terminal-header {
  border-bottom: 1px solid var(--border);
  padding: 8px 10px;
}

.release-terminal code {
  display: block;
  padding: 10px;
  color: var(--fg-soft);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

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

.release-metric {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card-2) 60%, var(--bg) 40%);
  padding: 9px;
}

.release-metric span {
  display: block;
  color: var(--fg-mid);
  font-size: 0.74rem;
}

.release-metric strong {
  display: block;
  margin-top: 3px;
  color: var(--fg);
  font-size: 0.9rem;
}

.release-link {
  display: inline-flex;
  margin-top: 2px;
  color: var(--accent);
  font-size: 0.95rem;
}

.automation-note {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 16px;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
}

.automation-note h2 {
  margin: 0;
  font-size: var(--text-md-sm);
  font-weight: 500;
}

.automation-note p {
  margin: 0;
  color: var(--fg-mid);
  font-size: 0.92rem;
}

.automation-note a {
  color: var(--accent);
}

.changelog-article-main {
  width: min(780px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 118px 0 110px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--fg-mid);
  font-size: 0.94rem;
}

.article-meta a {
  color: var(--accent);
}

.changelog-article-main h1 {
  margin: 0 0 22px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.article-body {
  color: var(--fg);
  font-size: 1.04rem;
  line-height: 1.68;
}

.article-body h2 {
  margin: 38px 0 10px;
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.2;
}

.article-body p {
  margin: 16px 0 0;
  color: var(--fg-soft);
}

.article-body ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--fg-soft);
  list-style: none;
}

.article-body li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}

.article-body li::before {
  color: var(--accent);
  content: "->";
}

.article-callout {
  margin: 26px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  color: var(--accent);
}

@media (max-width: 760px) {
  .changelog-main,
  .changelog-article-main {
    padding-top: 88px;
  }

  .changelog-page .changelog-main {
    width: auto;
    max-width: none;
    margin-right: var(--gutter);
    margin-left: var(--gutter);
    overflow-x: hidden;
  }

  .changelog-kicker-row,
  .release-card {
    display: block;
  }

  .release-card,
  .release-body-wrap,
  .release-body,
  .release-media,
  .release-sim-preview,
  .release-sim-canvas,
  .release-flowsheet,
  .release-terminal {
    min-width: 0;
    max-width: 100%;
  }

  .changelog-kicker {
    width: 100%;
    margin: 0;
  }

  .release-card {
    margin-bottom: 42px;
    padding-bottom: 42px;
  }

  .release-meta {
    margin-bottom: 18px;
  }

  .release-meta-inner {
    position: static;
  }

  .release-category {
    display: inline;
  }

  .release-body {
    width: 100%;
    margin: 0;
  }

  .release-sim-preview,
  .automation-note {
    grid-template-columns: 1fr;
  }

  .release-sim-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .release-flowsheet {
    overflow: hidden;
  }

  .release-sim-canvas {
    padding: 12px;
  }

  .release-node {
    min-width: 50px;
  }

  .release-node-col1 {
    left: 43%;
  }

  .release-node-col2 {
    left: 66%;
  }

  .release-node-col3 {
    left: auto;
    right: 6%;
  }

  .release-line-2,
  .release-line-3 {
    width: 10%;
  }

  .release-metrics {
    grid-template-columns: 1fr;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes previewProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes pickerPulse {
  50% {
    border-color: color-mix(in srgb, var(--reflux-blue) 44%, var(--border));
    transform: translateY(-2px);
  }
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes flowCalloutPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .video-card.is-running::after {
    animation: none !important;
    transform: scaleX(1);
  }

  .video-card .workflow-cursor {
    display: none;
  }

  .flowsheet-window .flowsheet-callout,
  .model-picker.is-updated .picker-result {
    animation: none !important;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 52px;
  }
}

@media (max-width: 1050px) {
  :root {
    --gutter: 28px;
  }

  .security-grid {
    display: block;
  }

  .security-aside {
    display: none;
  }

  .security-content {
    width: min(100%, var(--security-column));
  }

  .docs-main {
    grid-template-columns: minmax(190px, 232px) minmax(0, 1fr);
    gap: 26px;
  }

  .legal-sidebar {
    grid-column: 1 / span 5;
  }

  .legal-content {
    grid-column: 6 / -1;
  }

  .docs-toc {
    display: none;
  }

  .center-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-stage {
    min-height: 760px;
  }

  .hero-window {
    left: 28px;
    right: 28px;
  }

  .desktop-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .review-list {
    display: none;
  }

  .agent-thread,
  .mission-panel {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .cli-window {
    left: 52px;
    right: 52px;
    bottom: 24px;
    width: auto;
  }

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

  .feature-slab,
  .feature-slab.reverse,
  .team {
    grid-template-columns: 1fr;
  }

  .feature-slab {
    margin-bottom: 64px;
  }

  .feature-slab.reverse .slab-copy {
    order: -1;
  }

  .slab-copy {
    padding: 42px 20px;
  }

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

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

  .cli-showcase-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cli-showcase-copy,
  .cli-showcase-visual {
    grid-column: 1 / -1;
  }

  .cli-showcase-copy {
    max-width: 720px;
    padding: 8px 0 4px;
  }

  .cli-showcase-visual {
    min-height: 560px;
  }

  .cli-feature-grid {
    grid-template-columns: 1fr;
  }

  .cli-feature-card {
    min-height: 360px;
  }

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

  .brand-main {
    padding-top: 72px;
  }

  .brand-spacer {
    display: none;
  }

  .brand-content {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }

  .security-main {
    padding-top: 42px;
    padding-bottom: 84px;
  }

  .security-header h1 {
    font-size: 2rem;
  }

  .security-toc {
    padding: 13px 14px 12px;
  }

  .anchor-link {
    position: static;
    margin-right: 5px;
    opacity: 0.42;
  }

  .header-actions > a:first-child,
  .header-actions .button-secondary {
    display: none;
  }

  .header-actions .button {
    width: auto;
    white-space: nowrap;
  }

  .changelog-page .header-inner {
    grid-template-columns: auto;
  }

  .changelog-page .header-actions {
    display: none;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
    white-space: nowrap;
  }

  .hero-stage {
    min-height: 810px;
    margin-top: 52px;
  }

  .hero-window {
    left: 14px;
    right: 14px;
    top: 22px;
  }

  .sim-preview {
    display: none;
  }

  .feature-slab {
    margin-bottom: 44px;
  }

  .cli-window {
    left: 14px;
    right: 14px;
  }

  .logo-grid,
  .quote-grid,
  .frontier-grid,
  .resource-grid,
  .cli-learn-grid,
  .changelog-grid,
  .contact-logo-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid div {
    min-height: 62px;
  }

  .brand-main {
    padding-top: 58px;
    padding-bottom: 88px;
  }

  .brand-longform {
    display: block;
  }

  .brand-hero h1 {
    font-size: 2rem;
  }

  .brand-asset-grid,
  .brand-system-panel {
    grid-template-columns: 1fr;
  }

  .brand-mark-panel,
  .brand-mono-panel {
    min-height: 220px;
  }

  .brand-system-panel div {
    min-height: 104px;
  }

  .slab-copy h2,
  .team-copy h2 {
    font-size: 1.28rem;
  }

  .slab-copy p {
    font-size: 1.16rem;
  }

  .quotes h2 {
    font-size: 2.18rem;
  }

  .slack-card,
  .terminal-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: 20px auto;
  }

  .terminal-scene {
    align-content: center;
    gap: 18px;
  }

  .cli-hero {
    padding-top: 76px;
  }

  .cli-hero h1,
  .cli-hero p {
    font-size: 2rem;
  }

  .cli-showcase {
    padding-top: 34px;
  }

  .cli-showcase-card {
    padding: 18px;
  }

  .cli-showcase-visual {
    min-height: 470px;
  }

  .cli-agent-window {
    width: calc(100% - 28px);
    min-height: 390px;
  }

  .cli-agent-body {
    font-size: var(--text-product-base);
  }

  .cli-feature-card {
    min-height: auto;
    padding: 20px;
  }

  .cli-terminal-figure,
  .cli-adapter-figure,
  .cli-flow-figure {
    min-height: 190px;
  }

  .cli-final h2 {
    font-size: 3.35rem;
  }

  .agent-card-scene .desktop-window,
  .flowsheet-window {
    width: calc(100% - 28px);
  }

  .agent-card-scene .desktop-window {
    transform: none;
  }

  .agent-layout {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .agent-sidebar-heading {
    grid-column: 1 / -1;
  }

  .agent-run {
    min-width: 0;
  }

  .video-card {
    height: 238px;
    margin-left: 14px;
    margin-right: 14px;
  }

  .mini-report {
    left: 18px;
    top: 24px;
  }

  .preview-steps {
    left: 18px;
    right: 18px;
    top: 132px;
    width: auto;
  }

  .result-strip {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .flowsheet-window {
    min-height: auto;
  }

  .flowsheet-review {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .flowsheet-canvas {
    min-height: 300px;
  }

  .suggestion-rail {
    grid-template-columns: 1fr;
  }

  .final-cta h2 {
    font-size: 3.35rem;
  }

  .footer {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .docs-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 86px;
  }

  .docs-sidebar {
    order: 2;
    position: static;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: var(--radius-ui);
    background: color-mix(in srgb, var(--card) 74%, var(--bg) 26%);
    padding: 14px;
  }

  .docs-article {
    order: 1;
  }

  .docs-nav {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .docs-hero h1 {
    font-size: 2.5rem;
    line-height: 1.05;
  }

  .docs-card-grid {
    grid-template-columns: 1fr;
  }

  .legal-main {
    width: calc(100% - var(--gutter) * 2);
    padding: 54px 0 82px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-sidebar {
    order: 2;
    position: static;
    grid-column: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-ui);
    background: color-mix(in srgb, var(--card) 74%, var(--bg) 26%);
    padding: 14px;
  }

  .legal-content {
    order: 1;
    grid-column: 1;
  }

  .legal-header {
    margin-bottom: 2.1rem;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .theme-pills {
    margin-left: 0;
  }

  .contact-main,
  .changelog-main {
    padding-top: 92px;
  }

  .contact-copy h1 {
    font-size: 2.45rem;
  }

  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.skip-link.button {
  width: auto;
}

.product-page {
  overflow: hidden;
}

.product-hero {
  padding: 116px 0 74px;
}

.product-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--fg-mid);
  font-size: 0.98rem;
}

.product-eyebrow span {
  color: var(--fg-faint);
}

.product-hero h1 {
  margin: 0;
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.96;
}

.product-hero-copy > p:not(.product-eyebrow) {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--fg-soft);
  font-size: 1.28rem;
  line-height: 1.32;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.product-hero-stage {
  position: relative;
  min-height: 724px;
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card-2) 74%, var(--bg) 26%);
}

.product-stage-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(247, 247, 244, 0.62), rgba(217, 213, 207, 0.44)),
    url("assets/wallpaper-product-light-01.jpg") center / cover no-repeat;
  filter: saturate(0.72) contrast(0.94);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .product-stage-bg {
    background:
      linear-gradient(120deg, rgba(20, 18, 11, 0.72), rgba(45, 36, 24, 0.68)),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
    filter: saturate(0.66) brightness(0.88);
  }
}

:root[data-theme="dark"] .product-stage-bg {
  background:
    linear-gradient(120deg, rgba(20, 18, 11, 0.72), rgba(45, 36, 24, 0.68)),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  filter: saturate(0.66) brightness(0.88);
}

.product-command-window {
  position: absolute;
  left: 44px;
  right: 64px;
  top: 34px;
}

.product-command-grid {
  display: grid;
  grid-template-columns: 230px minmax(310px, 0.88fr) minmax(340px, 1fr);
  min-height: 430px;
}

.product-run-list,
.product-agent-pane,
.product-evidence-pane {
  min-width: 0;
}

.product-run-list {
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 46%, transparent);
  padding: 10px 8px;
}

.product-run-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 3px 7px;
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  font-weight: 650;
  text-transform: uppercase;
}

.product-run-heading strong {
  color: var(--fg-mid);
  font-weight: 650;
}

.review-heading {
  margin-top: 18px;
}

.product-run {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 3px 8px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg-mid);
  padding: 8px 7px;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.product-run:hover,
.product-run:focus-visible,
.product-run.active {
  background: color-mix(in srgb, var(--card-2) 66%, transparent);
  color: var(--fg);
}

.product-run > span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--fg-faint);
}

.product-run.active > span {
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 16%, transparent);
}

.product-run.reviewed > span {
  background: var(--reflux-blue);
}

.product-run strong,
.product-run small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-run strong {
  font-size: var(--text-product-lg);
  font-weight: 500;
}

.product-run small {
  grid-column: 2;
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.product-agent-pane {
  position: relative;
  padding: 14px 14px 138px;
  border-right: 1px solid var(--border);
}

.product-agent-pane h2,
.product-feature-card h3,
.product-process-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-product-lg);
  font-weight: 650;
}

.product-agent-pane > p {
  margin: 16px 4px 0;
  max-width: 390px;
  color: var(--fg-soft);
  font-size: var(--text-product-lg);
  line-height: 1.35;
}

.product-composer {
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.product-evidence-pane {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.product-review-sheet {
  padding: 22px 20px;
}

.product-review-sheet h3 {
  margin: 8px 0 13px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
}

.product-review-sheet .artifact-canvas {
  min-height: 272px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--reflux-blue) 6%, transparent), transparent 58px),
    color-mix(in srgb, var(--bg) 84%, transparent);
  padding: 14px;
}

.product-terminal-window {
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 420px;
}

.product-terminal-lines {
  padding: 15px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
  line-height: 1.55;
}

.product-terminal-lines p {
  margin: 0 0 11px;
}

.product-terminal-lines pre {
  margin: 0 0 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  padding: 9px 12px;
  white-space: pre-wrap;
}

.product-terminal-lines span {
  color: var(--green);
}

.product-feature-section {
  padding: 52px 0;
}

.product-section-intro {
  max-width: 720px;
  margin-bottom: 22px;
}

.product-section-intro h2 {
  margin: 0;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.08;
}

.product-section-intro p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--fg-soft);
  font-size: 1.13rem;
  line-height: 1.42;
}

.product-card-grid,
.product-split-grid {
  display: grid;
  gap: 10px;
}

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

.product-card-grid.three-up,
.product-split-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-feature-card,
.product-process-card {
  display: flex;
  min-height: 524px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 86%, var(--bg) 14%);
  padding: 14px;
  overflow: hidden;
}

.product-feature-card.compact {
  min-height: 430px;
}

.product-feature-card p,
.product-process-card p {
  margin: 0;
  color: var(--fg-mid);
  font-size: 0.96rem;
  line-height: 1.38;
}

.product-feature-card .text-link {
  margin-top: 16px;
  font-size: 0.92rem;
}

.product-card-media {
  position: relative;
  display: grid;
  min-height: 318px;
  margin: auto -1px -1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-3) 80%, var(--bg) 20%), color-mix(in srgb, var(--bg) 80%, var(--card) 20%));
  padding: 22px;
}

.product-feature-card.compact .product-card-media {
  min-height: 260px;
}

.mini-window,
.message-card,
.review-row,
.list-media div,
.diagnose-card,
.build-log,
.search-media span,
.search-media p,
.rules-media p,
.context-media span,
.checkpoint-media span,
.adapter-media span,
.mcp-media span {
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  box-shadow: var(--shadow-soft);
}

.desktop-media {
  place-items: center;
  background:
    linear-gradient(135deg, rgba(247, 247, 244, 0.58), rgba(217, 213, 207, 0.52)),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
}

.mini-window {
  width: min(360px, 92%);
  padding: 14px;
}

.mini-window span,
.message-card span,
.search-media span,
.review-row strong {
  display: block;
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
}

.mini-window strong {
  display: block;
  margin: 10px 0;
  font-size: 1rem;
}

.mini-window p,
.build-log p {
  margin-top: 7px;
  border-top: 1px solid var(--border);
  padding-top: 7px;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.terminal-media {
  align-content: center;
  background: color-mix(in srgb, var(--fg) 92%, #2f3f32 8%);
}

.terminal-media pre {
  margin: 0;
  color: var(--bg);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
  line-height: 1.7;
  white-space: pre-wrap;
}

.terminal-media.small pre {
  font-size: var(--text-product-base);
}

.team-media {
  align-content: center;
  gap: 12px;
}

.message-card {
  max-width: 390px;
  padding: 12px;
}

.message-card.reply {
  margin-left: auto;
  border-color: color-mix(in srgb, var(--reflux-blue) 30%, var(--border));
}

.message-card p {
  margin-top: 6px;
}

.dashboard-media,
.list-media,
.rules-media,
.context-media,
.adapter-media,
.mcp-media {
  align-content: center;
  gap: 9px;
}

.review-row,
.list-media div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 3px 10px;
  padding: 10px;
}

.review-row span,
.list-media span {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--fg-faint);
}

.review-row.active span,
.list-media div:first-child span {
  background: var(--green);
}

.review-row p,
.list-media small {
  grid-column: 2;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.list-media strong {
  font-size: var(--text-product-base);
  font-weight: 650;
}

.search-media {
  align-content: center;
  gap: 10px;
}

.search-media span,
.search-media p,
.rules-media p {
  margin: 0;
  padding: 9px 11px;
  color: var(--fg-mid);
}

.search-media span {
  color: var(--fg);
}

.rules-media p::before,
.build-log p::before {
  color: var(--green);
  content: "✓ ";
}

.product-process-card {
  min-height: 360px;
}

.product-process-card .question-card,
.product-process-card .build-log,
.product-process-card .diagnose-card {
  margin-top: auto;
}

.build-log {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.build-log p {
  border-top: 0;
  padding: 0;
}

.diagnose-card {
  padding: 13px;
}

.diagnose-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: var(--text-product-lg);
}

.diagnose-card span {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--fg);
  font-size: var(--text-product-sm);
}

.context-media,
.adapter-media,
.mcp-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.context-media span,
.checkpoint-media span,
.adapter-media span,
.mcp-media span {
  padding: 10px;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.checkpoint-media {
  align-content: center;
  gap: 8px;
}

.checkpoint-media span {
  position: relative;
  padding-left: 28px;
}

.checkpoint-media span::before {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-faint);
  content: "";
  transform: translateY(-50%);
}

.checkpoint-media span:last-child::before {
  background: var(--green);
}

.template-media {
  align-content: center;
  gap: 8px;
}

.template-media .file-pill {
  margin: 0;
}

.product-quotes {
  padding-top: 74px;
}

.product-quotes h2 {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.product-quotes .quote-card div {
  display: block;
}

.product-page .resources {
  padding-top: 46px;
}

.product-changelog {
  padding-top: 8px;
}

.product-page .final-cta {
  padding-top: 24px;
}

@media (max-width: 1050px) {
  .product-hero h1 {
    font-size: 4.3rem;
  }

  .product-hero-stage {
    min-height: 760px;
  }

  .product-command-window {
    left: 26px;
    right: 26px;
  }

  .product-command-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .product-run-list {
    display: none;
  }

  .product-agent-pane {
    border-right: 1px solid var(--border);
  }

  .product-terminal-window {
    right: 26px;
  }

  .product-card-grid,
  .product-card-grid.three-up,
  .product-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .product-hero {
    padding-top: 78px;
    padding-bottom: 48px;
  }

  .product-hero-copy {
    text-align: left;
  }

  .product-hero h1 {
    font-size: 3rem;
  }

  .product-hero-copy > p:not(.product-eyebrow) {
    font-size: 1.08rem;
  }

  .product-hero-actions {
    justify-content: stretch;
  }

  .product-hero-stage {
    min-height: 690px;
    margin-top: 50px;
  }

  .product-command-window {
    left: 14px;
    right: 14px;
    top: 22px;
  }

  .product-command-grid {
    grid-template-columns: 1fr;
  }

  .product-agent-pane {
    min-height: 402px;
    border-right: 0;
  }

  .product-evidence-pane {
    display: none;
  }

  .product-terminal-window {
    display: none;
  }

  .product-section-intro h2 {
    font-size: 1.85rem;
  }

  .product-card-grid,
  .product-card-grid.three-up,
  .product-split-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-card,
  .product-feature-card.compact {
    min-height: 0;
  }

  .product-card-media,
  .product-feature-card.compact .product-card-media {
    min-height: 230px;
  }

  .context-media,
  .adapter-media,
  .mcp-media {
    grid-template-columns: 1fr;
  }
}

.enterprise-page {
  overflow: hidden;
}

.enterprise-hero {
  padding: 116px 0 78px;
}

.enterprise-hero-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.enterprise-hero h1 {
  max-width: 970px;
  margin: 0 auto;
  font-size: 5.55rem;
  font-weight: 400;
  line-height: 0.96;
}

.enterprise-hero-copy > p:not(.product-eyebrow) {
  max-width: 690px;
  margin: 23px auto 0;
  color: var(--fg-soft);
  font-size: 1.28rem;
  line-height: 1.34;
}

.enterprise-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.enterprise-hero-stage {
  position: relative;
  min-height: 690px;
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card-2) 72%, var(--bg) 28%);
}

.enterprise-stage-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(247, 247, 244, 0.72), rgba(219, 217, 211, 0.56)),
    url("assets/wallpaper-product-light-02.jpg") center / cover no-repeat;
  filter: saturate(0.66) contrast(0.94);
}

.enterprise-stage-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  max-width: 54%;
  opacity: 0.055;
  transform: translate(-50%, -50%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .enterprise-stage-bg {
    background:
      linear-gradient(115deg, rgba(20, 18, 11, 0.74), rgba(48, 39, 27, 0.7)),
      url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
    filter: saturate(0.64) brightness(0.88);
  }

  :root:not([data-theme]) .enterprise-stage-mark {
    filter: invert(1);
    opacity: 0.07;
  }
}

:root[data-theme="dark"] .enterprise-stage-bg {
  background:
    linear-gradient(115deg, rgba(20, 18, 11, 0.74), rgba(48, 39, 27, 0.7)),
    url("assets/wallpaper-product-dark-01.jpg") center / cover no-repeat;
  filter: saturate(0.64) brightness(0.88);
}

:root[data-theme="dark"] .enterprise-stage-mark {
  filter: invert(1);
  opacity: 0.07;
}

.enterprise-command-window {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 36px;
}

.enterprise-command-grid {
  display: grid;
  grid-template-columns: 238px minmax(340px, 1fr) minmax(280px, 0.82fr);
  min-height: 424px;
}

.enterprise-command-rail,
.enterprise-command-main,
.enterprise-command-proof {
  min-width: 0;
}

.enterprise-command-rail {
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 48%, transparent);
  padding: 11px 8px;
}

.enterprise-command-rail p {
  margin: 0 4px 9px;
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  font-weight: 650;
  text-transform: uppercase;
}

.enterprise-command-rail button {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 3px 8px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg-mid);
  padding: 9px 7px;
  text-align: left;
}

.enterprise-command-rail button:hover,
.enterprise-command-rail button:focus-visible,
.enterprise-command-rail button.active {
  background: color-mix(in srgb, var(--card-2) 66%, transparent);
  color: var(--fg);
}

.enterprise-command-rail button > span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--fg-faint);
}

.enterprise-command-rail button.active > span {
  background: var(--green);
}

.enterprise-command-rail strong,
.enterprise-command-rail small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enterprise-command-rail strong {
  font-size: var(--text-product-lg);
  font-weight: 500;
}

.enterprise-command-rail small {
  grid-column: 2;
  color: var(--fg-faint);
  font-size: var(--text-product-base);
}

.enterprise-command-main {
  padding: 15px;
  border-right: 1px solid var(--border);
}

.enterprise-command-main h2,
.enterprise-feature-card h3,
.enterprise-security-grid h3 {
  margin: 0 0 8px;
  font-size: var(--text-product-lg);
  font-weight: 650;
}

.enterprise-command-main > p {
  max-width: 430px;
  margin: 16px 4px 0;
  color: var(--fg-soft);
  font-size: var(--text-product-lg);
  line-height: 1.36;
}

.enterprise-review-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.enterprise-review-list span {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  padding: 8px 10px;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.enterprise-review-list span::before {
  color: var(--green);
  content: "✓ ";
}

.enterprise-command-proof {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.enterprise-proof-sheet {
  padding: 20px;
}

.enterprise-proof-sheet > span,
.enterprise-search-bar,
.enterprise-source-grid span,
.enterprise-section-heading span,
.enterprise-split-copy > span,
.enterprise-story-grid span,
.enterprise-evidence-media span {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  font-weight: 650;
  text-transform: uppercase;
}

.enterprise-proof-sheet h3 {
  margin: 8px 0 17px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
}

.enterprise-metric-row {
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 56%, transparent);
  padding: 13px;
}

.enterprise-metric-row + .enterprise-metric-row {
  margin-top: 8px;
}

.enterprise-metric-row strong {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.enterprise-metric-row small {
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.enterprise-logo-section {
  padding: 12px 0 80px;
}

.enterprise-logo-section h2 {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--fg-soft);
  font-size: 1.02rem;
  font-weight: 400;
  text-align: center;
}

.enterprise-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.enterprise-logo-grid span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 82%, var(--bg) 18%);
  color: var(--fg-mid);
  padding: 12px;
  text-align: center;
}

.enterprise-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 10px;
  align-items: stretch;
  padding: 44px 0;
}

.enterprise-split-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.enterprise-split-copy {
  align-self: center;
  max-width: 560px;
}

.enterprise-split-reverse .enterprise-split-copy {
  justify-self: end;
}

.enterprise-split-copy h2,
.enterprise-section-heading h2,
.enterprise-quotes h2 {
  margin: 0;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.08;
}

.enterprise-split-copy h2 {
  margin-top: 9px;
}

.enterprise-split-copy p,
.enterprise-section-heading p,
.enterprise-feature-card p,
.enterprise-security-grid p {
  margin: 11px 0 0;
  color: var(--fg-soft);
  font-size: 1.04rem;
  line-height: 1.42;
}

.enterprise-split-copy .text-link {
  margin-top: 18px;
}

.enterprise-knowledge-card,
.enterprise-product-card,
.enterprise-feature-card,
.enterprise-security-grid article,
.enterprise-quote-card,
.enterprise-story-grid a,
.enterprise-faq-list details,
.enterprise-proof-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 86%, var(--bg) 14%);
}

.enterprise-knowledge-card {
  min-height: 478px;
  padding: 14px;
}

.enterprise-search-bar {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: var(--fg);
  padding: 0 13px;
  text-transform: none;
}

.enterprise-search-bar::before {
  margin-right: 8px;
  color: var(--fg-faint);
  content: "⌕";
}

.enterprise-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.enterprise-source-grid article {
  min-height: 180px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  padding: 13px;
}

.enterprise-source-grid strong {
  display: block;
  margin-top: 14px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: var(--text-product-lg);
  font-weight: 500;
}

.enterprise-source-grid p {
  margin: 9px 0 0;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
  line-height: 1.35;
}

.enterprise-product-card {
  min-height: 500px;
  padding: 14px;
}

.enterprise-product-card .desktop-window {
  height: 100%;
  min-height: 470px;
}

.enterprise-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  min-height: 438px;
}

.enterprise-flow-canvas {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--reflux-blue) 5%, transparent), transparent 68px),
    color-mix(in srgb, var(--bg) 84%, transparent);
  padding: 18px;
}

.enterprise-flow-canvas svg {
  width: 100%;
}

.enterprise-flow-canvas text {
  fill: var(--fg-mid);
  font-size: 13px;
  font-weight: 650;
  text-anchor: middle;
}

.enterprise-dashboard-rail {
  padding: 16px;
}

.enterprise-dashboard-rail span {
  color: var(--fg-faint);
  font-size: var(--text-product-sm);
  font-weight: 650;
  text-transform: uppercase;
}

.enterprise-dashboard-rail strong {
  display: block;
  margin-top: 9px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.18;
}

.enterprise-dashboard-rail p {
  margin: 10px 0 0;
  color: var(--fg-soft);
  font-size: 0.95rem;
}

.enterprise-dashboard-rail button {
  width: 100%;
  min-height: 38px;
  margin-top: 18px;
  border: 1px solid var(--button);
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
}

.enterprise-proof {
  padding: 58px 0 32px;
}

.enterprise-section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

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

.enterprise-proof-grid article {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.enterprise-proof-grid strong {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
}

.enterprise-proof-grid span {
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.35;
}

.enterprise-feature-section,
.enterprise-security,
.enterprise-quotes,
.enterprise-stories,
.enterprise-faq {
  padding: 58px 0;
}

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

.enterprise-feature-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 14px;
}

.enterprise-feature-card .text-link {
  margin-top: 16px;
  font-size: 0.92rem;
}

.enterprise-control-media,
.enterprise-system-media,
.enterprise-evidence-media {
  display: grid;
  min-height: 280px;
  gap: 8px;
  margin: 24px -1px -1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-3) 76%, var(--bg) 24%), color-mix(in srgb, var(--bg) 82%, var(--card) 18%));
  padding: 18px;
}

.enterprise-control-media {
  align-content: center;
}

.enterprise-control-media span {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 10px 11px;
  color: var(--fg-mid);
  font-size: var(--text-product-base);
}

.enterprise-control-media span::before {
  color: var(--green);
  content: "✓ ";
}

.enterprise-system-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
}

.enterprise-system-media span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--fg-mid);
  padding: 8px;
  text-align: center;
}

.enterprise-evidence-media {
  align-content: center;
}

.enterprise-evidence-media div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ui);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 13px;
}

.enterprise-evidence-media strong {
  font-size: var(--text-product-lg);
  font-weight: 500;
}

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

.enterprise-security-grid article {
  min-height: 230px;
  padding: 15px;
}

.enterprise-quotes h2 {
  max-width: 740px;
  margin-bottom: 22px;
}

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

.enterprise-quote-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.enterprise-quote-card p {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.24;
}

.enterprise-quote-card div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 11px;
  align-items: center;
}

.enterprise-quote-card img {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.enterprise-quote-card strong {
  font-weight: 650;
}

.enterprise-quote-card small {
  color: var(--fg-mid);
}

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

.enterprise-story-grid a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.enterprise-story-grid a:hover,
.enterprise-story-grid a:focus-visible {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--card-2) 86%, var(--bg) 14%);
  transform: translateY(-1px);
}

.enterprise-story-grid strong {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.18;
}

.enterprise-story-grid small {
  color: var(--fg-mid);
}

.enterprise-faq-list {
  display: grid;
  gap: 8px;
}

.enterprise-faq-list details {
  padding: 16px;
}

.enterprise-faq-list summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 500;
}

.enterprise-faq-list p {
  max-width: 860px;
  margin: 10px 0 0;
  color: var(--fg-soft);
}

@media (max-width: 1120px) {
  .enterprise-hero h1 {
    font-size: 4.35rem;
  }

  .enterprise-command-grid {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .enterprise-command-proof {
    display: none;
  }

  .enterprise-command-main {
    border-right: 0;
  }

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

  .enterprise-split,
  .enterprise-split-reverse {
    grid-template-columns: 1fr;
  }

  .enterprise-split-copy,
  .enterprise-split-reverse .enterprise-split-copy {
    max-width: 760px;
    justify-self: start;
  }

  .enterprise-feature-grid,
  .enterprise-security-grid,
  .enterprise-proof-grid,
  .enterprise-quote-grid,
  .enterprise-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .enterprise-hero {
    padding-top: 78px;
    padding-bottom: 52px;
  }

  .enterprise-hero-copy {
    text-align: left;
  }

  .enterprise-hero h1 {
    font-size: 3rem;
  }

  .enterprise-hero-copy > p:not(.product-eyebrow) {
    font-size: 1.08rem;
  }

  .enterprise-actions {
    justify-content: stretch;
  }

  .enterprise-hero-stage {
    min-height: 520px;
    margin-top: 50px;
  }

  .enterprise-command-window {
    left: 14px;
    right: 14px;
    top: 22px;
  }

  .enterprise-command-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-command-rail {
    display: none;
  }

  .enterprise-command-main {
    min-height: 350px;
  }

  .enterprise-logo-grid,
  .enterprise-source-grid,
  .enterprise-feature-grid,
  .enterprise-security-grid,
  .enterprise-proof-grid,
  .enterprise-quote-grid,
  .enterprise-story-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-split {
    padding: 34px 0;
  }

  .enterprise-split-copy h2,
  .enterprise-section-heading h2,
  .enterprise-quotes h2 {
    font-size: 1.85rem;
  }

  .enterprise-knowledge-card,
  .enterprise-product-card,
  .enterprise-feature-card,
  .enterprise-security-grid article,
  .enterprise-quote-card,
  .enterprise-story-grid a,
  .enterprise-proof-grid article {
    min-height: 0;
  }

  .enterprise-product-card .desktop-window {
    min-height: 420px;
  }

  .enterprise-dashboard {
    grid-template-columns: 1fr;
  }

  .enterprise-flow-canvas {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .enterprise-system-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .footer-page-hero,
  .footer-page-photo-row {
    grid-template-columns: 1fr;
  }

  .footer-page-visual {
    min-height: 460px;
  }

  .footer-page-grid,
  .footer-page-steps,
  .footer-page-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-page-hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 54px;
  }

  .footer-page-hero h1 {
    font-size: 2.65rem;
  }

  .footer-page-visual,
  .footer-page-photo,
  .footer-page-photo img {
    min-height: 340px;
  }

  .footer-page-grid,
  .footer-page-steps,
  .footer-page-channels {
    grid-template-columns: 1fr;
  }

  .footer-page-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
