  :root {
    --navy: #0b1220;
    --navy-2: #060a14;
    --navy-3: #03060d;
    --blue: #2d5bff;
    --blue-2: #1e44e0;
    --blue-3: #4a73ff;
    --blue-tint: rgba(45,91,255,.10);
    --blue-tint-2: rgba(45,91,255,.16);
    --bg: #ffffff;
    --bg-soft: #F5F7FB;
    --bg-soft-2: #EEF1F7;
    --line: #E6EAF1;
    --line-2: #D9DFE9;
    --ink: #0b1220;
    --ink-2: #2A3548;
    --muted: #5B6778;
    --muted-2: #8794A8;
    --green: #16A34A;
    --green-tint: rgba(22,163,74,.10);
    --amber: #F59E0B;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-xs: 0 1px 0 rgba(11,18,32,.04), 0 1px 2px rgba(11,18,32,.04);
    --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 1px rgba(11,18,32,.04);
    --shadow-md: 0 8px 28px -10px rgba(11,18,32,.18), 0 2px 8px -3px rgba(11,18,32,.08);
    --shadow-lg: 0 30px 70px -28px rgba(11,18,32,.35), 0 10px 24px -12px rgba(11,18,32,.14);
    --max: 1200px;
    --font: 'Chillax', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
  }
  h1, h2, h3, h4, h5, .brand, .btn, .kicker, .eyebrow strong, .nav-links, .price .amount .num, .stat .val { font-weight: 600; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============ NAV ============ */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    background: rgba(255,255,255,.72);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease;
  }
  .nav.scrolled { background: rgba(255,255,255,.88); border-bottom-color: var(--line); }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; letter-spacing: -.01em; font-size: 17px;
  }
  .brand-mark {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 14px -6px rgba(45,91,255,.55);
  }
  .brand-wordmark {
    height: 18px; width: auto; display: block;
  }
  .nav-links {
    display: flex; gap: 28px; align-items: center;
    font-size: 14px; color: var(--ink-2); font-weight: 500;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; gap: 10px; align-items: center; }
  .nav-menu { display: none; }

  /* ============ BUTTONS ============ */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 18px -8px rgba(45,91,255,.55);
  }
  .btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 26px -10px rgba(45,91,255,.65); }
  .btn-ghost {
    background: transparent; color: var(--ink);
    border: 1px solid var(--line-2);
  }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-ghost.on-dark { color: white; border-color: rgba(255,255,255,.25); }
  .btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
  .btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: 12px; }
  .btn-text { color: var(--ink-2); font-weight: 500; padding: 8px 12px; }
  .btn-text:hover { color: var(--ink); }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: -40% -10% 35% -10%;
    background:
      radial-gradient(55% 50% at 75% 25%, rgba(45,91,255,.10) 0%, transparent 62%),
      radial-gradient(45% 45% at 20% 15%, rgba(11,18,32,.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .hero::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; bottom: 30%;
    background-image:
      linear-gradient(rgba(11,18,32,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(11,18,32,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(60% 70% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, black 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .hero-grid {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }
  .hero-copy {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub {
    font-size: 19px; color: var(--muted); margin: 0 0 32px;
    max-width: 600px; line-height: 1.55;
    text-wrap: pretty;
  }
  .hero-ctas { justify-content: center; }
  .hero-meta { justify-content: center; }
  .mock-wrap { width: 100%; max-width: 1180px; margin: 0 auto; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    margin-bottom: 22px;
  }
  .eyebrow .dot {
    width: 18px; height: 18px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-3), var(--blue) 55%, var(--navy));
    display: grid; place-items: center; color: white; font-size: 10px;
    box-shadow: 0 2px 6px -2px rgba(45,91,255,.55);
  }
  .eyebrow strong { color: var(--ink); font-weight: 600; }
  .eyebrow .pill {
    background: var(--blue-tint);
    color: var(--blue-2);
    padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
    margin-left: 4px;
  }

  h1 {
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--ink);
    text-wrap: balance;
  }
  h1 .accent {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 55%, var(--blue-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-sub { /* see canonical .hero-sub above */ }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-meta {
    display: flex; align-items: center; gap: 18px;
    margin-top: 26px;
    color: var(--muted); font-size: 13px;
  }
  .hero-meta .sep { width: 1px; height: 14px; background: var(--line-2); }
  .check { color: var(--green); }

  /* ============ DASHBOARD MOCKUP ============ */
  .mock-wrap {
    position: relative;
    perspective: 2000px;
  }
  .mock {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .mock-top {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #FAFBFD, #F5F7FB);
  }
  .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
  .mock-dot.r { background: #FF6B6B; } .mock-dot.y { background: #FFC53D; } .mock-dot.g { background: #4ADE80; }
  .mock-url {
    margin-left: 10px; flex: 1;
    background: white; border: 1px solid var(--line);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px; font-family: var(--mono); color: var(--muted);
    display: flex; align-items: center; gap: 6px;
  }
  .mock-body {
    display: grid;
    grid-template-columns: 168px 1fr 290px;
    min-height: 520px;
  }
  .mock-side {
    background: linear-gradient(180deg, #FAFBFD 0%, #F6F8FC 100%);
    border-right: 1px solid var(--line);
    padding: 16px 10px;
    display: flex; flex-direction: column; gap: 3px;
  }
  .mock-side .ms-brand {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 8px 14px; font-size: 12px; font-weight: 700;
    color: var(--ink);
  }
  .ms-brand .bm { width: 18px; height: 18px; border-radius: 5px; background: url('../assets/favicon.png') center/cover no-repeat; box-shadow: 0 2px 6px -2px rgba(45,91,255,.5); }
  .ms-brand { font-weight: 600; }
  .ms-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 7px;
    font-size: 12px; color: var(--ink-2);
  }
  .ms-item.active { background: var(--blue-tint); color: var(--blue-2); font-weight: 600; }
  .ms-item .ico { width: 14px; height: 14px; opacity: .8; }
  .ms-item.active .ico { opacity: 1; }
  .ms-divider { height: 1px; background: var(--line); margin: 8px 4px; }

  .mock-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); background: white; }
  .mock-h {
    display: flex; align-items: center; justify-content: space-between;
  }
  .mock-h h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
  .mock-h .mh-act { display: flex; gap: 6px; }
  .mh-btn { font-size: 11px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); background: white; font-weight: 500; }
  .mh-btn.solid { background: var(--blue); color: white; border-color: var(--blue); font-weight: 600; box-shadow: 0 2px 6px -2px rgba(45,91,255,.45); }

  .stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .stat {
    border: 1px solid var(--line);
    border-radius: 10px; padding: 10px 12px;
    background: white;
  }
  .stat .label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
  .stat .val { font-size: 20px; font-weight: 700; letter-spacing: -.025em; margin: 3px 0 4px; color: var(--ink); }
  .stat .trend { font-size: 10.5px; color: var(--green); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
  .stat .trend.down { color: var(--amber); }

  .chart {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    background: white;
    height: 130px;
    position: relative;
  }
  .chart .chart-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
  .chart .chart-h b { color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

  .clients { display: flex; flex-direction: column; gap: 6px; }
  .crow {
    display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center;
    padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: white;
    font-size: 11.5px;
  }
  .crow .av {
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, #E6EEFE, #C2D6FE);
    color: var(--blue-2); display: grid; place-items: center; font-weight: 700; font-size: 10px;
  }
  .crow .av.b { background: linear-gradient(135deg,#FFE4D6,#FFC8A6); color:#A8531E; }
  .crow .av.c { background: linear-gradient(135deg,#D9F3E2,#A5E0BD); color:#1B6B3B; }
  .crow .name { font-weight: 600; color: var(--ink); }
  .crow .name span { color: var(--muted); font-weight: 500; margin-left: 4px; }
  .health { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
  .health .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
  .health.amber .pip { background: var(--amber); }
  .amt { font-weight: 700; font-family: var(--mono); font-size: 11px; color: var(--ink); }

  /* Floating cards */
  .float-card {
    position: absolute;
    z-index: 3;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 12px 14px;
    font-size: 12px;
    display: flex; align-items: center; gap: 10px;
  }
  .fc-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-tint); color: var(--blue-2); display: grid; place-items: center; flex-shrink: 0; }
  .fc-title { font-weight: 600; color: var(--ink); }
  .fc-sub { color: var(--muted); font-size: 11px; margin-top: 1px; }
  .fc-1 { top: -16px; left: -28px; }

  /* ============ SOCIAL PROOF ============ */
  .social {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    background: white;
  }
  .social-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
  }
  .sp-left { display: flex; align-items: center; gap: 20px; color: var(--ink-2); font-size: 13.5px; flex-wrap: wrap; }
  .stars { display: inline-flex; gap: 2px; color: #FFB020; }
  .avatars { display: flex; }
  .avatars > div {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    background-size: cover; background-position: center;
    display: grid; place-items: center; font-size: 11px; font-weight: 600; color: white;
    box-shadow: 0 0 0 1px var(--line);
  }
  .avatars > div:first-child { margin-left: 0; }
  .av-1 { background: linear-gradient(135deg, var(--blue-3), var(--blue) 60%, var(--navy)); }
  .av-2 { background: linear-gradient(135deg,#FF7847,#C13B7A); }
  .av-3 { background: linear-gradient(135deg,#10B981,#0E7C5C); }
  .av-4 { background: linear-gradient(135deg,#A855F7,#6B21A8); }
  .av-5 { background: linear-gradient(135deg,#F59E0B,#B45309); }

  .logos { display: flex; gap: 36px; align-items: center; color: var(--ink-2); opacity: .65; }
  .logos .lg {
    font-weight: 600; letter-spacing: -.02em; font-size: 17px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: opacity .2s ease;
  }
  .logos:hover .lg { opacity: .65; }
  .logos .lg:hover { opacity: 1; }
  .logos .lg .ld { width: 14px; height: 14px; border-radius: 4px; background: currentColor; }
  .logos .lg.italic { font-style: italic; font-family: 'Times New Roman', Georgia, serif; font-weight: 500; }
  .logos .lg.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .02em; font-weight: 500; }

  /* ============ SECTIONS ============ */
  section { position: relative; }
  .section-pad { padding: 120px 0; }
  .section-pad-sm { padding: 96px 0; }

  .section-head { max-width: 740px; margin: 0 auto 64px; text-align: center; }
  .section-head.left { margin-left: 0; text-align: left; }
  .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
  }
  .kicker::before {
    content: '';
    width: 18px; height: 1px;
    background: currentColor;
    opacity: .5;
  }
  .kicker.on-dark { color: #8FB5FF; }
  h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 600;
    margin: 0 0 18px;
    text-wrap: balance;
  }
  .section-sub {
    font-size: 17px;
    color: var(--muted);
    margin: 0;
    text-wrap: pretty;
  }
  .on-dark h2, .on-dark .section-sub { color: white; }
  .on-dark .section-sub { color: rgba(255,255,255,.7); }

  /* ============ PROBLEM ============ */
  .problem {
    background: var(--navy);
    color: white;
    overflow: hidden;
  }
  .problem::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(50% 60% at 85% 0%, rgba(45,91,255,.18) 0%, transparent 60%),
      radial-gradient(40% 50% at 5% 100%, rgba(45,91,255,.08) 0%, transparent 60%);
    pointer-events: none;
  }
  .problem .container { position: relative; }

  .pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .pain {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
  }
  .pain:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.16); transform: translateY(-2px); }
  .pain-ico {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(45,91,255,.18);
    color: #B7CDFF;
    display: grid; place-items: center;
    border: 1px solid rgba(45,91,255,.22);
  }
  .pain h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .pain p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.55; }
  .pain .tag { font-family: var(--mono); font-size: 11px; color: #8FB5FF; letter-spacing: .04em; font-weight: 500; }

  /* ============ FEATURES ============ */
  .features { background: var(--bg-soft); }
  .feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .feat {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
  .feat-ico {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-tint), rgba(45,91,255,.04));
    color: var(--blue-2);
    display: grid; place-items: center;
    border: 1px solid rgba(45,91,255,.16);
  }
  .feat h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
  .feat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
  .feat .feat-shortcut {
    margin-top: auto;
    font-family: var(--mono); font-size: 11.5px;
    color: var(--ink-2);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .feat .feat-shortcut kbd {
    font-family: var(--mono); font-size: 10.5px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 1px 6px;
    color: var(--ink);
  }
  .feat-label {
    position: absolute; top: 18px; right: 18px;
    font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
    color: var(--blue-2); text-transform: uppercase;
    background: var(--blue-tint);
    padding: 3px 8px; border-radius: 999px;
  }

  /* ============ AGENTS ============ */
  .agents {
    background: var(--navy-2);
    color: white;
    overflow: hidden;
  }
  .agents::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(50% 50% at 50% 0%, rgba(45,91,255,.22) 0%, transparent 60%);
    pointer-events: none;
  }
  .agents .container { position: relative; }
  .agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .agent {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 22px;
    display: flex; flex-direction: column; gap: 14px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
  }
  .agent::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(120% 60% at 100% 0%, rgba(45,91,255,.22) 0%, transparent 50%);
    opacity: 0; transition: opacity .25s ease;
    pointer-events: none;
  }
  .agent:hover { border-color: rgba(45,91,255,.45); transform: translateY(-2px); }
  .agent:hover::before { opacity: 1; }
  .agent-top { display: flex; align-items: center; justify-content: space-between; }
  .agent-ico {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(45,91,255,.18); color: #B7CDFF;
    display: grid; place-items: center;
    border: 1px solid rgba(45,91,255,.28);
  }
  .agent-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: #8FCFA8; font-family: var(--mono);
    font-weight: 500;
  }
  .agent-status .pip { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
  .agent h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .agent p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.55; }
  .agent .agent-tasks {
    margin-top: 6px;
    font-family: var(--mono); font-size: 11px;
    color: rgba(255,255,255,.5);
  }
  .agent .agent-tasks b { color: white; font-weight: 600; }

  /* ============ PRICING ============ */
  .pricing { background: white; }
  .price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .price {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex; flex-direction: column;
    background: white;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .price:hover { border-color: var(--line-2); }
  .price.featured {
    border-color: var(--navy);
    background: linear-gradient(180deg, #FCFDFF 0%, white 100%);
    box-shadow: 0 30px 70px -28px rgba(11,18,32,.32), 0 0 0 1px var(--navy);
    position: relative;
    transform: translateY(-6px);
  }
  .price .pop {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--navy); color: white;
    padding: 5px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 20px -10px rgba(11,18,32,.4);
  }
  .price h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .price .tagline { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; min-height: 38px; }
  .price .amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
  .price .amount .currency { font-size: 18px; color: var(--ink-2); font-weight: 600; }
  .price .amount .num {
    font-size: 44px; font-weight: 700; letter-spacing: -.03em;
    line-height: 1;
  }
  .price .amount .per { color: var(--muted); font-size: 13px; }
  .price ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
  .price ul li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
  .price ul li::before {
    content: ''; width: 16px; height: 16px; flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 5' stroke='%2316A34A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
  }
  .price ul li.muted { color: var(--muted); }
  .price ul li.muted::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 5' stroke='%23A8B3C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  .price .btn { width: 100%; justify-content: center; margin-top: auto; }
  .price-btn-secondary { background: var(--ink); color: white; }
  .price-btn-secondary:hover { background: var(--navy); }

  /* ============ TESTIMONIALS ============ */
  .testimonials { background: var(--bg-soft); }
  .test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .test {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .test .qmark {
    font-size: 36px; font-weight: 700; line-height: 1;
    color: var(--blue); font-family: Georgia, serif;
  }
  .test p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
  .test footer {
    display: flex; align-items: center; gap: 12px; margin-top: auto;
    padding-top: 16px; border-top: 1px solid var(--line);
  }
  .test footer .av {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; color: white;
    font-weight: 700; font-size: 13px;
  }
  .test footer .name { font-weight: 600; font-size: 14px; }
  .test footer .role { color: var(--muted); font-size: 12.5px; }

  /* ============ FINAL CTA ============ */
  .final {
    background: var(--navy);
    color: white;
    text-align: center;
    overflow: hidden;
  }
  .final::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(55% 60% at 50% 0%, rgba(45,91,255,.26) 0%, transparent 62%),
      radial-gradient(40% 60% at 50% 100%, rgba(45,91,255,.12) 0%, transparent 60%);
    pointer-events: none;
  }
  .final .container { position: relative; }
  .final h2 { color: white; max-width: 720px; margin: 0 auto 18px; font-size: clamp(36px, 4.4vw, 56px); }
  .final p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 580px; margin: 0 auto 32px; }
  .final .btn-primary { background: white; color: var(--navy); box-shadow: 0 1px 0 rgba(0,0,0,.05) inset, 0 10px 30px -10px rgba(0,0,0,.45); }
  .final .btn-primary:hover { background: #F0F4FA; }
  .final-meta { margin-top: 22px; color: rgba(255,255,255,.55); font-size: 13px; }

  /* ============ FOOTER ============ */
  footer.foot { background: var(--navy-3); color: rgba(255,255,255,.65); padding: 64px 0 40px; }
  .foot-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .foot-brand { display: flex; flex-direction: column; gap: 14px; }
  .foot-brand .brand { color: white; }
  .foot-brand p { color: rgba(255,255,255,.55); font-size: 13.5px; margin: 0; max-width: 280px; line-height: 1.55; }
  .foot-col h5 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: white; margin: 0 0 14px; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
  .foot-col a:hover { color: white; }
  .foot-bottom {
    padding-top: 22px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12.5px; color: rgba(255,255,255,.45);
    flex-wrap: wrap; gap: 12px;
  }
  .socials { display: flex; gap: 10px; }
  .socials a {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    display: grid; place-items: center;
    transition: background .15s ease;
  }
  .socials a:hover { background: rgba(255,255,255,.12); }

  /* ============ CMD+K BAR ============ */
  .cmdk {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #FAFBFD, #F4F6FB);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12.5px;
    position: relative;
  }
  .cmdk kbd {
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    background: white;
    border: 1px solid var(--line-2);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 2px 6px;
    color: var(--ink-2);
    line-height: 1;
  }
  .cmdk-prompt {
    flex: 1; display: flex; align-items: center; gap: 1px;
    color: var(--ink); font-weight: 500;
    min-width: 0;
  }
  .cmdk-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cmdk-text.placeholder { color: var(--muted); font-weight: 400; }
  .cmdk-cursor {
    display: inline-block;
    width: 1.5px; height: 13px;
    background: var(--blue);
    margin-left: 2px;
    vertical-align: -2px;
    animation: blink 1s steps(2, start) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }
  .cmdk-status {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    color: var(--blue-2);
    background: rgba(45,91,255,.10);
    border-radius: 5px;
    padding: 3px 7px;
    letter-spacing: .04em;
    white-space: nowrap;
    transition: color .3s ease, background .3s ease;
  }
  .cmdk-status .spark {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--blue);
    animation: live-pulse 1.4s ease-in-out infinite;
  }
  .cmdk-status.thinking { color: #B4730A; background: rgba(245,158,11,.14); }
  .cmdk-status.thinking .spark { background: var(--amber); }
  .cmdk-status.done { color: #1F8A4A; background: rgba(22,163,74,.10); }
  .cmdk-status.done .spark { background: #16A34A; }

  /* ============ AI PANEL ============ */
  .ai-panel {
    background: linear-gradient(180deg, #FAFBFD 0%, #EEF2F8 100%);
    padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    overflow: hidden;
  }
  .ai-panel-h {
    display: flex; align-items: center; justify-content: space-between;
  }
  .ai-panel-h .ttl {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-2);
  }
  .ai-panel-h .ttl .glyph {
    width: 18px; height: 18px; border-radius: 5px;
    background: linear-gradient(135deg, var(--blue-3), var(--blue) 60%, var(--navy));
    display: grid; place-items: center;
    box-shadow: 0 2px 6px -2px rgba(45,91,255,.55);
  }
  .ai-panel-h .count {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    color: var(--blue-2);
    background: rgba(45,91,255,.10);
    border-radius: 999px;
    padding: 2px 8px;
    display: inline-flex; align-items: center; gap: 5px;
  }
  .ai-panel-h .count .pip {
    width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
    animation: live-pulse 1.4s ease-in-out infinite;
  }

  .ai-actions { display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
  .ai-action {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    display: flex; flex-direction: column; gap: 7px;
    transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1), border-color .35s ease, background .35s ease, box-shadow .35s ease;
  }
  .ai-action.enter {
    opacity: 0; transform: translateY(-10px);
  }
  .ai-action.exit {
    opacity: 0; transform: translateY(6px);
  }
  .ai-action.running {
    border-color: rgba(45,91,255,.40);
    background: linear-gradient(180deg, white, #F4F8FF);
    box-shadow: 0 6px 18px -10px rgba(45,91,255,.45);
  }
  .ai-action-h {
    display: flex; align-items: center; gap: 8px;
    font-size: 12.5px;
  }
  .ai-action-h .ico {
    width: 22px; height: 22px; border-radius: 6px;
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .ai-action-h .ico.blue  { background: rgba(45,91,255,.12);  color: var(--blue-2); }
  .ai-action-h .ico.green { background: rgba(22,163,74,.14);  color: #16A34A; }
  .ai-action-h .ico.amber { background: rgba(245,158,11,.16); color: #B4730A; }
  .ai-action-h .ico.navy  { background: rgba(11,18,32,.08);   color: var(--ink); }
  .ai-action-h .label { font-weight: 600; color: var(--ink); line-height: 1.25; }
  .ai-action-h .ago {
    margin-left: auto;
    font-family: var(--mono); font-size: 10px;
    color: var(--muted); font-weight: 500;
    white-space: nowrap;
  }
  .ai-action-draft {
    background: var(--bg-soft);
    border: 1px dashed var(--line-2);
    border-radius: 6px;
    padding: 8px 10px;
    margin-left: 30px;
    font-size: 11.5px;
    color: var(--ink-2);
    line-height: 1.45;
    min-height: 16px;
  }
  .ai-action-draft .caret {
    display: inline-block;
    width: 1.5px; height: 12px;
    background: var(--blue);
    margin-left: 1px;
    vertical-align: -2px;
    animation: blink 1s steps(2, start) infinite;
  }
  .ai-steps {
    margin: 2px 0 0 30px;
    display: flex; flex-direction: column; gap: 4px;
    font-size: 11px;
  }
  .ai-step {
    display: flex; align-items: center; gap: 7px;
    color: var(--muted);
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .3s ease, transform .3s ease, color .3s ease;
  }
  .ai-step.in { opacity: 1; transform: translateY(0); }
  .ai-step.done { color: var(--ink-2); }
  .ai-step.now { color: var(--blue-2); font-weight: 600; }
  .ai-step .marker {
    width: 12px; height: 12px; border-radius: 50%;
    border: 1.5px solid var(--line-2);
    flex-shrink: 0;
    display: grid; place-items: center;
    color: white; background: white;
    transition: background .3s ease, border-color .3s ease;
  }
  .ai-step.now .marker {
    border-color: var(--blue);
    background: var(--blue);
    animation: live-pulse 1.4s ease-in-out infinite;
  }
  .ai-step.done .marker {
    border-color: #16A34A;
    background: #16A34A;
    position: relative;
  }
  .ai-step.done .marker::after {
    content: '';
    width: 5px; height: 3px;
    border: 1.5px solid white;
    border-top: 0; border-right: 0;
    transform: translate(0,-1px) rotate(-45deg);
  }
  .ai-panel { font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }

  /* ============ DASHBOARD LIVE ANIMATIONS ============ */
  .mock-h .mh-left { display: flex; align-items: center; gap: 10px; }
  .live-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--mono); font-size: 9.5px; font-weight: 600;
    color: #1F8A4A;
    background: rgba(22,163,74,.10);
    border: 1px solid rgba(22,163,74,.22);
    border-radius: 999px;
    padding: 2px 7px 2px 6px;
    letter-spacing: .06em;
  }
  .live-badge .pip {
    width: 5px; height: 5px; border-radius: 50%;
    background: #16A34A;
    animation: live-pulse 1.6s ease-in-out infinite;
  }
  @keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
    50% { box-shadow: 0 0 0 5px rgba(22,163,74,0); }
  }

  /* Chart draw + tracker */
  .chart-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
  }
  .reveal.in .chart-line {
    animation: draw-line 2.2s .25s cubic-bezier(.65,.05,.36,1) forwards;
  }
  .reveal.in .chart-fill {
    opacity: 0;
    animation: fade-fill 2.5s .4s ease forwards;
  }
  @keyframes draw-line { to { stroke-dashoffset: 0; } }
  @keyframes fade-fill { to { opacity: 1; } }
  .chart-dot { opacity: 0; transition: opacity .3s ease 1.5s; }
  .reveal.in .chart-dot { opacity: 1; }
  .chart-dot .glow {
    transform-origin: center;
    transform-box: fill-box;
    animation: dot-pulse 1.8s ease-in-out infinite;
  }
  @keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: .35; }
    50% { transform: scale(2.4); opacity: 0; }
  }

  /* Floating card stack (cycling toasts) */
  .float-card { padding: 0; overflow: hidden; min-width: 200px; }
  .fc-stack { position: relative; height: 52px; width: 100%; }
  .fc-item {
    position: absolute; inset: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
  }
  .fc-item.active { opacity: 1; transform: translateY(0); }
  .fc-item.exiting { opacity: 0; transform: translateY(-10px); visibility: hidden; }

  /* Stat val tickers */
  .stat .val { transition: color .3s ease; }
  .stat .val.flash { color: var(--blue); }

  /* Client row: timer + transition states */
  .crow { transition: background .35s ease, border-color .35s ease; position: relative; }
  .crow.flash { background: rgba(45,91,255,.06); border-color: rgba(45,91,255,.28); }
  .crow .timer {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    color: var(--blue-2);
    background: rgba(45,91,255,.08);
    border-radius: 4px;
    padding: 2px 5px;
    margin-left: 6px;
    letter-spacing: .03em;
    display: inline-flex; align-items: center; gap: 4px;
    vertical-align: middle;
  }
  .crow .timer::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--blue);
    animation: live-pulse 1.4s ease-in-out infinite;
  }
  .health { transition: color .35s ease; }
  .health .pip { transition: background .35s ease; }
  .health.amber { color: #C0760D; }
  .health.amber .pip { background: var(--amber); }

  /* Shimmer on +New button */
  .mh-btn.solid { position: relative; overflow: hidden; }
  .mh-btn.solid::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: shimmer 4s 1.5s infinite;
  }
  @keyframes shimmer {
    0% { transform: translateX(-120%); }
    55%, 100% { transform: translateX(120%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal.in .chart-line, .reveal.in .chart-fill { animation: none; stroke-dashoffset: 0; opacity: 1; }
    .chart-dot .glow, .live-badge .pip, .crow .timer::before, .mh-btn.solid::after { animation: none; }
  }

  /* ============ REVEAL ANIMATIONS ============ */
  .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.d1 { transition-delay: .06s; }
  .reveal.d2 { transition-delay: .12s; }
  .reveal.d3 { transition-delay: .18s; }
  .reveal.d4 { transition-delay: .24s; }
  .reveal.d5 { transition-delay: .30s; }


  /* ============ FAQ ============ */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
  }
  .faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: white;
    padding: 0 18px;
    box-shadow: var(--shadow-xs);
  }
  .faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    padding: 16px 0;
    list-style: none;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    float: right;
    color: var(--muted);
    font-weight: 400;
  }
  .faq-item[open] summary::after { content: '−'; }
  .faq-item p {
    margin: 0 0 16px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
  }
  .faq-item a { color: var(--blue-2); text-decoration: underline; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1100px) {
    .hero-grid { gap: 36px; }
    .mock-body { grid-template-columns: 160px 1fr; }
    .ai-panel { display: none; }
    .mock-main { border-right: 0; }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .agents-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .test-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
    .foot-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-cta .btn-text { display: none; }
    .hero { padding: 56px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .mock-body { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .cmdk kbd { display: none; }
    .cmdk-status { display: none; }
    .section-pad { padding: 80px 0; }
    .section-pad-sm { padding: 60px 0; }
    .section-head { margin-bottom: 36px; }
    .pain-grid, .agents-grid, .feat-grid, .price-grid { grid-template-columns: 1fr; }
    .price.featured { transform: none; }
    .foot-top { grid-template-columns: 1fr 1fr; gap: 24px; }
    .social-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .logos { flex-wrap: wrap; gap: 20px; }
    .fc-1 { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
  }
