/* ============================================================
   Steerly.ai — landing page styles
   Tokens + primitives come from /assets/design.css.
   This file is page-specific composition only.
   ============================================================ */

:root {
  --display-font: "Space Grotesk", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  overflow-x: hidden;
  background: var(--bg);
}
/* fixed hero glow that won't interfere with screenshot capture of scrolled content */
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 760px;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in oklch, var(--accent) 9%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* respect reduced motion globally */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- layout helpers ---- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: color-mix(in oklch, var(--accent) 60%, transparent);
}

.display {
  font-family: var(--display-font);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
.display em {
  font-style: normal;
  color: var(--accent);
  font-feature-settings: "ss01";
}

.section {
  padding: 110px 0;
  position: relative;
}
.section--band {
  background: color-mix(in oklch, var(--panel) 45%, var(--bg));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.section__head {
  max-width: 760px;
}
.section__title {
  font-family: var(--display-font);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  color: var(--accent);
}
.section__lede {
  font-size: 18px;
  color: var(--dim);
  line-height: 1.55;
  max-width: 620px;
  margin: 0;
  text-wrap: pretty;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
[data-motion="off"] .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px var(--gutter);
}
.nav__links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--dim);
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.12s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.18s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ag-logo .ag-mark { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 40px;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  background: color-mix(in oklch, var(--panel) 60%, transparent);
}
.hero__eyebrow .dot {
  color: var(--allow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero h1 {
  font-family: var(--display-font);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-feature-settings: "ss01";
}
.hero .lede {
  font-size: 19px;
  color: var(--dim);
  max-width: 660px;
  margin: 24px auto 0;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__cta {
  display: inline-flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn--lg {
  height: 46px;
  padding: 0 20px;
  font-size: 14.5px;
  border-radius: 7px;
}
.btn--primary.btn--lg {
  box-shadow: 0 8px 30px -8px color-mix(in oklch, var(--accent) 60%, transparent);
}
.hero__trust {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dimmer);
  letter-spacing: 0.02em;
}

/* ---- control-plane diagram ---- */
.cplane {
  margin: 56px auto 0;
  max-width: 1140px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg, 12px);
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--panel) 80%, var(--bg)) 0%, var(--panel) 100%);
  box-shadow:
    0 50px 90px -50px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--hairline);
  overflow: hidden;
  position: relative;
}
.cplane__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
}
.cplane__dots { display: flex; gap: 6px; }
.cplane__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hairline-strong);
}
.cplane__url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  max-width: 360px;
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.cplane__live {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--allow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cplane__live .dot {
  background: var(--allow);
  animation: pulse 1.6s infinite;
}

.cplane__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  min-height: 420px;
  position: relative;
}
.cplane__col {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.cplane__col--agents { border-right: 1px solid var(--hairline); }
.cplane__col--machine { border-left: 1px solid var(--hairline); }
.cplane__col--hub {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(70% 55% at 50% 45%, var(--accent-soft) 0%, transparent 70%);
}
.cplane__coltitle {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 4px;
}

.agent-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: color-mix(in oklch, var(--panel) 70%, var(--bg));
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.agent-node.is-firing {
  border-color: color-mix(in oklch, var(--accent) 55%, transparent);
  transform: translateX(3px);
}
.agent-node__ic {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  flex: none;
  color: var(--bg);
}
.agent-node small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
}

/* the hub = steering wheel */
.hub {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}
.hub__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
}
.hub__ring--spin {
  border: 1px dashed color-mix(in oklch, var(--accent) 40%, transparent);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hub__wheel { width: 92px; height: 92px; color: var(--accent); }
.hub__label {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.hub__verdict {
  margin-top: 8px;
  min-height: 22px;
}

.machine-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: color-mix(in oklch, var(--panel) 70%, var(--bg));
  font-size: 13px;
}
.machine-node svg { color: var(--dim); flex: none; }

/* SVG connector layer */
.cplane__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.wire {
  fill: none;
  stroke: var(--hairline-strong);
  stroke-width: 1;
}
.packet { r: 4; }

/* live verdict ticker under diagram */
.cplane__ticker {
  border-top: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
  padding: 0;
  height: 46px;
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  padding: 0 20px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  will-change: transform;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
}
.ticker__item .pill { flex: none; }

/* ============================================================
   WORKS WITH
   ============================================================ */
.works {
  padding: 54px 0;
  border-bottom: 1px solid var(--hairline);
}
.works__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 26px;
}
.works__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.works__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: color-mix(in oklch, var(--panel) 60%, transparent);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  transition: border-color 0.16s, color 0.16s;
}
.works__chip:hover {
  color: var(--text);
  border-color: var(--hairline-strong);
}
.works__chip .glyph {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700;
  color: var(--bg);
  flex: none;
}
.wlogo { width: 18px; height: 18px; flex: none; }
.works__tm {
  text-align: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dimmer);
}

/* ============================================================
   WORKBENCH SHOWCASE  (multi-agent / multi-terminal)
   ============================================================ */
.wb {
  margin-top: 48px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.6);
}
.wb__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
}
.wb__chrome .dotrow { display: flex; gap: 6px; }
.wb__chrome .dotrow span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hairline-strong);
}
.wb__chrome__title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}
.wb__body {
  display: grid;
  grid-template-columns: 48px 1fr 296px;
  min-height: 560px;
}
.wb__chrome .seg {
  margin-left: auto;
  display: inline-flex;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  overflow: hidden;
}
.wb__chrome .seg button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  background: transparent;
  color: var(--dim);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.12s, color 0.12s;
}
.wb__chrome .seg button + button { border-left: 1px solid var(--hairline); }
.wb__chrome .seg button.is-active { background: var(--accent-soft); color: var(--accent); }
.wb__rail {
  border-right: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 70%, var(--bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}
.wb__rail__ic {
  width: 32px; height: 32px;
  border-radius: 7px;
  display: grid; place-items: center;
  color: var(--dim);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.wb__rail__ic:hover { background: var(--raised); color: var(--text); }
.wb__rail__ic.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}
.wb__sessions {
  border-right: 1px solid var(--hairline);
  padding: 14px 10px;
  background: color-mix(in oklch, var(--panel) 80%, var(--bg));
}
.wb__group {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  padding: 12px 8px 6px;
}
.wb__session {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--dim);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.wb__session:hover { background: var(--raised); color: var(--text); }
.wb__session.is-active { background: var(--accent-soft); color: var(--text); }
.wb__session .dot { width: 7px; height: 7px; }

.wb__panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.wb__pane { border-right: 1px solid var(--hairline); display: flex; flex-direction: column; }
.wb__pane:last-child { border-right: none; }
.wb__pane__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
}
.wb__pane__head .who {
  font-size: 12.5px; font-weight: 600;
}
.wb__pane__head .model {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.wb__pane__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
}
.bubble {
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--hairline);
}
.bubble--me {
  align-self: flex-end;
  background: var(--accent-soft);
  border-color: color-mix(in oklch, var(--accent) 30%, transparent);
  color: var(--text);
}
.bubble--ai {
  align-self: flex-start;
  background: color-mix(in oklch, var(--panel) 70%, var(--bg));
  color: var(--text);
}
.bubble__role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.bubble code, .mono-inl {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
}
.tool-line {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tool-line.deny { border-color: color-mix(in oklch, var(--deny) 35%, transparent); background: var(--deny-soft); }
.tool-line.ask { border-color: color-mix(in oklch, var(--ask) 35%, transparent); background: var(--ask-soft); }

.wb__inspector {
  padding: 16px;
  background: color-mix(in oklch, var(--panel) 85%, var(--bg));
}
.insp__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.insp__tab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.insp__tab.is-active { color: var(--text); border-bottom-color: var(--accent); }
.insp__section {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin: 18px 0 10px;
}
.insp__section:first-child { margin-top: 0; }

/* ============================================================
   WORKBENCH — main column: tabs, toolbar, tiling terminals
   ============================================================ */
.wb__main {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline);
  min-width: 0;
  background: color-mix(in oklch, var(--bg) 70%, var(--panel));
}
.wb__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
  min-height: 44px;
}
.wb__tabs { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.wb__tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 12px;
  color: var(--dim);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.wb__tab:hover { background: var(--raised); color: var(--text); }
.wb__tab.is-active {
  background: var(--panel);
  border-color: var(--hairline);
  color: var(--text);
}
.wb__tab .glyph {
  width: 15px; height: 15px; border-radius: 4px;
  display: grid; place-items: center; flex: none;
}
.wb__tab .glyph svg { width: 11px; height: 11px; }
.wb__tab .x { color: var(--dimmer); font-size: 13px; line-height: 1; }
.wb__toolbtns { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.wb__tbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.wb__tbtn:hover { color: var(--text); border-color: var(--hairline-strong); }
.wb__tbtn--accent { background: var(--accent); border-color: var(--accent); color: #0b0c0e; font-family: var(--sans); font-weight: 600; }
.wb__tbtn--accent:hover { color: #0b0c0e; filter: brightness(1.08); }

/* tiling tree of terminals */
.wb__view { flex: 1; min-height: 0; display: none; }
.wb__view.is-active { display: flex; flex-direction: column; }
.wb__tiles {
  flex: 1;
  display: grid;
  grid-template-rows: 1.15fr 1fr;
  gap: 1px;
  background: var(--hairline);
  padding: 1px;
}
.wb__tilerow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  min-height: 0;
}
.term {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  position: relative;
}
.term.is-focus { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--accent) 45%, transparent); }
.term__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 50%, var(--bg));
}
.term__head .glyph {
  width: 16px; height: 16px; border-radius: 4px;
  display: grid; place-items: center; flex: none;
}
.term__head .glyph svg { width: 11px; height: 11px; }
.term__title { font-size: 12px; color: var(--text); font-weight: 500; }
.term__model {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.term__head .ctl { color: var(--dimmer); display: inline-flex; gap: 8px; margin-left: 4px; }
.term__head .ctl svg { width: 12px; height: 12px; cursor: pointer; }
.term__head .ctl svg:hover { color: var(--dim); }
.term__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 11px 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.term__banner {
  display: flex;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  margin-bottom: 8px;
  background: color-mix(in oklch, var(--panel) 40%, var(--bg));
}
.term__banner .glyph {
  width: 24px; height: 24px; border-radius: 6px; flex: none;
  display: grid; place-items: center;
}
.term__banner .glyph svg { width: 15px; height: 15px; }
.term__banner b { font-weight: 600; }
.term__banner .meta { color: var(--dim); font-size: 10.5px; line-height: 1.5; }
.term__l { white-space: pre-wrap; word-break: break-word; }
.term__l .c-dim { color: var(--dim); }
.term__l .c-allow { color: var(--allow); }
.term__l .c-ask { color: var(--ask); }
.term__l .c-deny { color: var(--deny); }
.term__l .c-accent { color: var(--accent); }
.term__verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10.5px;
}
.term__verdict.ask { background: var(--ask-soft); color: var(--ask); border: 1px solid color-mix(in oklch, var(--ask) 30%, transparent); }
.term__verdict.deny { background: var(--deny-soft); color: var(--deny); border: 1px solid color-mix(in oklch, var(--deny) 30%, transparent); }
.term__verdict.allow { background: var(--allow-soft); color: var(--allow); border: 1px solid color-mix(in oklch, var(--allow) 30%, transparent); }
.term__prompt { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--dim); }
.term__prompt .chev { color: var(--accent); }
.term__caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  vertical-align: text-bottom;
}
@media (prefers-reduced-motion: no-preference) {
  [data-motion="on"] .term__caret { animation: caret 1s steps(1) infinite; }
}
@keyframes caret { 50% { opacity: 0; } }
.term__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 11px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dimmer);
  background: color-mix(in oklch, var(--panel) 40%, var(--bg));
}
.term__status .ask { color: var(--ask); }

/* chat view (secondary) */
.wb__chat { width: 100%; }

/* ============================================================
   FEATURE SECTIONS — generic split layout
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
.split--rev { grid-template-columns: 1.15fr 0.85fr; }
.split--rev .split__copy { order: 2; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
}
.feature-list li:first-child { border-top: none; }
.feature-list .arr {
  color: var(--accent);
  font-family: var(--mono);
  flex: none;
}
.feature-list b { color: var(--text); font-weight: 600; }

/* ============================================================
   FIREWALL DEMO
   ============================================================ */
.firewall {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.firewall__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
}
.firewall__head .t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.fw-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.16s;
}
.fw-row.is-in { opacity: 1; transform: none; }
[data-motion="off"] .fw-row { opacity: 1; transform: none; }
.fw-row:last-child { border-bottom: none; }
.fw-row:hover { background: var(--raised); }
.fw-row__cmd { font-family: var(--mono); font-size: 13px; color: var(--text); }
.fw-row__why { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.fw-row.is-crit .fw-row__cmd { color: var(--deny); }

/* ============================================================
   SECURITY ROOM
   ============================================================ */
.sroom {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--panel);
  margin-top: 8px;
  box-shadow: 0 40px 80px -55px rgba(0,0,0,0.6);
}
.sroom__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
  flex-wrap: wrap;
}
.sroom__title {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  padding: 5px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
}
.stat-chip b { color: var(--text); }
.sroom__sub { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.sroom__grid {
  display: grid;
  grid-template-columns: 206px 1fr;
  min-height: 500px;
}
.sroom__nav {
  border-right: 1px solid var(--hairline);
  padding: 12px 10px;
  background: color-mix(in oklch, var(--panel) 80%, var(--bg));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sr-navitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--dim);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.sr-navitem:hover { background: var(--raised); color: var(--text); }
.sr-navitem.is-active { background: var(--accent-soft); color: var(--text); }
.sr-navitem.is-active svg { color: var(--accent); }
.sr-navitem svg { width: 15px; height: 15px; flex: none; color: var(--dim); }
.sr-navitem .spacer { flex: 1; }
.sr-navitem .badge {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 100px;
  background: var(--raised);
  color: var(--dim);
}
.sr-navitem .badge.ask { background: var(--ask-soft); color: var(--ask); }
.sr-navitem .badge.deny { background: var(--deny-soft); color: var(--deny); }

.sroom__main { padding: 20px 22px; min-width: 0; }
.sr-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.sr-metric {
  border: 1px solid var(--hairline);
  border-radius: 9px;
  padding: 14px 15px;
  background: color-mix(in oklch, var(--panel) 60%, var(--bg));
}
.sr-metric .v {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.sr-metric .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
  margin-top: 7px;
}
.sr-metric.ask .v { color: var(--ask); }
.sr-metric.deny .v { color: var(--deny); }
.sr-metric.allow .v { color: var(--allow); }

.sr-section-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin: 24px 0 10px;
}
.sr-eventrow {
  display: grid;
  grid-template-columns: 3px auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}
.sr-eventrow:first-of-type { border-top: none; }
.sr-ev-sev { width: 3px; align-self: stretch; border-radius: 2px; }
.sr-ev-sev.allow { background: var(--allow); }
.sr-ev-sev.ask { background: var(--ask); }
.sr-ev-sev.deny { background: var(--deny); }
.sr-ev-sev.crit { background: var(--critical); }
.sr-ev-main { min-width: 0; }
.sr-ev-title { font-size: 13.5px; color: var(--text); }
.sr-ev-cmd { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-ev-meta { font-family: var(--mono); font-size: 10.5px; color: var(--dimmer); }
.sr-ev-actions { display: flex; gap: 6px; }
.sr-mini {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-size: 12px;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sr-mini:hover { color: var(--text); border-color: var(--hairline-strong); }
.sr-mini.approve:hover { color: var(--allow); border-color: color-mix(in oklch, var(--allow) 45%, transparent); background: var(--allow-soft); }
.sr-mini.deny:hover { color: var(--deny); border-color: color-mix(in oklch, var(--deny) 45%, transparent); background: var(--deny-soft); }
.sr-ev-resolved { font-family: var(--mono); font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.sr-ev-resolved.approve { color: var(--allow); }
.sr-ev-resolved.deny { color: var(--deny); }

.sr-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 96px;
  padding: 12px 0 0;
}
.sr-bar { flex: 1; min-width: 0; border-radius: 2px 2px 0 0; opacity: 0.85; transition: height 0.5s var(--ease); }
.sr-bar:hover { opacity: 1; }
.sr-empty { color: var(--dim); font-size: 13px; padding: 10px 0; }

.sr-dlp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}
.sr-dlp-row:first-of-type { border-top: none; }
.sr-dlp-row .pat { font-family: var(--mono); font-size: 12.5px; color: var(--text); flex: none; width: 180px; }
.sr-dlp-row .track { flex: 1; height: 6px; border-radius: 100px; background: var(--raised); overflow: hidden; }
.sr-dlp-row .fill { height: 100%; background: var(--deny); border-radius: 100px; }
.sr-dlp-row .n { font-family: var(--mono); font-size: 12px; color: var(--dim); width: 30px; text-align: right; }

/* ============================================================
   ANOMALY DETECTION
   ============================================================ */
.anomaly {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg, 12px);
  background: var(--panel);
  overflow: hidden;
}
.anomaly__head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
}
.anomaly__chart {
  padding: 22px;
  position: relative;
}
.spark { width: 100%; height: 180px; display: block; overflow: visible; }
.spark__base { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.spark__band { fill: var(--accent-soft); opacity: 0.5; }
.spark__spike { fill: none; stroke: var(--deny); stroke-width: 1.5; }
.spark__flag {
  fill: var(--deny);
  stroke: var(--bg);
  stroke-width: 2;
}
.anomaly__callout {
  margin: 0 22px 22px;
  border: 1px solid color-mix(in oklch, var(--deny) 32%, transparent);
  background: var(--deny-soft);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.anomaly__callout svg { color: var(--deny); flex: none; margin-top: 1px; }
.anomaly__callout .t { font-size: 13.5px; color: var(--text); line-height: 1.5; }
.anomaly__callout .t b { color: var(--deny); }

/* ============================================================
   AUTO-REMEDIATION
   ============================================================ */
.remediate {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg, 12px);
  background: var(--panel);
  overflow: hidden;
}
.remediate__head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.rem-flow { padding: 8px 0; }
.rem-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 16px 20px;
  position: relative;
}
.rem-step::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 44px;
  bottom: -16px;
  width: 1px;
  background: var(--hairline);
}
.rem-step:last-child::before { display: none; }
.rem-step__num {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--dim);
  z-index: 1;
  transition: all 0.3s var(--ease);
}
.rem-step.done .rem-step__num { color: var(--allow); border-color: color-mix(in oklch, var(--allow) 40%, transparent); background: var(--allow-soft); }
.rem-step.active .rem-step__num { color: var(--accent); border-color: var(--accent); }
.rem-step.deny .rem-step__num { color: var(--deny); border-color: color-mix(in oklch, var(--deny) 40%, transparent); background: var(--deny-soft); }
.rem-step__t { font-size: 14.5px; color: var(--text); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.rem-step__d { font-size: 13px; color: var(--dim); margin-top: 3px; line-height: 1.5; }
.rem-step__d .mono-inl { color: var(--accent); }
.rem-step__delta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dimmer);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 1px 7px;
  opacity: 0;
  transition: opacity 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.rem-step.done .rem-step__delta, .rem-step.deny .rem-step__delta { opacity: 1; }
.rem-step.done .rem-step__delta { color: var(--allow); border-color: color-mix(in oklch, var(--allow) 35%, transparent); }
.rem-step.deny .rem-step__delta { color: var(--deny); border-color: color-mix(in oklch, var(--deny) 35%, transparent); }
[data-motion="off"] .rem-step__delta { opacity: 1; }

/* PR risk gauge */
.rem-gauge { padding: 18px 20px; border-bottom: 1px solid var(--hairline); }
.rem-gauge__score { display: flex; align-items: center; gap: 16px; }
.rem-gauge__num {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--deny);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
  min-width: 68px;
}
.rem-gauge__num.mid { color: var(--ask); }
.rem-gauge__num.low { color: var(--allow); }
.rem-gauge__cap { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dimmer); text-align: right; line-height: 1.4; }
.rem-gauge__bar {
  position: relative;
  height: 8px;
  border-radius: 100px;
  background: var(--raised);
  margin-top: 16px;
  overflow: hidden;
}
.rem-gauge__fill { height: 100%; border-radius: 100px; background: var(--deny); transition: width 0.7s var(--ease), background 0.5s var(--ease); }
.rem-gauge__thresh { position: absolute; left: 30%; top: -3px; bottom: -3px; width: 1px; background: var(--hairline-strong); z-index: 2; }
.rem-gauge__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--dimmer); margin-top: 7px; }
.rem-merge {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--hairline);
  background: var(--allow-soft);
  color: var(--allow);
  font-size: 13.5px;
}
.rem-merge.show { display: flex; }
.rem-merge svg { flex: none; }
.rem-merge b { color: var(--allow); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}
.how__step {
  background: var(--panel);
  padding: 30px 26px;
  min-height: 200px;
}
.how__num {
  font-family: var(--display-font);
  font-style: normal;
  font-weight: 700;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
}
.how__step h4 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 14px 0 8px;
}
.how__step p { color: var(--dim); font-size: 14px; line-height: 1.55; margin: 0; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.aud-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s, transform 0.16s;
}
.aud-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.aud-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.aud-card h3 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.aud-card > p { color: var(--dim); font-size: 14px; line-height: 1.55; margin: 0; }
.aud-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.aud-card li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--hairline);
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.45;
}
.aud-card li .arr { color: var(--allow); font-family: var(--mono); flex: none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}
.price {
  background: var(--panel);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
}
.price.feat { background: color-mix(in oklch, var(--panel) 72%, var(--accent-soft)); }
.price__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.price__amt {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 16px;
}
.price__amt small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
  font-weight: 400;
  margin-left: 4px;
}
.price__sub { color: var(--dim); font-size: 12.5px; margin-top: 8px; min-height: 30px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.price li {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.4;
}
.price li .arr { color: var(--allow); font-family: var(--mono); font-size: 11px; flex: none; margin-top: 2px; }
.price__foot {
  text-align: center;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

/* monthly / annual billing toggle — matches the workbench segmented controls
   (hairline frame + accent-soft active + mono labels) so it reads as part of
   the design rather than a generic pill. */
.bill-toggle {
  display: inline-flex;
  gap: 3px;
  margin: 24px 0 0;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: color-mix(in oklch, var(--panel) 55%, var(--bg));
}
.bill-toggle__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.bill-toggle__opt:hover {
  color: var(--text);
}
.bill-toggle__opt.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}
.bill-toggle__save {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--allow-soft);
  color: var(--allow);
}
.price__num {
  transition: opacity 0.12s;
}

/* Enterprise — full-width banner under the 3 tiers */
.price-ent {
  margin-top: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--panel) 70%, var(--bg));
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr auto;
  gap: 30px;
  align-items: center;
}
.price-ent__head .price__name { margin-bottom: 8px; }
.price-ent__amt {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-ent__amt span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0;
  margin-left: 6px;
}
.price-ent__sub { color: var(--dim); font-size: 13px; margin: 8px 0 0; }
.price-ent__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
.price-ent__list li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.4;
}
.price-ent__list li .arr { color: var(--allow); font-family: var(--mono); font-size: 11px; flex: none; margin-top: 2px; }
.price-ent .btn { white-space: nowrap; }

/* ============================================================
   FAQ  (reuses .faq from design.css, light tweaks)
   ============================================================ */
.faq summary { font-family: var(--sans); }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  margin: 0 var(--gutter) 72px;
  padding: 88px 32px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background-image: radial-gradient(circle at 50% 120%, var(--accent-soft) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--dim); max-width: 540px; margin: 0 auto 30px; font-size: 16px; }

footer {
  border-top: 1px solid var(--hairline);
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
footer .spacer { flex: 1; }
footer a { color: var(--dim); }
footer a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .cplane__grid { grid-template-columns: 1fr; }
  .cplane__col--agents, .cplane__col--machine { border: none; border-bottom: 1px solid var(--hairline); }
  .cplane__wires { display: none; }
  .wb__body { grid-template-columns: 1fr; }
  .wb__rail, .wb__sessions, .wb__inspector { display: none; }
  .wb__panes { grid-template-columns: 1fr; }
  .wb__pane:last-child { display: none; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__copy { order: 0; }
  .how, .audience, .pricing { grid-template-columns: 1fr; }
  .price-ent { grid-template-columns: 1fr; gap: 18px; }
  .price-ent__list { grid-template-columns: 1fr; }
  .sroom__grid { grid-template-columns: 1fr; }
  .sroom__queue { border-right: none; border-bottom: 1px solid var(--hairline); }
  .detail__grid { grid-template-columns: 1fr; }

  /* control-plane diagram: tidy vertical stack (no forced tall rows) */
  .cplane__grid { min-height: 0; }

  /* workbench: stack the tiled terminals so neither pane is squeezed,
     let the toolbar + tabs wrap/scroll instead of clipping. */
  .wb__tiles { grid-template-rows: none; grid-auto-rows: minmax(168px, auto); }
  .wb__tilerow { grid-template-columns: 1fr; }
  .wb__toolbar { flex-wrap: wrap; row-gap: 6px; }
  .wb__tabs { max-width: 100%; overflow-x: auto; }
  .wb__toolbtns { flex-wrap: wrap; }

  /* security room: 2-up metric tiles so the 4th isn't clipped */
  .sr-metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 961px) and (max-width: 1140px) {
  .how, .audience { grid-template-columns: repeat(3, 1fr); }
}

/* ---- phones: tighten spacing + density ---- */
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .wrap,
  .narrow { padding: 0 20px; }
  .hero { padding: 40px 0 24px; }
  .hero .lede { font-size: 16px; }
  .cplane { margin-top: 32px; }
  .cplane__col { padding: 20px 16px; }
  .cplane__bar { flex-wrap: wrap; row-gap: 8px; }
  .cplane__url { order: 3; flex-basis: 100%; max-width: none; }
  .section__title { font-size: clamp(28px, 7.6vw, 40px); }
  .sr-metric .v { font-size: 26px; }
  .sr-eventrow { grid-template-columns: 3px 1fr; }
  .sr-ev-actions { grid-column: 2; justify-content: flex-start; }
  .rem-gauge__num { font-size: 42px; min-width: 56px; }
  .term__body { font-size: 11px; }
  .cta { margin: 0 20px 56px; padding: 60px 22px; }
}
