/* Axana AI — Landing page styles
   System:
   - Display: "Instrument Serif" (editorial moments)
   - UI/Body: "Inter Tight"
   - Mono: "JetBrains Mono"
*/

:root {
  /* Dark palette (hero, CTA, footer) — black with purple smoke */
  --d-bg: #07040C;
  --d-bg-2: #0E0719;
  --d-surface: #14092A;
  --d-surface-2: #1C0E36;
  --d-fg: #F4EFFA;
  --d-fg-muted: #C5BCD4;
  --d-fg-dim: #8278A0;
  --d-hairline: rgba(244, 239, 250, 0.09);
  --d-hairline-strong: rgba(244, 239, 250, 0.18);

  /* Light palette (content sections) */
  --l-bg: #F8F6FB;
  --l-surface: #FFFFFF;
  --l-surface-2: #F1ECF7;
  --l-fg: #15101F;
  --l-fg-muted: #5C5470;
  --l-fg-dim: #8B8398;
  --l-hairline: #E8E2F0;
  --l-hairline-strong: #D6CCE4;

  /* Accents — same chroma family */
  --violet: oklch(0.68 0.18 295);
  --violet-2: oklch(0.78 0.18 320);
  --violet-deep: oklch(0.45 0.18 295);
  --violet-glow: oklch(0.68 0.18 295 / 0.45);

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-ui: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--l-bg);
  color: var(--l-fg);
  scroll-behavior: smooth;
}

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

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

button { font-family: inherit; cursor: pointer; }

/* === Layout primitives === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === DARK section base === */
.dark-section {
  background: var(--d-bg);
  color: var(--d-fg);
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 18% -10%, rgba(149, 92, 240, 0.42), transparent 60%),
    radial-gradient(900px 600px at 88% 20%, rgba(184, 132, 240, 0.30), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(120, 70, 220, 0.28), transparent 65%),
    radial-gradient(600px 400px at 10% 80%, rgba(149, 92, 240, 0.20), transparent 60%);
  pointer-events: none;
  filter: blur(2px);
}
.dark-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 50% 30%, rgba(149, 92, 240, 0.06), transparent 70%);
  pointer-events: none;
}

/* === Nav === */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--d-hairline);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo .mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

/* Brand image (the actual Axana AI logo file) — both nav and footer.
   Using mix-blend-mode: screen + a contrast crush so the JPEG's dark background
   collapses to the parent's bg color, leaving only the violet glow + wordmark. */
/* New square 1080×1080 PNG logo — show as-is, scaled down. The dark bg of
   the source image fuses visually with our dark nav/footer. */
.brand-img-wrap {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.brand-img-wrap--footer { width: 72px; height: 72px; }
.brand-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--d-fg-muted);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--d-fg); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--d-fg);
  color: var(--d-bg);
  font-size: 14px;
  font-weight: 500;
  border: none;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244, 239, 250, 0.15);
}

/* === Hero === */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--d-hairline-strong);
  border-radius: 999px;
  background: rgba(244, 239, 250, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-fg-muted);
  margin-bottom: 36px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: pretty;
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(120deg, var(--violet-2), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--d-fg-muted);
  max-width: 56ch;
  margin: 0 0 44px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-action-meta {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--d-fg-dim);
  text-transform: uppercase;
}
.hero-action-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 10px var(--violet-glow);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-workflow-eyebrow {
  margin: 72px auto 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--d-fg);
  text-align: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-workflow-eyebrow::after {
  content: "";
  display: block;
  width: 160px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(244, 239, 250, 0.05) 20%,
    rgba(244, 239, 250, 0.55) 50%,
    rgba(244, 239, 250, 0.05) 80%,
    transparent 100%
  );
  filter: blur(0.5px);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--d-fg);
  color: var(--d-bg);
  font-size: 15px;
  font-weight: 500;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(244, 239, 250, 0.2);
}
.btn-primary .arrow {
  transition: transform 0.2s ease;
}
.btn-primary:hover .arrow {
  transform: translateX(3px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--d-fg);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--d-hairline-strong);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  background: rgba(244, 239, 250, 0.05);
  border-color: rgba(244, 239, 250, 0.3);
}

/* === Workflow visualization (rebuilt) === */
.workflow {
  margin-top: 96px;
  position: relative;
}
.wf-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(244, 239, 250, 0.025);
  border: 1px solid var(--d-hairline-strong);
  border-radius: var(--r-md) var(--r-md) 0 0;
  border-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--d-fg-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.wf-toolbar-left, .wf-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wf-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 12px var(--violet-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
.wf-toolbar-title { color: var(--d-fg); letter-spacing: 0.16em; }
.wf-toolbar-meta { color: var(--d-fg-dim); }
.wf-toolbar-btn {
  background: transparent;
  border: 1px solid var(--d-hairline-strong);
  color: var(--d-fg);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.wf-toolbar-btn:hover { background: rgba(184, 132, 240, 0.08); border-color: var(--violet); }
.wf-toolbar-btn.on { color: var(--violet-2); border-color: rgba(184, 132, 240, 0.40); }
.wf-hint { color: var(--d-fg-dim); }

.wf-grid {
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  gap: 20px;
  padding: 24px;
  background: rgba(20, 10, 31, 0.45);
  border: 1px solid var(--d-hairline-strong);
  border-radius: 0 0 var(--r-md) var(--r-md);
  align-items: start;
}
.wf-col { display: flex; flex-direction: column; gap: 12px; }
.wf-col-head { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 12px; border-bottom: 1px dashed var(--d-hairline); }
.wf-col-head-center { align-items: center; text-align: center; }
.wf-col-head-right { align-items: flex-end; text-align: right; }
.wf-col-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}
.wf-col-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--d-fg);
}
.wf-list { display: flex; flex-direction: column; gap: 8px; }

.wf-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(244, 239, 250, 0.02);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-ui);
  color: var(--d-fg);
  transition: all 0.2s ease;
  position: relative;
}
.wf-row.outbound { cursor: default; }
.wf-row:hover {
  border-color: var(--d-hairline-strong);
  background: rgba(244, 239, 250, 0.04);
}
.wf-row.active {
  border-color: var(--violet);
  background: rgba(149, 92, 240, 0.10);
  box-shadow: 0 0 0 1px var(--violet-glow), 0 8px 24px rgba(149, 92, 240, 0.15);
}
.wf-row.done { opacity: 0.55; }
.wf-row.active.done { opacity: 1; }

.wf-row-glyph {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(184, 132, 240, 0.10), rgba(184, 132, 240, 0.02));
  border: 1px solid var(--d-hairline-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--violet-2);
}
.wf-row-glyph.done {
  background: linear-gradient(180deg, var(--violet-deep), oklch(0.35 0.18 295));
  color: #fff;
  border-color: var(--violet-deep);
  font-size: 14px;
}
.wf-row.active .wf-row-glyph {
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  border-color: var(--violet);
  color: #fff;
}

.wf-row-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wf-row-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--d-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-row-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--d-fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-row-meta .wf-row-id { color: var(--d-fg-muted); }
.wf-row-amt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--d-fg);
  letter-spacing: 0;
}
.wf-row.active .wf-row-amt { color: var(--violet-2); }
.wf-row.outbound .wf-row-amt { color: var(--d-fg-muted); }

@media (max-width: 1100px) {
  .wf-grid { grid-template-columns: 1fr; }
  .wf-col-head, .wf-col-head-center, .wf-col-head-right { align-items: flex-start; text-align: left; }
}

/* Source / destination cards (sides) */
.flow-card {
  background: linear-gradient(180deg, rgba(244,239,250,0.04), rgba(244,239,250,0.01));
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}
.flow-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(244, 239, 250, 0.025);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-md);
  font-size: 13px;
  transition: all 0.4s ease;
}
.flow-row.processing {
  border-color: var(--violet);
  background: rgba(149, 92, 240, 0.08);
  box-shadow: 0 0 0 1px var(--violet-glow), 0 0 24px rgba(149, 92, 240, 0.2);
}
.flow-row.done {
  opacity: 0.55;
}
.flow-row .icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(244,239,250,0.05);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-fg-muted);
}
.flow-row .label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.flow-row .label .l1 {
  font-weight: 500;
  color: var(--d-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flow-row .label .l2 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-fg-dim);
}
.flow-row .amt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--d-fg-muted);
  font-variant-numeric: tabular-nums;
}
.flow-row.processing .amt {
  color: var(--violet-2);
}
.flow-row .check {
  color: var(--violet-2);
  font-size: 12px;
}

/* Center column — agent stack (orchestrator core) */
.agents-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 20px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(184, 132, 240, 0.18), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(149, 92, 240, 0.22), transparent 65%),
    linear-gradient(180deg, #1A0E2E 0%, #0E0719 100%);
  border: 1px solid rgba(184, 132, 240, 0.30);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 250, 0.06),
    inset 0 0 80px rgba(149, 92, 240, 0.10),
    0 0 0 1px rgba(149, 92, 240, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(149, 92, 240, 0.18);
  overflow: hidden;
}
.agents-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px, transparent 22px,
      rgba(184, 132, 240, 0.04) 22px, rgba(184, 132, 240, 0.04) 23px
    );
  pointer-events: none;
  mask: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
}
.agents-stack::after {
  /* subtle scanning beam */
  content: "";
  position: absolute;
  left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(184, 132, 240, 0.10), transparent);
  animation: scan 5.5s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { top: -60px; }
  100% { top: 100%; }
}
.agents-stack-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--d-bg);
  padding: 2px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-2);
  border: 1px solid rgba(184, 132, 240, 0.30);
  border-radius: 999px;
  z-index: 2;
}
.agents-stack-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
  padding: 0 4px 8px;
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(184, 132, 240, 0.18);
  position: relative;
  z-index: 1;
}
.agents-stack-status .live {
  color: var(--violet-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.agents-stack-status .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 10px var(--violet-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
.agent-pill { position: relative; z-index: 1; }
.agent-pill {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(26, 15, 42, 0.6);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
  position: relative;
}
.agent-pill.active {
  border-color: var(--violet);
  background: rgba(149, 92, 240, 0.10);
  box-shadow: 0 0 0 1px var(--violet-glow);
}
.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.agent-pill .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--d-fg);
  letter-spacing: 0.10em;
}
.agent-pill .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--d-fg-dim);
  text-transform: uppercase;
  margin-top: 2px;
}
.agent-pill .status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}
.agent-pill.active .status {
  color: var(--violet-2);
}
.agent-pill .pulse-ring {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.agent-pill.active .pulse-ring {
  background: var(--violet-2);
  box-shadow: 0 0 0 4px rgba(184, 132, 240, 0.25), 0 0 12px var(--violet-glow);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Connector lines drawn via SVG overlay */
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* === Logo strip === */
.logo-strip {
  border-top: 1px solid var(--d-hairline);
  border-bottom: 1px solid var(--d-hairline);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
  margin-bottom: 16px;
  text-align: center;
}
.logo-strip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--d-fg-muted);
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.logo-item:hover { opacity: 1; color: var(--d-fg); }
.logo-item .sup {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--d-fg-dim);
  font-style: normal;
  margin-left: 6px;
  vertical-align: super;
}

/* === Light section base === */
.light-section {
  background: var(--l-bg);
  color: var(--l-fg);
  padding: 120px 0;
  position: relative;
}
.light-section.surface { background: var(--l-surface); }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
  max-width: 800px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--violet-deep);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--violet-deep);
}
.section-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--l-fg-muted);
  max-width: 56ch;
  margin: 0;
}

/* Industries */
.industries-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.industries-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--l-hairline-strong);
  background: var(--l-surface);
  color: var(--l-fg-muted);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.industries-tab:hover {
  color: var(--l-fg);
  border-color: var(--l-fg);
}
.industries-tab.active {
  background: var(--d-bg);
  color: var(--d-fg);
  border-color: var(--d-bg);
}
.industry-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--l-surface);
  border: 1px solid var(--l-hairline);
  border-radius: var(--r-xl);
  padding: 48px;
}
.industry-panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.industry-panel p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--l-fg-muted);
  margin: 0 0 24px;
}
.industry-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--l-hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.industry-stat {
  background: var(--l-surface);
  padding: 18px 20px;
}
.industry-stat .v {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--l-fg);
}
.industry-stat .v em { color: var(--violet-deep); font-style: italic; }
.industry-stat .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
  margin-top: 4px;
}
.industry-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.industry-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--l-hairline);
}
.industry-check:first-child { border-top: 0; }
.industry-check .check-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 1px;
}
.industry-check .check-title {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 2px;
}
.industry-check .check-desc {
  font-size: 14px;
  color: var(--l-fg-muted);
  line-height: 1.5;
}

/* === Agents section — deep black with purple smoke === */
.agents-section {
  background: #07040C;
  color: var(--d-fg);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.agents-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(149, 92, 240, 0.12), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(149, 92, 240, 0.08), transparent 60%);
  pointer-events: none;
}
.agents-section .section-eyebrow { color: var(--violet-2); }
.agents-section .section-eyebrow::before { background: var(--violet-2); }
.agents-section .section-title { color: var(--d-fg); }
.agents-section .section-title em { color: var(--violet-2); }
.agents-section .section-sub { color: var(--d-fg-muted); }

/* === Roster board (depth chart) === */
.roster-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.roster-badge {
  position: relative;
  background:
    linear-gradient(180deg, rgba(244,239,250,0.04) 0%, rgba(244,239,250,0.01) 100%);
  border: 1px solid rgba(244, 239, 250, 0.10);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--d-fg);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  min-height: 200px;
}
.roster-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(149, 92, 240, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.roster-badge:hover {
  border-color: rgba(184, 132, 240, 0.35);
  transform: translateY(-2px);
}
.roster-badge:hover::before { opacity: 1; }
.roster-badge.active {
  background:
    radial-gradient(500px 250px at 50% 0%, rgba(149, 92, 240, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(20, 10, 31, 0.9), rgba(10, 6, 18, 0.9));
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet-glow), 0 18px 48px rgba(149, 92, 240, 0.20);
}
.roster-badge.active::before { opacity: 1; }
.roster-badge-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--d-fg-dim);
}
.roster-badge.active .roster-badge-num { color: var(--violet-2); }
.roster-badge-callsign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--d-fg);
  padding-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roster-badge.active .roster-badge-callsign {
  background: linear-gradient(120deg, var(--violet-2), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.roster-badge-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--d-fg);
  letter-spacing: -0.005em;
}
.roster-badge-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
  padding: 4px 8px;
  border: 1px solid rgba(244, 239, 250, 0.12);
  border-radius: 4px;
  align-self: flex-start;
}
.roster-badge.active .roster-badge-tag {
  color: var(--violet-2);
  border-color: rgba(184, 132, 240, 0.30);
}
.roster-badge-status {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(244, 239, 250, 0.10);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}
.roster-badge-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--d-fg-dim);
}
.roster-badge.active .roster-badge-status .dot {
  background: var(--violet-2);
  box-shadow: 0 0 8px var(--violet-glow);
}
.roster-badge.active .roster-badge-status { color: var(--violet-2); }

/* Detail panel adjustments */
.agent-detail-tag {
.agent-detail-stats {
  display: flex;
  gap: 32px;
  text-align: right;
}
.agent-detail-stats .ds-v {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--violet-2);
  letter-spacing: -0.02em;
}
.agent-detail-stats .ds-v.live { color: var(--violet-2); }
.agent-detail-stats .ds-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
  margin-top: 6px;
}

/* Procedures — vertical step diagram */
.agent-procedures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}
.agent-procedure {
  background: rgba(244, 239, 250, 0.02);
  border: 1px solid rgba(244, 239, 250, 0.08);
  border-radius: var(--r-md);
  padding: 20px;
}
.agent-procedure-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 250, 0.08);
  flex-wrap: wrap;
}
.agent-procedure-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--violet-2);
}
.agent-procedure-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--d-fg);
  flex: 1;
}
.agent-procedure-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}
.agent-procedure-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.agent-procedure-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--d-fg);
  position: relative;
}
.agent-procedure-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 30px;
  bottom: -5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(184, 132, 240, 0.30), rgba(184, 132, 240, 0.05));
}
.ps-num {
  width: 36px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--violet-2);
  background: rgba(149, 92, 240, 0.10);
  border: 1px solid rgba(184, 132, 240, 0.25);
  border-radius: 4px;
  z-index: 1;
}
.ps-text { color: var(--d-fg-muted); padding-top: 3px; }
.ps-arrow { display: none; }

@media (max-width: 1100px) {
  .roster-board { grid-template-columns: repeat(2, 1fr); }
  .agent-detail-stats { gap: 20px; }
  .agent-detail-stats .ds-v { font-size: 28px; }
}
@media (max-width: 700px) {
  .roster-board { grid-template-columns: 1fr; }
  .agent-detail { padding: 24px; }
  .agent-detail-head { grid-template-columns: 1fr; }
  .agent-detail-stats { text-align: left; }
}

/* Detail panel */
.agent-detail {
  background:
    linear-gradient(180deg, rgba(20, 10, 31, 0.9), rgba(10, 6, 18, 0.9));
  border: 1px solid rgba(244, 239, 250, 0.08);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.agent-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 100% 0%, rgba(149, 92, 240, 0.08), transparent 60%);
  pointer-events: none;
}
.agent-detail-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(244, 239, 250, 0.10);
  position: relative;
  z-index: 1;
}
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 14px;
}
.agent-detail-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--d-fg);
}
.agent-detail-title em {
  font-style: italic;
  color: var(--violet-2);
}
.agent-detail-role {
  font-size: 15px;
  color: var(--d-fg-muted);
  margin: 0;
}
.agent-detail-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--d-fg-dim);
  text-align: right;
}
.agent-detail-code .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(184, 132, 240, 0.30);
  border-radius: 999px;
  color: var(--violet-2);
}
.agent-detail-code .live::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 8px var(--violet-glow);
}
.agent-detail-summary {
  font-size: 17px;
  line-height: 1.55;
  color: var(--d-fg);
  margin: 0 0 36px;
  max-width: 60ch;
  position: relative;
  z-index: 1;
}
.agent-workflow {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}
.agent-workflow:last-child { margin-bottom: 0; }
.agent-workflow-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-2);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.agent-workflow-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 132, 240, 0.30), transparent);
}
.agent-workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(244, 239, 250, 0.06);
  border-left: 1px solid rgba(244, 239, 250, 0.06);
}
.agent-workflow-steps li {
  border-right: 1px solid rgba(244, 239, 250, 0.06);
  border-bottom: 1px solid rgba(244, 239, 250, 0.06);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--d-fg-muted);
  background: rgba(244, 239, 250, 0.015);
  transition: background 0.15s, color 0.15s;
}
.agent-workflow-steps li:hover {
  background: rgba(184, 132, 240, 0.06);
  color: var(--d-fg);
}
.agent-workflow-steps li .step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--d-fg-dim);
  padding-top: 2px;
}

/* ROI section */
.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.roi-bignum {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--l-fg);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0.05em 0.05em 0.1em;
  overflow: visible;
}
.roi-bignum .currency {
  font-size: 0.45em;
  margin-top: 0.15em;
  color: var(--l-fg-muted);
}
.roi-bignum .unit {
  font-family: var(--font-ui);
  font-size: 0.18em;
  font-weight: 500;
  color: var(--l-fg-muted);
  letter-spacing: 0;
  margin-top: 0.5em;
  margin-left: 12px;
  max-width: 8ch;
  line-height: 1.2;
}
.roi-bignum em {
  font-style: italic;
  background: linear-gradient(120deg, var(--violet-deep), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.roi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.roi-stat .v {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.roi-stat .v em { font-style: italic; color: var(--violet-deep); }
.roi-stat .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
}
.roi-stat .desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--l-fg-muted);
  max-width: 28ch;
}

/* How it works */
.howit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--l-hairline);
  border-left: 1px solid var(--l-hairline);
}
.howit-step {
  border-right: 1px solid var(--l-hairline);
  border-bottom: 1px solid var(--l-hairline);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  position: relative;
  background: var(--l-surface);
}
.howit-step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--l-fg-dim);
}
.howit-step h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
.howit-step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--l-fg-muted);
  margin: 0;
}
.howit-step .visual {
  margin-top: auto;
  padding-top: 18px;
}

/* Integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--l-hairline);
  border: 1px solid var(--l-hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.integration {
  background: var(--l-surface);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  transition: background 0.15s;
}
.integration:hover { background: var(--l-surface-2); }
.integration .ilogo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--l-fg);
}
.integration .ilogo.italic { font-style: italic; }
.integration .iname {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
}

/* Founder */
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  background: var(--l-surface);
  border: 1px solid var(--l-hairline);
  border-radius: var(--r-xl);
  padding: 48px;
  align-items: center;
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(
      135deg,
      var(--l-surface-2) 0px,
      var(--l-surface-2) 12px,
      var(--l-bg) 12px,
      var(--l-bg) 24px
    );
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--l-fg-dim);
  text-transform: uppercase;
  text-align: center;
  position: relative;
  border: 1px solid var(--l-hairline);
}
.founder-portrait::after {
  content: "PORTRAIT";
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--l-bg);
  padding: 4px 8px;
  border-radius: 4px;
}
.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--l-fg);
}
.founder-quote::before {
  content: "“";
  font-size: 1.4em;
  color: var(--violet-deep);
  margin-right: 4px;
  vertical-align: -0.15em;
}
.founder-name {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
}
.founder-title {
  font-size: 13px;
  color: var(--l-fg-muted);
  line-height: 1.5;
  max-width: 60ch;
}
.founder-creds {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--l-hairline);
}
.founder-cred .v {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.founder-cred .v em { font-style: italic; color: var(--violet-deep); }
.founder-cred .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

/* Structured pricing block (no dollar amounts; describes what's included) */
.price-structure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0;
  margin: 4px 0 18px;
  border-top: 1px solid var(--l-hairline);
  border-bottom: 1px solid var(--l-hairline);
}
.price-card.featured .price-structure {
  border-top-color: var(--d-hairline);
  border-bottom-color: var(--d-hairline);
}
.price-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  row-gap: 4px;
}
.price-line-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
}
.price-card.featured .price-line-k { color: var(--d-fg-dim); }
.price-line-v {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--l-fg);
  text-align: right;
}
.price-line-v em { font-style: italic; color: var(--violet-deep); }
.price-card.featured .price-line-v { color: var(--d-fg); }
.price-card.featured .price-line-v em { color: var(--violet-2); }
.price-line-note {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.4;
  color: var(--l-fg-muted);
}
.price-card.featured .price-line-note { color: var(--d-fg-muted); }
.price-card {
  background: var(--l-surface);
  border: 1px solid var(--l-hairline);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.15s ease;
}
.price-card:hover { border-color: var(--l-hairline-strong); }
.price-card.featured {
  background: var(--d-bg);
  color: var(--d-fg);
  border-color: var(--d-bg);
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 50% 0%, rgba(149, 92, 240, 0.30), transparent 70%);
  pointer-events: none;
}
.price-card.featured > * { position: relative; z-index: 1; }
.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--l-fg-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-card.featured .price-tier { color: var(--d-fg-muted); }
.price-tier .badge {
  background: var(--violet);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 9px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.price-amount .small {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--l-fg-muted);
  margin-left: 6px;
}
.price-card.featured .price-amount .small { color: var(--d-fg-muted); }
.price-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--l-fg-muted);
  margin: 0;
}
.price-card.featured .price-desc { color: var(--d-fg-muted); }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.4;
}
.price-features li::before {
  content: "→";
  color: var(--violet-deep);
  font-family: var(--font-mono);
  margin-top: 1px;
}
.price-card.featured .price-features li::before { color: var(--violet-2); }
.price-cta {
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--l-fg);
  color: var(--l-surface);
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.price-card.featured .price-cta {
  background: var(--d-fg);
  color: var(--d-bg);
}
.price-cta:hover { opacity: 0.85; }

/* Final CTA */
.final-cta {
  padding: 140px 0;
  text-align: center;
  position: relative;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.final-cta h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--violet-2), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-cta p {
  font-size: 19px;
  color: var(--d-fg-muted);
  max-width: 56ch;
  margin: 0 auto 44px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  border-top: 1px solid var(--d-hairline);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 38ch;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--d-fg-dim);
  margin: 0;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--d-fg-muted);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--d-fg); }
.footer-contact a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--d-fg);
}
.footer-contact a:hover { color: var(--violet-2); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--d-hairline);
  border-radius: 999px;
  color: var(--d-fg-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover {
  color: var(--violet-2);
  border-color: var(--violet-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--d-fg-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding-top: 24px;
  border-top: 1px solid var(--d-hairline);
}

/* === Responsive === */
@media (max-width: 1100px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .agents-grid > :nth-child(4),
  .agents-grid > :nth-child(5) { grid-column: span 1; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .howit-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-panel { grid-template-columns: 1fr; padding: 32px; }
  .founder-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .founder-portrait { max-width: 280px; }
  .roi-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container, .container-wide { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 80px; }
  .light-section { padding: 80px 0; }
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: 1fr 1fr; }
  .howit-grid { grid-template-columns: 1fr; }
  .roi-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .industry-stats { grid-template-columns: 1fr; }
  .industry-panel h3 { font-size: 32px; }
}

/* === Pipeline workflow (hero) — architecture diagram === */
.pipeline {
  margin-top: 80px;
  position: relative;
  background:
    radial-gradient(1100px 380px at 50% 0%, rgba(149, 92, 240, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(244, 239, 250, 0.025), rgba(244, 239, 250, 0.01));
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-xl);
  padding: 22px 28px 32px;
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 250, 0.05),
    0 24px 64px -24px rgba(149, 92, 240, 0.25);
}
.pipe-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--d-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.pipe-toolbar-l, .pipe-toolbar-r { display: flex; align-items: center; gap: 12px; }
.pipe-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.78 0.20 140);
  box-shadow: 0 0 12px oklch(0.78 0.20 140 / 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
.pipe-toolbar-title { color: var(--d-fg); }
.pipe-toolbar-meta { color: var(--d-fg-muted); }
.pipe-btn {
  background: transparent;
  border: 1px solid var(--d-hairline-strong);
  color: var(--d-fg-dim);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.pipe-btn:hover { border-color: var(--violet); color: var(--violet-2); }
.pipe-btn.on { color: var(--violet-2); border-color: rgba(184, 132, 240, 0.40); }

/* Stage labels */
.pipe-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 28px 4px 12px;
}
.pipe-stage { display: flex; flex-direction: column; gap: 6px; }
.pipe-stage.center { align-items: center; text-align: center; }
.pipe-stage.right { align-items: flex-end; text-align: right; }
.pipe-stage-label {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.pipe-stage-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet-2);
  background: rgba(184, 132, 240, 0.10);
  border: 1px solid rgba(184, 132, 240, 0.30);
  padding: 4px 9px;
  border-radius: 4px;
}
.pipe-stage-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--d-fg);
  letter-spacing: -0.01em;
}
.pipe-stage-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--d-fg-muted);
  text-transform: uppercase;
}

/* Connector arrows */
.pipe-connectors {
  position: relative;
  height: 60px;
  margin: 4px -16px -16px;
  pointer-events: none;
}
.pipe-connectors svg { display: block; height: 60px; }

/* Three-card row */
.pipe-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0;
  position: relative;
  padding: 0 4px;
}
.pipe-card {
  position: relative;
  background: linear-gradient(180deg, rgba(244,239,250,0.05), rgba(244,239,250,0.015));
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 188px;
}
.pipe-card-in { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
.pipe-card-out { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: none; }
.pipe-card-agent {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(149, 92, 240, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(149, 92, 240, 0.08), rgba(149, 92, 240, 0.02));
  border: 1px solid rgba(184, 132, 240, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 250, 0.07),
    0 0 0 1px rgba(184, 132, 240, 0.10),
    0 18px 40px -18px rgba(149, 92, 240, 0.45);
  transform: translateY(-6px);
  z-index: 2;
  border-radius: var(--r-lg);
}
.pipe-card-head { display: flex; align-items: center; gap: 10px; }
.pipe-card-glyph {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--d-fg);
  background: rgba(244, 239, 250, 0.04);
  border: 1px solid var(--d-hairline-strong);
  border-radius: 6px;
}
.pipe-card-glyph.violet {
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  color: #fff;
  border-color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-ui);
}
.pipe-card-glyph.done {
  background: linear-gradient(180deg, oklch(0.65 0.16 145), oklch(0.40 0.16 145));
  color: #fff;
  border-color: oklch(0.65 0.16 145);
  font-size: 16px;
}
.pipe-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d-fg-muted);
  border: 1px solid var(--d-hairline);
  padding: 3px 8px;
  border-radius: 4px;
}
.pipe-card-tag.violet { color: var(--violet-2); border-color: rgba(184, 132, 240, 0.35); background: rgba(184, 132, 240, 0.08); }
.pipe-card-tag.green { color: oklch(0.78 0.16 145); border-color: oklch(0.55 0.14 145 / 0.4); background: oklch(0.55 0.14 145 / 0.10); }
.pipe-card-id {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--d-fg-muted);
}
.pipe-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--d-fg);
  margin-top: 4px;
}
.pipe-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--d-fg-muted);
  text-transform: uppercase;
}
.pipe-card-detail {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--d-fg-dim);
  line-height: 1.5;
}
.pipe-card-amt {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--d-fg);
  letter-spacing: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--d-hairline);
}
.pipe-card-agent .pipe-card-amt { color: var(--violet-2); }
.pipe-card-status {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet-2);
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 132, 240, 0.20);
}
.pipe-card-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.78 0.20 140);
  box-shadow: 0 0 10px oklch(0.78 0.20 140 / 0.8);
  animation: pulse 1.4s ease-in-out infinite;
}

/* Picker pills */
.pipe-picker {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--d-hairline);
  display: flex; flex-direction: column; gap: 12px;
}
.pipe-picker-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--d-fg-muted);
}
.pipe-picker-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pipe-pill {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(244, 239, 250, 0.025);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-md);
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.15s;
}
.pipe-pill:hover {
  border-color: var(--d-hairline-strong);
  background: rgba(244, 239, 250, 0.05);
}
.pipe-pill.active {
  border-color: var(--violet);
  background: rgba(149, 92, 240, 0.10);
  box-shadow: 0 0 0 1px var(--violet-glow);
}
.pipe-pill-glyph {
  width: 36px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--d-fg);
  background: rgba(244, 239, 250, 0.05);
  border: 1px solid var(--d-hairline-strong);
  border-radius: 4px;
}
.pipe-pill.active .pipe-pill-glyph {
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  border-color: var(--violet);
  color: #fff;
}
.pipe-pill-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--d-fg);
}
.pipe-pill-amt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-fg-muted);
  letter-spacing: 0;
}
.pipe-pill.active .pipe-pill-amt { color: var(--violet-2); }

@media (max-width: 1100px) {
  .pipe-stage-grid { grid-template-columns: 1fr; gap: 12px; padding-bottom: 4px; }
  .pipe-stage, .pipe-stage.center, .pipe-stage.right { align-items: flex-start; text-align: left; }
  .pipe-row { grid-template-columns: 1fr; gap: 12px; }
  .pipe-card-in, .pipe-card-out, .pipe-card-agent {
    border: 1px solid var(--d-hairline);
    border-radius: var(--r-lg);
    transform: none;
  }
  .pipe-card-agent { border-color: rgba(184, 132, 240, 0.35); }
  .pipe-connectors { display: none; }
  .pipe-picker-row { grid-template-columns: 1fr 1fr; }
}

/* === "Trained by" credibility band — sits above procedure cards === */
.trained-by-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 32px;
  margin-bottom: 28px;
  background:
    linear-gradient(180deg, rgba(247, 240, 227, 0.025), rgba(247, 240, 227, 0.005));
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.trained-by-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(380px 220px at 18% 50%, rgba(168, 85, 247, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.trained-by-band > * { position: relative; z-index: 1; }

.trained-by-portrait {
  width: 200px;
  height: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--d-hairline-strong);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.20),
    0 18px 40px -16px rgba(168, 85, 247, 0.30);
}
.trained-by-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 10, 31, 0.45) 100%);
  pointer-events: none;
}
.trained-by-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.04);
}

.trained-by-body { display: flex; flex-direction: column; gap: 14px; }

.trained-by-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trained-by-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--violet-2);
}

.trained-by-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--d-fg);
  text-wrap: pretty;
}
.trained-by-quote em { font-style: italic; color: var(--d-fg); }
.trained-by-quote--secondary {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  color: var(--d-fg-muted);
  text-wrap: pretty;
}
.trained-by-quote--secondary em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--d-fg-muted);
  font-weight: 400;
}

.trained-by-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px dashed var(--d-hairline);
}
.trained-by-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--d-fg);
  letter-spacing: 0.01em;
}
.trained-by-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}

/* Credentials row inside the band */
.trained-by-creds {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 36px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--d-hairline);
}
.trained-by-cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trained-by-cred .v {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--d-fg);
  line-height: 1;
}
.trained-by-cred .v em { font-style: italic; color: var(--violet-2); }
.trained-by-cred-list {
  font-family: var(--font-display);
  font-size: 18px !important;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}
.trained-by-cred-list em {
  font-style: italic;
  color: var(--d-fg);
  white-space: nowrap;
}
.trained-by-cred--wide {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
}
.trained-by-cred .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-fg-dim);
}

@media (max-width: 800px) {
  .trained-by-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
    text-align: left;
  }
  .trained-by-portrait { width: 140px; height: 140px; }
}

/* Variant: appears above the agents section header — needs more breathing room and prominence */
.trained-by-band--top {
  margin-bottom: 80px;
  padding: 36px 44px;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.trained-by-band--top .trained-by-portrait { width: 240px; height: 240px; }
.trained-by-band--top .trained-by-quote {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.4;
  max-width: 64ch;
}
@media (max-width: 800px) {
  .trained-by-band--top {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    margin-bottom: 56px;
  }
  .trained-by-band--top .trained-by-portrait { width: 160px; height: 160px; }
}

/* === Procedures — white cards with boxed inline steps === */
.proc-generic {
  margin: 0;
  padding: 4px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--l-fg);
  max-width: 64ch;
}
.proc-diagram--lite .proc-diagram-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.agent-procedures-diagram {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.proc-diagram {
  position: relative;
  background: #FAF7F1;
  border: 1px solid rgba(247, 240, 227, 0.10);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  color: #1F180F;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
}

/* Animated drifting glow on the procedure card background */
.proc-diagram::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(420px 240px at 20% 30%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(420px 240px at 80% 70%, rgba(168, 85, 247, 0.08), transparent 60%);
  animation: procDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes procDrift {
  0%   { transform: translate3d(-3%, -2%, 0); }
  100% { transform: translate3d(3%, 2%, 0); }
}
.proc-diagram > * { position: relative; z-index: 1; }

.proc-diagram-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px dashed rgba(31, 24, 15, 0.12);
}
.proc-diagram-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-deep);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 5px 10px;
  border-radius: 4px;
}
.proc-diagram-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1F180F;
}
.proc-diagram-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(31, 24, 15, 0.5);
}
.proc-diagram-count-n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--violet-deep);
  font-variant-numeric: tabular-nums;
}
.proc-diagram-count-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Steps row: inline boxes connected by arrows, wraps naturally */
.proc-diagram-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  position: relative;
}

.proc-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(31, 24, 15, 0.12);
  border-radius: 10px;
  padding: 12px 16px 12px 12px;
  min-width: 0;
  flex: 1 1 220px;
  max-width: 280px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 0 rgba(31, 24, 15, 0.04);
}
.proc-node:hover {
  border-color: var(--violet);
  background: linear-gradient(180deg, #ffffff, #FBF4FF);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.35);
}
/* Arrow between steps */
.proc-node::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(168, 85, 247, 0.55);
  z-index: 2;
}
.proc-node:last-child::after { display: none; }

.proc-node-circle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.proc-node:hover .proc-node-circle {
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}
.proc-node-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--violet-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.proc-node:hover .proc-node-n { color: #fff; }

.proc-node-label {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.4;
  color: #1F180F;
  text-align: left;
  font-weight: 450;
  text-wrap: pretty;
}

@media (max-width: 1100px) {
  .proc-diagram { padding: 28px 24px; }
}
@media (max-width: 700px) {
  .proc-diagram { padding: 24px 20px; }
  .proc-diagram-title { font-size: 20px; }
  .proc-node { flex: 1 1 100%; max-width: none; }
  .proc-node::after { display: none; }
}

/* === Ambient motion in dark sections === */
.dark-section::after,
.agents-section::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(800px 500px at 15% 20%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(700px 400px at 85% 80%, rgba(168, 85, 247, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: ambientDrift 22s ease-in-out infinite alternate;
}
.dark-section > *,
.agents-section > * { position: relative; z-index: 1; }
@keyframes ambientDrift {
  0%   { transform: translate3d(-2%, -1%, 0) rotate(-1deg); opacity: 0.85; }
  50%  { opacity: 1; }
  100% { transform: translate3d(2%, 1%, 0) rotate(1deg); opacity: 0.85; }
}

