/* ============================================================
   Aery Intake — service landing page
   Visual system lifted from the Aery Intake storyboard:
   Space Grotesk + Manrope, violet #635bff, green #16c98a,
   deep navy radial backgrounds, dashed-halo / score-ring motifs.
   ============================================================ */

:root {
  --bg-deep:   #0b0d14;
  --bg-mid:    #13162b;
  --bg-violet: #251f48;
  --bg-flow:   #161a2b;

  --card:      #121420;
  --card-2:    #171a28;
  --line:      #262a3d;
  --line-2:    #2a2f44;

  --violet:    #635bff;
  --violet-2:  #7c75ff;
  --violet-3:  #8b84ff;
  --violet-4:  #9b95ff;

  --green:     #16c98a;
  --green-2:   #16a878;
  --green-3:   #0e9b6c;
  --amber:     #f0a91e;

  --ink:       #ffffff;
  --muted:     #aeb4c8;
  --muted-2:   #9aa0b4;
  --muted-3:   #6f7690;

  --grid:      rgba(124,117,255,.05);
  --maxw:      1180px;
  --gutter:    40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration: none; }
.mono, .gro { font-family: 'Space Grotesk', system-ui, sans-serif; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- keyframes (from storyboard) ---------- */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:scale(1); } }
@keyframes slideInRight { from { opacity:0; transform:translateX(48px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInLeft { from { opacity:0; transform:translateX(-48px); } to { opacity:1; transform:translateX(0); } }
@keyframes popIn { 0% { opacity:0; transform:scale(.7); } 70% { transform:scale(1.06); } 100% { opacity:1; transform:scale(1); } }
@keyframes flowDash { to { stroke-dashoffset:-32; } }
@keyframes pulseGlow { 0%,100% { box-shadow:0 0 0 0 rgba(99,91,255,.45); } 50% { box-shadow:0 0 0 14px rgba(99,91,255,0); } }
@keyframes typeBar { 0% { width:0; } 100% { width:100%; } }
@keyframes floatY { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
@keyframes ringFill { from { stroke-dashoffset:339; } to { stroke-dashoffset:64; } }
@keyframes dropIn { 0% { opacity:0; transform:translateY(-220px) scale(.55); } 66% { opacity:1; transform:translateY(12px) scale(1); } 100% { transform:translateY(0) scale(1); } }
@keyframes lineWipe { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes haloPulse { 0%,100% { opacity:.4; transform:scale(1); } 50% { opacity:.85; transform:scale(1.1); } }
@keyframes spinHalo { to { transform:rotate(360deg); } }
@keyframes letterIn { from { opacity:0; letter-spacing:22px; } to { opacity:1; letter-spacing:7px; } }
@keyframes dashDrift { to { background-position: 64px 64px; } }

/* ---------- scroll-reveal gating ----------
   Every animated element carries .fx and an inline `animation:` shorthand.
   It stays paused until its .scene ancestor receives .in (via IntersectionObserver). */
.fx { animation-play-state: paused; }
.scene.in .fx { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ring-fg { stroke-dashoffset: 64 !important; }
}

/* ---------- grid overlay util ---------- */
.gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,13,20,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124,117,255,.10);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 30px; height: 30px; transform: rotate(45deg); border-radius: 7px;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
}
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.3px; }
.brand-name span { color: var(--violet-3); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--muted-2); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 11px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  color: #fff; box-shadow: 0 14px 34px -12px rgba(99,91,255,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(99,91,255,.85); }
.btn-ghost { background: transparent; color: #e9eaf4; border-color: rgba(255,255,255,.16); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(78% 90% at 50% 36%, var(--bg-violet) 0%, var(--bg-mid) 46%, var(--bg-deep) 100%);
  padding: 96px 0 110px;
  text-align: center;
}
.halo-ring {
  position: absolute; top: 250px; left: 50%; width: 760px; height: 760px;
  margin-left: -380px; border-radius: 50%;
  border: 1.5px dashed rgba(124,117,255,.26);
  animation: spinHalo 30s linear infinite;
}
.halo-glow {
  position: absolute; top: 280px; left: 50%; width: 560px; height: 560px;
  margin-left: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,117,255,.32), transparent 68%);
  filter: blur(30px); animation: haloPulse 3.6s ease-in-out infinite;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }

/* funnel logo mark */
.funnel { position: relative; width: 150px; height: 150px; display: flex; align-items: flex-start; justify-content: center; }
.funnel-ball {
  position: absolute; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 24px rgba(255,255,255,.65);
  animation: dropIn 1.05s .3s cubic-bezier(.5,0,.3,1) both;
}
.funnel-cone {
  margin-top: 29px; width: 140px; height: 120px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(135deg, var(--violet-4), var(--violet));
  filter: drop-shadow(0 22px 42px rgba(99,91,255,.45));
  animation: popIn .9s .15s both;
}
.eyebrow {
  margin-top: 30px; font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--violet-3); animation: letterIn .9s .5s both;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(42px, 6vw, 78px); line-height: 1.04; letter-spacing: -2px;
  margin: 22px 0 0; max-width: 16ch; text-wrap: balance;
  animation: fadeUp .7s .65s both;
}
.hero-title .hl { color: var(--violet-3); }
.hero-rule {
  width: 360px; max-width: 70vw; height: 3px; margin: 34px 0 30px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  transform: scaleX(0); animation: lineWipe .7s 1s cubic-bezier(.5,0,.3,1) both;
}
.hero-sub {
  font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0 auto;
  animation: fadeUp .7s .9s both;
}
.hero-sub b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 38px; animation: fadeUp .7s 1.05s both; }
.live-badge {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 30px;
  background: rgba(124,117,255,.1); border: 1.5px solid rgba(124,117,255,.34);
  border-radius: 999px; padding: 11px 22px; font-size: 14.5px; font-weight: 600; color: #dcdcf2;
  animation: popIn .6s 1.2s both;
}
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(22,201,138,.7); }
.trust-row {
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; font-size: 13.5px; color: var(--muted-3); font-weight: 600; letter-spacing: .3px;
  animation: fadeIn .9s 1.4s both;
}
.trust-row .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #15182a; border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; color: #cfd3e6;
}
.trust-row .chip .sq { width: 7px; height: 7px; border-radius: 2px; background: #2dd4bf; }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.sec { position: relative; padding: 110px 0; }
.sec-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--violet-2);
}
.sec-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.07; letter-spacing: -1.4px;
  margin: 16px 0 0; text-wrap: balance;
}
.sec-lede { font-size: 18.5px; color: var(--muted); margin: 18px auto 0; max-width: 60ch; }
.sec-lede b { color: #fff; font-weight: 600; }

/* ============================================================
   ANNOUNCEMENT  (responsive video — desktop 16:9 / mobile 9:16)
   ============================================================ */
.announce { background: radial-gradient(80% 70% at 50% 18%, var(--bg-mid) 0%, var(--bg-deep) 72%); }
.announce-stage {
  max-width: 960px; margin: 0 auto; position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 20px; background: #000;
  box-shadow: 0 40px 90px -36px rgba(99,91,255,.4);
}
.announce-video { display: block; width: 100%; height: auto; }
.announce-video.is-mobile { display: none; }

@media (max-width: 680px) {
  .announce-stage { max-width: 420px; border-radius: 16px; }
  .announce-video.is-desktop { display: none; }
  .announce-video.is-mobile  { display: block; }
}

/* ============================================================
   FLOW  (the centerpiece — reproduces the enrichment storyboard, vertical)
   ============================================================ */
.flow { background: radial-gradient(80% 70% at 50% 30%, var(--bg-flow) 0%, var(--bg-deep) 72%); }
.flow-col { max-width: 720px; margin: 0 auto; }
.flow-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
  animation: fadeIn .6s both;
}
.flow-top .brand-mark { width: 26px; height: 26px; }
.flow-top .t { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; }
.flow-caption { color: var(--muted-2); font-size: 16px; margin: 0 0 26px; animation: fadeIn .6s .1s both; }

.step-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--violet-2); font-weight: 600; margin-bottom: 13px;
}
.card-dark {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.step1 { padding: 20px 22px; animation: fadeUp .6s .15s both; }
.step1 .row { display: flex; align-items: center; gap: 14px; }
.check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--bg-deep);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.step1 .who { font-weight: 700; font-size: 17px; }
.step1 .who span { color: var(--violet-2); }

.arrow-down { display: flex; justify-content: center; padding: 14px 0; }
.arrow-down svg { width: 24px; height: 40px; }

/* big enrichment card */
.enrich-shell { position: relative; animation: scaleIn .6s .2s both; }
.enrich-shell::before {
  content: ""; position: absolute; inset: -26px;
  background: radial-gradient(55% 55% at 50% 40%, rgba(124,117,255,.32), transparent 70%);
  filter: blur(22px); z-index: 0;
}
.enrich {
  position: relative; z-index: 1; background: #fff; color: #11141c;
  border-radius: 22px; padding: 26px 28px; box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.enrich-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.enrich-head .l { display: flex; align-items: center; gap: 10px; }
.enrich-ico {
  width: 28px; height: 28px; border-radius: 8px; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  display: flex; align-items: center; justify-content: center;
}
.enrich-head .ttl { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: #1a1d28; }
.enrich-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--violet); background: #eeedff;
  padding: 6px 13px; border-radius: 999px;
}
.enrich-badge .d { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); animation: floatY 1.4s ease-in-out infinite; }

.enrich-body { display: flex; gap: 22px; }
.enrich-main { flex: 1; min-width: 0; }
.person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px;
}
.person .nm { font-weight: 800; font-size: 20px; color: #161922; }
.person .ro { font-size: 13.5px; color: #7b8298; }

.scan {
  background: #f5f6fb; border-radius: 12px; padding: 13px 15px; margin-bottom: 16px;
}
.scan .top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #7b8298; font-weight: 600; margin-bottom: 9px; }
.scan .top .lft { display: flex; align-items: center; gap: 7px; }
.scan .top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.scan .top .done { color: var(--green-2); }
.scan .track { height: 7px; background: #e6e8f2; border-radius: 99px; overflow: hidden; }
.scan .bar { height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--violet-2), var(--green)); animation: typeBar 1.1s .25s cubic-bezier(.4,0,.2,1) both; }

.ai-cap { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #9098ad; font-weight: 600; margin-bottom: 10px; }
.ai-list { display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; line-height: 1.5; color: #3a4055; }
.ai-list b { color: #161922; }
.ai-list .vio { color: var(--violet); font-weight: 700; }

/* score column */
.score-col { width: 184px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; border-left: 1px solid #ececf4; padding-left: 20px; }
.ring { position: relative; width: 132px; height: 132px; }
.ring-fg { animation: ringFill 1.5s 1.3s cubic-bezier(.4,0,.2,1) both; }
.ring-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 42px; color: #13161f; line-height: 1; }
.ring-den { font-size: 11px; color: #8b92a6; letter-spacing: 1px; }
.score-tag { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-2); font-weight: 700; margin-top: 8px; }
.score-kv { width: 100%; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.score-kv .kv { display: flex; justify-content: space-between; font-size: 13.5px; }
.score-kv .kv span:first-child { color: #7b8298; }
.score-kv .kv span:last-child { font-weight: 700; color: #161922; }

.followup {
  margin-top: 20px; background: linear-gradient(100deg, #f0efff, #eafaf3);
  border: 1px solid #e1e0ff; border-radius: 14px; padding: 15px 17px;
  display: flex; align-items: center; gap: 14px; animation: popIn .5s 1.8s both;
}
.followup .fi { width: 36px; height: 36px; border-radius: 10px; background: var(--violet); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.followup .fl { font-size: 12px; color: var(--violet); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.followup .ft { font-size: 15px; color: #2a2f40; font-weight: 600; }

/* flow bottom two cards */
.flow-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fb-card { padding: 18px; }
.crm-tabs { display: flex; gap: 7px; margin-bottom: 14px; }
.crm-tabs .tab { font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 6px; }
.crm-tabs .tab.on { color: #cfd3e6; background: var(--line); }
.crm-tabs .tab.off { color: #8089a3; background: #1b1e2c; }
.crm-lead {
  background: var(--card-2); border: 1px solid var(--line-2); border-left: 3px solid var(--green);
  border-radius: 10px; padding: 13px;
}
.crm-lead .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.crm-lead .nm { font-weight: 700; font-size: 15px; }
.pill-score { font-size: 12px; font-weight: 800; color: var(--bg-deep); background: var(--green); padding: 2px 9px; border-radius: 99px; }
.crm-lead .meta { font-size: 12.5px; color: #8089a3; }
.crm-lead .meta b { color: var(--violet-2); font-weight: 700; }
.notify {
  background: linear-gradient(120deg, #1a1430, #221a3f); border: 1px solid #4a3da0;
  border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 14px;
  animation: pulseGlow 2s 2.4s ease-in-out infinite;
}
.notify .bell { width: 42px; height: 42px; border-radius: 12px; background: var(--violet); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.notify .nt { font-size: 14px; font-weight: 700; }
.notify .ns { font-size: 12.5px; color: #b9b4e6; }

/* ============================================================
   DELIVERABLES grid
   ============================================================ */
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliver-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  animation: fadeUp .6s both; transition: border-color .2s ease, transform .2s ease;
}
.deliver-card:hover { border-color: rgba(124,117,255,.45); transform: translateY(-3px); }
.d-ico {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124,117,255,.22), rgba(99,91,255,.12));
  border: 1px solid rgba(124,117,255,.28); color: var(--violet-3);
}
.deliver-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.3px; }
.deliver-card p { font-size: 15px; color: var(--muted-2); margin: 0; line-height: 1.55; }
.deliver-card .tag-default {
  display: inline-block; margin-top: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--green); background: rgba(22,201,138,.12); border: 1px solid rgba(22,201,138,.3);
  padding: 4px 10px; border-radius: 999px;
}
.deliver-card .tag-later {
  display: inline-block; margin-top: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--violet-3); background: rgba(124,117,255,.12); border: 1px solid rgba(124,117,255,.3);
  padding: 4px 10px; border-radius: 999px;
}

/* ============================================================
   EXAMPLE LANDING PAGES (we build yours)
   ============================================================ */
.examples { background: radial-gradient(70% 90% at 50% 0%, #14172a 0%, var(--bg-deep) 60%); }
.examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ex-card {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card); animation: fadeUp .6s both; transition: transform .2s ease, border-color .2s ease;
}
.ex-card:hover { transform: translateY(-3px); border-color: rgba(124,117,255,.4); }
.ex-top { height: 8px; }
.ex-win {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #0f1118; border-bottom: 1px solid var(--line);
}
.ex-win i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.ex-body { padding: 20px; min-height: 188px; display: flex; flex-direction: column; }
.ex-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.ex-h { font-size: 23px; font-weight: 800; line-height: 1.1; margin: 8px 0 12px; letter-spacing: -.4px; }
.ex-form { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.ex-input { height: 26px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ex-btn { height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ex-label { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); }
.ex-label b { color: #fff; font-weight: 700; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.integ-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  animation: fadeUp .6s both; position: relative;
}
.integ-card .badge {
  position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  padding: 4px 11px; border-radius: 999px;
}
.badge-default { color: var(--green); background: rgba(22,201,138,.12); border: 1px solid rgba(22,201,138,.32); }
.badge-spec { color: var(--violet-3); background: rgba(124,117,255,.12); border: 1px solid rgba(124,117,255,.32); }
.integ-logo {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 18px;
}
.integ-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.integ-card p { font-size: 15px; color: var(--muted-2); margin: 0; }
.integ-note { text-align: center; color: var(--muted-3); font-size: 14.5px; margin: 28px auto 0; max-width: 56ch; }

/* ============================================================
   PIPELINE preview
   ============================================================ */
.pipe-frame {
  background: #f5f6fa; border-radius: 20px; overflow: hidden; color: #1a1d29;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 90px rgba(0,0,0,.5);
  animation: scaleIn .6s both;
}
.pipe-top { height: 64px; background: #fff; border-bottom: 1px solid #e6e8ef; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; }
.pipe-top .ttl { font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.pipe-top .sub { font-size: 11.5px; color: #9097ad; font-weight: 600; }
.pipe-stats { display: flex; gap: 22px; }
.pipe-stats .st { text-align: right; }
.pipe-stats .v { font-size: 19px; font-weight: 800; line-height: 1; }
.pipe-stats .l { font-size: 11px; color: #9097ad; }
.pipe-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px; }
.pipe-col .ch { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; font-weight: 700; font-size: 13.5px; }
.pipe-col .ch .dot { width: 9px; height: 9px; border-radius: 50%; }
.pipe-col .ch .ct { color: #9097ad; font-weight: 600; }
.lead {
  background: #fff; border: 1px solid #e9ebf1; border-left: 3px solid var(--green);
  border-radius: 12px; padding: 13px; box-shadow: 0 6px 18px rgba(20,24,50,.05); margin-bottom: 11px;
}
.lead.amber { border-left-color: var(--amber); }
.lead .nm { font-weight: 800; font-size: 14.5px; margin-bottom: 2px; }
.lead .desc { font-size: 12px; color: #8089a3; margin-bottom: 9px; }
.lead .ft { display: flex; align-items: center; justify-content: space-between; }
.lead .ft .s { font-size: 11.5px; color: #5a6178; }
.lead .sc { font-size: 12.5px; font-weight: 800; color: #fff; background: var(--green); padding: 2px 9px; border-radius: 99px; }
.lead .sc.amber { color: #7a5a00; background: #fdeecb; }
.lead.won { background: linear-gradient(160deg, #eafaf3, #fff); border: 1px solid #bfecd9; border-left: none; }

/* ============================================================
   NOTIFY (mobile) — phone + push
   ============================================================ */
.notify-sec { display: grid; grid-template-columns: 1fr 460px; gap: 60px; align-items: center; }
.notify-copy .sec-title { text-align: left; }
.notify-chips { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 28px; animation: fadeUp .6s .2s both; }
.notify-chips .c { background: #1a1d2b; border: 1px solid var(--line); padding: 11px 19px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #d4d8e6; }
.phone-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.phone-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(124,117,255,.4), transparent 65%); filter: blur(30px); }
.phone {
  position: relative; width: 360px; height: 740px; background: #0c0e14; border: 12px solid #1b1e29;
  border-radius: 50px; overflow: hidden; box-shadow: 0 50px 110px rgba(0,0,0,.6), inset 0 0 0 1.5px #34384a;
  animation: scaleIn .7s .2s both;
}
.phone .screen { position: absolute; inset: 0; background: linear-gradient(170deg, #2a2350 0%, #15182a 45%, #0c0e14 100%); }
.phone .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 28px; background: #000; border-radius: 99px; z-index: 5; }
.phone .statusbar { position: relative; z-index: 3; padding: 22px 28px 0; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.phone .clock { position: relative; z-index: 3; text-align: center; margin-top: 34px; }
.phone .clock .d { font-size: 18px; color: #cdd2e6; }
.phone .clock .t { font-family: 'Space Grotesk', sans-serif; font-size: 80px; font-weight: 600; line-height: 1; letter-spacing: -2px; }
.phone .pushes { position: relative; z-index: 3; margin-top: 36px; padding: 0 15px; display: flex; flex-direction: column; gap: 11px; }
.push {
  background: rgba(30,28,52,.72); backdrop-filter: blur(20px); border: 1px solid rgba(124,117,255,.45);
  border-radius: 20px; padding: 14px 15px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  animation: popIn .55s .8s both;
}
.push.alt { background: rgba(22,24,38,.66); border-color: rgba(255,255,255,.12); animation-delay: 1.35s; }
.push .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.push .pi { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.push .pi.v { background: linear-gradient(135deg, var(--violet-2), var(--violet)); animation: pulseGlow 1.8s .9s ease-in-out infinite; }
.push .pi.g { background: #1ec98a; }
.push .pname { font-size: 13px; font-weight: 700; color: #cfd3e6; flex: 1; }
.push .pnow { font-size: 12px; color: #8e93a8; }
.push .pt { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.push .pb { font-size: 14px; color: #c4c8db; line-height: 1.4; }
.push .pb b { color: #fff; }

/* ============================================================
   CLOSE CTA
   ============================================================ */
.close-sec {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(78% 90% at 50% 50%, var(--bg-violet) 0%, var(--bg-mid) 46%, var(--bg-deep) 100%);
  padding: 120px 0;
}
.close-ring { position: absolute; top: 50%; left: 50%; width: 680px; height: 680px; margin: -340px 0 0 -340px; border-radius: 50%; border: 1.5px dashed rgba(124,117,255,.22); animation: spinHalo 34s linear infinite; }
.close-glow { position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(124,117,255,.34), transparent 68%); filter: blur(26px); animation: haloPulse 3.6s ease-in-out infinite; }
.close-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.close-mark { animation: popIn .8s .1s both; }
.close-mark .funnel { width: 120px; height: 120px; }
.close-mark .funnel-cone { width: 112px; height: 96px; margin-top: 24px; }
.close-mark .funnel-ball { width: 24px; height: 24px; }
.close-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(38px, 5vw, 68px); letter-spacing: -2px; margin: 26px 0 0; animation: fadeUp .7s .4s both; }
.close-title .hl { color: var(--violet-3); }
.close-line { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; color: #e7e9f5; margin: 18px auto 0; max-width: 22ch; text-wrap: balance; animation: fadeUp .7s .6s both; }
.close-cta { margin-top: 38px; animation: popIn .6s .85s both; }
.close-domain {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  background: rgba(124,117,255,.12); border: 1.5px solid rgba(124,117,255,.4); border-radius: 999px;
  padding: 13px 28px; animation: popIn .6s 1.05s both;
}
.close-domain .gd { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(22,201,138,.7); }
.close-domain span { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid rgba(124,117,255,.1); padding: 40px 0 56px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-mark { width: 24px; height: 24px; transform: rotate(45deg); border-radius: 6px; background: linear-gradient(135deg, var(--violet-2), var(--violet)); }
.foot-by { font-size: 13.5px; color: var(--muted-3); }
.foot-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted-2); }
.foot-links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .deliver-grid, .examples-grid { grid-template-columns: 1fr 1fr; }
  .integ-grid { grid-template-columns: 1fr; }
  .pipe-cols { grid-template-columns: repeat(2, 1fr); }
  .notify-sec { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .notify-copy .sec-title, .notify-copy .sec-lede { text-align: center; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .deliver-grid, .examples-grid, .pipe-cols { grid-template-columns: 1fr; }
  .enrich-body { flex-direction: column; }
  .score-col { width: 100%; border-left: none; border-top: 1px solid #ececf4; padding-left: 0; padding-top: 18px; margin-top: 4px; }
  .flow-bottom { grid-template-columns: 1fr; }
  .pipe-frame { display: none; } /* kanban too dense for narrow screens */
}
