/* =====================================================================
   OnTask landing v3 — platform additions (2026-09-04)
   Loaded after style.css. Everything here is additive: the Intelligence
   Layer showcase, the Outsource marketplace, the fleet/deployment band,
   the hero "Ask OnTask" card, and the FAQ / feature-grid refinements.
   ===================================================================== */

:root {
    --violet-500: #8b5cf6;
    --violet-100: #ede9fe;
    --amber-500: #f59e0b;
    --rose-500: #f43f5e;
    --emerald-500: #10b981;
}

/* Anchor targets sit below the fixed nav */
section[id], .im-row[id] { scroll-margin-top: 84px; }

/* ---------- Scroll reveal (only when JS can reveal) ---------- */
html.js .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
    transition-delay: calc(var(--rv, 0) * 90ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .is-live .chat-msg, .is-live .srch-result, .is-live .mg-c, .is-live .story-bars i, .is-live .wf-bar i, .is-live .app-bar i { animation: none; }
    .srch-text::after, .chat-msg.typing .dot { animation: none; }
}

/* ---------- Hero: "Ask OnTask" card (same footprint as the old compliance card) ---------- */
.hv-ask .hv-comp-icon { background: linear-gradient(135deg, #6366f1, #06b6d4); }
.hv-ask-q {
    font-size: 10.5px; font-weight: 500; color: #334155; line-height: 1.4;
    background: #f1f5f9; padding: 7px 10px; border-radius: 10px 10px 10px 3px; margin-bottom: 8px;
}
.hv-ask-a {
    font-size: 10.5px; line-height: 1.45; color: #1e293b;
    background: linear-gradient(135deg, #eef2ff, #f0f9ff); border: 1px solid #e0e7ff;
    padding: 8px 10px; border-radius: 10px 10px 3px 10px; margin-bottom: 8px;
}
.hv-ask-a strong { color: #4338ca; }
.hv-ask-cites { display: flex; flex-wrap: wrap; gap: 5px; }
.hv-ask-cites span {
    font-size: 8.5px; font-weight: 600; color: #4338ca; background: #eef2ff;
    border: 1px solid #c7d2fe; padding: 2px 7px; border-radius: 20px; white-space: nowrap;
}
.hv-ask-cites span.more { color: #64748b; background: #fff; border-color: #e2e8f0; }

/* ---------- Intelligence Layer section ---------- */
.intel-section { position: relative; padding: 110px 0 30px; background: #fff; overflow: hidden; }
.intel-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.intel-bg::before, .intel-bg::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6;
}
.intel-bg::before { width: 760px; height: 760px; top: -260px; left: -220px; background: radial-gradient(circle, rgba(99,102,241,.22), transparent 65%); }
.intel-bg::after { width: 680px; height: 680px; bottom: -220px; right: -180px; background: radial-gradient(circle, rgba(6,182,212,.18), transparent 65%); }
.intel-section .container { position: relative; z-index: 1; }

.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -12px 0 84px; }
.pillar {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
    background: #fff; border: 1px solid var(--slate-200); border-radius: 50px;
    font-size: 14px; font-weight: 600; color: var(--slate-700); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--indigo-300); color: var(--indigo-700); }
.pillar-ic {
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; background: var(--pc, var(--indigo-500)); flex-shrink: 0;
}
.pillar-ic svg { width: 15px; height: 15px; }

.im-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; margin-bottom: 130px; }
.im-row:last-child { margin-bottom: 50px; }
.im-row.reverse .im-visual { order: -1; }
.im-text h2 { font-size: 36px; font-weight: 800; color: var(--slate-900); margin-bottom: 16px; letter-spacing: -.4px; }
.im-text > p { font-size: 16px; color: var(--slate-500); line-height: 1.7; margin-bottom: 22px; }
.im-visual { position: relative; }
.im-visual::before {
    content: ''; position: absolute; inset: 8% -5% -8% -5%; border-radius: 40px; z-index: 0;
    background: radial-gradient(60% 60% at 50% 50%, var(--glow, rgba(99,102,241,.2)), transparent 75%);
    filter: blur(28px);
}
.im-visual > * { position: relative; z-index: 1; }

/* App-window chrome shared by every mock-up */
.app-mock {
    background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 70px -22px rgba(15,23,42,.28), 0 4px 12px rgba(15,23,42,.05);
}
.app-mock-bar {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: var(--slate-50); border-bottom: 1px solid var(--slate-200); flex-wrap: wrap;
}
.mdots { display: flex; gap: 5px; }
.mdots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.mdots i:nth-child(1) { background: #f87171; }
.mdots i:nth-child(2) { background: #fbbf24; }
.mdots i:nth-child(3) { background: #34d399; }
.app-mock-title { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--slate-500); margin-left: 4px; }
.app-mock-chip {
    margin-left: auto; font-size: 11px; font-weight: 600; color: var(--indigo-700);
    background: var(--indigo-50); border: 1px solid var(--indigo-100); padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.app-mock-chip + .app-mock-chip { margin-left: 0; }
.app-mock-chip.muted { color: var(--slate-500); background: #fff; border-color: var(--slate-200); }
.app-mock-body { padding: 18px; }

/* --- Chat mock --- */
.chat-body { display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-end; }
.chat-msg.user { justify-content: flex-end; }
.is-live .chat-msg { animation: mockIn .5s ease both; }
.is-live .chat-msg:nth-child(1) { animation-delay: .1s; }
.is-live .chat-msg:nth-child(2) { animation-delay: .7s; }
.is-live .chat-msg:nth-child(3) { animation-delay: 2s; }
.is-live .chat-msg:nth-child(4) { animation-delay: 2.5s; }
@keyframes mockIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-avatar {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; color: #fff;
    background: linear-gradient(135deg, var(--indigo-500), var(--cyan-500));
    display: flex; align-items: center; justify-content: center;
}
.chat-bubble { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.55; color: var(--slate-700); }
.chat-msg.user .chat-bubble { background: var(--indigo-500); color: #fff; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-msg.ai .chat-bubble { background: var(--slate-50); border: 1px solid var(--slate-200); border-bottom-left-radius: 4px; }
.chat-bubble p { margin: 0 0 8px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul { margin: 0 0 8px 16px; padding: 0; }
.chat-bubble li { margin-bottom: 4px; }
.chat-bubble strong { color: var(--slate-900); }
.chat-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--slate-200); }
.chat-cites span {
    font-size: 11px; font-weight: 600; color: var(--indigo-700); background: var(--indigo-50);
    border: 1px solid var(--indigo-100); padding: 2px 9px; border-radius: 20px;
}
.chat-cites span.more { color: var(--slate-500); background: #fff; border-color: var(--slate-200); }
.chat-msg.typing .chat-bubble { display: flex; gap: 5px; padding: 14px 16px; }
.chat-msg.typing .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-400); animation: typing 1.2s infinite ease-in-out; }
.chat-msg.typing .dot:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.chat-input {
    display: flex; align-items: center; gap: 10px; margin: 0 18px 18px; padding: 8px 8px 8px 16px;
    border: 1px solid var(--slate-200); border-radius: 12px; background: #fff;
    font-size: 13px; color: var(--slate-400); box-shadow: var(--shadow-sm);
}
.chat-input span { flex: 1; }
.chat-input button {
    width: 34px; height: 34px; border-radius: 9px; border: none; background: var(--indigo-500); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: default; flex-shrink: 0;
}

/* --- Search mock --- */
.srch-box {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff;
    border: 2px solid var(--indigo-300); border-radius: 12px; box-shadow: 0 0 0 4px rgba(99,102,241,.08);
    font-size: 14px; font-weight: 500; color: var(--slate-800);
}
.srch-box svg { color: var(--indigo-500); flex-shrink: 0; }
.srch-text { flex: 1; }
.srch-text::after {
    content: ''; display: inline-block; width: 2px; height: 16px; background: var(--indigo-500);
    margin-left: 2px; vertical-align: -3px; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.srch-kbd { font-size: 11px; color: var(--slate-400); border: 1px solid var(--slate-200); border-radius: 6px; padding: 1px 7px; background: var(--slate-50); }
.srch-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-400); margin: 12px 2px; }
.srch-meta strong { color: var(--slate-700); }
.srch-result {
    display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--slate-200);
    border-radius: 12px; margin-bottom: 10px;
}
.srch-result:last-child { margin-bottom: 0; }
.is-live .srch-result { animation: mockIn .5s ease both; animation-delay: calc(.25s + var(--d, 0) * .3s); }
.srch-result.compact { padding: 10px 14px; }
.srch-result.dim { -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }
.srch-thumb { width: 132px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--slate-200); align-self: flex-start; }
.srch-thumb .screen-tile-content { border-radius: 0; }
.srch-info { flex: 1; min-width: 0; }
.srch-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.srch-top strong { font-size: 14px; color: var(--slate-900); }
.srch-top span { font-size: 12px; color: var(--slate-400); }
.srch-top .pill { margin-left: auto; }
.pill { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.pill.on { background: var(--green-100); color: var(--green-600); }
.srch-story { font-size: 13px; color: var(--slate-600); line-height: 1.5; margin: 0 0 8px; }
.srch-result.compact .srch-story { margin-bottom: 0; }
.srch-why {
    font-size: 12px; color: var(--indigo-700); background: var(--indigo-50); border-left: 3px solid var(--indigo-400);
    padding: 6px 10px; border-radius: 0 8px 8px 0; margin-bottom: 10px;
}
.srch-mins { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.srch-mins span {
    display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--slate-600);
    background: var(--slate-50); border: 1px solid var(--slate-200); padding: 3px 8px; border-radius: 6px;
}
.srch-mins span i { width: 34px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--indigo-500) calc(var(--s) * 100%), var(--slate-200) 0); }
.srch-mins em { font-size: 11px; color: var(--slate-400); font-style: normal; }
.srch-link { font-size: 12px; font-weight: 700; color: var(--indigo-600); }

/* --- Stories mock --- */
.story-ctl { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 2px; gap: 2px; }
.seg span { font-size: 11px; font-weight: 600; color: var(--slate-500); padding: 3px 9px; border-radius: 6px; }
.seg span.on { background: var(--indigo-500); color: #fff; }
.story-paper { padding: 26px 28px 22px; background: #fff; }
.story-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--indigo-600); margin-bottom: 8px; }
.story-headline {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 21px; font-weight: 800; color: var(--slate-900);
    line-height: 1.25; margin: 0 0 14px; letter-spacing: -.3px;
}
.story-h {
    font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate-400);
    margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--slate-100);
}
.story-paper p { font-size: 13px; line-height: 1.6; color: var(--slate-600); margin: 0; }
.story-bars { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; margin: 8px 0 6px; }
.story-bars i { display: block; height: 100%; width: var(--w); }
.is-live .story-bars i { animation: growBar 1.1s cubic-bezier(.4,0,.2,1) both; }
@keyframes growBar { from { width: 0; } }
.story-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--slate-500); }
.story-legend b { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.story-people { display: flex; flex-wrap: wrap; gap: 8px; }
.story-person {
    display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--slate-600);
    background: var(--slate-50); border: 1px solid var(--slate-200); padding: 4px 10px 4px 4px; border-radius: 30px;
}
.story-person i {
    width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 800; color: #fff; font-style: normal; flex-shrink: 0;
}
.story-paper ol { margin: 0; padding-left: 18px; font-size: 13px; color: var(--slate-600); line-height: 1.55; }
.story-paper ol li { margin-bottom: 4px; }
.story-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 18px; background: var(--slate-50); border-top: 1px solid var(--slate-200); }
.story-foot span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--slate-200); background: #fff; color: var(--slate-600); }
.story-foot span.primary { background: var(--indigo-500); border-color: var(--indigo-500); color: #fff; }
.story-foot span.gen { margin-left: auto; color: var(--slate-400); font-size: 11px; border: none; background: none; padding: 0; font-weight: 500; }

/* --- Process Intelligence mock --- */
.pi-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.pi-kpi { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px; padding: 10px 12px; }
.pi-kpi-l { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--slate-400); }
.pi-kpi-v {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: var(--slate-900);
    font-variant-numeric: tabular-nums; line-height: 1.2;
}
.pi-kpi-v small { font-size: 12px; color: var(--slate-400); font-weight: 600; }
.pi-panel { border: 1px solid var(--slate-200); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.pi-two .pi-panel { margin-bottom: 0; }
.pi-panel-h {
    display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate-500); margin-bottom: 10px;
}
.pi-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10px; color: var(--slate-500); text-transform: none; letter-spacing: 0; font-weight: 500; }
.pi-legend b { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.mg { display: flex; flex-direction: column; gap: 4px; }
.mg-row { display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: center; }
.mg-h { font-size: 10px; color: var(--slate-400); font-variant-numeric: tabular-nums; text-align: right; }
.mg-cells { display: grid; grid-template-columns: repeat(60, 1fr); gap: 1.5px; }
.mg-c { aspect-ratio: 1; min-width: 0; border-radius: 1.5px; background: var(--slate-100); }
.is-live .mg-c { animation: cellIn .35s ease both; animation-delay: calc(var(--d) * 5ms); }
@keyframes cellIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.mg-c.on { background: #10b981; }
.mg-c.prob { background: #6ee7b7; }
.mg-c.unc { background: #fbbf24; }
.mg-c.off { background: #f43f5e; }
.mg-c.wait { background: #cbd5e1; }
.mg-c.none { background: var(--slate-100); }
.pi-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.wf-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; margin-bottom: 9px; font-size: 12px; }
.wf-row:last-child { margin-bottom: 0; }
.wf-name { font-weight: 600; color: var(--slate-700); }
.wf-meta { font-size: 11px; color: var(--slate-400); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wf-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--slate-100); overflow: hidden; }
.wf-bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--indigo-500), var(--cyan-500)); }
.is-live .wf-bar i { animation: growBar 1.2s cubic-bezier(.4,0,.2,1) both; }
.app-row { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 9px; }
.app-row:last-child { margin-bottom: 0; }
.app-row b { width: 60px; font-weight: 600; color: var(--slate-700); flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--slate-100); overflow: hidden; }
.app-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--c, var(--indigo-500)); }
.is-live .app-bar i { animation: growBar 1.2s ease both; }
.app-row span { width: 34px; text-align: right; font-size: 11px; color: var(--slate-400); font-variant-numeric: tabular-nums; }

/* ---------- Feature tile grid refinements ---------- */
.feature-tile { position: relative; }
.tile-new {
    position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: 1px;
    color: var(--indigo-700); background: var(--indigo-50); border: 1px solid var(--indigo-200); padding: 2px 8px; border-radius: 20px;
}
.features-deep { background: #fff; }

/* ---------- Outsource marketplace ---------- */
.outsource-section { padding: 100px 0; background: var(--slate-50); }
.os-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.os-note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--slate-500); margin-top: 4px; }
.os-note svg { flex-shrink: 0; color: var(--indigo-500); }
.os-mock .app-mock-body { padding: 0; }
.os-search {
    display: flex; align-items: center; gap: 10px; margin: 14px 14px 0; padding: 10px 14px;
    border: 1.5px solid var(--indigo-200); border-radius: 12px; background: #fff;
    font-size: 13px; color: var(--slate-800); font-weight: 500; box-shadow: 0 0 0 4px rgba(99,102,241,.06);
}
.os-search svg { color: var(--indigo-500); flex-shrink: 0; }
.os-search em { font-style: normal; margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; color: var(--green-600); background: var(--green-100); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.os-layout { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px; }
.os-rail h5 { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate-400); margin: 0 0 8px; }
.os-rail h5 + .os-facet ~ h5 { margin-top: 14px; }
.os-rail .os-rail-gap { height: 12px; }
.os-facet { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--slate-600); padding: 4px 6px; border-radius: 6px; margin-bottom: 2px; }
.os-facet.on { background: var(--indigo-50); color: var(--indigo-700); font-weight: 600; }
.os-facet small { color: var(--slate-400); font-variant-numeric: tabular-nums; }
.os-cards { display: flex; flex-direction: column; gap: 10px; }
.os-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
    padding: 12px; border: 1px solid var(--slate-200); border-radius: 12px; background: #fff; transition: var(--transition);
}
.os-card:hover { border-color: var(--indigo-300); box-shadow: var(--shadow-md); }
.os-avatar { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff; }
.os-name { font-size: 13.5px; font-weight: 700; color: var(--slate-900); }
.os-name small { display: inline-block; white-space: nowrap; font-weight: 500; color: var(--slate-400); font-size: 11px; margin-left: 6px; }
.os-tag { font-size: 12px; color: var(--slate-500); margin: 2px 0 6px; line-height: 1.4; }
.os-skills { display: flex; flex-wrap: wrap; gap: 4px; }
.os-skills span { font-size: 10.5px; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); padding: 2px 7px; border-radius: 6px; }
.os-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.os-match { font-size: 11px; font-weight: 800; color: var(--green-600); background: var(--green-100); padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.os-price { font-size: 11.5px; color: var(--slate-500); white-space: nowrap; }
.os-price b { color: var(--slate-900); font-size: 14px; }
.os-btn { font-size: 10.5px; font-weight: 800; letter-spacing: .8px; color: var(--indigo-700); border: 1.5px solid var(--indigo-200); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.os-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.os-step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); transition: var(--transition); }
.os-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--indigo-300); }
.os-step-n {
    width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 14px;
    background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600)); box-shadow: 0 6px 16px rgba(99,102,241,.3);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.os-step h4 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.os-step p { font-size: 13.5px; color: var(--slate-500); line-height: 1.6; }

/* ---------- Deployment / fleet band ---------- */
.deploy-section { padding: 100px 0; background: var(--slate-900); color: #fff; position: relative; overflow: hidden; }
.deploy-section::before {
    content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; top: -520px; left: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99,102,241,.22), transparent 65%); pointer-events: none;
}
.deploy-section .section-label { color: var(--indigo-400); }
.deploy-section .section-title { color: #fff; }
.deploy-section .highlight { color: var(--indigo-400); }
.deploy-section .section-subtitle { color: var(--slate-400); }
.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.deploy-card { padding: 30px 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); transition: var(--transition); }
.deploy-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); border-color: rgba(129,140,248,.4); }
.deploy-ic {
    width: 48px; height: 48px; border-radius: 12px; color: var(--indigo-300);
    background: rgba(99,102,241,.18); border: 1px solid rgba(129,140,248,.3);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.deploy-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.deploy-card p { font-size: 14px; color: var(--slate-400); line-height: 1.65; }
.deploy-card .modes { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.deploy-card .modes li { font-size: 12.5px; color: var(--slate-300); display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.deploy-card .modes li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-400); margin-top: 6px; flex-shrink: 0; }
.deploy-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 13.5px; color: var(--slate-400); position: relative; }
.deploy-strip span { display: flex; align-items: center; gap: 8px; }
.deploy-strip svg { color: var(--green-500); flex-shrink: 0; }

/* ---------- FAQ: two columns, room for longer answers ---------- */
.faq-section { background: #fff; }
.faq-grid { max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq-item.open .faq-answer { max-height: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .im-row, .im-row.reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 90px; }
    .im-row.reverse .im-visual { order: 0; }
    .im-text h2 { font-size: 30px; }
    .os-grid { grid-template-columns: 1fr; gap: 40px; }
    .deploy-grid { grid-template-columns: repeat(2, 1fr); }
    .os-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .intel-section { padding-top: 80px; }
    .pillars { margin-bottom: 56px; }
    .pillar { font-size: 13px; }
    .app-mock-chip.muted { display: none; }
    .srch-result { flex-direction: column; }
    .srch-thumb { width: 100%; }
    .pi-kpis { grid-template-columns: repeat(2, 1fr); }
    .pi-two { grid-template-columns: 1fr; }
    .mg-cells { gap: 1px; }
    .story-paper { padding: 20px; }
    .story-headline { font-size: 18px; }
    .os-layout { grid-template-columns: 1fr; }
    .os-rail { display: none; }
    .deploy-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .os-steps { grid-template-columns: 1fr; }
    .os-card { grid-template-columns: auto 1fr; }
    .os-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .chat-bubble { max-width: 100%; }
    .story-ctl { width: 100%; }
}
