@font-face { font-family: Inter; src: url(/assets/inter-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: JBM; src: url(/assets/jetbrains-mono-latin-wght.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #08080a; --bg-1: #0d0d10; --bg-2: #121216; --bg-3: #18181d;
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12); --line-3: rgba(255,255,255,.2);
  --text: #ededef; --text-2: #a1a1aa; --text-3: #6b6b74;
  --violet: #8b5cf6; --violet-2: #a78bfa; --violet-3: #c4b5fd; --violet-bg: rgba(139,92,246,.12);
  --green: #4ade80; --blue: #60a5fa; --amber: #fbbf24; --red: #f87171; --pink: #f472b6;
  --r: 10px; --r-lg: 16px; --r-xl: 22px;
  --mono: JBM, ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --w: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(139,92,246,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
code, pre, .mono { font-family: var(--mono); }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.3; }
.lead { font-size: 18px; color: var(--text-2); max-width: 620px; line-height: 1.6; }
.muted { color: var(--text-2); }
.grad { background: linear-gradient(180deg, #fff 20%, #a1a1aa 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-v { background: linear-gradient(92deg, #c4b5fd, #8b5cf6 45%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- background ---------- */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); opacity: .55; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn { --h: 42px; display: inline-flex; align-items: center; gap: 9px; height: var(--h); padding: 0 18px; border-radius: 10px; font: 500 14.5px/1 var(--sans); letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: #f4f4f5; color: #0b0b0c; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 8px 30px -8px rgba(167,139,250,.55); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px #fff inset, 0 12px 40px -8px rgba(167,139,250,.75); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--line-3); transform: translateY(-1px); }
.btn-sm { --h: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 8px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,8,10,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.logo img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.gh-stars { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-in { justify-content: space-between; } .nav-right .btn-ghost { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 0; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; left: 50%; top: -280px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139,92,246,.32), rgba(139,92,246,.08) 55%, transparent); filter: blur(10px); pointer-events: none; }
.hero-glow-2 { position: absolute; left: 50%; top: 560px; width: 1400px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139,92,246,.22), transparent 70%); pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13px; color: var(--text-2); transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--line-3); background: rgba(255,255,255,.05); }
.pill b { font: 500 11px/1 var(--mono); color: var(--violet-3); background: var(--violet-bg); border: 1px solid rgba(139,92,246,.35); padding: 4px 8px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(46px, 8vw, 96px); margin: 28px auto 0; max-width: 960px; letter-spacing: -.05em; line-height: .98; }
.hero .lead { margin: 26px auto 0; font-size: clamp(16px, 1.6vw, 19px); }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; justify-content: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; font: 12.5px/1 var(--mono); color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.stage { position: relative; margin: 80px auto 0; max-width: 1220px; perspective: 2000px; padding: 0 24px; }
.frame { position: relative; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); padding: 1px; box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6), 0 -20px 120px -40px rgba(139,92,246,.6); transform-origin: 50% 0%; will-change: transform; }
.frame-in { border-radius: 15px; overflow: hidden; background: #0b0b0c; }
.chrome { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #111114; border-bottom: 1px solid var(--line); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a30; }
.chrome .url { margin: 0 auto; font: 12px/1 var(--mono); color: var(--text-3); background: #0b0b0c; border: 1px solid var(--line); padding: 6px 60px; border-radius: 7px; display: flex; gap: 8px; align-items: center; }
.chrome .url svg { width: 11px; height: 11px; color: var(--green); }
.stage-fade { position: absolute; left: 0; right: 0; bottom: -2px; height: 45%; background: linear-gradient(transparent, var(--bg) 92%); pointer-events: none; z-index: 2; }

.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 12px; background: rgba(18,18,22,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 13px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); text-align: left; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float small { display: block; font: 11px/1.3 var(--mono); color: var(--text-3); margin-top: 2px; }
.float .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 17px; height: 17px; }
.f1 { left: -10px; top: 26%; animation-delay: -1s; }
.f2 { right: -16px; top: 14%; animation-delay: -3s; }
.f3 { right: 4%; top: 58%; animation-delay: -4.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .float { display: none; } }

/* ---------- logos ---------- */
.platforms { padding: 36px 0 10px; position: relative; z-index: 3; }
.platforms p { text-align: center; font: 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 28px; }
.plat-row { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; align-items: center; }
.plat { display: flex; align-items: center; gap: 11px; color: var(--text-2); font-weight: 500; font-size: 16px; letter-spacing: -.02em; transition: color .25s; }
.plat svg { width: 24px; height: 24px; transition: transform .3s var(--ease), color .25s; }
.plat:hover { color: var(--text); }
.plat:hover svg { transform: scale(1.12); }
.plat[data-c="yt"]:hover svg { color: #ff0033; } .plat[data-c="fb"]:hover svg { color: #0866ff; } .plat[data-c="ig"]:hover svg { color: #e1306c; } .plat[data-c="li"]:hover svg { color: #0a66c2; } .plat[data-c="x"]:hover svg { color: #fff; }

/* ---------- stats ---------- */
.stats { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat .n { font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat .n small { font-size: .45em; color: var(--text-2); font-weight: 500; letter-spacing: -.02em; }
.stat .l { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.stat .k { position: absolute; top: 16px; right: 18px; font: 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; }
@media (max-width: 860px) { .stat { padding: 24px 20px; } .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 140px 0 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 20px; }
.sec-head .lead { margin-top: 20px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- composer demo ---------- */
.composer { margin-top: 64px; display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-1); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.cmp-l { padding: 28px; border-right: 1px solid var(--line); }
.cmp-r { padding: 28px; background: linear-gradient(180deg, rgba(139,92,246,.05), transparent 60%); }
.lbl { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; display: flex; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; transition: all .18s; }
.chip .av { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #1f1f25; }
.chip .av svg { width: 13px; height: 13px; }
.chip.on { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.12); color: var(--text); }
.chip.on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-2); margin-left: 2px; }
.chip:hover { border-color: var(--line-3); }
.brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--text-3); }
.brand-btn { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 500 13px/1 var(--sans); cursor: pointer; }
.brand-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.brand-btn em { font: 11px var(--mono); font-style: normal; color: var(--text-3); }
textarea { width: 100%; min-height: 160px; resize: vertical; background: #0a0a0c; color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font: 15px/1.6 var(--sans); outline: none; transition: border-color .2s, box-shadow .2s; }
textarea:focus { border-color: rgba(139,92,246,.6); box-shadow: 0 0 0 4px rgba(139,92,246,.12); }
.cmp-tools { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tbtn { font: 12px/1 var(--mono); padding: 7px 10px; border-radius: 7px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; transition: all .15s; }
.tbtn:hover { color: var(--text); border-color: var(--line-3); }
.meter { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.meter:last-of-type { border-bottom: 0; }
.meter.off { opacity: .28; }
.meter .pi { width: 26px; height: 26px; border-radius: 7px; background: var(--bg-3); display: grid; place-items: center; }
.meter .pi svg { width: 14px; height: 14px; }
.meter .nm { font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; margin-bottom: 7px; letter-spacing: -.01em; }
.meter .nm span { font: 12px var(--mono); color: var(--text-3); font-weight: 400; }
.bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green); transition: width .35s var(--ease), background .3s; }
.meter .st { font: 12px var(--mono); padding: 4px 8px; border-radius: 6px; min-width: 66px; text-align: center; }
.st.ok { color: var(--green); background: rgba(74,222,128,.08); }
.st.warn { color: var(--amber); background: rgba(251,191,36,.08); }
.st.bad { color: var(--red); background: rgba(248,113,113,.1); }
.verdict { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); display: flex; align-items: center; gap: 10px; font-size: 14px; }
.verdict svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .composer { grid-template-columns: 1fr; } .cmp-l { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- bento ---------- */
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-1); overflow: hidden; padding: 28px; display: flex; flex-direction: column; isolation: isolate; transition: border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(139,92,246,.13), transparent 45%); opacity: 0; transition: opacity .35s; }
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 18px; }
.card p { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.card .viz { margin: -4px -4px 0; flex: 1; min-height: 170px; position: relative; display: flex; align-items: center; justify-content: center; }
.c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; } .c-4 { grid-column: span 4; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .c-3, .c-2, .c-4 { grid-column: span 1; } .c-wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .c-wide { grid-column: span 1; } .card { padding: 22px; } .cal-h div { font-size: 0; } .cal-h div b { font-size: 11px; margin: 0; } .ev { font-size: 0; gap: 0; justify-content: center; } .ev svg { margin: 0 0 0 3px; } .slot em { white-space: normal; text-align: right; } }

/* calendar viz */
.cal { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #0a0a0c; overflow: hidden; font: 10.5px/1 var(--mono); }
.cal-h { display: grid; grid-template-columns: 44px repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.cal-h div { padding: 10px 0; text-align: center; color: var(--text-3); letter-spacing: .06em; }
.cal-h div b { color: var(--text); font-family: var(--sans); font-size: 12px; margin-left: 4px; }
.cal-h .today b { background: var(--violet); color: #fff; padding: 2px 5px; border-radius: 4px; }
.cal-b { display: grid; grid-template-columns: 44px repeat(7, 1fr); grid-auto-rows: 38px; position: relative; }
.cal-b > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.cal-b > div:nth-child(8n+1) { color: var(--text-3); padding: 6px 0 0 8px; }
.cal-b .tcol { background: rgba(139,92,246,.06); }
.ev { position: absolute; left: 3px; right: 3px; top: 5px; height: 26px; border-radius: 6px; background: #17171c; border: 1px solid var(--line-2); display: flex; align-items: center; gap: 5px; padding: 0 6px; color: var(--text-2); font-size: 10px; white-space: nowrap; overflow: hidden; z-index: 1; transition: transform .25s var(--ease), box-shadow .25s; }
.ev::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c, var(--blue)); flex: none; }
.ev svg { width: 10px; height: 10px; margin-left: auto; flex: none; opacity: .8; }
.ev.drag { animation: dragev 7s var(--ease) infinite; box-shadow: 0 0 0 1px rgba(139,92,246,.7), 0 10px 30px -6px rgba(139,92,246,.5); z-index: 2; }
@keyframes dragev { 0%, 18% { transform: translate(0,0); } 34%, 64% { transform: translate(200%, 38px) rotate(-2deg) scale(1.04); } 70%, 82% { transform: translate(200%, 38px); } 100% { transform: translate(0,0); } }

/* approvals viz */
.appr { width: 100%; max-width: 360px; border: 1px solid var(--line-2); border-radius: 14px; background: #0f0f13; padding: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.appr-h { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.appr-h .bot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #d97757, #b4532f); display: grid; place-items: center; color: #fff; font: 600 12px var(--sans); }
.appr-h small { display: block; font: 11px var(--mono); color: var(--text-3); }
.appr-h .tag { margin-left: auto; font: 10.5px/1 var(--mono); color: var(--amber); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); padding: 5px 7px; border-radius: 6px; }
.appr-body { margin: 14px 0; padding: 12px; border-radius: 10px; background: #0a0a0c; border: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.5; }
.appr-f { display: flex; gap: 8px; }
.appr-f button { flex: 1; height: 32px; border-radius: 8px; font: 500 13px var(--sans); cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); transition: all .2s; }
.appr-f button.yes { background: #f4f4f5; color: #0b0b0c; border-color: #f4f4f5; }
.appr-f button:hover { transform: translateY(-1px); }
.appr.done .tag { color: var(--green); background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.25); }

/* brands viz */
.brand-viz { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.brand-viz .bpill { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.5); font-weight: 500; font-size: 14px; }
.brand-viz .bpill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 12px var(--violet-2); }
.brand-viz .avs { display: flex; gap: 10px; position: relative; }
.brand-viz .avs span { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); display: grid; place-items: center; animation: lit 4s ease-in-out infinite; }
.brand-viz .avs span:nth-child(2) { animation-delay: .15s; } .brand-viz .avs span:nth-child(3) { animation-delay: .3s; } .brand-viz .avs span:nth-child(4) { animation-delay: .45s; }
.brand-viz .avs svg { width: 20px; height: 20px; }
@keyframes lit { 0%, 40%, 100% { border-color: var(--line-2); box-shadow: none; } 55%, 80% { border-color: rgba(139,92,246,.7); box-shadow: 0 0 0 3px rgba(139,92,246,.15); } }
.brand-viz .wire { width: 200px; height: 22px; }

/* analytics viz */
.ana { width: 100%; }
.ana-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ana-top b { font-size: 30px; letter-spacing: -.04em; font-weight: 600; }
.ana-top span { font: 12px var(--mono); color: var(--green); }
.ana svg { width: 100%; height: 110px; overflow: visible; }
.ana .ln { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease); }
.in .ana .ln { stroke-dashoffset: 0; }

/* media viz */
.media-viz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 280px; }
.media-viz div { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.media-viz div:nth-child(1) { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.media-viz div:nth-child(2) { background: linear-gradient(160deg, #0f172a, #14b8a6); }
.media-viz div:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.media-viz div:nth-child(4) { background: linear-gradient(135deg, #1e3a8a, #60a5fa); }
.media-viz div:nth-child(5) { background: repeating-linear-gradient(45deg, #141418 0 6px, #18181d 6px 12px); }
.media-viz div:nth-child(6) { background: linear-gradient(135deg, #064e3b, #4ade80); }
.media-viz div span { position: absolute; left: 5px; bottom: 5px; font: 9px/1 var(--mono); background: rgba(0,0,0,.65); padding: 3px 4px; border-radius: 3px; color: #ddd; }
.media-viz div:nth-child(5) span { color: var(--text-3); background: none; left: 50%; top: 50%; bottom: auto; transform: translate(-50%,-50%); text-align: center; white-space: nowrap; }

/* slots viz */
.slots { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 7px; }
.slot { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: #0d0d10; font: 12px var(--mono); color: var(--text-3); }
.slot b { color: var(--text-2); font-weight: 500; }
.slot em { margin-left: auto; font-style: normal; white-space: nowrap; }
.slot.taken em { color: var(--text-3); }
.slot.next { border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.08); color: var(--violet-3); }
.slot.next b { color: #fff; }
.slot.next em { color: var(--violet-2); }

/* alerts viz */
.alerts { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 8px; }
.al { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0d0d10; font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
.al i { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; flex: none; }
.al small { display: block; font: 10.5px var(--mono); color: var(--text-3); margin-top: 2px; }

/* workspaces viz */
.ws { display: flex; gap: 10px; width: 100%; justify-content: center; }
.ws div { flex: 1; max-width: 120px; border: 1px dashed var(--line-3); border-radius: 12px; padding: 12px 10px; font: 10.5px/1.5 var(--mono); color: var(--text-3); }
.ws div b { display: block; color: var(--text); font: 500 12px var(--sans); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws div em { display: block; font-style: normal; }
.ws div em::before { content: "▪ "; color: var(--violet-2); }

/* ---------- agents ---------- */
.agents { margin-top: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat-list li:first-child { padding-top: 0; }
.feat-list .fi { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; color: var(--violet-2); }
.feat-list .fi svg { width: 16px; height: 16px; }
.feat-list b { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.feat-list p { margin: 3px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.term { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #0a0a0c; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 80px -30px rgba(139,92,246,.35); position: sticky; top: 100px; }
.term-tabs { display: flex; align-items: center; gap: 2px; padding: 8px 8px 0; background: #101013; border-bottom: 1px solid var(--line); overflow-x: auto; }
.term-tabs button { font: 12.5px/1 var(--mono); color: var(--text-3); background: none; border: 0; padding: 10px 14px 12px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s; white-space: nowrap; }
.term-tabs button:hover { color: var(--text-2); }
.term-tabs button.on { color: var(--text); border-bottom-color: var(--violet); }
.term-tabs .copy { margin-left: auto; color: var(--text-3); padding: 6px 10px 10px; display: flex; align-items: center; gap: 6px; }
.term-tabs .copy svg { width: 13px; height: 13px; }
.term-body { min-height: 380px; padding: 22px 24px; font: 13px/1.75 var(--mono); color: #d4d4d8; overflow-x: auto; }
.term-body pre { margin: 0; white-space: pre; font: inherit; }
.pane { display: none; } .pane.on { display: block; animation: fadein .35s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.t-c { color: #6b6b74; } .t-k { color: #c4b5fd; } .t-s { color: #86efac; } .t-n { color: #fda4af; } .t-p { color: #a78bfa; } .t-y { color: #fde68a; } .t-b { color: #93c5fd; }
.chat .msg { display: flex; gap: 12px; margin-bottom: 16px; font-family: var(--sans); font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.chat .msg.show { opacity: 1; transform: none; }
.chat .who { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; font: 600 11px var(--sans); }
.chat .u .who { background: #27272a; color: #e4e4e7; }
.chat .a .who { background: linear-gradient(135deg, #d97757, #b4532f); color: #fff; }
.chat .tool { font: 12px/1.6 var(--mono); border: 1px solid var(--line-2); border-radius: 9px; background: #111115; padding: 10px 12px; margin-top: 8px; color: var(--text-2); }
.chat .tool b { color: var(--violet-3); font-weight: 500; }
.chat .tool .ok { color: var(--green); }
@media (max-width: 960px) { .agents { grid-template-columns: 1fr; } .term { position: relative; top: 0; } }

/* ---------- reliability ---------- */
.pipe { margin-top: 64px; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pipe::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3) 10%, var(--line-3) 90%, transparent); }
.pipe .pulse { position: absolute; top: 24px; left: 6%; width: 80px; height: 7px; border-radius: 7px; background: linear-gradient(90deg, transparent, var(--violet-2), transparent); filter: drop-shadow(0 0 8px var(--violet)); animation: pulse 4.5s linear infinite; }
@keyframes pulse { from { left: 4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { left: 88%; opacity: 0; } }
.step { position: relative; text-align: left; }
.step .dot { width: 54px; height: 54px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; position: relative; z-index: 1; font: 500 12px var(--mono); color: var(--violet-3); box-shadow: 0 0 0 6px var(--bg); }
.step h3 { margin-top: 20px; font-size: 16px; }
.step p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .pipe { grid-template-columns: 1fr; gap: 26px; } .pipe::before, .pipe .pulse { display: none; } .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; } .step h3 { margin-top: 4px; } .step p { grid-column: 2; } }

/* ---------- deploy ---------- */
.deploy { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dcard { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-1); padding: 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.dcard.cf { background: radial-gradient(600px 300px at 100% 0%, rgba(246,130,31,.1), transparent 60%), var(--bg-1); }
.dcard.nd { background: radial-gradient(600px 300px at 100% 0%, rgba(74,222,128,.07), transparent 60%), var(--bg-1); }
.dcard .top { display: flex; align-items: center; gap: 14px; }
.dcard .lg { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; }
.dcard .lg svg { width: 24px; height: 24px; }
.dcard h3 { font-size: 22px; letter-spacing: -.03em; }
.dcard .sub { font: 12px var(--mono); color: var(--text-3); margin-top: 2px; }
.dcard ul { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.dcard li { font-size: 14px; color: var(--text-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.dcard li svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 2px; }
.code { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #09090b; padding: 16px 18px; font: 12.5px/1.8 var(--mono); color: #d4d4d8; overflow-x: auto; margin-top: auto; }
.code pre { margin: 0; font: inherit; padding-right: 36px; }
.code .cbtn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: #141418; color: var(--text-3); display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.code .cbtn:hover { color: var(--text); border-color: var(--line-3); }
.code .cbtn svg { width: 14px; height: 14px; }
.dcard .actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .deploy { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .dcard ul { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gal-tabs { margin: 48px auto 0; display: flex; justify-content: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); width: max-content; max-width: 100%; overflow-x: auto; }
.gal-tabs button { font: 500 13.5px/1 var(--sans); color: var(--text-2); background: none; border: 0; height: 34px; padding: 0 14px; border-radius: 8px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.gal-tabs button:hover { color: var(--text); }
.gal-tabs button.on { background: var(--bg-3); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.gal { margin-top: 28px; position: relative; }
.gal .frame { transform: none; }
.gal-img { position: relative; aspect-ratio: 1440 / 900; background: #0b0b0c; }
.gal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: scale(1.01); }
.gal-img img.on { opacity: 1; transform: none; }
.gal-img img.mobile { object-fit: contain; background: radial-gradient(circle at 50% 40%, rgba(139,92,246,.18), transparent 60%), #0b0b0c; padding: 28px 0; }
.gal-cap { text-align: center; margin-top: 18px; color: var(--text-3); font-size: 13.5px; min-height: 22px; }

/* ---------- platform table ---------- */
.ptable { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--bg-1); }
.prow { display: grid; grid-template-columns: 1.3fr 1.6fr .8fr 1.4fr; gap: 20px; padding: 18px 26px; border-bottom: 1px solid var(--line); align-items: center; font-size: 14px; color: var(--text-2); transition: background .2s; }
.prow:last-child { border-bottom: 0; }
.prow:not(.ph):hover { background: rgba(255,255,255,.015); }
.prow.ph { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 14px 26px; background: rgba(255,255,255,.015); }
.prow .pn { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.prow .pn svg { width: 18px; height: 18px; flex: none; }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font: 12px var(--mono); padding: 4px 9px; border-radius: 6px; width: max-content; }
.no { color: var(--green); background: rgba(74,222,128,.08); }
.yes { color: var(--amber); background: rgba(251,191,36,.08); }
@media (max-width: 860px) { .prow { grid-template-columns: 1fr 1fr; gap: 8px 16px; } .prow.ph { display: none; } .prow > :nth-child(2) { grid-column: 1 / -1; order: 3; font-size: 13px; } }

/* ---------- faq ---------- */
.faq { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 500; font-size: 16px; letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary .pl { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .3s var(--ease), background .2s; }
summary .pl::before, summary .pl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: var(--text-2); transform: translate(-50%,-50%); }
summary .pl::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s var(--ease); }
details[open] summary .pl { background: var(--violet-bg); border-color: rgba(139,92,246,.5); }
details[open] summary .pl::after { transform: translate(-50%,-50%) rotate(0); }
details p { margin: -6px 0 22px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; padding-right: 40px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { margin-top: 160px; position: relative; border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden; padding: 100px 32px; text-align: center; background: radial-gradient(700px 400px at 50% 120%, rgba(139,92,246,.4), transparent 70%), radial-gradient(500px 300px at 50% -30%, rgba(139,92,246,.12), transparent 70%), var(--bg-1); isolation: isolate; }
.cta .bg-grid { mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 20%, transparent 70%); z-index: -1; }
.cta h2 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.05em; }
.cta .lead { margin: 22px auto 0; }
.cta .hero-cta { margin-top: 38px; }
.cta-logo { width: 72px; height: 72px; margin: 0 auto 30px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line-2), 0 20px 60px -10px rgba(139,92,246,.7); }

footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.foot-cols a { display: block; color: var(--text-2); font-size: 14px; padding: 4px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.legal p { margin: 0; max-width: 640px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }
.hero .rv { transition-duration: 1.1s; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: #f4f4f5; color: #0b0b0c; font: 500 13.5px var(--sans); padding: 10px 16px; border-radius: 10px; z-index: 200; transition: all .3s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 8px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: #16a34a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .frame { transform: none !important; }
}

/* ---------- shared additions ---------- */
.nav-new { font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-3); background: var(--violet-bg); border: 1px solid rgba(139,92,246,.35); padding: 3px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.nav-links a.on { color: var(--text); }
.phone { position: relative; width: 300px; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a2a31, #111114 40%, #1c1c21); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.95), 0 0 140px -30px rgba(139,92,246,.55); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.phone-in { border-radius: 37px; overflow: hidden; background: #0d0f12; aspect-ratio: 9 / 19.5; position: relative; display: flex; flex-direction: column; justify-content: center; }
.phone video { width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; background: #0d0f12; }

/* homepage: phone over the hero frame */
.hero-phone { position: absolute; z-index: 3; left: 3%; top: 10%; animation: bob 7s ease-in-out infinite; }
.hero-phone .phone { width: 230px; border-radius: 38px; padding: 8px; }
.hero-phone .phone-in { border-radius: 31px; }
.hero-phone .phone::before { top: 16px; width: 66px; height: 19px; }
@media (max-width: 900px) { .hero-phone { left: 2%; top: 4%; } .hero-phone .phone { width: 120px; border-radius: 22px; padding: 5px; } .hero-phone .phone-in { border-radius: 18px; } .hero-phone .phone::before { top: 9px; width: 34px; height: 10px; } }

/* homepage: video agents section */
.va { margin-top: 64px; display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.va-phone { display: flex; flex-direction: column; align-items: center; }
.va-cap { margin: 22px 0 0; text-align: center; font: 12px/1.5 var(--mono); color: var(--text-3); max-width: 280px; }
.va-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.va-steps li { counter-increment: s; position: relative; padding: 18px 0 18px 60px; border-bottom: 1px solid var(--line); }
.va-steps li:first-child { border-top: 1px solid var(--line); }
.va-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 16px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; font: 500 12px var(--mono); color: var(--violet-3); }
.va-steps b { font-weight: 500; font-size: 16px; letter-spacing: -.015em; }
.va-steps p { margin: 4px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.va-cta { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }
@media (max-width: 960px) { .va { grid-template-columns: 1fr; gap: 48px; } }
