  /* Global atmosphere (container, blobs, grain, grid, z-index) now lives in
     assets/css/atmosphere.css — body[data-atmo="calm"]. Only the platform's own
     per-section washes remain below. */

  /* Per-section color washes — masked at top/bottom 14% so seam gradients stay clean */
  .hero, .ov-section, .plat-pillar, .open-section, .deploy-section, .integrations-block, .ent-section {
    position: relative;
  }
  .hero > *, .ov-section > *, .plat-pillar > *, .open-section > *, .deploy-section > *, .integrations-block > *, .ent-section > * {
    position: relative;
    z-index: 1;
  }
  /* Per-section ::after color washes removed — they ended at section boundaries
     and left faint hard seam lines. Page color now comes from the global
     atmosphere (assets/css/atmosphere.css) only. */

  /* ─────────── PLATFORM PAGE — page-specific styles ─────────── */

  /* HERO */
  .hero {
    position: relative; overflow: hidden;
    padding: 88px 0 120px;
  }
  /* ── Background bands ────────────────────────────────────────────────────────
     Each section paints a light, brand-tinted, OPAQUE gradient whose end colour
     equals the next section's start colour, so seams bleed with no hard line
     (homepage approach). Tints #F4F9FF / #EEF4FB (light blue) over white/--bone.
     Hero is scoped html[data-accent="blue"] to out-specify industry.css's leak. */
  html[data-accent="blue"] .hero {
    background: linear-gradient(180deg, #FFFFFF 0%, #EAF3FE 50%, #E3EEFD 100%);
  }
  /* Section boundaries fall on fractional pixels; an opaque edge antialiases against
     the darker fixed atmosphere → a faint 1px seam. Overlap 1px so the lower section
     covers it. (~ not +: zero-height inline <style> tags sit between sections.) */
  body > section ~ section { margin-top: -1px; }
  .hero-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
  }
  .hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .hero-microtrust {
    display: flex; align-items: center; gap: 14px;
    margin-top: 36px;
    color: var(--gray-500); font-size: var(--fs-micro);
    flex-wrap: wrap;
  }
  .hero-microtrust .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    font-weight: 500;
    color: var(--gray-700);
  }
  .hero-microtrust .pill svg { color: var(--green); }

  /* PLATFORM HERO VISUAL — architecture stack */
  .arch-stack {
    position: relative;
    padding: 30px 30px 30px 60px;
  }
  .arch-stack::before {
    /* spine ruler on the left */
    content: ""; position: absolute;
    left: 36px; top: 50px; bottom: 50px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--green) 100%);
    border-radius: 2px;
  }
  .arch-layer {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px 20px 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transform: translateZ(0);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    display: grid;
    grid-template-columns: 38px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 10px;
  }
  /* Mini signature artifact (second row, spans all columns) */
  .al-mini {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px dashed var(--gray-200);
    padding-top: 10px;
    min-height: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  /* Variant 1 · connector tiles row */
  .al-mini--connectors { gap: 5px; }
  .amc-tile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 5px;
    background: var(--c, var(--gray-200));
    color: var(--white);
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }
  .amc-tile--more {
    background: transparent;
    color: var(--gray-500);
    font-size: var(--fs-tag); font-weight: 600;
    width: auto;
    padding-left: 4px;
  }
  /* Variant 2 · workflow node chain */
  .al-mini--flow { gap: 4px; flex-wrap: nowrap; }
  .amf-node {
    font-family: "Inter", -apple-system, system-ui, sans-serif;
    font-size: var(--fs-tag); font-weight: 600;
    padding: 3px 8px;
    border-radius: 100px;
    white-space: nowrap;
  }
  .amf-node--src    { background: rgba(43,136,240,0.10);  color: var(--blue-dark); }
  .amf-node--reason { background: rgba(124,58,237,0.10);  color: #6D28D9; }
  .amf-node--tool   { background: rgba(13,148,136,0.12);  color: #0F766E; }
  .amf-node--check  { background: rgba(85,174,71,0.12);   color: var(--green-dark); }
  .amf-arrow { color: var(--gray-400); font-size: var(--fs-tag); }
  /* Variant 3 · NL prompt line */
  .al-mini--prompt {
    background: var(--gray-100);
    border-radius: 6px;
    padding: 6px 10px;
    gap: 7px;
    border-top: none;
    margin-top: 4px;
  }
  .amp-prompt {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--blue);
    flex-shrink: 0;
  }
  .amp-text {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); color: var(--gray-600);
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* Variant 4 · ROI sparkline + KPI chips */
  .al-mini--roi { gap: 10px; }
  .amr-spark {
    width: 76px; height: 22px;
    flex-shrink: 0;
  }
  .amr-spark-fill { fill: rgba(85,174,71,0.08); }
  .amr-kpi {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
  }
  .amr-kpi b { color: var(--navy); font-weight: 700; }
  .amr-kpi-up   { color: var(--green-dark); }
  .amr-kpi-down { color: var(--blue-dark); }
  .arch-layer::before {
    /* dot on the spine */
    content: ""; position: absolute;
    left: -33px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--blue);
    box-shadow: 0 0 0 4px rgba(43,136,240,0.10);
  }
  .arch-layer:nth-child(2)::before { border-color: var(--blue); }
  .arch-layer:nth-child(3)::before { border-color: #4F8FE8; }
  .arch-layer:nth-child(4)::before { border-color: var(--teal); }
  .arch-layer:nth-child(5)::before { border-color: var(--green); }

  .arch-layer:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .arch-layer .al-num {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.06em;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    padding-right: 14px;
    line-height: 1.1;
  }
  .arch-layer .al-name { font-size: var(--fs-card); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1.2; }
  .arch-layer .al-desc { font-size: var(--fs-eyebrow); color: var(--gray-500); margin-top: 2px; }
  .arch-layer .al-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
  }
  .arch-layer:nth-child(2) .al-icon { background: var(--blue-soft); color: var(--blue-dark); }
  .arch-layer:nth-child(3) .al-icon { background: rgba(79,143,232,0.12); color: #1A6DD4; }
  .arch-layer:nth-child(4) .al-icon { background: rgba(13,148,136,0.12); color: var(--teal); }
  .arch-layer:nth-child(5) .al-icon { background: var(--green-soft); color: var(--green-dark); }

  /* data flowing arrows between layers */
  .arch-flow {
    position: absolute;
    left: 36px; top: 50%; transform: translate(-50%, -50%);
    width: 0;
  }
  .arch-flow-arrow {
    position: absolute; left: 36px;
    width: 18px; height: 18px;
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--gray-400);
    transform: translateX(-50%);
    z-index: 2;
  }

  .arch-meta {
    display: flex; align-items: center; gap: 14px;
    margin-top: 14px;
    padding: 12px 16px 12px 60px;
    color: var(--gray-500);
    font-size: var(--fs-eyebrow);
    font-family: "JetBrains Mono", monospace;
  }
  .arch-meta .am-tag {
    padding: 4px 9px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: var(--fs-tag);
    color: var(--gray-700);
    font-weight: 600;
  }

  @media (max-width: 1024px) {
    /* minmax(0,1fr)+min-width:0 stops the wide hero visual from forcing the
       stacked column (and its .lead copy) past the right edge. */
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .hero-grid > * { min-width: 0; }
  }

  /* ─────────── BIG ARCHITECTURE SECTION (alternating zigzag rows) ─────────── */
  .arch-zigzag {
    position: relative;
    display: flex; flex-direction: column;
    gap: 0;
  }
  /* central spine connecting all 4 layers */
  .arch-zigzag::before {
    content: "";
    position: absolute;
    left: 50%; top: 56px; bottom: 56px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, #4F8FE8 33%, var(--teal) 66%, var(--green) 100%);
    transform: translateX(-50%);
    z-index: 0;
  }
  .arch-row {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 0;
    align-items: center;
    padding: 56px 0;
    border-top: 1px dashed var(--gray-200);
  }
  .arch-row:first-child { border-top: 0; padding-top: 24px; }
  .arch-row:last-child { padding-bottom: 24px; }
  .arch-spine-marker {
    display: grid; place-items: center;
    grid-column: 2 / 3;
    grid-row: 1;
  }
  .arch-spine-node {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 2.5px solid var(--blue);
    display: grid; place-items: center;
    box-shadow: 0 0 0 8px var(--bone), var(--shadow-md);
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-small); font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--blue-dark);
  }
  .arch-row.l1 .arch-spine-node { border-color: var(--blue); color: var(--blue-dark); }
  .arch-row.l2 .arch-spine-node { border-color: #4F8FE8; color: #1A6DD4; }
  .arch-row.l3 .arch-spine-node { border-color: var(--teal); color: var(--teal); }
  .arch-row.l4 .arch-spine-node { border-color: var(--green); color: var(--green-dark); }

  .arch-row.even .arch-text   { grid-column: 1 / 2; padding-right: 56px; text-align: right; }
  .arch-row.even .arch-visual { grid-column: 3 / 4; padding-left: 56px; }
  .arch-row.odd  .arch-visual { grid-column: 1 / 2; padding-right: 56px; }
  .arch-row.odd  .arch-text   { grid-column: 3 / 4; padding-left: 56px; }
  .arch-row.even .layer-tags  { justify-content: flex-end; }

  .arch-text { padding: 12px 0; }
  .arch-text .layer-num {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-eyebrow); font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue-dark);
    margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .arch-row.even .arch-text .layer-num { flex-direction: row-reverse; }
  .arch-text .layer-num::before { content: ""; width: 28px; height: 1px; background: var(--blue-dark); }
  .arch-row.l3 .layer-num { color: var(--teal); }
  .arch-row.l3 .layer-num::before { background: var(--teal); }
  .arch-row.l4 .layer-num { color: var(--green-dark); }
  .arch-row.l4 .layer-num::before { background: var(--green-dark); }
  .arch-row .h3 {
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 800; line-height: 1.18;
    letter-spacing: -0.022em;
    margin: 0 0 16px;
  }
  .arch-row .body { font-size: var(--fs-body); line-height: 1.65; color: var(--gray-600); margin: 0 0 22px; max-width: 540px; }
  .arch-row.even .body { margin-left: auto; }
  .arch-row .layer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .layer-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 500;
    color: var(--gray-700);
    padding: 5px 10px;
    background: var(--gray-100);
    border-radius: 6px;
  }

  /* Visual frame */
  .arch-visual {
    position: relative;
  }
  .arch-visual-frame {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
  }
  .arch-row.l1 .arch-visual-frame { background: linear-gradient(135deg, #EAF3FE 0%, #F8FBFF 100%); }
  .arch-row.l2 .arch-visual-frame { background: linear-gradient(135deg, #F4FAFE 0%, #FAFBFC 100%); }
  .arch-row.l3 .arch-visual-frame { background: linear-gradient(135deg, #ECFAEF 0%, #F8FCF8 100%); }
  .arch-row.l4 .arch-visual-frame { background: linear-gradient(135deg, #E8F8F5 0%, #F8FCFB 100%); }
  .arch-visual-frame::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(10,22,40,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10,22,40,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    pointer-events: none;
  }

  /* Layer 1 — Connector field */
  .lv-conn-grid {
    position: absolute; inset: 24px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
  }
  .lv-conn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    display: grid; place-items: center;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--gray-500);
    letter-spacing: -0.005em;
  }
  .lv-conn.bl { color: var(--blue-dark); border-color: rgba(43,136,240,0.30); }
  .lv-conn.gr { color: var(--green-dark); border-color: rgba(85,174,71,0.30); }
  .lv-conn.te { color: var(--teal); border-color: rgba(13,148,136,0.30); }
  .lv-conn.or { color: #B45309; border-color: rgba(180,83,9,0.30); }

  /* Layer 2 — Doc → chunks → vector visualization */
  .lv-info { position: absolute; inset: 20px; }
  .lv-info svg { width: 100%; height: 100%; display: block; }

  /* Layer 3 — DSL plan */
  .lv-dsl {
    position: absolute; inset: 20px;
    background: var(--navy);
    border-radius: 12px;
    padding: 14px 16px;
    color: rgba(255,255,255,0.86);
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag);
    line-height: 1.6;
    box-shadow: 0 16px 40px -16px rgba(10,22,40,0.5);
  }
  .lv-dsl .ll-keyword { color: #8FBFFF; font-weight: 600; }
  .lv-dsl .ll-fn { color: #FBBF24; }
  .lv-dsl .ll-string { color: #67E895; }
  .lv-dsl .ll-comment { color: rgba(255,255,255,0.4); }

  /* Layer 4 — Trace dashboard */
  .lv-trace { position: absolute; inset: 20px; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); box-shadow: 0 8px 24px -12px rgba(10,22,40,0.10); }
  .lv-trace-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag);
  }
  .lv-trace-time { color: var(--gray-400); }
  .lv-trace-bar { height: 6px; background: var(--gray-100); border-radius: 3px; position: relative; overflow: hidden; }
  .lv-trace-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--green), var(--green-dark)); border-radius: 3px; }
  .lv-trace-bar.b1::after { width: 92%; }
  .lv-trace-bar.b2::after { width: 78%; }
  .lv-trace-bar.b3::after { width: 88%; }
  .lv-trace-bar.b4::after { width: 95%; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }
  .lv-trace-status {
    font-size: var(--fs-tag); font-weight: 700;
    padding: 2px 7px; border-radius: 5px;
    background: var(--green-soft); color: var(--green-dark);
  }
  .lv-trace-status.warn { background: #FEF3E0; color: #B45309; }

  @media (max-width: 980px) {
    .arch-zigzag::before { left: 32px; transform: none; }
    .arch-row { grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; }
    .arch-row.even .arch-text, .arch-row.odd .arch-text { grid-column: 2 / 3; padding: 0; text-align: left; }
    .arch-row.even .arch-visual, .arch-row.odd .arch-visual { grid-column: 2 / 3; padding: 0; margin-bottom: 24px; }
    .arch-row .arch-spine-marker { grid-column: 1 / 2; grid-row: 1; align-self: start; padding-top: 8px; }
    .arch-row.even .layer-tags { justify-content: flex-start; }
    .arch-row.even .arch-text .layer-num { flex-direction: row; }
    .arch-row.even .body { margin-left: 0; }
  }

  /* ─────────── REASONED VS DETERMINISTIC (split comparison panel) ─────────── */
  .plans-shell {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 36px;
    position: relative;
  }
  .plans-shell::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-deeper) 50%, var(--green-dark) 50%, var(--green) 100%);
  }
  .plans-shell-head {
    padding: 32px 40px 24px;
    border-bottom: 1px solid var(--gray-100);
    background: linear-gradient(180deg, var(--bone), var(--white));
    text-align: center;
  }
  .plans-shell-head .ps-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.12em; text-transform: uppercase;
  }

  .plans-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
  .plan-side {
    padding: 40px 40px 36px;
    display: flex; flex-direction: column;
    position: relative;
  }
  .plans-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--gray-200) 15%, var(--gray-200) 85%, transparent 100%);
    position: relative;
  }
  .plans-divider::before {
    content: "VS";
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--gray-500);
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
  }

  .plan-side .ps-label {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
  }
  .plan-side.reasoned .ps-label { color: var(--blue-dark); }
  .plan-side.reasoned .ps-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
  .plan-side.deterministic .ps-label { color: var(--green-dark); }
  .plan-side.deterministic .ps-label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

  .plan-side .h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 14px; }
  .plan-side .body { font-size: var(--fs-card); line-height: 1.6; margin: 0 0 22px; color: var(--gray-600); }

  /* plan visualizations — embedded in panel */
  .plan-vis {
    margin: 0 0 22px;
    padding: 22px 18px;
    background: var(--bone);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    height: 130px;
    position: relative;
    overflow: hidden;
  }
  .plan-vis svg { width: 100%; height: 100%; display: block; }
  .det-pipeline {
    display: flex; align-items: center; justify-content: center; height: 100%;
    gap: 0;
  }
  .det-step {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--white);
    border: 1.5px solid var(--green);
    color: var(--green-dark);
    display: grid; place-items: center;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
  }
  .det-arrow { width: 22px; height: 1.5px; background: var(--green-dark); position: relative; opacity: 0.4; }
  .det-arrow::after {
    content: ""; position: absolute;
    right: -1px; top: -3px;
    border-left: 6px solid var(--green-dark);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }

  .plan-best {
    font-size: var(--fs-micro); color: var(--gray-700);
    border-top: 1px dashed var(--gray-200);
    padding-top: 16px; margin-top: auto;
  }
  .plan-best b { color: var(--navy); font-weight: 700; }
  .plan-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .plan-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 500;
    color: var(--gray-700);
    padding: 5px 9px;
    background: var(--gray-100);
    border-radius: 5px;
  }

  @media (max-width: 880px) {
    .plans-split { grid-template-columns: 1fr; }
    .plans-divider { width: 100%; height: 1px; }
    .plans-divider::before { top: 50%; }
  }

  .scenarios-card {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-xl);
    padding: 36px 36px 36px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
  }
  .scenarios-card::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
  }
  .scenarios-card .h3 { color: var(--white); font-size: 24px; }
  .scenarios-card .body { color: rgba(255,255,255,0.74); }
  .scenarios-card .label {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: #8FBFFF; margin-bottom: 12px;
  }
  /* scenario visual: bounded toolset */
  .scen-vis { position: relative; }
  .scen-bound {
    border: 1.5px dashed rgba(143,191,255,0.4);
    border-radius: 18px;
    padding: 16px;
    position: relative;
  }
  .scen-bound::before {
    content: "scenario: invoice_processing";
    position: absolute; top: -10px; left: 18px;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 600;
    color: #8FBFFF;
    background: var(--navy);
    padding: 0 8px;
    letter-spacing: 0.05em;
  }
  .scen-tools { display: flex; flex-wrap: wrap; gap: 6px; }
  .scen-tool {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 600;
    color: rgba(255,255,255,0.86);
    padding: 5px 10px;
    background: rgba(143,191,255,0.10);
    border: 1px solid rgba(143,191,255,0.25);
    border-radius: 6px;
  }
  .scen-tool.disabled {
    color: rgba(255,255,255,0.30);
    background: transparent;
    border-color: rgba(255,255,255,0.10);
    text-decoration: line-through;
  }
  .scen-disabled-row {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .scen-disabled-label {
    font-size: var(--fs-tag);
    color: rgba(255,255,255,0.40);
    margin-bottom: 8px;
    font-family: "JetBrains Mono", monospace;
    width: 100%;
  }

  .stat-callout {
    text-align: center;
    margin-top: 56px;
    background: linear-gradient(135deg, var(--blue-soft) 0%, var(--green-soft) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    position: relative;
    overflow: hidden;
  }
  .stat-callout::before, .stat-callout::after {
    content: ""; position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    pointer-events: none;
  }
  .stat-callout::before { top: -80px; left: -60px; background: radial-gradient(circle, rgba(43,136,240,0.16), transparent 60%); }
  .stat-callout::after { bottom: -80px; right: -60px; background: radial-gradient(circle, rgba(85,174,71,0.18), transparent 60%); }
  .stat-callout-num {
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--navy);
    margin: 0 0 12px;
    position: relative; z-index: 1;
  }
  .stat-callout-num em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }
  .stat-callout-headline {
    font-size: var(--fs-h3); font-weight: 700;
    color: var(--navy); margin: 0 0 14px;
    letter-spacing: -0.018em; position: relative; z-index: 1;
  }
  .stat-callout-body {
    font-size: var(--fs-card); max-width: 560px; margin: 0 auto;
    color: var(--gray-600); position: relative; z-index: 1;
  }

  @media (max-width: 980px) {
    .plans-grid { grid-template-columns: 1fr; }
    .scenarios-card { grid-template-columns: 1fr; }
  }

  /* ─────────── AGENT BUILDER SECTION ─────────── */
  .ab-shell {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
  }
  .ab-features { display: flex; flex-direction: column; gap: 22px; }
  .ab-feat {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
  }
  .ab-feat:hover { border-color: var(--gray-200); background: var(--white); }
  .ab-feat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .ab-feat:nth-child(2) .ab-feat-icon { background: var(--green-soft); color: var(--green-dark); }
  .ab-feat:nth-child(3) .ab-feat-icon { background: rgba(13,148,136,0.10); color: var(--teal); }
  .ab-feat:nth-child(4) .ab-feat-icon { background: rgba(180,83,9,0.10); color: #B45309; }
  .ab-feat .h4 { font-size: var(--fs-card-title); margin-bottom: 6px; }
  .ab-feat-desc { font-size: var(--fs-small); color: var(--gray-600); line-height: 1.55; margin: 0 0 8px; }
  .ab-feat-tags { display: flex; gap: 6px; flex-wrap: wrap; }
  .ab-feat-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 500;
    color: var(--gray-600);
    padding: 3px 8px;
    background: var(--gray-100);
    border-radius: 5px;
  }

  /* Agent Builder visual — chat + visual editor mock */
  .ab-visual {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(10,22,40,0.04);
    overflow: hidden;
  }
  .ab-tabs {
    display: flex;
    background: var(--bone);
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 8px 0;
    gap: 4px;
  }
  .ab-tab {
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    font-size: var(--fs-eyebrow); font-weight: 600;
    color: var(--gray-500);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .ab-tab.active { background: var(--white); color: var(--navy); border: 1px solid var(--gray-200); border-bottom-color: var(--white); margin-bottom: -1px; }
  .ab-tab .ab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-300); }
  .ab-tab.active .ab-dot { background: var(--green); }

  .ab-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
  }
  .ab-chat {
    padding: 22px;
    border-right: 1px solid var(--gray-100);
    background: var(--white);
    display: flex; flex-direction: column;
    min-height: 460px;
  }
  .ab-msg {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: var(--fs-micro); line-height: 1.55;
    max-width: 88%;
  }
  .ab-msg.user {
    background: var(--blue-soft);
    color: var(--navy);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
  }
  .ab-msg.bot {
    background: var(--gray-100);
    color: var(--navy);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
  }
  .ab-msg .ab-msg-meta {
    font-size: var(--fs-tag); font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px;
  }
  .ab-msg.user .ab-msg-meta { color: var(--blue-dark); }
  .ab-msg .typing { display: inline-flex; gap: 3px; }
  .ab-msg .typing span {
    width: 5px; height: 5px;
    background: var(--gray-400); border-radius: 50%;
    animation: typing 1.4s var(--ease) infinite;
  }
  .ab-msg .typing span:nth-child(2) { animation-delay: 0.15s; }
  .ab-msg .typing span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes typing {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
  }
  .ab-input {
    margin-top: auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    color: var(--gray-400);
    font-size: var(--fs-micro);
  }
  .ab-input .ab-cursor {
    width: 1px; height: 14px;
    background: var(--blue);
    animation: blink 1s var(--ease) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  .ab-editor {
    background: var(--bone);
    padding: 22px;
    min-height: 460px;
  }
  .ab-editor-head {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.10em; text-transform: uppercase;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
  }
  .ab-node {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: center;
    transition: border-color var(--duration) var(--ease);
  }
  .ab-node:hover { border-color: var(--blue); }
  .ab-node.active { border-color: var(--blue); background: var(--blue-soft); }
  .ab-node-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    display: grid; place-items: center;
  }
  .ab-node.active .ab-node-icon { background: var(--blue); color: var(--white); }
  .ab-node-text { min-width: 0; }
  .ab-node-name { font-size: var(--fs-micro); font-weight: 700; color: var(--navy); letter-spacing: -0.005em; }
  .ab-node-meta { font-size: var(--fs-tag); color: var(--gray-500); margin-top: 2px; font-family: "JetBrains Mono", monospace; }
  .ab-node-status {
    font-size: var(--fs-tag); font-weight: 700;
    padding: 3px 7px; border-radius: 5px;
    background: var(--green-soft); color: var(--green-dark);
  }
  .ab-node-status.editing { background: var(--blue-soft); color: var(--blue-dark); animation: editing 1.6s var(--ease) infinite; }
  @keyframes editing { 50% { opacity: 0.5; } }

  .ab-connector { display: flex; justify-content: center; margin: -2px 0; }
  .ab-connector-line {
    width: 2px; height: 12px;
    background: var(--gray-300);
    border-radius: 1px;
  }

  .ab-example {
    margin-top: 36px;
    padding: 28px 32px;
    background: var(--bone);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: var(--fs-card);
    color: var(--gray-700);
    line-height: 1.65;
  }
  .ab-example strong { color: var(--navy); font-weight: 700; }
  .ab-example .ab-quote {
    display: block;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: var(--fs-lead);
    color: var(--navy);
    line-height: 1.5;
    margin: 14px 0 14px;
  }

  @media (max-width: 1024px) {
    .ab-shell { grid-template-columns: 1fr; gap: 40px; }
    .ab-body { grid-template-columns: 1fr; }
    .ab-chat { border-right: 0; border-bottom: 1px solid var(--gray-100); min-height: 320px; }
    .ab-editor { min-height: auto; }
  }

  /* ─────────── DEPLOYMENT MODELS (isolation ladder) ─────────── */
  .deploy-ladder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
  }
  .deploy-ladder::before {
    /* gradient progress bar at top showing isolation increase */
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 33%, var(--teal) 66%, var(--navy) 100%);
  }
  .deploy-rung {
    display: flex; flex-direction: column;
    padding: 36px 32px 32px;
    position: relative;
    transition: background var(--duration) var(--ease);
  }
  .deploy-rung:not(:last-child) { border-right: 1px dashed var(--gray-200); }
  .deploy-rung:hover { background: var(--bone); }

  .deploy-rung-step {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 22px;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--gray-500);
  }
  .deploy-rung-step .drs-num {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--white);
    font-size: var(--fs-tag);
  }
  .deploy-rung.managed .drs-num { background: var(--blue); }
  .deploy-rung.dedicated .drs-num { background: var(--teal); }
  .deploy-rung.vpc .drs-num { background: var(--navy); }

  .deploy-rung-iso {
    /* mini isolation visual: shared → dedicated → in-vpc */
    height: 96px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    border: 1px dashed var(--gray-200);
    background: var(--bone);
    display: grid; place-items: center;
  }
  .iso-perimeter {
    position: absolute; inset: 8px;
    border: 2px dashed transparent;
    border-radius: 10px;
  }
  .deploy-rung.vpc .iso-perimeter { border-color: var(--navy); }
  .iso-server {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    display: grid; place-items: center;
    color: var(--gray-500);
  }
  .iso-server svg { width: 18px; height: 18px; }
  .deploy-rung.managed .iso-vis {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    width: 100%;
  }
  .deploy-rung.managed .iso-server {
    border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark);
  }
  .deploy-rung.managed .iso-vis .iso-server.muted {
    border-color: var(--gray-300); background: var(--white); color: var(--gray-400);
    opacity: 0.6;
  }
  .deploy-rung.dedicated .iso-server {
    border-color: var(--teal); background: rgba(13,148,136,0.10); color: var(--teal);
    box-shadow: 0 0 0 6px rgba(13,148,136,0.10);
  }
  .deploy-rung.vpc .iso-server {
    border-color: var(--navy); background: rgba(10,22,40,0.06); color: var(--navy);
  }
  .iso-label {
    position: absolute; top: 8px; right: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--gray-500);
    background: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--gray-200);
    letter-spacing: 0.05em;
  }
  .deploy-rung.vpc .iso-label-perimeter {
    position: absolute; top: -1px; left: 8px;
    background: var(--white);
    padding: 2px 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
  }

  .deploy-rung .h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.22; letter-spacing: -0.018em; margin: 0 0 6px; }
  .deploy-rung-tag {
    font-size: var(--fs-eyebrow); font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 16px;
  }
  .deploy-rung.managed .deploy-rung-tag { color: var(--blue-dark); }
  .deploy-rung.dedicated .deploy-rung-tag { color: var(--teal); }
  .deploy-rung.vpc .deploy-rung-tag { color: var(--navy); }
  .deploy-rung .body { font-size: var(--fs-small); line-height: 1.6; margin: 0 0 22px; flex: 1; color: var(--gray-600); }
  .deploy-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; border-top: 1px dashed var(--gray-200); }
  .deploy-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 500;
    color: var(--gray-700);
    padding: 4px 8px;
    background: var(--gray-100);
    border-radius: 5px;
  }

  .deploy-foot {
    margin-top: 32px;
    padding: 28px 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex; align-items: center; gap: 20px;
    box-shadow: var(--shadow-sm);
  }
  .deploy-foot .df-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--green-soft); color: var(--green-dark);
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .deploy-foot p { margin: 0; font-size: var(--fs-small); color: var(--gray-700); line-height: 1.6; }
  .deploy-foot p strong { color: var(--navy); font-weight: 700; }

  @media (max-width: 980px) {
    .deploy-ladder { grid-template-columns: 1fr; }
    .deploy-rung:not(:last-child) { border-right: 0; border-bottom: 1px dashed var(--gray-200); }
  }

  /* ─────────── CONNECTORS / ECOSYSTEM ─────────── */
  .conn-shell {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .conn-cat {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px 24px 24px;
  }
  .conn-cat h4 { font-size: var(--fs-body); font-weight: 700; color: var(--navy); margin: 0 0 14px; letter-spacing: -0.012em; }
  .conn-cat-sub { font-size: var(--fs-micro); color: var(--gray-500); line-height: 1.55; margin: 0 0 18px; }
  .conn-list { display: flex; flex-wrap: wrap; gap: 5px; }
  .conn-pill {
    font-family: "JetBrains Mono", monospace;
    font-size: var(--fs-tag); font-weight: 600;
    color: var(--gray-700);
    padding: 5px 9px;
    background: var(--gray-100);
    border-radius: 6px;
  }

  .conn-foot {
    margin-top: 40px;
    padding: 24px 32px;
    background: var(--bone);
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: var(--fs-small);
    color: var(--gray-700);
    line-height: 1.6;
  }
  .conn-foot strong { color: var(--navy); font-weight: 700; }

  @media (max-width: 980px) { .conn-shell { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .conn-shell { grid-template-columns: 1fr; } }

/* Match homepage hero heading size */
.hero .h1 { font-size: clamp(44px, 5.2vw, 76px); }
