html, body { background: #000000 !important; color: #ffffff; }

/* The app's own faces, converted from app/assets/fonts. */
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Pixel Square"; src: url("fonts/GeistPixel-Square.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hack"; src: url("fonts/hack-regular.woff2") format("woff2"), url("fonts/hack-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #9a9a9a;
  --stat: #d8d8d8;
  --border: rgba(255, 255, 255, 0.16);
  --hair: rgba(255, 255, 255, 0.08);
  --card: #0a0a0a;

  /* The agent beam colours, as signed off for the app. */
  --pink: #ff4f8b;
  --violet: #9b6bff;
  --blue: #2fb4ff;
  --beam: linear-gradient(180deg, var(--pink), var(--violet) 50%, var(--blue));

  --logo: 16px;
  --logo-mark: 19px;
  --nav: 14px;
  --nav-h: 40px;
  --btn: 13.5px;
  --btn-h: 40px;
  --hero-btn-h: 42px;
  --h1: 50px;
  --h2: 42px;
  --lede: 15.5px;
  --badge: 12.5px;
  --stat-size: 13.5px;
  --header-y: 22px;
  --header-x: 40px;
  --stats-x: 72px;
  --stats-y: 36px;
  --hero-gap: 85px;
  --copy-max: 880px;
  --lede-max: 480px;
  --wrap: 1180px;
  --section-y: 110px;

  --sans: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  background: #000000;
  background: var(--bg, #000000);
  color: #ffffff;
  color: var(--text, #ffffff);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
}
.grain svg { width: 100%; height: 100%; display: block; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--header-y) var(--header-x) 12px;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
body.scrolled .header {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--hair);
  padding-top: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: var(--logo);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo svg { width: var(--logo-mark); height: var(--logo-mark); flex-shrink: 0; }

#site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
}

.nav-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid rgba(198, 198, 198, 0.55);
  background: linear-gradient(105deg, #050505 0%, #2a2a2a 48%, #4a4a4a 100%);
  color: #f3f3f3;
  font-size: var(--nav);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.nav-link:hover {
  border-color: rgba(235, 235, 235, 0.9);
  background: linear-gradient(105deg, #111 0%, #3a3a3a 45%, #6a6a6a 100%);
  box-shadow: 0 0 18px rgba(200, 210, 230, 0.18);
}
.nav-link:hover::before { transform: translateX(120%); }

.header-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.burger {
  display: none;
  place-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.55);
  cursor: pointer;
  position: relative;
  z-index: 60;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.burger:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-backdrop { display: none; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding: 0 16px;
  border-radius: 6px;
  font-size: var(--btn);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, filter 0.35s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-solid {
  background: linear-gradient(180deg, #ffffff 0%, #e7e7e7 48%, #cfcfcf 100%);
  color: #111;
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.btn-solid:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 42%, #d5def2 100%);
  border-color: #f2f6ff;
  box-shadow: inset 0 1px 0 #fff, 0 0 22px rgba(186, 208, 255, 0.35), 0 8px 18px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.5) 46%, rgba(150, 170, 200, 0.1));
  color: #fff;
  border: 1px solid rgba(198, 198, 198, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-ghost:hover {
  background: linear-gradient(135deg, rgba(210, 225, 255, 0.18), rgba(0, 0, 0, 0.35) 48%, rgba(180, 195, 220, 0.16));
  border-color: rgba(220, 230, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 24px rgba(170, 200, 255, 0.28);
}

.btn-lg { height: var(--hero-btn-h); padding: 0 18px; }
.btn-solid.btn-lg:hover {
  box-shadow: inset 0 1px 0 #fff, 0 0 26px rgba(186, 208, 255, 0.4), 0 8px 18px rgba(255, 255, 255, 0.14);
}

/* ---------- Shared type ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, #7d7d7d 0%, #2a2a2a 52%, #0a0a0a 100%);
  color: #f2f2f2;
  font-size: var(--badge);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.badge-star {
  width: 18px;
  height: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  color: #a8a8a8;
  padding-right: 0.05em;
}

.h2 {
  font-size: var(--h2);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}

.sub {
  color: var(--muted);
  font-size: var(--lede);
  line-height: 1.55;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .sub { max-width: 540px; }

/* ---------- Hero ----------
   One rounded panel, inset from the window, with the video inside it. The
   cut-outs are the page's own black reaching into the panel; each one has
   curved inner corners where it meets the panel's edge. */

.hero-wrap {
  /* The app's own dark, Obsidian Grey (theme.rs), so the frame and its
     cut-outs read against the black page and the panel's shape shows. */
  --ground: #161616;
  --cut: 22px;
  --frame: 12px;
  --gap: 10px;
  /* One left edge for the logo, the copy and the facts, and one top line
     shared by the badge and the window. */
  --inset: 44px;
  --top: calc(6vh + 76px);
  /* A whole card on the black page: inset on every side, the same corner
     all round, and a hairline edge of its own. */
  height: calc(100vh - 2 * var(--gap));
  height: calc(100svh - 2 * var(--gap));
  min-height: 660px;
  margin: var(--gap);
  padding: var(--frame);
  position: relative;
  overflow: hidden;
  background: var(--ground);
  border-radius: 36px;
}


.hero {
  position: relative;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
}

/* The frame and its cut-outs: the same video, blurred, tinted Obsidian and
   grained, masked to everything outside the clear panel (frost.js). */
.frost,
.frost-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* The mask sits on the box, which is never scaled, so the glass and the edge
   line share one outline. Only the blurred video inside is scaled, to push
   its soft border out of sight. */
.frost { overflow: hidden; }
.frost canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(10px) saturate(1.25) brightness(1.1);
  transform: scale(1.06);
}
.frost-noise {
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.frost-edge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}
.frost-edge path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  animation: in-photo 1.6s ease both;
}
.hero-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-photo.is-in { animation: none; opacity: 1; }

/* Only enough shade on the left to keep the copy readable on the bright wave. */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 34%, rgba(0, 0, 0, 0) 58%);
}

/* The cut-outs. */
.notch {
  position: absolute;
  z-index: 5;
  background: transparent;
  display: flex;
  align-items: center;
}
.notch::before,
.notch::after {
  display: none;
  content: "";
  position: absolute;
  width: var(--cut);
  height: var(--cut);
  pointer-events: none;
}

.notch--tl {
  top: 0;
  left: 0;
  gap: 10px;
  height: calc(var(--nav-h) + 24px);
  padding: 0 32px 0 var(--inset);
  border-bottom-right-radius: var(--cut);
}
.notch--tl::before {
  left: 100%;
  top: 0;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}
.notch--tl::after {
  top: 100%;
  left: 0;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}

.notch--tc {
  top: 0;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  height: calc(var(--nav-h) + 24px);
  padding: 0 14px;
  border-radius: 0 0 var(--cut) var(--cut);
}
.notch--tc::before {
  right: 100%;
  top: 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}
.notch--tc::after {
  left: 100%;
  top: 0;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}

.notch--tr {
  top: 0;
  right: 0;
  gap: 8px;
  height: calc(var(--nav-h) + 24px);
  padding: 0 14px 0 16px;
  border-bottom-left-radius: var(--cut);
}
.notch--tr::before {
  right: 100%;
  top: 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}
.notch--tr::after {
  top: 100%;
  right: 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}

.notch--bl {
  bottom: 0;
  left: 0;
  height: calc(var(--nav-h) + 24px);
  padding: 0 32px 0 var(--inset);
  border-top-right-radius: var(--cut);
}
.notch--bl::before {
  left: 100%;
  bottom: 0;
  background: radial-gradient(circle at 100% 0, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}
.notch--bl::after {
  bottom: 100%;
  left: 0;
  background: radial-gradient(circle at 100% 0, transparent calc(var(--cut) - 0.5px), var(--ground) var(--cut));
}

/* Copy on the left, the app on the right. */
.hero-split {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: var(--top) 24px 110px var(--inset);
}
.hero-copy .badge { margin-bottom: 24px; }

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--h1);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: #fff;
}
.headline-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.1em 0;
}
.headline-line > span { display: block; }
.hero h1 em {
  font-size: 1.1em;
  letter-spacing: -0.03em;
  color: #c4c4c4;
  display: inline-block;
  animation: in-em 1.2s var(--ease) 0.72s both;
}

.lede {
  max-width: var(--lede-max);
  margin-top: 22px;
  color: #b4b4b4;
  font-size: var(--lede);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.stats {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--stat);
}
.stat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--stat-size);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.stat-icon { width: 20px; height: 20px; flex-shrink: 0; }
.stat-icon--agent { filter: drop-shadow(0 0 5px rgba(155, 107, 255, 0.55)); }

/* ---------- The app window in the hero ----------
   Drawn at the app's own size, 1280 by 780, and scaled by --s. It runs off
   the panel's right and bottom edges. Tokens from theme.rs OBSIDIAN. */

.hero-app {
  position: relative;
  min-width: 0;
}
.app {
  --shell: #0d0d0d;
  --rail: #161616;
  --bg: #1e1e1e;
  --panel: #282828;
  --elevated: #363636;
  --input: #161616;
  --fg: #efefef;
  --muted: #a6a6a6;
  --subtle: #787878;
  --border: #3a3a3a;
  --border-strong: #525252;
  --pane-border: #383838;
  --input-border: #454545;
  --hit-on: #efefef1a;
  --ico-dim: #efefef59;
  --ico-on: #efefefb2;
  --brand: #3455fa;
  --folder: #3b82f6;
  --term-bg: #181818;
  --term-fg: #ebebeb;
  --s: 1;
  position: absolute;
  left: 32px;
  top: var(--top);
  width: 1280px;
  height: 780px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  display: flex;
  flex-direction: column;
  background: var(--shell);
  border-radius: 12px;
  overflow: hidden;
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 120px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(120, 140, 255, 0.08);
}
.app svg.lucide { display: block; flex: none; }

.app .top { height: 44px; display: flex; align-items: center; gap: 6px; padding-right: 8px; flex: none; }
.app .lights { width: 78px; display: flex; gap: 8px; padding-left: 16px; flex: none; }
.app .lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--elevated); display: block; }
.app .ws { height: 32px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; flex: none; }
.app .ws svg { color: var(--subtle); }
.app .tabs { flex: 1; display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.app .tab { height: 30px; padding: 0 8px; border-radius: 8px; display: flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.app .tab.on { background: var(--hit-on); color: var(--fg); font-weight: 500; }
.app .tab .x { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; color: var(--muted); margin-left: 4px; }
.app .dot6 { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.app .ib { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); flex: none; }
.app .more { background: var(--rail); }
.app .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--elevated); border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 11px; font-weight: 500; color: var(--muted); flex: none; }

.app .body { flex: 1; display: flex; gap: 8px; padding: 0 8px 8px 0; min-height: 0; }
.app .side { width: 256px; flex: none; display: flex; flex-direction: column; min-height: 0; }
.app .lane { height: 38px; display: flex; align-items: center; gap: 2px; padding: 0 6px 0 8px; flex: none; }
.app .tool { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; color: var(--ico-dim); }
.app .tool.on { background: var(--hit-on); color: var(--ico-on); }
.app .fld { margin: 8px; height: 32px; padding: 0 8px; border-radius: 8px; background: var(--input); border: 1px solid var(--input-border); display: flex; align-items: center; gap: 8px; color: var(--subtle); flex: none; }
.app .tbar { height: 36px; padding: 0 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 2px; flex: none; }
.app .tbar .ib { color: var(--subtle); }
.app .tbar .div { width: 1px; height: 16px; background: var(--border); margin: 0 2px; }
.app .tree { padding: 0 6px 8px; flex: 1; overflow: hidden; }
.app .row { height: 26px; display: flex; align-items: center; gap: 6px; padding-right: 8px; border-radius: 6px; position: relative; white-space: nowrap; }
.app .row .nm { color: var(--muted); }
.app .row.fold .nm { color: var(--fg); }
.app .row .chev { width: 12px; display: grid; place-items: center; color: var(--muted); flex: none; }
.app .row .fi { color: var(--folder); }
.app .row .si { color: var(--subtle); }
.app .row .cnt { min-width: 18px; height: 16px; padding: 0 6px; border-radius: 9999px; background: var(--hit-on); color: var(--muted); display: grid; place-items: center; margin-left: auto; font-size: 11px; font-weight: 500; }
.app .row.sel { background: var(--hit-on); }
.app .row.sel .nm { color: var(--fg); }
.app .row.sel::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 0 2px 2px 0; background: var(--brand); }

.app .pane { flex: 1; min-width: 0; background: var(--term-bg); border: 1px solid var(--pane-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.app .grid {
  flex: 1;
  padding: 10px 12px;
  font-family: "Hack", ui-monospace, Menlo, monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--term-fg);
  white-space: pre;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.app .grid .cur {
  display: inline-block;
  width: 0.602em;
  height: 16px;
  background: var(--term-fg);
  vertical-align: top;
  animation: blink 1.06s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Live scenes ---------- */

.scene {
  position: relative;
  aspect-ratio: var(--ratio, 1280 / 780);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d0d;
}
.scene iframe {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
  background: transparent;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.scene.is-live iframe,
.scene.is-live > img { opacity: 1; }

/* ---------- Section heads, in the hero's type ---------- */

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.head h2 {
  font-size: var(--h2);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-wrap: balance;
}
.head h2 em { font-size: 1.08em; letter-spacing: -0.03em; }
.head p {
  max-width: 520px;
  color: #9a9a9a;
  font-size: var(--lede);
  line-height: 1.55;
}

/* ---------- The window under the hero ----------
   The app rises out of the video, tipped back, and lies flat as it scrolls
   into place. The beam round it is the agent's own, drawn by the scene. */

.show {
  position: relative;
  padding: 24px 24px 120px;
  margin-top: -18vh;
  z-index: 2;
}
.show-stage {
  max-width: 1240px;
  margin: 0 auto;
  perspective: 2200px;
}
.show-tilt {
  --t: 1;
  transform: rotateX(calc(var(--t) * 24deg)) scale(calc(1 - var(--t) * 0.08));
  transform-origin: 50% 0%;
  will-change: transform;
}
.show-tilt .scene {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 60px 140px rgba(0, 0, 0, 0.75);
}
.show-glow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30%;
  height: 50%;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 30% 50%, rgba(155, 107, 255, 0.22), transparent 70%),
    radial-gradient(40% 60% at 70% 50%, rgba(47, 180, 255, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- The pipeline bento ----------
   Soft dark cards; the top of each card draws a piece of the app in its own
   tokens (theme.rs OBSIDIAN), its terminal font (Hack) and its terminal
   colours (highlight_rules.yaml). */


.pipe {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 24px 40px;
}

.pipe-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}
.dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 141, 239, 0.45);
  background: rgba(91, 141, 239, 0.06);
  color: #e6e6e6;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5b8def;
  box-shadow: 0 0 10px #5b8def, 0 0 2px #fff inset;
}
.pixel {
  margin-top: 22px;
  font-family: "Geist Pixel Square", "Figtree", monospace;
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
}
.pipe-head-r {
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 8px;
}

.pipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 60%),
    linear-gradient(180deg, #0f0f0f, #080808);
  overflow: hidden;
  transition: border-color 0.35s ease;
}
.bcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.bcard:hover { border-color: rgba(255, 255, 255, 0.16); }
.bcard--wide { grid-column: span 2; }
.bcard--full { grid-column: span 3; }

.bart {
  position: relative;
  height: 310px;
  overflow: hidden;
  padding: 22px 22px 0;
}
.bcard--full .bart { height: 300px; }
.btext { padding: 20px 26px 26px; }
.btext h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.btext p { margin-top: 8px; color: #8f8f8f; font-size: 15px; line-height: 1.55; max-width: 520px; }

/* The app's tokens, for everything drawn inside a card. */
.ui {
  --shell: #0d0d0d;
  --rail: #161616;
  --bg: #1e1e1e;
  --panel: #282828;
  --elevated: #363636;
  --input: #161616;
  --fg: #efefef;
  --muted: #a6a6a6;
  --subtle: #787878;
  --border: #3a3a3a;
  --border-strong: #525252;
  --input-border: #454545;
  --hit-on: #efefef1a;
  --term-bg: #181818;
  --term-fg: #ebebeb;
  --good: #37be69;
  --bad: #d65151;
  --stage-blue: #3d6ed6;
  --stage-purple: #7b5bc9;
  --pick-bg: #342e4c;
  --pick-fg: #c9bff0;
  --grid: #2e2e2e;
  --wire: #4d4d4d;
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
}
.ui .lucide { display: block; flex: none; }
.ui .mono,
.ui .bc-grid,
.ui .wa-text { font-family: "Hack", ui-monospace, Menlo, monospace; }
.ui .cur {
  display: inline-block;
  width: 0.602em;
  height: 15px;
  background: var(--term-fg);
  vertical-align: top;
  animation: blink 1.06s steps(1) infinite;
}
.ui .dot6 { width: 6px; height: 6px; border-radius: 50%; background: #37be69; flex: none; }

/* Every scene dissolves into its card at the foot, so it reads as a view
   into the app rather than a widget placed on a box. */
.bart {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

/* 1. Broadcast */
.b1 { height: 100%; display: flex; flex-direction: column; gap: 10px; }
.b1-top { display: flex; align-items: center; height: 34px; flex: none; }
.tg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(91, 141, 239, 0.08);
  box-shadow: inset 0 0 0 1px rgba(91, 141, 239, 0.28);
}
.tg-name { display: inline-flex; align-items: center; gap: 7px; padding: 0 10px 0 8px; color: #8fb0f4; }
.tg-name b { font-weight: 500; color: var(--fg); }
.tg.live .tg-name svg { animation: tg-pulse 0.9s ease-in-out infinite; }
@keyframes tg-pulse { 50% { opacity: 0.35; } }
.tg-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  white-space: nowrap;
}
.tg-tab.on { background: var(--hit-on); color: var(--fg); font-weight: 500; }
.b1-panes { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 0; }
.pn {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  background: var(--term-bg);
  box-shadow: inset 0 0 0 1px #343434;
  overflow: hidden;
  transition: box-shadow 0.6s ease;
}
.pn.warn { box-shadow: inset 0 0 0 1px rgba(217, 87, 95, 0.55), inset 0 0 40px rgba(217, 87, 95, 0.1); }
.pn-ttl {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #2a2a2a;
  flex: none;
}
.pn-ttl b { font-weight: 500; }
.pn-ttl span { margin-left: auto; color: var(--subtle); font-variant-numeric: tabular-nums; }
.pn.warn .pn-ttl .dot6 { background: #d9575f; box-shadow: 0 0 8px #d9575f; }
.pn-body {
  flex: 1;
  padding: 14px 14px;
  font-family: "Hack", ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 18px;
  white-space: pre;
  overflow: hidden;
  color: var(--term-fg);
}
.pn-body .was { opacity: 0.32; margin-bottom: 8px; }
.pn-body .ans { animation: ans-in 0.4s var(--ease) both; }
@keyframes ans-in { from { opacity: 0; transform: translateY(3px); } }

/* 2. Import: the app's own device sidebar */
.b2 { position: relative; height: 100%; }
.sb {
  height: 100%;
  border-radius: 14px 14px 0 0;
  background: var(--shell);
  box-shadow: inset 0 0 0 1px #2a2a2a;
  padding: 2px 6px 0;
  overflow: hidden;
}
.sb-lane { height: 38px; display: flex; align-items: center; gap: 2px; padding: 0 2px; }
.sb-lane .tool { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; color: #efefef59; }
.sb-lane .tool.on { background: var(--hit-on); color: #efefefb2; }
.sb-fld {
  margin: 4px 2px 8px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--input);
  box-shadow: inset 0 0 0 1px var(--input-border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
}
.sb-tree { padding: 0 0 8px; }
.b2 .row {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease), background 0.8s ease;
}
.b2 .row.dev { padding-left: 16px; }
.b2 .row.in { opacity: 1; transform: none; }
.b2 .row.leave { opacity: 0; transition-duration: 0.3s; }
.b2 .row.new { background: rgba(91, 141, 239, 0.14); transition-duration: 0.1s; }
.b2 .chev { width: 12px; display: grid; place-items: center; color: var(--muted); flex: none; }
.b2 .fi { color: #3b82f6; }
.b2 .si { color: var(--subtle); }
.b2 .nm { color: var(--muted); }
.b2 .fold .nm { color: var(--fg); }
.b2 .vd { margin-left: auto; color: var(--subtle); font-size: 11px; }
.b2 .cnt {
  min-width: 18px;
  height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--hit-on);
  color: var(--muted);
  display: grid;
  place-items: center;
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 12px;
  background: #262626;
  box-shadow: inset 0 0 0 1px #3d3d3d, 0 16px 40px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.toast-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(55, 190, 105, 0.16); color: #37be69; }
.toast-t { display: flex; flex-direction: column; gap: 1px; }
.toast-t b { font-weight: 500; }
.toast-t span { color: var(--subtle); font-size: 11px; }

/* 3. Watchers: the output, a lens over it, and the table it fills */
.b3 { height: 100%; display: flex; flex-direction: column; gap: 10px; }
.b3-term {
  position: relative;
  flex: none;
  height: 132px;
  border-radius: 14px;
  background: var(--term-bg);
  box-shadow: inset 0 0 0 1px #343434;
  overflow: hidden;
}
.b3-text {
  padding: 10px 14px;
  font-family: "Hack", ui-monospace, monospace;
  font-size: 11px;
  line-height: 18px;
  white-space: pre;
  color: var(--term-fg);
}
.b3-term > .b3-text { opacity: 0.55; }
.b3-text .tok { border-radius: 3px; transition: background 0.4s ease, box-shadow 0.4s ease; }
.b3-term > .b3-text .tok.hit { background: rgba(176, 123, 196, 0.2); box-shadow: 0 0 0 2px rgba(176, 123, 196, 0.2); }
.lens {
  position: absolute;
  left: 0;
  top: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--term-bg);
  box-shadow:
    0 0 0 1.5px rgba(236, 240, 246, 0.85),
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 10px 26px rgba(0, 0, 0, 0.65);
  pointer-events: none;
  will-change: transform;
  z-index: 2;
}
.lens-zoom { position: absolute; left: 0; top: 0; transform-origin: 0 0; width: max-content; will-change: transform; }
.lens-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(60% 50% at 30% 22%, rgba(255, 255, 255, 0.2), transparent 60%),
    radial-gradient(80% 80% at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.rt {
  border-radius: 14px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px #343434;
  overflow: hidden;
}
.rt-h, .rt-r { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 14px; }
.rt-h { height: 30px; color: var(--subtle); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid #2c2c2c; }
.rt-r { height: 30px; border-bottom: 1px solid #262626; transition: background 0.9s ease; }
.rt-r .v { font-family: "Hack", monospace; font-size: 11px; }
.rt-r.got { animation: row-got 1.1s ease; }
@keyframes row-got { 0% { background: rgba(176, 123, 196, 0.16); } 100% { background: transparent; } }

/* 4. Aliases: three vendors' columns into one */
.b4 { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 6px; }
.b4-src { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b4 .col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 10px 11px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px #343434;
  transition: box-shadow 0.4s ease, background 0.4s ease;
  min-width: 0;
}
.b4 .col.on { box-shadow: inset 0 0 0 1px rgba(95, 176, 122, 0.7), 0 0 24px rgba(95, 176, 122, 0.15); background: #1d2620; }
.b4 .col .vd { color: var(--subtle); font-size: 10.5px; }
.b4 .col .hd { font-family: "Hack", monospace; font-size: 10.5px; letter-spacing: 0.02em; color: #a8c264; overflow: hidden; text-overflow: ellipsis; }
.b4 .col .val { font-family: "Hack", monospace; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b4-beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.b4-beams .w { fill: none; stroke: #2f2f2f; stroke-width: 1.2; }
.b4-beams .p { fill: none; stroke: #7fd199; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 18 100; stroke-dashoffset: 18; opacity: 0; filter: drop-shadow(0 0 5px rgba(127, 209, 153, 0.9)); }
.b4-beams .p.run { animation: beam-run 0.62s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes beam-run { 0% { stroke-dashoffset: 18; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.b4-dst {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px #343434;
  overflow: hidden;
}
.b4-alias {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid #2c2c2c;
  color: #7fd199;
  font-family: "Hack", monospace;
  font-size: 11.5px;
  background: linear-gradient(90deg, rgba(95, 176, 122, 0.12), transparent 70%);
}
.b4-alias em { margin-left: auto; font-style: normal; font-family: var(--sans); color: var(--subtle); font-size: 11px; }
.b4-alias.pop { animation: alias-pop 0.6s ease; }
@keyframes alias-pop { 0% { background-color: rgba(95, 176, 122, 0.22); } 100% { background-color: transparent; } }
.b4-vals > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-bottom: 1px solid #262626;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}
.b4-vals > div.in { opacity: 1; }
.b4-vals > div span:first-child { color: var(--subtle); }
.b4-vals .v { font-family: "Hack", monospace; font-size: 11px; }

/* 5. Checks: the verdict chip and the run, with the failure opened */
.b5 { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.b5-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b5-name { font-size: 15px; font-weight: 300; letter-spacing: -0.01em; }
.vchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--panel);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.vchip i { width: 7px; height: 7px; border-radius: 50%; background: #9b7bd4; box-shadow: 0 0 8px #9b7bd4; animation: pulse-dot 1.2s ease-in-out infinite; }
.vchip.bad { color: #f0c4c6; box-shadow: inset 0 0 0 1px rgba(214, 81, 81, 0.6); background: rgba(214, 81, 81, 0.08); }
.vchip.bad i { background: #d65151; box-shadow: 0 0 8px #d65151; animation: none; }
.b5-runs { display: flex; flex-direction: column; gap: 6px; }
.rc {
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px #2f2f2f;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.rc-top { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.rc .tick {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px #3a3a3a;
  color: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.rc .tick .spin { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: #9b7bd4; opacity: 0; animation: spin 0.8s linear infinite; }
.rc.run .tick .spin { opacity: 1; }
.rc.done[data-ok="true"] .tick { background: rgba(55, 190, 105, 0.16); box-shadow: inset 0 0 0 1.5px rgba(55, 190, 105, 0.6); color: #37be69; }
.rc.done[data-ok="false"] .tick { background: rgba(214, 81, 81, 0.14); box-shadow: inset 0 0 0 1.5px #d65151, 0 0 0 3px rgba(214, 81, 81, 0.18); color: #e06a6a; }
.rc .nm { color: var(--fg); }
.rc .res { margin-left: auto; color: var(--subtle); opacity: 0; transition: opacity 0.3s ease; }
.rc.done .res { opacity: 1; }
.rc.done[data-ok="true"] .res { color: #37be69; }
.rc.done[data-ok="false"] .res { color: #e06a6a; }
.rc.done[data-ok="false"] { box-shadow: inset 0 0 0 1px rgba(214, 81, 81, 0.4); }
.rc-why {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 12px 0 40px;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease), opacity 0.4s ease;
}
.rc.open .rc-why { max-height: 64px; opacity: 1; padding-bottom: 12px; }
.rc-why .mono { font-family: "Hack", monospace; font-size: 11px; line-height: 18px; white-space: pre; color: var(--term-fg); }
.rc-why .mono b { font-weight: 400; color: #ff8e94; background: rgba(214, 81, 81, 0.18); border-radius: 3px; padding: 0 2px; }
.rc-why .exp { margin-top: 4px; color: var(--subtle); font-size: 11.5px; }
.rc-why .exp span { font-family: "Hack", monospace; color: #b07bc4; }

/* 6. Playbooks */
.pb {
  position: relative;
  height: 100%;
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 0 0 1px #2c2c2c;
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--grid) 0.9px, transparent 1.1px);
  background-size: 16px 16px;
  overflow: hidden;
}
.pb-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 6px 0 10px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--fg);
}
.pb-pill svg { color: var(--muted); }
.pb-run { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--hit-on); color: var(--muted); }
.pb-run i { width: 6px; height: 6px; border-radius: 50%; background: #37be69; box-shadow: 0 0 6px #37be69; animation: pulse-dot 1.4s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: 0.35; } }
.pb-flow {
  position: absolute;
  left: 0;
  right: 0;
  top: 78px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 24px;
}
.pb-node { display: flex; flex-direction: column; align-items: center; width: 96px; flex: none; }
.pb-card {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--border-strong);
  background: var(--panel);
  color: var(--fg);
  transition: box-shadow 0.5s ease, transform 0.5s var(--ease);
}
.pb-node.start .pb-card { border-radius: 48px 16px 16px 48px; }
.pb-node.blue .pb-card { background: var(--stage-blue); box-shadow: none; color: #fff; }
.pb-node.violet .pb-card { background: var(--stage-purple); box-shadow: none; color: #fff; }
.pb-card .mono { font-family: "Hack", monospace; font-size: 20px; }
.pb-card .if { font-size: 22px; font-weight: 500; }
.pb-node.lit .pb-card {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c) 80%, white),
    0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent),
    0 14px 36px color-mix(in srgb, var(--c) 30%, transparent);
}
.pb-lbl { width: 150px; margin-top: 14px; text-align: center; }
.pb-lbl b { display: block; font-size: 13px; line-height: 18px; font-weight: 500; }
.pb-lbl b.mono { font-family: "Hack", monospace; font-weight: 400; font-size: 12px; }
.pb-lbl span { display: block; margin-top: 3px; color: var(--muted); white-space: nowrap; }
.pb-wire {
  position: relative;
  flex: 1;
  max-width: 90px;
  min-width: 24px;
  height: 2px;
  margin-top: 47px;
  background: var(--wire);
  transition: background 0.5s ease;
}
.pb-wire.done { background: #6f7f9f; }
.pb-wire::before,
.pb-wire::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--wire);
}
.pb-wire::before { left: -8px; }
.pb-wire::after { right: -8px; }
.pb-wire i {
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #cfe0ff);
  box-shadow: 0 0 12px #5b8def;
  opacity: 0;
}
.pb-wire.flow i { animation: pb-flow 0.56s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes pb-flow { 0% { left: 0; opacity: 1; } 100% { left: calc(100% - 26px); opacity: 0.1; } }


/* ---------- Dot-matrix cards (dots.js) ---------- */
.bart.dotted { padding: 0; }
.bart .dots { position: absolute; inset: 0; display: block; }
.mono { font-family: "Hack", ui-monospace, Menlo, monospace; }

.dchip {
  position: absolute;
  left: 24px;
  bottom: 92px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px 0 12px;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  color: #ebebeb;
  white-space: pre;
}
.dchip-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b8def; box-shadow: 0 0 8px #5b8def; }
.dchip-k { color: #5b8def; }
.dchip-cur { width: 0.6em; height: 15px; background: #ebebeb; margin-left: -6px; animation: blink 1.06s steps(1) infinite; }

.alias-tags span {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  font-size: 10.5px;
  color: #8a8a8a;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.alias-out {
  position: absolute;
  left: 50%;
  top: 74%;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 24, 18, 0.85);
  box-shadow: inset 0 0 0 1px rgba(127, 209, 153, 0.6), 0 0 24px rgba(127, 209, 153, 0.25);
  color: #7fd199;
  font-size: 12px;
}

.crop {
  position: absolute;
  display: block;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.65);
}
.crop-rule { left: 22px; right: 22px; width: calc(100% - 44px); top: 128px; }
.crop-strip { left: 0; right: 0; margin: 0 auto; width: min(92%, 1000px); top: 150px; border-radius: 10px; }


/* The hidden copy of the footage that feeds the card backgrounds. */
.pipe-src { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

/* ---------- Footage and close-ups (cine.js) ----------
   Behind: a slow zoomed view into the hero's particle footage, tinted with
   the card's colour. In front: one real netamp screen, at retina, running
   off the card's edge. */
.bart:has(.cine) { padding: 0; }
.bart .cine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
}
.cine-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 80% at 15% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
  mix-blend-mode: color;
}
.cine-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55));
}
.shot {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 7px rgba(255, 255, 255, 0.035),
    0 40px 90px rgba(0, 0, 0, 0.75);
  transition: transform 0.9s var(--ease);
}
.bcard:hover .shot { transform: translateY(-4px); }
.shot-broadcast { width: 1170px; left: 40px; top: 40px; }
.shot-import { width: 260px; left: 50%; margin-left: -130px; top: 36px; }
.shot-watch { width: 635px; left: 36px; top: 40px; }
.shot-alias { width: 439px; left: 36px; top: 58px; }
.shot-rule { width: 748px; left: 36px; top: 52px; }
.shot-strip { width: min(1165px, 94%); left: 0; right: 0; margin: 0 auto; top: 104px; border-radius: 10px; }

@media (max-width: 1100px) {
  .pb-flow { justify-content: flex-start; transform: scale(0.8); transform-origin: 0 0; width: 125%; }
}

@media (max-width: 900px) {
  .pipe { padding: 96px 16px 32px; }
  .pipe-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .pipe-grid { grid-template-columns: 1fr; }
  .bcard--wide, .bcard--full { grid-column: auto; }
  .bart { height: 260px; padding: 16px 16px 0; }
  .b1-panes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn:nth-child(3) { display: none; }
  .pb-flow { transform: scale(0.6); width: 166%; }
}

/* ---------- Agents ---------- */

.agents { position: relative; padding: 120px 24px 40px; }
.agents-frame {
  position: relative;
  max-width: 1180px;
  margin: 64px auto 0;
}
.agents-frame .scene {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 130px rgba(0, 0, 0, 0.75);
}
.agents-frame::before {
  content: "";
  position: absolute;
  inset: -8% 6% auto;
  height: 60%;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 25% 60%, rgba(255, 79, 139, 0.18), transparent 70%),
    radial-gradient(40% 60% at 50% 40%, rgba(155, 107, 255, 0.24), transparent 70%),
    radial-gradient(40% 60% at 75% 60%, rgba(47, 180, 255, 0.18), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 40px auto 0;
  color: var(--stat);
  font-size: var(--stat-size);
}
.facts .stat { white-space: normal; }

/* ---------- Team bento ---------- */

.team { position: relative; padding: 140px 24px 40px; }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
  max-width: var(--wrap);
  margin: 64px auto 0;
}
.tile-live {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 22px 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #0b0b0b, #050505);
  overflow: hidden;
}
.tile-live:first-child { grid-row: span 2; }
.tile-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tile-top b { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.tile-top span { color: #8f8f8f; font-size: 14.5px; }
.tile-live .scene {
  border-radius: 10px 10px 0 0;
  margin-top: auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- Closing call ---------- */

.closer {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  padding: 170px 24px 160px;
  text-align: center;
}
.closer-photo { position: absolute; inset: 0; z-index: 0; }
.closer-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.75;
}
.closer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 46% at 50% 56%, rgba(0, 0, 0, 0.72), transparent 75%),
    linear-gradient(180deg, #000 0%, transparent 28%, transparent 72%, #000 100%);
}
.closer .head { position: relative; z-index: 1; }
.closer .hero-actions { position: relative; z-index: 1; margin-top: 30px; justify-content: center; }

.footer {
  border-top: 1px solid var(--hair);
  padding: 28px 0 36px;
  color: #7a7a7a;
  font-size: 13px;
}
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer a:hover { color: #fff; }
.footer .logo { font-size: 15px; color: #cfcfcf; }

/* ---------- Motion ---------- */

.appear {
  opacity: 1;
  animation-duration: 1.05s;
  animation-fill-mode: both;
  animation-timing-function: var(--ease);
  animation-delay: var(--d, 0.08s);
}
.appear--scale { animation-name: in-scale; }
.appear--soft { animation-name: in-soft; }
.appear--mask { animation-name: in-mask; }
.appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; }
.appear--side { animation-name: in-side; }
.appear--stat { animation-name: in-stat; }
.appear--app { animation-name: in-app; animation-duration: 1.6s; }
.lede.appear { animation-duration: 1.25s; }
.appear.is-in { animation: none; opacity: 1; transform: none; clip-path: none; filter: none; }
.badge.appear .badge-star { animation: in-star 0.9s var(--ease) 0.28s both; }

/* Sections below the fold rise in as they scroll into view. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.on { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes in-scale { from { opacity: 0; transform: scale(0.84); } to { opacity: 1; transform: scale(1); } }
@keyframes in-soft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes in-mask { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: translateY(0); } }
@keyframes in-pop {
  0% { opacity: 0; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes in-btn { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes in-side { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes in-app { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes in-stat { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes in-star {
  0% { opacity: 0; transform: scale(0.2) rotate(-50deg); }
  65% { opacity: 1; transform: scale(1.2) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes in-em { from { opacity: 0.35; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
@keyframes in-photo { from { opacity: 0; } to { opacity: 1; } }
@keyframes beam-sweep {
  0% { transform: translateX(-110%); opacity: 0; }
  8% { opacity: 1; }
  42% { opacity: 1; }
  50%, 100% { transform: translateX(640%); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hue { from { filter: hue-rotate(-30deg); } to { filter: hue-rotate(30deg); } }

/* ---------- Responsive ---------- */

@media (min-width: 1280px) and (max-width: 1599px) {
  :root { --h1: 56px; --h2: 46px; --lede: 16px; --header-x: 48px; --stats-x: 80px; --copy-max: 920px; }
}

@media (min-width: 1600px) {
  :root {
    --logo: 17px; --logo-mark: 21px; --nav: 15px; --nav-h: 44px; --btn: 15px; --btn-h: 44px;
    --hero-btn-h: 48px; --h1: 66px; --h2: 52px; --lede: 18px; --badge: 13.5px; --stat-size: 15px;
    --header-y: 28px; --header-x: 64px; --stats-x: 96px; --stats-y: 44px;
    --copy-max: 1000px; --lede-max: 560px; --wrap: 1320px; --section-y: 170px;
  }
  .nav-link { padding: 0 20px; }
  .hero-copy .badge { margin-bottom: 28px; }
  .lede { margin-top: 22px; }
  .hero-actions { margin-top: 30px; gap: 12px; }
  .stat-icon { width: 22px; height: 22px; }
}

@media (min-width: 1920px) {
  :root {
    --logo: 18px; --logo-mark: 23px; --nav: 16px; --nav-h: 48px; --btn: 16px; --btn-h: 48px;
    --hero-btn-h: 52px; --h1: 78px; --h2: 60px; --lede: 20px; --badge: 14.5px; --stat-size: 16px;
    --header-y: 32px; --header-x: 80px; --stats-x: 120px; --stats-y: 52px;
    --copy-max: 1140px; --lede-max: 640px; --wrap: 1480px;
  }
  #site-nav { gap: 10px; }
  .nav-link { padding: 0 22px; }
  .btn, .btn-lg { padding: 0 22px; }
  .badge { padding: 10px 15px; }
}

@media (min-width: 2560px) {
  :root { --h1: 90px; --lede: 22px; --header-x: 120px; --stats-x: 160px; --copy-max: 1300px; --lede-max: 700px; --wrap: 1700px; }
}

@media (min-width: 901px) and (max-width: 1279px) {
  :root {
    --logo: 15px; --nav: 13px; --nav-h: 36px; --btn: 13px; --btn-h: 38px; --hero-btn-h: 40px;
    --h1: 44px; --h2: 38px; --lede: 15px; --badge: 12px; --stat-size: 12.5px;
    --header-y: 16px; --header-x: 28px; --stats-x: 36px; --stats-y: 28px;
    --hero-gap: 64px; --copy-max: 780px; --lede-max: 450px; --section-y: 120px;
  }
  .nav-link { padding: 0 14px; }
  .hero-copy .badge { margin-bottom: 16px; }
  .lede { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
}

@media (min-width: 901px) and (max-height: 850px) {
  :root { --header-y: 14px; --stats-y: 24px; --hero-gap: 48px; --h1: 42px; }
  .hero-copy .badge { margin-bottom: 12px; }
  .lede { margin-top: 12px; }
  .hero-actions { margin-top: 16px; }
}

@media (min-width: 901px) and (max-height: 720px) {
  :root { --h1: 36px; --lede: 14px; --hero-gap: 32px; --stats-y: 18px; --nav-h: 30px; --btn-h: 34px; --hero-btn-h: 36px; }
  .hero-copy .badge { margin-bottom: 8px; }
}

@media (max-width: 900px) {
  :root {
    --logo: 16px; --btn: 15px; --btn-h: 46px; --hero-btn-h: 48px; --h1: 38px; --h2: 32px; --lede: 16.5px;
    --badge: 13.5px; --stat-size: 15px; --header-y: 16px; --header-x: 18px;
    --stats-x: 20px; --stats-y: 28px; --hero-gap: 36px; --section-y: 96px;
  }

  .header {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding-top: max(var(--header-y), env(safe-area-inset-top));
    padding-left: max(var(--header-x), env(safe-area-inset-left));
    padding-right: max(var(--header-x), env(safe-area-inset-right));
  }
  .header-right { display: contents; }
  .burger { display: grid; }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(8, 8, 8, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease, backdrop-filter 0.28s ease;
  }
  body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  #site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 96px 22px 32px;
    padding-top: max(96px, calc(env(safe-area-inset-top) + 88px));
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  body.menu-open #site-nav { opacity: 1; visibility: visible; pointer-events: auto; }
  #site-nav .nav-link { width: 100%; height: 56px; font-size: 19px; border-radius: 10px; }
  body.menu-open { overflow: hidden; }


  .agents, .team { padding-top: 96px; }
  .facts { flex-direction: column; align-items: flex-start; width: fit-content; margin: 32px auto 0; gap: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile-live:first-child { grid-row: auto; }
  .closer { margin-top: 72px; padding: 110px 20px 100px; }
}

@media (max-width: 560px) {
  :root { --h1: 34px; --h2: 30px; --lede: 16px; --header-x: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .agent-chip small { display: none; }
}


/* ---------- Hero at other sizes ---------- */

@media (min-width: 901px) and (max-width: 1279px) {
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero-copy { padding-top: 84px; padding-bottom: 90px; }
  .lede { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
}

@media (max-width: 900px) {
  .hero-wrap { height: auto; min-height: 0; --cut: 18px; --frame: 8px; --gap: 6px; border-radius: 28px; }
  .hero { height: auto; min-height: calc(100svh - 16px); display: flex; flex-direction: column; }
  .notch--tc { position: static; padding: 0; background: none; }
  .notch--tc::before, .notch--tc::after { display: none; }
  .notch--tl { height: 58px; padding: 0 22px 0 18px; z-index: 90; }
  .notch--tr { height: 58px; padding: 0 10px 0 12px; z-index: 90; }
  .hero-split { position: relative; inset: auto; display: flex; flex-direction: column; flex: 1; }
  .hero-copy { padding: 110px 20px 28px; }
  .hero-app { height: 380px; }
  .app { --s: 0.62; left: 20px; top: 0; }
  .notch--bl { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0)); }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .hero-app { height: 300px; }
  .app { --s: 0.5; }
}



/* ---------- Hero, decluttered ----------
   Plain nav links in the cut-out, a smaller window with a clear gutter from
   the copy, and the terminal's older lines fading out toward the top. */
.notch--tc #site-nav { gap: 2px; }
.notch--tc .nav-link {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b9b9b9;
  font-size: 14px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.notch--tc .nav-link::before { display: none; }
.notch--tc .nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; box-shadow: none; }

.hero-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.hero-copy { justify-content: center; padding-top: 80px; padding-bottom: 60px; }
.hero-copy .lede { max-width: 400px; }
/* The window is the hero's picture: full size, running off the panel's
   right edge, lit softly in the agent beam colours so the eye lands on it. */
.app {
  left: 8px;
  top: calc(50% - 300px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 90px rgba(155, 107, 255, 0.16),
    0 0 40px rgba(47, 180, 255, 0.08),
    0 50px 140px rgba(0, 0, 0, 0.75);
}
.app .grid {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 40%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 40%);
}


.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, white);
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.btext p { max-width: 560px; }
.btext h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; }
.shot-output { width: 401px; left: 32px; top: 34px; }
.shot-check { width: 1168px; left: 36px; top: 40px; }


/* ---------- One face for every header ----------
   Geist Pixel Square, the pipeline's headline face, on the hero and every
   section header. The emphasised words keep their place in grey, in the same
   face. */
.hero h1,
.head h2,
.pixel {
  font-family: "Geist Pixel Square", "Figtree", monospace;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 { font-size: min(var(--h1), 3.35vw); line-height: 1.06; }
/* On a phone the copy has the full width, so the cap would shrink it to
   about 13px; it takes the phone size instead. */
@media (max-width: 900px) {
  .hero h1 { font-size: var(--h1); }
}
.head h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; }
.hero h1 em,
.head h2 em {
  font-family: inherit;
  font-style: normal;
  font-size: 1em;
  letter-spacing: inherit;
  color: #8f8f8f;
  padding-right: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .appear, .hero-photo, .hero h1 em, .badge-star, .reveal { opacity: 1; transform: none; clip-path: none; filter: none; }
}

/* A card's short feature list: the name, then one plain line on what it does. */
.bfeat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 16px;
  max-width: 720px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
  color: #8f8f8f;
}
.bfeat b { display: block; margin-bottom: 2px; color: #fff; font-weight: 500; }
/* Each feature is a bullet: a small dot in the card's colour. */
.bfeat li { position: relative; padding-left: 16px; }
.bfeat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #5b8def);
}
@media (max-width: 560px) { .bfeat { grid-template-columns: 1fr; } }

/* A product word picked out in a card's copy, in netamp blue. */
.btext .hl { color: #3455fa; font-weight: 500; }

/* A fact in a card, as a soft pill: 26 tall, fully round, on the raised
   grey, muted text at 500 (plans/PLAYBOOK-DASHBOARD.md, "Controls"). */
.bpill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin-top: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #b4b4b4;
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.btext .bpill + p { margin-top: 14px; }
