/*
 * Author: Andrey Morozov
 * Confidential. Proprietary and confidential. Unauthorized copying or distribution is prohibited.
 *
 * IAM.Bot landing theme — the complete visual system for iambot.ru.
 *
 * Holds the self-hosted font faces, design tokens, canvas, typography, buttons,
 * chips, topbar, sections, cards, tables, FAQ, footer and the responsive layer
 * shared by every page of the landing (home and /pricing/). Extracted from the
 * home page so a second page cannot drift from the brand.
 *
 * Out of scope: the shared cross-product design system (../shared/styles.css),
 * the chat widget stylesheet and any application UI — those stay in their own
 * files and load before this one.
 */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/shared/fonts/inter-450-cyrillic.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/shared/fonts/inter-450-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/shared/fonts/inter-450-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/shared/fonts/jetbrainsmono-400-cyrillic.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/shared/fonts/jetbrainsmono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/shared/fonts/jetbrainsmono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; }

:root {
  --iam-canvas: #0a1020; --iam-canvas-deep: #060a16;
  --iam-stroke: rgba(155,180,230,0.10); --iam-stroke-strong: rgba(155,180,230,0.18); --iam-stroke-bright: rgba(180,200,240,0.28); --iam-divider: rgba(120,150,200,0.08);
  --iam-ink: #e6ecf7; --iam-ink-mute: #a6b1c8; --iam-ink-dim: #6b7794; --iam-ink-faint: #4a5573;
  --iam-cta: #ff8a3d; --iam-cta-hi: #ffa564; --iam-cta-lo: #e26d20; --iam-cta-ink: #1a0d04;
  --iam-success: #33c98a; --iam-warning: #f5a623; --iam-danger: #f2566c;
  --bot-accent: #8b5cf6; --bot-accent-hi: #a78bfa; --bot-accent-lo: #7c3aed;
  --bot-cyan: #77d8ff; --bot-lime: #dbff79;
  --font-sans: 'Inter', system-ui, sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-pill: 999px;
  --shadow-glass: 0 1px 0 rgba(255,255,255,0.04) inset, 0 0 0 1px var(--iam-stroke), 0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-lift: 0 20px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--iam-stroke);
  --shadow-cta: 0 10px 30px -10px rgba(255,138,61,0.45), 0 0 0 1px rgba(255,138,61,0.3);
  --ease-out-soft: cubic-bezier(.2,.65,.2,1); --t-fast: 150ms; --t-base: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--iam-canvas); color: var(--iam-ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(139,92,246,0.35); color: #fff; }
img, svg { display: block; max-width: 100%; }

.iam-canvas { position: relative; min-height: 100vh;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 55%),
    radial-gradient(700px 400px at 15% 60%, rgba(119, 216, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #100a26 0%, #080a1a 60%, #060a16 100%);
}
.iam-canvas::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); position: relative; z-index: 1; }
.container-wide { max-width: 1320px; }

.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iam-ink-dim); font-weight: 500; display: inline-flex; align-items: center; gap: var(--sp-2); }
.eyebrow::before { content: ''; width: 14px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow-bot { color: var(--bot-accent-hi); }
.mono { font-family: var(--font-mono); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; color: var(--iam-ink); text-wrap: balance; }
.h-display { font-size: clamp(48px, 7vw, 88px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -0.028em; }
.h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.12; letter-spacing: -0.022em; }
.h3 { font-size: clamp(22px, 2vw, 32px); line-height: 1.2; letter-spacing: -0.015em; }
.lede { font-size: 21px; line-height: 1.5; color: var(--iam-ink-mute); max-width: 56ch; text-wrap: pretty; }

.glass { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)), rgba(14,22,42,0.55); border: 1px solid var(--iam-stroke); border-radius: var(--r-lg); backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow-glass); }
.glass-strong { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(20,30,56,0.7); border: 1px solid var(--iam-stroke-strong); border-radius: var(--r-xl); backdrop-filter: blur(24px) saturate(160%); box-shadow: var(--shadow-lift); }

.btn { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 14px 22px; border-radius: var(--r-md); font-weight: 500; font-size: 15px; transition: all var(--t-base) var(--ease-out-soft); white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, var(--iam-cta-hi), var(--iam-cta-lo)); color: var(--iam-cta-ink); font-weight: 600; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.025); color: var(--iam-ink); border: 1px solid var(--iam-stroke-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--iam-stroke-bright); }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: var(--r-sm); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 11px; color: var(--iam-ink-mute); background: rgba(255,255,255,0.03); border: 1px solid var(--iam-stroke); white-space: nowrap; }
.chip-bot { color: var(--bot-accent-hi); border-color: rgba(139,92,246,0.35); background: rgba(139,92,246,0.10); }
.chip-cyan { color: var(--bot-cyan); border-color: rgba(119,216,255,0.30); background: rgba(119,216,255,0.08); }
.chip-lime { color: var(--bot-lime); border-color: rgba(219,255,121,0.30); background: rgba(219,255,121,0.06); }
.chip-success { color: var(--iam-success); border-color: rgba(51,201,138,0.25); background: rgba(51,201,138,0.08); }

.topbar { position: sticky; top: 0; left: auto; width: 100%; transform: none; display: block; z-index: 50; padding: var(--sp-4) 0; background: rgba(8,14,28,0.55); backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid var(--iam-stroke); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.topbar-nav { display: flex; align-items: center; gap: var(--sp-6); font-size: 14px; color: var(--iam-ink-mute); }
.topbar-nav a:hover { color: var(--iam-ink); }
.topbar-cta { display: flex; align-items: center; gap: var(--sp-3); }
.iam-logo { display: inline-flex; align-items: center; color: var(--iam-ink); }
.iam-logo svg { display: block; height: 32px; width: auto; }

section { position: relative; padding: var(--sp-24) 0; z-index: 1; }
.section-head { margin-bottom: var(--sp-12); max-width: 760px; }
.section-head .eyebrow { margin-bottom: var(--sp-4); }
.section-head .h2 { margin-bottom: var(--sp-4); }

/* Hero */
.hero-bot { padding: var(--sp-20) 0 var(--sp-12); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-6) 0; }
.hero-cta-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-meta { margin-top: var(--sp-8); display: flex; gap: var(--sp-6); font-family: var(--font-mono); font-size: 13px; color: var(--iam-ink-mute); flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bot-lime); box-shadow: 0 0 8px var(--bot-lime); }

/* Metric pills (hero) */
.metric-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.30); font-family: var(--font-mono); font-size: 12px; color: var(--bot-accent-hi); }

/* Chat widget — hero artefact */
.chat-frame { padding: 0; overflow: hidden; box-shadow: var(--shadow-lift), 0 0 100px -20px rgba(139,92,246,0.35); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--iam-divider); background: rgba(8,14,28,0.55); }
.chat-head .avatar { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--bot-accent), var(--bot-accent-lo)); display: grid; place-items: center; color: white; font-weight: 600; font-family: var(--font-mono); font-size: 13px; }
.chat-head .title { font-size: 14px; color: var(--iam-ink); font-weight: 500; }
.chat-head .status { font-family: var(--font-mono); font-size: 11px; color: var(--iam-success); display: inline-flex; align-items: center; gap: 5px; }
.chat-head .status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse-soft 2s ease-in-out infinite; }
@keyframes pulse-soft { 50% { opacity: 0.5; } }
.chat-head .meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--iam-ink-dim); }

.chat-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); min-height: 380px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.bubble.user { background: rgba(119,216,255,0.10); border: 1px solid rgba(119,216,255,0.22); color: var(--iam-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.bot { background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.25); color: var(--iam-ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble .citation { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 3px 8px; border-radius: var(--r-xs); background: rgba(119,216,255,0.10); border: 1px solid rgba(119,216,255,0.25); color: var(--bot-cyan); font-family: var(--font-mono); font-size: 11px; }
.bubble .citation svg { width: 11px; height: 11px; }
.bubble .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.bubble .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--bot-accent-hi); animation: typing 1.2s ease-in-out infinite; }
.bubble .typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-foot { padding: var(--sp-3) var(--sp-5) var(--sp-5); border-top: 1px solid var(--iam-divider); }
.chat-input { display: flex; align-items: center; gap: var(--sp-3); padding: 10px 14px; background: rgba(8,14,28,0.7); border: 1px solid var(--iam-stroke-strong); border-radius: var(--r-md); }
.chat-input input { flex: 1; background: none; border: none; color: var(--iam-ink); font-size: 14px; outline: none; }
.chat-input input::placeholder { color: var(--iam-ink-dim); }
.chat-input button { width: 32px; height: 32px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--bot-accent), var(--bot-accent-lo)); color: white; display: grid; place-items: center; }
.chat-input button svg { width: 16px; height: 16px; }
.chat-funnel { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 10px; color: var(--iam-ink-dim); flex-wrap: wrap; align-items: center; }
.chat-funnel .stage { padding: 3px 7px; border-radius: var(--r-xs); background: rgba(255,255,255,0.03); border: 1px solid var(--iam-stroke); letter-spacing: 0.04em; text-transform: uppercase; }
.chat-funnel .stage.active { color: var(--bot-accent-hi); background: rgba(139,92,246,0.10); border-color: rgba(139,92,246,0.30); }
.chat-funnel .arrow { color: var(--iam-ink-faint); }

/* Floating launcher (always-on proof element) */
.chat-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 100; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--bot-accent), var(--bot-accent-lo)); display: grid; place-items: center; color: white; box-shadow: 0 12px 40px -10px rgba(139,92,246,0.6), 0 0 0 1px rgba(139,92,246,0.4); cursor: pointer; transition: transform var(--t-base) var(--ease-out-soft); }
.chat-launcher:hover { transform: translateY(-2px) scale(1.04); }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-launcher .unread { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--iam-cta); color: var(--iam-cta-ink); font-family: var(--font-mono); font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--iam-canvas); }

/* Embed snippet */
.embed-frame { padding: var(--sp-8); }
.embed-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); background: rgba(8,14,28,0.7); border: 1px solid var(--iam-stroke); border-radius: var(--r-md); font-family: var(--font-mono); font-size: 13px; line-height: 1.55; word-break: break-all; }
.embed-row .code { flex: 1; color: var(--iam-ink); }
.embed-row .code .k { color: var(--bot-accent-hi); }
.embed-row .code .s { color: var(--bot-cyan); }
.embed-row .copy { padding: 8px 14px; background: rgba(139,92,246,0.12); color: var(--bot-accent-hi); border: 1px solid rgba(139,92,246,0.30); border-radius: var(--r-sm); font-size: 12px; font-family: var(--font-mono); flex-shrink: 0; }
.embed-row .copy:hover { background: rgba(139,92,246,0.20); }

/* Funnel stage strip (standalone, larger) */
.funnel-strip { padding: var(--sp-6); }
.funnel-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); }
.funnel-stage { padding: var(--sp-4) var(--sp-3); border-radius: var(--r-md); background: rgba(255,255,255,0.025); border: 1px solid var(--iam-stroke); text-align: center; position: relative; }
.funnel-stage .num { font-family: var(--font-mono); font-size: 10px; color: var(--iam-ink-dim); letter-spacing: 0.1em; margin-bottom: 4px; }
.funnel-stage .id { font-family: var(--font-mono); font-size: 12.5px; color: var(--iam-ink); margin-bottom: 4px; }
.funnel-stage .desc { font-size: 11.5px; color: var(--iam-ink-dim); line-height: 1.4; }
.funnel-stage.active { background: rgba(139,92,246,0.10); border-color: rgba(139,92,246,0.35); }
.funnel-stage.active .id { color: var(--bot-accent-hi); font-weight: 500; }
.funnel-stage.complete { background: rgba(51,201,138,0.06); border-color: rgba(51,201,138,0.25); }
.funnel-stage.complete .id { color: var(--iam-success); }
.funnel-stage::after { content: '→'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); color: var(--iam-ink-dim); }
.funnel-stage:last-child::after { display: none; }

/* Value cards */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.value-card { padding: var(--sp-6); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)); border: 1px solid var(--iam-stroke); transition: all var(--t-base); }
.value-card:hover { border-color: var(--iam-stroke-strong); transform: translateY(-2px); }
.value-card .vc-tag { font-family: var(--font-mono); font-size: 11px; color: var(--bot-accent-hi); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.value-card h4 { font-size: 19px; margin-bottom: var(--sp-3); }
.value-card p { margin: 0; color: var(--iam-ink-mute); font-size: 14px; line-height: 1.6; }
.value-card .vc-metric { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--iam-divider); font-family: var(--font-mono); font-size: 12px; color: var(--iam-ink); }

/* Lead capture card mock */
.lead-card { padding: var(--sp-6); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(51,201,138,0.06), rgba(51,201,138,0.02)); border: 1px solid rgba(51,201,138,0.25); }
.lead-card .lc-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 1px solid rgba(51,201,138,0.15); }
.lead-card .lc-head .ico { width: 24px; height: 24px; border-radius: var(--r-sm); background: rgba(51,201,138,0.15); display: grid; place-items: center; color: var(--iam-success); }
.lead-card .lc-head .ico svg { width: 12px; height: 12px; }
.lead-card .lc-head .label { font-family: var(--font-mono); font-size: 11px; color: var(--iam-success); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.lead-card .lc-head .dest { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--iam-ink-mute); }
.lead-row { display: grid; grid-template-columns: 110px 1fr; gap: var(--sp-3); padding: 6px 0; font-size: 13px; }
.lead-row .k { font-family: var(--font-mono); font-size: 11px; color: var(--iam-ink-dim); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.lead-row .v { color: var(--iam-ink); }
.lead-row .v.mono { font-family: var(--font-mono); font-size: 12.5px; }
.lead-row .v.dim { color: var(--iam-ink-mute); }

/* How-it-works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

/* Security guards */
.guards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.guard-card { padding: var(--sp-6); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005)); border: 1px solid var(--iam-stroke); }
.guard-card .gc-icon { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; margin-bottom: var(--sp-3); background: rgba(139,92,246,0.10); color: var(--bot-accent-hi); border: 1px solid rgba(139,92,246,0.25); }
.guard-card .gc-icon svg { width: 18px; height: 18px; }
.guard-card h4 { font-size: 17px; margin-bottom: var(--sp-2); }
.guard-card p { margin: 0; color: var(--iam-ink-mute); font-size: 13.5px; line-height: 1.55; }

/* Integrations */
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.integration-tile { padding: var(--sp-5); border-radius: var(--r-md); background: rgba(255,255,255,0.025); border: 1px solid var(--iam-stroke); text-align: center; transition: all var(--t-fast); }
.integration-tile:hover { border-color: var(--iam-stroke-strong); background: rgba(255,255,255,0.04); }
.integration-tile .it-name { font-family: var(--font-mono); font-size: 13px; color: var(--iam-ink); margin-bottom: 4px; font-weight: 500; }
.integration-tile .it-cat { font-family: var(--font-mono); font-size: 10px; color: var(--iam-ink-dim); letter-spacing: 0.08em; text-transform: uppercase; }

/* FAQ */
.faq-list { border-top: 1px solid var(--iam-divider); }
.faq-item { border-bottom: 1px solid var(--iam-divider); }
.faq-q { padding: var(--sp-5) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); cursor: pointer; font-size: 16px; font-weight: 500; color: var(--iam-ink); transition: color var(--t-fast); }
.faq-q:hover { color: var(--bot-accent-hi); }
.faq-q .faq-plus { width: 22px; height: 22px; display: grid; place-items: center; color: var(--iam-ink-dim); flex-shrink: 0; transition: transform var(--t-base) var(--ease-out-soft); }
.faq-q .faq-plus svg { width: 14px; height: 14px; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 var(--sp-12) var(--sp-5) 0; color: var(--iam-ink-mute); font-size: 14.5px; line-height: 1.65; max-width: 70ch; }
summary { list-style: none; } summary::-webkit-details-marker { display: none; }

/* Final CTA */
.final-cta { text-align: center; padding: var(--sp-20) var(--sp-6); border-radius: var(--r-2xl);
  background: radial-gradient(700px 300px at 50% 0%, rgba(139,92,246,0.22), transparent 60%), linear-gradient(180deg, rgba(139,92,246,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(139,92,246,0.30);
}

/* Footer */
.iam-footer { padding: var(--sp-16) 0 var(--sp-12); border-top: 1px solid var(--iam-divider); margin-top: var(--sp-16); }
.iam-footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-8); margin-bottom: var(--sp-12); }
.iam-footer h6 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--iam-ink-dim); margin: 0 0 var(--sp-4); font-weight: 500; }
.iam-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.iam-footer ul a { color: var(--iam-ink-mute); font-size: 14px; transition: color var(--t-fast); }
.iam-footer ul a:hover { color: var(--iam-ink); }
.iam-footer .footer-bottom { padding-top: var(--sp-6); border-top: 1px solid var(--iam-divider); display: flex; justify-content: space-between; font-size: 13px; color: var(--iam-ink-dim); flex-wrap: wrap; gap: var(--sp-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media (max-width: 1000px) {
  .hero-split, .how-grid { grid-template-columns: 1fr; }
  .funnel-stages, .value-grid, .guards-grid, .integrations-grid { grid-template-columns: 1fr 1fr; }
  .funnel-stage::after { display: none; }
  section { padding: var(--sp-16) 0; }
  .iam-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .chat-launcher { right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  .funnel-stages, .value-grid, .guards-grid, .integrations-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr !important; gap: var(--sp-6) !important; }
}

/* ── Responsive layer ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split, .workspace-row, .pipe-flow, .scenario, .solution-block,
  .hero-row, .compare-table, .compare-row { grid-template-columns: 1fr !important; }
  .grid-3, .grid-2, .grid-4, .pillars-grid, .mcp-grid, .price-strip,
  .fan-grid, .drift-row, .footer-grid, .pipeline-flow { grid-template-columns: 1fr 1fr !important; }
  .container, .container-wide { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 768px) {
  .topbar-nav { display: none !important; }
  .topbar-cta a.btn-ghost,
  .topbar-cta a:not(.btn-primary):not(.iam-logo) { display: none !important; }
  .topbar-cta { gap: 6px !important; }
  .topbar-cta .btn { padding: 6px 10px !important; font-size: 12px !important; }
  .iam-logo svg, .brand svg, .brand-svg { height: 22px !important; }
  .h-display, h1.h-display, .hero h1, .hero-split h1 { font-size: clamp(28px, 8vw, 38px) !important; line-height: 1.1 !important; }
  .h2, h2.h2, section h2 { font-size: clamp(22px, 6.5vw, 28px) !important; }
  .lede, .hero p, .hero-text p { font-size: 15px !important; line-height: 1.5 !important; }
  .eyebrow { font-size: 10px !important; }
  .hero-meta, .hero-meta-row, .hero-pills, .hero-chips, .hero-cta-row { flex-wrap: wrap !important; gap: 8px !important; }
  .hero-meta-row > div, .hero-meta > span { flex: 1 1 calc(50% - 4px) !important; min-width: 0 !important; }
  .hero-cta-row .btn { width: 100% !important; justify-content: center !important; }
  .container, .container-wide { padding-left: 16px !important; padding-right: 16px !important; }
  section, .section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .grid-3, .grid-2, .grid-4, .pillars-grid, .mcp-grid, .price-strip,
  .fan-grid, .drift-row, .footer-grid, .pipeline-flow, .pipe-flow,
  .stack-grid, .compare-grid, .feature-grid, .scenario-grid { grid-template-columns: 1fr !important; }
  .footer-grid { gap: 24px !important; }
  .iam-footer .footer-bottom { flex-direction: column !important; gap: 8px !important; text-align: center !important; }
  .section-head { padding-bottom: 24px !important; margin-bottom: 24px !important; }
  .compare-grid, .pricing-grid { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
}
@media (max-width: 540px) {
  .topbar { height: 56px !important; }
  .topbar-inner { padding: 0 12px !important; }
  .topbar-cta .btn { padding: 6px 10px !important; font-size: 11px !important; }
  .h-display, h1.h-display, .hero h1, .hero-split h1 { font-size: 30px !important; letter-spacing: -0.02em !important; }
  .h2 { font-size: 22px !important; }
  .hero-cta-row { flex-direction: column !important; }
  .hero-cta-row .btn { width: 100% !important; }
}
@media (max-width: 480px) {
  .container, .container-wide { padding-left: 14px !important; padding-right: 14px !important; }
  .h-display, h1.h-display { font-size: 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-burger, .sidebar { transition: none !important; }
}
.mobile-burger svg { display: block; }
