/* Artra — agentic outbound sales landing page
   Dark, monochrome, scroll-driven.
   All positioning that was inline in the design is expressed here
   as classes / [data-*] selectors to stay CSP-clean. */

:root {
  --bg: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #161616;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --fg: #ffffff;
  --fg-2: rgba(255,255,255,0.72);
  --fg-3: rgba(255,255,255,0.5);
  --fg-4: rgba(255,255,255,0.32);
  --accent: #8b7dff;
  --accent-2: #5cc8ff;
  --accent-soft: rgba(139,125,255,0.18);
  --accent-grad: linear-gradient(135deg, #5cc8ff 0%, #8b7dff 50%, #c47dff 100%);
  --warn: #ff7a59;
  --ok: #84e1a4;
  --grid: 8px;
  --maxw: 1280px;
  --pad: 32px;
  --radius: 14px;
  --radius-lg: 22px;
}

.apl * { box-sizing: border-box; }
.apl-body { margin:0; padding:0; }
html.apl { scroll-behavior: smooth; background: var(--bg); }
body.apl-body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
.apl .mono { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; font-feature-settings: "ss01"; }

/* ───────── layout ───────── */
.apl .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.apl section { position: relative; }
.apl .eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.apl .eyebrow.center { justify-content: center; }
.apl .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 12px var(--accent); }

.apl h1, .apl h2, .apl h3 { font-weight: 500; letter-spacing: -0.03em; margin: 0; }
.apl h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 460; }
.apl h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 480; }
.apl h3 { font-size: 18px; line-height: 1.3; }
.apl p  { color: var(--fg-2); margin: 0; }

.apl a { color: inherit; text-decoration: none; }
.apl button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.apl .mt-eyebrow { margin-top: 18px; }
.apl .mt-eyebrow-lg { margin-top: 24px; }
.apl .m-0 { margin: 0; }
.apl .mt-sm { margin-top: 8px; }

/* ───────── nav ───────── */
.apl .nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.apl .nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 18px;
  background: rgba(15,15,15,0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
.apl .nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: -0.02em; }
.apl .nav-logo-img {
  height: 20px;
  width: auto;
  display: block;
}
.apl footer .nav-logo-img { height: 18px; }
.apl .nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--fg-2); }
.apl .nav-links a:hover { color: var(--fg); }
.apl .nav-cta {
  font-size: 13px; padding: 9px 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-weight: 500;
  transition: transform .2s ease, background .2s ease;
}
.apl .nav-cta:hover { transform: translateY(-1px); }
.apl .nav-ghost {
  font-size: 13px; padding: 9px 14px; border-radius: 999px;
  color: var(--fg-2);
}
.apl .nav-ghost:hover { color: var(--fg); }

/* ───────── buttons ───────── */
.apl .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  background: var(--fg); color: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.apl .btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255,255,255,0.08); }
.apl .btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.apl .btn .arrow { transition: transform .2s ease; }
.apl .btn:hover .arrow { transform: translateX(3px); }

/* ───────── hero ───────── */
.apl .hero {
  min-height: 100svh;
  padding: 140px var(--pad) 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.apl .hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60vw 60vw at 50% 110%, rgba(139,125,255,0.10), transparent 60%),
    radial-gradient(40vw 40vw at 20% 30%, rgba(92,200,255,0.06), transparent 70%),
    radial-gradient(30vw 30vw at 85% 70%, rgba(196,125,255,0.05), transparent 70%);
  pointer-events: none;
}
.apl .hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(80vw 80vh at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80vw 80vh at 50% 50%, black 30%, transparent 75%);
  opacity: 0.4;
  pointer-events: none;
}
.apl .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.apl .hero-eyebrow { margin-bottom: 24px; }
.apl .hero h1 { max-width: 14ch; }
.apl .hero h1 .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apl .hero h1 .scribble {
  display: inline-block;
  position: relative;
}
.apl .hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-2);
  max-width: 52ch;
  line-height: 1.5;
}
.apl .hero-cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.apl .hero-meta {
  margin-top: 56px;
  display: flex; gap: 32px; flex-wrap: wrap;
  color: var(--fg-3); font-size: 13px;
}
.apl .hero-meta .item { display: flex; align-items: center; gap: 8px; }
.apl .hero-meta .item::before {
  content: ""; width: 14px; height: 14px;
  border: 1px solid var(--line-2); border-radius: 50%;
  position: relative;
}
.apl .hero-meta .item.on::before {
  background: var(--accent-grad); border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* hero agent stack */
.apl .hero-agents {
  position: absolute;
  right: calc(50% - var(--maxw)/2 + var(--pad));
  top: 50%; transform: translateY(-50%);
  width: min(38vw, 520px);
  height: 520px;
  z-index: 1;
}
@media (max-width: 1100px) {
  .apl .hero-agents { display: none; }
}

.apl .agent-card {
  position: absolute;
  width: 320px; padding: 14px 16px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 12px;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
/* Hero agent-card positions (was inline style="..." in design) */
.apl .hero-agents .agent-card[data-i="0"] { top: 0;     right: 40px; }
.apl .hero-agents .agent-card[data-i="1"] { top: 110px; right: 0; }
.apl .hero-agents .agent-card[data-i="2"] { top: 230px; right: 60px; }
.apl .hero-agents .agent-card[data-i="3"] { top: 360px; right: 20px; }
.apl .hero-agents .agent-card[data-i="4"] { top: 470px; right: 80px; }

.apl .agent-card .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #444);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-size: 12px;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
}
.apl .agent-card .name { font-size: 13px; font-weight: 500; }
.apl .agent-card .meta { font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.apl .agent-card .status {
  margin-left: auto; font-size: 10.5px; padding: 4px 8px;
  border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--fg-3);
  display: flex; align-items: center; gap: 6px;
  font-family: "Geist Mono", monospace;
}
.apl .agent-card .status .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-grad);
  box-shadow: 0 0 8px var(--accent);
  animation: apl-pulse 1.6s ease-in-out infinite;
}
.apl .agent-card.idle .pulse { background: var(--fg-4); box-shadow: none; animation: none; }

@keyframes apl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ───────── marquee logos ───────── */
.apl .logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
}
.apl .logos-strip .label {
  text-align: center; color: var(--fg-3); font-size: 12px;
  font-family: "Geist Mono", monospace; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 22px;
}
.apl .marquee { display: flex; gap: 80px; animation: apl-marquee 38s linear infinite; }
.apl .marquee span {
  font-size: 26px; font-weight: 500; color: var(--fg-3);
  white-space: nowrap; letter-spacing: -0.02em;
  flex-shrink: 0;
}
@keyframes apl-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────── sticky scenes ───────── */
.apl .scene { position: relative; }
.apl .scene-pin {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* ── SCENE: Agents working ── */
.apl .scene-agents { height: 320vh; }
.apl .agents-stage {
  width: min(100%, var(--maxw)); padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center;
  position: relative;
}
.apl .agents-copy h2 { max-width: 12ch; }
.apl .agents-copy p { margin-top: 20px; max-width: 38ch; font-size: 17px; }
.apl .agents-copy .progress {
  margin-top: 32px;
  display: flex; gap: 4px;
  font-family: "Geist Mono", monospace;
  font-size: 11px; color: var(--fg-3); letter-spacing: 0.1em;
}
.apl .agents-copy .step {
  flex: 1; padding: 10px 0;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
  transition: all .3s ease;
}
.apl .agents-copy .step.active { border-image: var(--accent-grad) 1; border-top: 1px solid; color: var(--fg); }
.apl .agents-copy .step.done { border-top-color: var(--fg); color: var(--fg-3); }

.apl .agents-board {
  position: relative;
  height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,0.04), transparent 70%),
    var(--bg-1);
  overflow: hidden;
}
.apl .agents-board::before {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}
.apl .agents-board .header {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 3;
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(8px);
}
.apl .agents-board .header .live {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.apl .agents-board .header .live::before {
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-grad); box-shadow: 0 0 8px var(--accent);
  animation: apl-pulse 1.6s infinite;
}

.apl .agent-tile {
  position: absolute;
  width: 220px; padding: 14px;
  background: rgba(22,22,22,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .5s ease, border-color .3s ease;
  font-size: 12px;
}
/* Agent tile positions (was inline style="..." in design) */
.apl .agent-tile[data-stage="0"] { top: 70px;  left: 40px; }
.apl .agent-tile[data-stage="1"] { top: 70px;  right: 40px; }
.apl .agent-tile[data-stage="2"] { top: 240px; left: 40px; }
.apl .agent-tile[data-stage="3"] { top: 240px; right: 40px; }
.apl .agent-tile[data-stage="4"] { bottom: 60px; left: 50%; transform: translateX(-50%); }

.apl .agent-tile.active { border-color: rgba(139,125,255,0.5); box-shadow: 0 0 0 4px rgba(139,125,255,0.08), 0 0 24px rgba(92,200,255,0.12); }
.apl .agent-tile .row { display: flex; align-items: center; gap: 8px; }
.apl .agent-tile .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #444);
  font-family: "Geist Mono", monospace; font-size: 10px;
  display: grid; place-items: center; color: var(--fg-2);
  border: 1px solid var(--line-2);
}
.apl .agent-tile .nm { font-weight: 500; }
.apl .agent-tile .lb { font-size: 10px; color: var(--fg-3); margin-top: 1px; font-family: "Geist Mono", monospace; }
.apl .agent-tile .task {
  margin-top: 10px; font-family: "Geist Mono", monospace;
  font-size: 10.5px; color: var(--fg-3);
  display: flex; align-items: center; gap: 6px;
}
.apl .agent-tile .task::before {
  content:""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--fg-4);
}
.apl .agent-tile.active .task::before { background: var(--accent-grad); box-shadow: 0 0 6px var(--accent); }
.apl .agent-tile .meter {
  margin-top: 8px; height: 3px; background: var(--bg-2);
  border-radius: 999px; overflow: hidden;
}
.apl .agent-tile .meter span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--fg-3), var(--fg));
  width: var(--fill, 0%);
  transition: width 1.2s ease;
}
.apl .agent-tile.active .meter span { background: var(--accent-grad); }

/* Meter fills (data-fill attribute drives --fill) */
.apl .meter span[data-fill="55"]  { --fill: 55%; }
.apl .meter span[data-fill="70"]  { --fill: 70%; }
.apl .meter span[data-fill="80"]  { --fill: 80%; }
.apl .meter span[data-fill="92"]  { --fill: 92%; }
.apl .meter span[data-fill="100"] { --fill: 100%; }

/* ── SCENE: Multi-channel ── */
.apl .scene-channels { height: 320vh; }
.apl .channels-stage {
  width: min(100%, var(--maxw)); padding: 0 var(--pad);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center;
}
.apl .channels-stage .copy h2 { max-width: 14ch; }
.apl .channels-stage .copy p { margin-top: 18px; max-width: 38ch; }
.apl .channels-tabs {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--line);
}
.apl .channels-tabs .tab {
  padding: 16px 18px;
  border-left: 2px solid transparent; margin-left: -1px;
  transition: all .3s ease;
  cursor: pointer;
  display: block;
}
.apl .channels-tabs .tab .nm { font-size: 17px; font-weight: 500; }
.apl .channels-tabs .tab .ds { font-size: 13px; color: var(--fg-3); margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .4s ease, margin-top .3s ease; }
.apl .channels-tabs .tab.on { border-image: var(--accent-grad) 1; border-left: 2px solid; }
.apl .channels-tabs .tab.on .nm { color: var(--fg); }
.apl .channels-tabs .tab.on .ds { max-height: 100px; margin-top: 6px; }
.apl .channels-tabs .tab:not(.on) .nm { color: var(--fg-3); }

.apl .channels-display {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  height: 560px;
  overflow: hidden;
}
.apl .channel-panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(20px) scale(0.98);
  transition: opacity .5s ease, transform .5s ease;
  padding: 20px;
  display: flex; flex-direction: column;
}
.apl .channel-panel.on { opacity: 1; transform: none; }

/* email mock */
.apl .email-frame { display: flex; flex-direction: column; height: 100%; }
.apl .email-frame .topbar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.apl .email-frame .topbar .dots { display: flex; gap: 5px; }
.apl .email-frame .topbar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); }
.apl .email-frame .topbar .draft { margin-left: auto; }
.apl .email-frame .meta-rows { padding: 18px 4px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; }
.apl .email-frame .meta-rows .k { color: var(--fg-3); font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.apl .email-frame .meta-rows .v { color: var(--fg); }
.apl .email-frame .meta-rows .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; background: var(--accent-soft); color: var(--accent-2);
  border-radius: 999px; font-family: "Geist Mono", monospace; font-size: 10.5px;
}
.apl .email-body { flex: 1; padding: 18px 4px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); border-top: 1px solid var(--line); }
.apl .email-body .typed::after {
  content: "▍"; color: var(--accent-2); margin-left: 1px;
  animation: apl-blink 1s steps(1) infinite;
}
@keyframes apl-blink { 50% { opacity: 0; } }
.apl .email-body .name-pill {
  background: var(--accent-soft);
  color: var(--accent-2);
  padding: 1px 6px; border-radius: 4px;
  font-family: "Geist Mono", monospace; font-size: 13px;
}

/* sms mock */
.apl .sms-frame { display: flex; flex-direction: column; height: 100%; gap: 10px; }
.apl .sms-frame .topbar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.apl .sms-frame .topbar .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #333, #555); border: 1px solid var(--line-2); }
.apl .sms-frame .topbar .info .nm { font-size: 14px; font-weight: 500; }
.apl .sms-frame .topbar .info .num { font-size: 12px; color: var(--fg-3); font-family: "Geist Mono", monospace; }
.apl .sms-thread { flex: 1; padding: 18px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.apl .bubble { max-width: 70%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.apl .bubble.show { opacity: 1; transform: none; }
.apl .bubble.out { background: var(--fg); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 4px; }
.apl .bubble.in { background: var(--bg-2); color: var(--fg); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.apl .bubble .ts { display: block; font-size: 10.5px; opacity: 0.55; margin-top: 4px; font-family: "Geist Mono", monospace; }

/* linkedin mock */
.apl .li-frame { padding: 0; display: flex; flex-direction: column; height: 100%; }
.apl .li-frame .topbar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.apl .li-frame .topbar .via { margin-left: auto; }
.apl .li-card {
  margin: 18px 0; padding: 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg-2);
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
}
.apl .li-card .av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #2c2c2c, #4a4a4a); border: 1px solid var(--line-2); }
.apl .li-card .nm { font-size: 16px; font-weight: 500; }
.apl .li-card .ti { font-size: 13px; color: var(--fg-3); margin-top: 2px; }
.apl .li-card .ti .co { color: var(--fg-2); }
.apl .li-card .signal {
  margin-top: 10px; padding: 8px 10px;
  background: rgba(139,125,255,0.08);
  border: 1px solid rgba(139,125,255,0.25);
  border-radius: 8px;
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 8px;
}
.apl .li-msg {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 14px; line-height: 1.55; color: var(--fg-2);
}
.apl .li-msg .typed::after { content: "▍"; color: var(--accent-2); animation: apl-blink 1s steps(1) infinite; margin-left: 1px; }
.apl .li-msg .typed { margin-top: 8px; margin-bottom: 0; }

/* ── SCENE: Database ── */
.apl .scene-data { padding: 160px 0; }
.apl .data-stage {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.apl .data-copy h2 { max-width: 14ch; }
.apl .data-copy p { margin-top: 20px; max-width: 36ch; font-size: 17px; }
.apl .bignum {
  margin-top: 28px;
  font-size: clamp(80px, 11vw, 160px);
  font-weight: 460;
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 12px;
}
.apl .bignum .unit { font-size: 0.45em; color: var(--fg-3); font-weight: 400; letter-spacing: -0.02em; }
.apl .bignum .num { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apl .data-stats { margin-top: 24px; display: flex; gap: 36px; flex-wrap: wrap; }
.apl .data-stats .stat { font-size: 13px; color: var(--fg-3); font-family: "Geist Mono", monospace; }
.apl .data-stats .stat b { display: block; color: var(--fg); font-size: 22px; font-weight: 460; font-family: "Geist", sans-serif; letter-spacing: -0.02em; margin-bottom: 2px; }

.apl .contacts-display {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,0.03), transparent 60%),
    var(--bg-1);
  height: 560px;
  overflow: hidden;
  padding: 24px;
}
.apl .contacts-display::before {
  content:""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, var(--fg-3) 1px, transparent 1.5px),
    radial-gradient(circle at 28% 35%, var(--fg-3) 1px, transparent 1.5px),
    radial-gradient(circle at 45% 18%, var(--fg-4) 1px, transparent 1.5px),
    radial-gradient(circle at 62% 30%, var(--fg-3) 1px, transparent 1.5px),
    radial-gradient(circle at 78% 22%, var(--fg-4) 1px, transparent 1.5px),
    radial-gradient(circle at 88% 40%, var(--fg-3) 1px, transparent 1.5px),
    radial-gradient(circle at 18% 65%, var(--fg-4) 1px, transparent 1.5px),
    radial-gradient(circle at 38% 78%, var(--fg-3) 1px, transparent 1.5px),
    radial-gradient(circle at 58% 70%, var(--fg-4) 1px, transparent 1.5px),
    radial-gradient(circle at 75% 82%, var(--fg-3) 1px, transparent 1.5px);
  background-size: 100% 100%;
  opacity: 0.6;
}
.apl .contacts-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.apl .contact-row {
  display: grid; grid-template-columns: 32px 1.4fr 1.2fr 1fr auto;
  align-items: center; gap: 16px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  transition: transform .6s ease, border-color .3s ease;
  font-size: 13px;
}
.apl .contact-row .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #444);
  font-family: "Geist Mono", monospace; font-size: 10px;
  display: grid; place-items: center; color: var(--fg-2);
  border: 1px solid var(--line-2);
}
.apl .contact-row .nm { font-weight: 500; }
.apl .contact-row .nm .ti { display: block; color: var(--fg-3); font-size: 12px; font-weight: 400; margin-top: 1px; }
.apl .contact-row .em { color: var(--fg-3); font-family: "Geist Mono", monospace; font-size: 11.5px; }
.apl .contact-row .co { color: var(--fg-2); }
.apl .contact-row .badge {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--fg-3);
}
.apl .contact-row .badge.hot { color: var(--accent-2); border-color: rgba(139,125,255,0.35); background: rgba(139,125,255,0.07); }

/* ── SCENE: Deliverability ── */
.apl .scene-deliv { padding: 160px 0; }
.apl .deliv-stage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.apl .deliv-stage h2 { max-width: 14ch; }
.apl .deliv-stage p { margin-top: 18px; max-width: 38ch; font-size: 17px; }

.apl .inbox-mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.apl .inbox-mock .tabs {
  display: flex; border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.apl .inbox-mock .tabs .tb { flex: 1; padding: 14px; text-align: center; color: var(--fg-3); border-right: 1px solid var(--line); position: relative; }
.apl .inbox-mock .tabs .tb:last-child { border-right: 0; }
.apl .inbox-mock .tabs .tb.on { color: var(--fg); }
.apl .inbox-mock .tabs .tb.on::after {
  content:""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent-grad);
}
.apl .inbox-mock .tabs .tb .ct { font-family: "Geist", sans-serif; font-size: 14px; color: var(--fg); margin-top: 4px; letter-spacing: -0.02em; text-transform: none; font-weight: 500; }
.apl .inbox-mock .tabs .tb.muted .ct { color: var(--fg-3); }

.apl .inbox-rows { padding: 6px; height: 360px; overflow: hidden; position: relative; }
.apl .inbox-row {
  display: grid; grid-template-columns: 18px 1fr auto;
  gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 8px;
  font-size: 13px;
  transition: all .6s ease;
}
.apl .inbox-row .star { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.apl .inbox-row.read .star { background: transparent; border: 1px solid var(--line-2); }
.apl .inbox-row .from { font-weight: 500; }
.apl .inbox-row .sub { color: var(--fg-3); margin-left: 4px; }
.apl .inbox-row .time { color: var(--fg-3); font-size: 11px; font-family: "Geist Mono", monospace; }
.apl .inbox-row.from-artra { background: rgba(139,125,255,0.06); border: 1px solid rgba(139,125,255,0.22); }
.apl .inbox-row.from-artra .from { color: var(--fg); }
.apl .inbox-row.from-artra .from::before {
  content: "PRIMARY"; font-family: "Geist Mono", monospace;
  font-size: 9.5px; padding: 2px 6px;
  margin-right: 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent-2);
  letter-spacing: 0.06em;
}

.apl .deliv-tools { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.apl .deliv-tool {
  padding: 14px; border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-size: 12px;
}
.apl .deliv-tool .ic { font-family: "Geist Mono", monospace; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 11px; letter-spacing: 0.1em; }
.apl .deliv-tool .nm { font-size: 14px; margin-top: 8px; font-weight: 500; }
.apl .deliv-tool .ds { color: var(--fg-3); margin-top: 2px; font-size: 12px; line-height: 1.4; }

/* ── Integrations ── */
.apl .scene-int { padding: 160px 0; text-align: center; }
.apl .scene-int h2 { max-width: 18ch; margin: 0 auto; }
.apl .scene-int p { margin: 18px auto 0; max-width: 50ch; font-size: 17px; }

.apl .int-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}
.apl .int-cell {
  background: var(--bg);
  aspect-ratio: 1.2/1;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; transition: background .25s ease;
}
.apl .int-cell:hover { background: var(--bg-1); }
.apl .int-cell .nm { font-size: 14px; font-weight: 500; }
.apl .int-cell .cat { font-size: 11px; color: var(--fg-3); font-family: "Geist Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.apl .int-cell .lg {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c1c1c, #262626);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-weight: 600;
  font-size: 13px;
  color: var(--fg-2);
}
.apl .int-cell .ck {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px; color: var(--accent-2);
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; gap: 6px;
}
.apl .int-cell .ck::before {
  content: "✓"; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent-grad);
  color: #0a0a0a; display: grid; place-items: center;
  font-size: 9px; font-weight: 700;
}
.apl .int-cell .ck.soon { color: var(--fg-3); }
.apl .int-cell .ck.soon::before {
  content: ""; background: transparent;
  border: 1px solid var(--line-2);
}
.apl .int-cell.soon { opacity: 0.55; }
.apl .int-cell.soon:hover { opacity: 0.8; }
@media (max-width: 900px) { .apl .int-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Features bento ── */
.apl .scene-feat { padding: 80px 0 160px; }
.apl .feat-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; }
.apl .feat-head h2 { max-width: 16ch; }
.apl .feat-head p { max-width: 36ch; font-size: 17px; }

.apl .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-rows: 220px; }
.apl .b {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s ease, background .3s ease;
}
.apl .b:hover { border-color: var(--line-2); }
.apl .b .b-eye { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.apl .b h3 { font-size: 22px; font-weight: 460; line-height: 1.15; letter-spacing: -0.02em; margin-top: 12px; max-width: 18ch; }
.apl .b p { color: var(--fg-3); font-size: 13.5px; margin-top: 8px; max-width: 36ch; }
.apl .b-1 { grid-column: span 3; grid-row: span 2; }
.apl .b-2 { grid-column: span 3; }
.apl .b-3 { grid-column: span 2; }
.apl .b-4 { grid-column: span 4; }
.apl .b-5 { grid-column: span 3; }
.apl .b-6 { grid-column: span 3; }
@media (max-width: 900px) {
  .apl .bento { grid-template-columns: 1fr; }
  .apl .b-1, .apl .b-2, .apl .b-3, .apl .b-4, .apl .b-5, .apl .b-6 { grid-column: span 1; grid-row: auto; }
}

.apl .b-art {
  position: absolute; right: 0; bottom: 0; left: 0; top: 50%;
  pointer-events: none;
  opacity: 0.9;
}
.apl .b-art-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(50% 80% at 90% 100%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(50% 80% at 90% 100%, black, transparent 70%);
}
.apl .b-art-rings {
  position: absolute; bottom: -120px; right: -120px;
  width: 360px; height: 360px;
}
.apl .b-art-rings span {
  position: absolute; inset: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.apl .b-art-rings span:nth-child(1) { inset: 60px; }
.apl .b-art-rings span:nth-child(2) { inset: 30px; opacity: 0.5; }
.apl .b-art-rings span:nth-child(3) { inset: 0px; opacity: 0.25; }

.apl .b-bars {
  position: absolute; right: 24px; bottom: 24px;
  display: flex; gap: 6px; align-items: end; height: 110px;
}
.apl .b-bars span {
  width: 14px; background: var(--bg-2);
  border-radius: 4px 4px 0 0;
  border: 1px solid var(--line);
}
.apl .b-bars span:nth-child(1) { height: 30%; }
.apl .b-bars span:nth-child(2) { height: 55%; }
.apl .b-bars span:nth-child(3) { height: 40%; }
.apl .b-bars span:nth-child(4) { height: 70%; }
.apl .b-bars span:nth-child(5) { height: 90%; background: var(--accent-grad); border-color: var(--accent); }
.apl .b-bars span:nth-child(6) { height: 100%; background: var(--accent-grad); border-color: var(--accent); }

/* ── CTA ── */
.apl .scene-cta {
  padding: 160px var(--pad);
  text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
.apl .scene-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50vw 50vh at 30% 100%, rgba(92,200,255,0.10), transparent 70%),
    radial-gradient(50vw 50vh at 70% 100%, rgba(196,125,255,0.10), transparent 70%);
  pointer-events: none;
}
.apl .scene-cta h2 {
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.05em;
  font-weight: 460;
  max-width: 14ch;
  margin: 0 auto;
  line-height: 0.95;
}
.apl .scene-cta h2 .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; font-weight: 380; }
.apl .scene-cta p { margin-top: 24px; font-size: 18px; max-width: 50ch; margin-left: auto; margin-right: auto; }
.apl .scene-cta .ctas { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── footer ── */
.apl footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--pad);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--fg-3);
  flex-wrap: wrap; gap: 16px;
}
.apl footer .left { display: flex; gap: 24px; align-items: center; }

/* ───────── reveal helpers ───────── */
.apl .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.apl .reveal.in { opacity: 1; transform: none; }
.apl .reveal.delay-1 { transition-delay: .08s; }
.apl .reveal.delay-2 { transition-delay: .16s; }
.apl .reveal.delay-3 { transition-delay: .24s; }
.apl .reveal.delay-4 { transition-delay: .32s; }

@media (max-width: 900px) {
  .apl .agents-stage, .apl .channels-stage, .apl .data-stage, .apl .deliv-stage { grid-template-columns: 1fr; gap: 40px; }
  .apl .hero h1 { font-size: clamp(40px, 11vw, 72px); }
  .apl .nav-links { display: none; }
}
