/*!************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./components/LandingPage.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************/
/* ================================================================
     SECUREFLOW v3 — full palette, max animation, honest copy
     ================================================================ */
  :root {
    --primary: #16A34A;
    --primary-dark: #15803D;
    --primary-light: #22C55E;
    --primary-soft: #DCFCE7;
    --primary-tint: rgba(22,163,74,0.08);
    --primary-glow: rgba(22,163,74,0.35);

    --green: #059669;
    --green-dark: #047857;
    --green-soft: #D1FAE5;
    --emerald: #065F46;
    --emerald-soft: #ECFDF5;
    --forest: #064E3B;

    --red: #DC2626;
    --red-dark: #B91C1C;
    --red-soft: #FEF2F2;
    --red-tint: rgba(220,38,38,0.08);

    --orange: #F97316;
    --orange-soft: #FFF7ED;

    --cyan: #06B6D4;
    --indigo: #6366F1;

    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;

    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.06);
    --shadow-lg: 0 16px 48px rgba(15,23,42,0.08);
    --shadow-xl: 0 32px 80px rgba(22,163,74,0.14);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FFFFFF;
    color: var(--slate-600);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: auto;
  }
  img, svg { display: block; max-width: 100%; }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }

  /* ============ CUSTOM CURSOR (subtle, fintech-appropriate) ============ */
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transition: opacity 0.3s;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear, opacity 0.3s, background 0.2s;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s, background 0.2s;
  }
  .cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--green);
    background: rgba(22,163,74,0.08);
  }
  .cursor-ring.click {
    width: 24px; height: 24px;
    background: var(--primary-tint);
  }
  @media (max-width: 768px), (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
  }

  /* ============ Top scroll-progress bar ============ */
  .scroll-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 200;
    pointer-events: none;
  }
  .scroll-progress span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--green) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    width: 0%;
    animation: gradient-slide 3s linear infinite;
    box-shadow: 0 0 12px var(--primary-glow);
  }
  @keyframes gradient-slide { to { background-position: -200% 0; } }

  /* ============ BUTTONS ============ */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14.5px; font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-family: inherit;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
  }
  .btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 4px 14px rgba(22,163,74,0.28);
  }
  .btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease);
  }
  .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 32px rgba(22,163,74,0.42);
  }
  .btn-primary:hover::before { transform: translateX(100%); }

  .btn-green {
    background: var(--green); color: white;
    box-shadow: 0 4px 14px rgba(22,163,74,0.28);
  }
  .btn-green::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease);
  }
  .btn-green:hover {
    background: var(--green-dark);
    box-shadow: 0 12px 32px rgba(22,163,74,0.42);
  }
  .btn-green:hover::before { transform: translateX(100%); }

  .btn-ghost {
    background: white; color: var(--slate-800);
    border-color: var(--slate-200);
  }
  .btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
  }
  .btn-lg { padding: 14px 26px; font-size: 15px; }
  .btn .arrow { transition: transform 0.3s var(--ease); }
  .btn:hover .arrow { transform: translateX(4px); }

  /* Magnetic button — small attract effect on cursor */
  .btn-magnet { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s; }

  /* ============ NAVIGATION ============ */
  .nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 1px 0 var(--slate-200);
    transition: box-shadow 0.3s, background 0.3s, height 0.3s;
  }
  .nav.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 0 var(--slate-200), 0 8px 24px rgba(15,23,42,0.06);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
    width: 91.666%;
    max-width: 1750px;
    margin: 0 auto;
  }
  /* Logo: simple image (Cloudastra brand), matches original site */
  .nav-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    padding: 4px 0;
  }
  .nav-logo-img {
    width: 180px;
    height: auto;
    display: block;
  }
  @media (min-width: 1280px) { .nav-logo-img { width: 200px; } }
  @keyframes logo-rotate { to { transform: rotate(360deg); } }

  .nav-links {
    display: flex; align-items: center; gap: 2px;
    list-style: none;
  }
  .nav-links a {
    display: inline-flex; align-items: center;
    padding: 6px 10px;
    font-size: 14.5px; font-weight: 500;
    color: #000; text-decoration: none;
    transition: all 0.2s;
    position: relative;
    border-radius: 6px;
  }
  .nav-links a:hover { color: var(--slate-700); }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 10px; right: 10px;
    bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav-links a:hover::after { transform: scaleX(1); }

  .nav-cta { display: flex; gap: 10px; align-items: center; }
  @media (max-width: 1080px) { .nav-links, .nav-cta { display: none; } }
  .nav-spacer { height: 64px; }

  /* SecureFlow product wordmark — replaces the Cloudastra logo image */
  .nav-brand {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: var(--slate-900);
  }
  .nav-brand-mark {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    box-shadow: 0 4px 12px rgba(22,163,74,0.32), inset 0 1px 0 rgba(255,255,255,0.25);
    flex-shrink: 0;
  }
  .nav-brand-mark svg { display: block; }
  .nav-brand-img {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }
  /* Inlined logo SVG — page-load path draw animation */
  .nav-brand-svg {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
    overflow: visible;
  }
  .nav-brand-path {
    fill: #16A34A;
    fill-opacity: 0;
    stroke: #16A34A;
    stroke-width: 8;
    stroke-opacity: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation:
      nav-logo-draw 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards,
      nav-logo-fill 0.55s ease-out 1.3s forwards;
  }
  @keyframes nav-logo-draw {
    to { stroke-dashoffset: 0; }
  }
  @keyframes nav-logo-fill {
    to { fill-opacity: 1; stroke-opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-brand-path {
      animation: none;
      fill-opacity: 1;
      stroke-opacity: 0;
      stroke-dashoffset: 0;
    }
  }
  .nav-brand-word {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--slate-900);
  }
  .nav-login {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-login:hover { color: var(--primary); background: var(--primary-soft); }

  /* ============ SECONDARY SECTION-NAV (SecureFlow-specific jump links) ============ */
  .subnav {
    position: sticky;
    top: 64px;
    z-index: 90;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s;
  }
  .subnav.scrolled { box-shadow: 0 4px 18px rgba(15,23,42,0.06); }
  .subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 52px;
  }
  .subnav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    text-decoration: none;
    letter-spacing: -0.01em;
    flex-shrink: 0;
  }
  .subnav-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
    animation: pulse-dot 2s ease-in-out infinite;
  }
  .subnav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
  }
  .subnav-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
  }
  .subnav-links a:hover {
    color: var(--slate-900);
    background: var(--slate-100);
  }
  .subnav-links a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .subnav-links a:hover::after { transform: scaleX(1); }
  .subnav-cta { padding: 7px 14px !important; font-size: 13px !important; flex-shrink: 0; }
  @media (max-width: 880px) {
    .subnav-links { display: none; }
  }
  @media (max-width: 540px) {
    .subnav-brand span:last-child { display: none; }
  }

  /* Mobile nav toggle + drawer */
  .nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
  }
  .nav-toggle:hover { background: var(--slate-100); border-color: var(--slate-300); }
  .nav-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  @media (max-width: 1080px) { .nav-toggle { display: inline-flex; } }

  /* Animated hamburger ↔ X */
  .nav-toggle .bars {
    position: relative;
    width: 18px; height: 14px;
  }
  .nav-toggle .bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--slate-900);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
  }
  .nav-toggle .bars span:nth-child(1) { top: 0; }
  .nav-toggle .bars span:nth-child(2) { top: 6px; }
  .nav-toggle .bars span:nth-child(3) { top: 12px; }
  /* X state when open */
  body.nav-open .nav-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  body.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  /* Mobile drawer */
  .mobile-drawer {
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 99;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.3s;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  body.nav-open .mobile-drawer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s;
  }
  .mobile-drawer ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
  }
  .mobile-drawer li {
    border-bottom: 1px solid var(--slate-100);
  }
  .mobile-drawer li:last-child { border-bottom: none; }
  .mobile-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-900);
    text-decoration: none;
    transition: background 0.2s, padding-left 0.2s;
  }
  .mobile-drawer a:hover,
  .mobile-drawer a:focus-visible {
    background: var(--slate-50);
    padding-left: 32px;
    color: var(--primary);
    outline: none;
  }
  .mobile-drawer a::after {
    content: '';
    width: 8px; height: 8px;
    border-top: 1.5px solid var(--slate-400);
    border-right: 1.5px solid var(--slate-400);
    transform: rotate(45deg);
    transition: border-color 0.2s, transform 0.2s;
  }
  .mobile-drawer a:hover::after { border-color: var(--primary); transform: rotate(45deg) translate(2px, -2px); }

  /* Backdrop behind the drawer */
  .mobile-backdrop {
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  body.nav-open .mobile-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s var(--ease), visibility 0s;
  }
  body.nav-open { overflow: hidden; }
  /* Only show drawer/backdrop on the breakpoints where the top links hide */
  @media (min-width: 1081px) {
    .mobile-drawer, .mobile-backdrop { display: none; }
  }

  /* ============================================================
     HERO — enhanced with parallax, code-terminal demo, animated badges
     ============================================================ */
  .hero {
    position: relative;
    padding: 80px 0 110px;
    overflow: hidden;
    background: white;
  }
  /* Bottom fade overlay — solid white across the bottom of the dashboard,
     then a smooth ease-out toward transparent at the dashboard's top edge.
     The 1% opacity drop between the first two non-solid stops keeps the
     transition imperceptible (no visible banding). */
  .hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top,
      rgba(255,255,255,1)    0%,
      rgba(255,255,255,1)    37%,
      rgba(255,255,255,0.95) 40%,
      rgba(255,255,255,0.78) 43%,
      rgba(255,255,255,0.55) 47%,
      rgba(255,255,255,0.30) 50%,
      rgba(255,255,255,0.12) 53%,
      rgba(255,255,255,0)    57%);
    pointer-events: none;
    z-index: 10;
  }
  /* Animated mesh-gradient background blobs */
  .hero-mesh {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
  }
  .hero-mesh::before, .hero-mesh::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob 16s ease-in-out infinite;
  }
  .hero-mesh::before {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px; left: 10%;
  }
  .hero-mesh::after {
    background: radial-gradient(circle, var(--green) 0%, transparent 70%);
    top: -100px; right: -10%;
    animation-delay: -8s;
    opacity: 0.35;
  }
  @keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.1); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
  }

  /* Mouse-tracking spotlight */
  .hero-spotlight {
    position: absolute; inset: 0;
    z-index: 1; pointer-events: none;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%),
      rgba(22,163,74,0.10) 0%, transparent 50%);
    transition: background 0.1s;
  }

  /* Floating geometric ornaments */
  .hero-ornament {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
  }
  .hero-ornament.o1 { top: 12%; right: 8%; animation: float-a 7s ease-in-out infinite; }
  .hero-ornament.o2 { top: 40%; left: 4%; animation: float-b 9s ease-in-out infinite; }
  .hero-ornament.o3 { bottom: 20%; right: 12%; animation: float-a 11s ease-in-out infinite reverse; }
  @keyframes float-a {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-22px) rotate(8deg); }
  }
  @keyframes float-b {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(18px) rotate(-6deg); }
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 24px;
  }
  .hero-left {
    max-width: 760px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-left .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-left .hero-ctas { justify-content: center; }
  .hero-left .hero-trust { justify-content: center; }

  /* Live panel sits below the hero as a centered illustration band */
  .hero-illustration {
    position: relative;
    z-index: 2;
    padding: 0 28px 80px;
    margin-top: 56px;
  }
  .hero-illustration .live-panel,
  .hero-illustration .dash-mock {
    margin: 0 auto;
  }
  .hero-illustration .live-panel { max-width: 760px; }
  .hero-illustration .dash-mock  { max-width: 1080px; }

  /* ============= Dashboard mockup (hero illustration) ============= */
  .dash-mock {
    display: grid;
    grid-template-columns: 196px 1fr;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
  }

  /* Sidebar */
  .dm-sidebar {
    background: #052E1F;
    color: rgba(255,255,255,0.7);
    padding: 16px 12px;
    font-size: 12px;
  }
  .dm-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 2px 4px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 14px;
  }
  .dm-brand-mark {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 12px rgba(22,163,74,0.4);
    flex-shrink: 0;
  }
  .dm-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
  .dm-brand-name { color: white; font-weight: 700; font-size: 13.5px; letter-spacing: -0.01em; }
  .dm-brand-sub { color: rgba(255,255,255,0.5); font-size: 10.5px; margin-top: 1px; }

  .dm-nav-label {
    color: rgba(255,255,255,0.35);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    font-weight: 600;
    padding: 4px 8px 6px;
  }
  .dm-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
  .dm-nav-item {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
    cursor: default;
  }
  .dm-nav-item svg { width: 13px; height: 13px; opacity: 0.75; flex-shrink: 0; }
  .dm-nav-item.active {
    background: rgba(22,163,74,0.22);
    color: white;
  }
  .dm-nav-item.active svg { color: var(--primary-light); opacity: 1; }
  .dm-pill {
    margin-left: auto;
    background: #DC2626;
    color: white;
    font-size: 9.5px; font-weight: 700;
    min-width: 16px;
    text-align: center;
    padding: 1px 5px; border-radius: 100px;
  }

  /* Main */
  .dm-main { background: #F4F8F4; display: flex; flex-direction: column; min-width: 0; }
  .dm-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
    padding: 10px 16px;
    background: white;
    border-bottom: 1px solid var(--slate-200);
  }
  .dm-search {
    flex: 1;
    display: flex; align-items: center; gap: 8px;
    background: #F1F5F2;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 7px 12px;
    color: var(--slate-500);
    font-size: 11.5px;
  }
  .dm-search svg { width: 12px; height: 12px; flex-shrink: 0; }
  .dm-actions { display: flex; align-items: center; gap: 12px; }
  .dm-bell {
    position: relative;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: var(--slate-500);
  }
  .dm-bell svg { width: 15px; height: 15px; }
  .dm-bell-badge {
    position: absolute; top: -3px; right: -4px;
    background: #DC2626; color: white;
    width: 15px; height: 15px;
    border-radius: 50%;
    font-size: 8.5px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid white;
  }
  .dm-divider { width: 1px; height: 22px; background: var(--slate-200); }
  .dm-user { display: flex; align-items: center; gap: 9px; }
  .dm-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11.5px;
    flex-shrink: 0;
  }
  .dm-user-text { display: flex; flex-direction: column; line-height: 1.2; }
  .dm-user-name { font-size: 11.5px; font-weight: 700; color: var(--slate-900); }
  .dm-user-email { font-size: 10px; color: var(--slate-500); margin-top: 1px; }
  .dm-logout {
    border: 1px solid var(--slate-200);
    background: white;
    width: 26px; height: 26px;
    border-radius: 6px;
    color: var(--slate-500);
    cursor: default;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    margin-left: 2px;
  }
  .dm-logout svg { width: 12px; height: 12px; }

  /* Body */
  .dm-body { padding: 16px 18px 18px; flex: 1; }
  .dm-heading h3 {
    font-size: 18px; font-weight: 800; color: var(--slate-900);
    letter-spacing: -0.01em;
    margin: 0 0 2px;
  }
  .dm-heading p {
    font-size: 11.5px; color: var(--slate-500);
    margin: 0 0 14px;
  }

  /* Stats */
  .dm-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }
  .dm-stat {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 11px 12px 12px;
    position: relative;
    overflow: hidden;
  }
  .dm-stat::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 70px; height: 70px;
    background: radial-gradient(circle at top right, var(--primary-soft), transparent 70%);
    z-index: 0;
  }
  .dm-stat-label {
    display: block;
    font-size: 9px; font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    position: relative; z-index: 1;
  }
  .dm-stat-icon {
    position: absolute; top: 10px; right: 10px;
    width: 26px; height: 26px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
  }
  .dm-stat-icon.green { background: var(--primary-soft); color: var(--primary); }
  .dm-stat-icon.red { background: #FEE2E2; color: #DC2626; }
  .dm-stat-icon svg { width: 14px; height: 14px; }
  .dm-stat-val {
    display: block;
    font-size: 24px; font-weight: 800;
    color: var(--slate-900);
    margin: 6px 0 4px;
    position: relative; z-index: 1;
    letter-spacing: -0.01em;
  }
  .dm-stat-delta {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 600;
    color: var(--primary);
    position: relative; z-index: 1;
  }
  .dm-stat-delta svg { width: 10px; height: 10px; }

  /* Table */
  .dm-table-wrap {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 14px 14px 4px;
  }
  .dm-table-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
  }
  .dm-table-head h4 {
    font-size: 13.5px; font-weight: 800; color: var(--slate-900);
    margin: 0;
    letter-spacing: -0.01em;
  }
  .dm-table-head p {
    font-size: 10.5px; color: var(--slate-500);
    margin: 2px 0 0;
  }
  .dm-view-all {
    background: var(--slate-900);
    color: white;
    font-size: 11px; font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
  }
  .dm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
  }
  .dm-table th {
    text-align: left;
    font-size: 9px; font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.08em;
    padding: 6px 6px;
    border-bottom: 1px solid var(--slate-200);
  }
  .dm-table td {
    padding: 9px 6px;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
    white-space: nowrap;
    font-weight: 500;
  }
  .dm-table tr:last-child td { border-bottom: none; }
  .dm-table .msg { color: var(--primary); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 10px; }
  .dm-table .dim { color: var(--slate-400); font-family: 'JetBrains Mono', monospace; font-size: 10px; }

  .risk-pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 32px;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10px; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
  }
  .risk-pill.green { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(22,163,74,0.25); }
  .risk-pill.dark { background: var(--slate-900); color: white; }

  .status-pill {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px; font-weight: 600;
  }
  .status-pill.cleared { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
  .status-pill.pending { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
  .status-pill.rejected { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

  /* Responsive — collapse sidebar + shrink stats at narrow widths */
  @media (max-width: 900px) {
    .dash-mock { grid-template-columns: 1fr; }
    .dm-sidebar { display: none; }
    .dm-stats { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .dm-user-text { display: none; }
    .dm-table th:nth-child(3), .dm-table td:nth-child(3),
    .dm-table th:nth-child(7), .dm-table td:nth-child(7) { display: none; }
  }

  /* Hero entrance — choreographed stagger.
     Each element rises into place with a delay = --stagger * 120ms */
  .hero-stagger {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--stagger, 0) * 120ms + 100ms);
    will-change: opacity, transform;
  }
  @keyframes hero-rise {
    0%   { opacity: 0; transform: translateY(24px); filter: blur(6px); }
    60%  { filter: blur(0); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  /* Right panel slides in from the right, slightly delayed */
  .hero-panel-enter {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
    animation: hero-panel-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 220ms;
    will-change: opacity, transform;
  }
  @keyframes hero-panel-in {
    0%   { opacity: 0; transform: translateX(40px) scale(0.97); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
  }
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .hero-stagger, .hero-panel-enter {
      opacity: 1;
      transform: none;
      animation: none;
    }
  }

  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    font-size: 12.5px; color: var(--slate-600); font-weight: 500;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
  }
  .badge .dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
    animation: pulse-dot 2s ease-in-out infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
    50% { box-shadow: 0 0 0 7px rgba(22,163,74,0.04); }
  }
  .badge .sep { color: var(--slate-300); }

  /* Small "by Cloudastra Technologies" credit under the hero badge */
  .hero-credit {
    font-size: 13px;
    color: var(--slate-500);
    letter-spacing: 0.01em;
    margin: -16px 0 22px;
    font-weight: 500;
  }

  /* Type-animated word in hero */
  h1.hero-title {
    font-size: clamp(40px, 5.4vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.028em;
    color: var(--slate-900);
    font-weight: 800;
    margin-bottom: 22px;
  }
  h1.hero-title .word-swap {
    display: inline-grid;
    grid-template-areas: "stack";
    vertical-align: baseline;
    position: relative;
    color: var(--primary);
  }
  h1.hero-title .word-swap span {
    grid-area: stack;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.55s;
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 50%, var(--emerald) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: grad-shift 5s ease-in-out infinite;
    white-space: nowrap;
    pointer-events: none;
    filter: blur(4px);
    will-change: opacity, transform, filter;
  }
  h1.hero-title .word-swap span.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
  }
  h1.hero-title .word-swap span.leaving {
    opacity: 0;
    transform: translateY(-14px);
    filter: blur(4px);
  }
  @keyframes grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  h1.hero-title .under {
    position: relative; display: inline-block;
  }
  h1.hero-title .under::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 10px;
    background: rgba(22,163,74,0.22);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-8deg);
  }

  .hero-sub {
    font-size: 18px;
    color: var(--slate-600);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.6;
  }
  .hero-sub strong { color: var(--slate-700); font-weight: inherit; }

  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

  .hero-trust {
    margin-top: 32px;
    display: flex; flex-wrap: wrap;
    gap: 22px;
    color: var(--slate-500);
    font-size: 13px;
  }
  .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-trust svg { color: var(--green); flex-shrink: 0; }

  /* HERO RIGHT — Outcome panel with skeleton feed */
  .live-panel {
    position: relative;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
  }
  .live-panel::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, transparent 40%, var(--green) 100%);
    z-index: -1;
    filter: blur(24px);
    opacity: 0.4;
    animation: panel-glow 4s ease-in-out infinite alternate;
  }
  @keyframes panel-glow {
    from { opacity: 0.3; }
    to { opacity: 0.55; }
  }

  /* Outcome stat cards (NALT / ALRT / RJCT) */
  .stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 14px;
    position: relative;
    overflow: hidden;
  }
  .stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
  }
  .stat:hover::after { transform: translateX(100%); }
  .stat-label {
    font-size: 10.5px; text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-500); font-weight: 600;
    margin-bottom: 8px;
  }
  .stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px; font-weight: 700;
    color: var(--slate-900);
    transition: color 0.3s;
  }
  .stat-value.success { color: var(--green); }
  .stat-value.danger { color: var(--red); }

  /* Skeleton transaction feed — shimmer bars + decision badges */
  .skeleton-feed {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 6px;
  }
  .sk-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(15,23,42,0.04);
    opacity: 0;
    transform: translateY(8px);
    animation: sk-row-in 0.6s var(--ease) forwards;
    animation-delay: calc(var(--row-delay, 0) * 1s);
  }
  .sk-row:last-child { border-bottom: none; }
  @keyframes sk-row-in {
    to { opacity: 1; transform: translateY(0); }
  }
  .sk-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
  }
  .sk-bar {
    height: 9px;
    border-radius: 5px;
    background: linear-gradient(
      90deg,
      rgba(203, 213, 225, 0.55) 0%,
      rgba(148, 163, 184, 0.35) 20%,
      rgba(186, 230, 253, 0.6) 40%,
      rgba(148, 163, 184, 0.35) 60%,
      rgba(203, 213, 225, 0.55) 100%
    );
    background-size: 220% 100%;
    animation: sk-shimmer 2.4s ease-in-out infinite;
  }
  .sk-bar-sm { width: 22%; }
  .sk-bar-md { width: 48%; }
  .sk-bar-lg { width: 68%; }
  .sk-bar-xl { width: 86%; }
  /* Stagger each row's shimmer so the wave moves across the feed */
  .sk-row:nth-child(1) .sk-bar { animation-delay: 0s; }
  .sk-row:nth-child(2) .sk-bar { animation-delay: 0.2s; }
  .sk-row:nth-child(3) .sk-bar { animation-delay: 0.4s; }
  .sk-row:nth-child(4) .sk-bar { animation-delay: 0.6s; }
  .sk-row:nth-child(5) .sk-bar { animation-delay: 0.8s; }
  .sk-row:nth-child(6) .sk-bar { animation-delay: 1.0s; }
  /* Slightly offset the second bar in each row for organic feel */
  .sk-row .sk-bar:nth-child(2) { animation-delay: calc(var(--bar-delay, 0.1s) + 0.1s); }
  @keyframes sk-shimmer {
    0%   { background-position: 220% 0; }
    100% { background-position: -120% 0; }
  }
  .sk-badge {
    font-size: 10.5px;
    padding: 5px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .s-pass { background: var(--green-soft); color: var(--green); }
  .s-flag { background: rgba(249,115,22,0.15); color: var(--orange); }
  .s-block { background: var(--red-tint); color: var(--red); }
  /* Periodic pulse on a badge to suggest "evaluation just happened" */
  .sk-badge.pulse {
    animation: sk-badge-pulse 1.2s var(--ease);
  }
  @keyframes sk-badge-pulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 currentColor; }
    35%  { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(0,0,0,0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0,0,0,0); }
  }


  /* ============================================================
     LOGO MARQUEE (endless scroll)
     ============================================================ */
  .proof {
    padding: 56px 0 64px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    overflow: hidden;
  }
  .proof-label {
    text-align: center;
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500); font-weight: 500;
    margin-bottom: 32px;
  }
  .marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  }
  .marquee-track {
    display: flex;
    gap: 64px;
    width: -moz-max-content;
    width: max-content;
    animation: marquee 40s linear infinite;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .proof-logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px;
    color: var(--slate-500);
    letter-spacing: -0.01em;
    transition: color 0.3s, transform 0.3s;
    flex-shrink: 0;
  }
  .proof-logo:hover { color: var(--slate-900); transform: scale(1.05); }
  .proof-logo .glyph {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: white;
    border: 1px solid var(--slate-200);
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 700;
    color: var(--slate-700);
  }

  /* ============================================================
     Section common
     ============================================================ */
  section.major { padding: 110px 0; position: relative; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 18px;
    font-size: clamp(14px, 1.45vw, 20px);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1;
  }
  .eyebrow::before {
    content: '';
    width: clamp(36px, 4vw, 56px);
    height: 4px;
    background: currentColor;
    border-radius: 2px;
  }

  h2.section-title {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    font-weight: 800;
    margin-bottom: 20px;
  }
  h2.section-title em {
    font-style: normal;
    color: var(--primary);
    position: relative;
  }
  .section-lede {
    font-size: 18.5px;
    color: var(--slate-600);
    max-width: 680px;
    line-height: 1.6;
  }
  .section-header { margin-bottom: 72px; max-width: 760px; }
  .section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
  /* Centered eyebrow: bar on BOTH sides for symmetry */
  .section-header.center .eyebrow::before { display: inline-block; }
  .section-header.center .eyebrow::after {
    content: '';
    width: clamp(36px, 4vw, 56px);
    height: 4px;
    background: currentColor;
    border-radius: 2px;
  }

  /* ============================================================
     PROBLEM SECTION — animated "before" state
     ============================================================ */
  .problem-section { background: white; }
  .problem-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  @media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; gap: 40px; } }

  .problem-points {
    list-style: none;
    margin-top: 28px;
    display: flex; flex-direction: column;
    gap: 16px;
  }
  .problem-point {
    display: flex; gap: 14px;
    padding: 18px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
  }
  .problem-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
  }
  .problem-point h5 {
    font-size: 15.5px; font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 4px;
  }
  .problem-point p {
    font-size: 13.5px;
    color: var(--slate-600);
    line-height: 1.55;
  }

  /* ============================================================
     "SEE IT IN ACTION" — interactive demo section
     ============================================================ */
  .demo-section {
    background: white;
    position: relative;
    overflow: hidden;
  }
  .demo-section::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(22,163,74,0.04), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
  }
  .demo-section::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(22,163,74,0.03), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
  }
  .demo-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 1024px) { .demo-grid { grid-template-columns: 1fr; gap: 32px; } }
  .demo-grid.demo-grid-single {
    grid-template-columns: 1fr;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Interactive scrubber */
  .scrubber {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  }
  .scrubber-head {
    display: flex; justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-100);
  }
  .scrubber-title {
    font-size: 14px; font-weight: 700;
    color: var(--slate-900);
    display: flex; align-items: center; gap: 8px;
  }
  .scrubber-title .live-tag { background: var(--green-soft); color: var(--green); }
  .scrubber-title .live-tag .blink { background: var(--green); }
  .scrubber-controls {
    display: flex; gap: 4px;
  }
  .scrubber-controls button {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: var(--slate-100);
    border: none;
    color: var(--slate-600);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
  }
  .scrubber-controls button:hover {
    background: var(--primary-soft); color: var(--primary);
  }
  .scrubber-controls button.active {
    background: var(--primary); color: white;
  }
  /* Progress bar */
  .scrub-progress {
    height: 4px; border-radius: 100px;
    background: var(--slate-100);
    overflow: hidden;
    margin-bottom: 22px;
    position: relative;
  }
  .scrub-progress-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), var(--green));
    width: 0%;
    transition: width 0.45s var(--ease);
  }
  /* Step list */
  .scrub-steps {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 10px;
  }
  .scrub-step {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: var(--slate-50);
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
  }
  .scrub-step:hover {
    background: white;
    border-color: var(--slate-200);
  }
  .scrub-step.active {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(22,163,74,0.1);
    transform: translateX(2px);
  }
  .scrub-step.done {
    opacity: 0.5;
  }
  .scrub-marker {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--slate-200);
    color: var(--slate-500);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
  }
  .scrub-step.active .scrub-marker {
    background: var(--primary); color: white;
    box-shadow: 0 0 0 4px var(--primary-tint);
    animation: marker-pulse 1.5s ease-in-out infinite;
  }
  .scrub-step.done .scrub-marker {
    background: var(--green); color: white;
  }
  @keyframes marker-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--primary-tint); }
    50% { box-shadow: 0 0 0 8px transparent; }
  }
  .scrub-body {
    line-height: 1.35;
  }
  .scrub-body .scrub-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--slate-900);
    display: block;
  }
  .scrub-body .scrub-detail {
    font-size: 12.5px;
    color: var(--slate-500);
    display: block;
    margin-top: 2px;
  }
  .scrub-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--slate-100);
    color: var(--slate-500);
  }
  .scrub-step.active .scrub-status {
    background: var(--primary-soft); color: var(--primary);
  }
  .scrub-step.done .scrub-status {
    background: var(--green-soft); color: var(--green);
  }
  .scrub-step.done .scrub-status::before {
    content: '✓ ';
  }

  /* Final decision summary */
  .scrub-final {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: var(--red-soft);
    border: 1px solid rgba(220,38,38,0.2);
    display: none;
  }
  .scrub-final.show {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: pop-in 0.4s var(--ease-bounce);
  }
  .scrub-final-badge {
    background: var(--red);
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
    letter-spacing: 0.1em;
    flex-shrink: 0;
  }
  .scrub-final-text {
    font-size: 13px;
    color: var(--red-dark);
    font-weight: 500;
    line-height: 1.45;
  }
  .scrub-final-text strong { color: var(--red-dark); }
  .pipeline-section,
  .pipeline-intro {
    background: var(--slate-50);
    position: relative;
  }
  .pipeline-intro {
    border-top: 1px solid var(--slate-200);
    padding-bottom: 0;
    overflow: hidden;
  }
  /* .pipeline-section keeps overflow visible so the inner sticky pin works */
  section.pipeline-section {
    border-bottom: 1px solid var(--slate-200);
    padding: 0 0 200px 0;
  }
  .pipeline-intro + .pipeline-section {
    padding-top: 0;
  }

  /* ===== Pin track: tall scroll runway, sticky inner ===== */
  .pin-track {
    position: relative;
    /* 9 reveal steps × ~70vh each (5 stages + tree + 3 outcomes) */
    height: 630vh;
  }
  .pin-stage-wrap {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
  }
  .pin-content {
    display: grid;
    grid-template-rows: auto auto;
    gap: 28px;
    width: 100%;
    max-width: 880px;
    padding: 0 28px;
    position: relative;
  }
  /* Unified vertical connector: runs from the top of the first stage card
     all the way down to the decision-tree horizontal bar, drawing
     progressively as the user scrolls through stages 0-5. */
  .pin-content::before {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -1px;
    top: 28px;
    height: var(--connector-h, 0px);
    width: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform-origin: top;
    transform: scaleY(var(--line-progress, 0));
    transition: transform 0.55s var(--ease);
    z-index: 0;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.10);
  }

  /* Stage list (centered number + heading + body) */
  .pin-stages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .pin-stage-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 14px 22px;
    box-shadow: 0 1px 0 rgba(15,23,42,0.02);
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
    transition:
      opacity 0.55s var(--ease),
      transform 0.55s var(--ease),
      filter 0.55s var(--ease);
    will-change: opacity, transform, filter;
  }
  .pin-stage-card.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  /* Inner wrapper: fixed width, centered as a block in the card.
     Elements inside are left-aligned — number on the left, heading + body on the right.
     Identical width across every card so numbers and headings line up perfectly. */
  .pin-stage-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    text-align: left;
    width: 100%;
    max-width: 560px;
  }
  .pin-stage-text { flex: 1; min-width: 0; }
  .pin-stage-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    min-width: 56px;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .pin-stage-text { min-width: 0; flex: 1; }
  .pin-stage-text h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 3px;
    letter-spacing: -0.01em;
  }
  .pin-stage-text p {
    font-size: 13.5px;
    color: var(--slate-500);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Outcomes with branching decision tree */
  .pin-outcomes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 48px;
  }
  .decision-tree {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 48px;
    pointer-events: none;
    overflow: visible;
  }
  .decision-tree path {
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.8s var(--ease);
  }
  .decision-tree.visible path { stroke-dashoffset: 0; }
  .decision-tree circle {
    fill: var(--primary);
    opacity: 0;
    transition: opacity 0.5s var(--ease) 0.4s;
  }
  .decision-tree.visible circle { opacity: 1; }

  .pin-outcome {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 16px 18px;
    text-align: left;
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(8px);
    transition:
      opacity 0.55s var(--ease),
      transform 0.55s var(--ease),
      filter 0.55s var(--ease);
    will-change: opacity, transform, filter;
  }
  .pin-outcome:nth-child(3) { transform: translateY(30px); }
  .pin-outcome:nth-child(4) { transform: translateX(30px); }
  .pin-outcome.visible {
    opacity: 1;
    transform: translate(0,0);
    filter: blur(0);
  }
  .pin-outcome .pin-outcome-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
  }
  .pin-outcome-pass .pin-outcome-tag { background: var(--primary-soft); color: var(--primary); }
  .pin-outcome-flag .pin-outcome-tag { background: #FFF7ED; color: #F97316; }
  .pin-outcome-block .pin-outcome-tag { background: var(--red-soft); color: var(--red); }
  .pin-outcome h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 4px;
    letter-spacing: -0.005em;
  }
  .pin-outcome p {
    font-size: 12.5px;
    color: var(--slate-500);
    margin: 0;
    line-height: 1.5;
  }

  /* Mobile: relax sticky/scroll-pin, just stack everything */
  @media (max-width: 800px) {
    .pin-track { height: auto; }
    .pin-stage-wrap { position: relative; top: 0; height: auto; padding: 48px 0; }
    .pin-stage-card,
    .pin-outcome {
      opacity: 1; transform: none; filter: none;
    }
    .decision-tree { display: none; }
    .pin-outcomes { grid-template-columns: 1fr; padding-top: 0; }
    .pin-stage-text p { white-space: normal; }
  }
  .pipeline-section::before,
  .pipeline-intro::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--slate-300) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
  }

  .pipeline-stages {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 56px;
  }
  .pipeline-stages::before {
    content: '';
    position: absolute;
    top: 32px; left: 10%; right: 10%;
    height: 2px;
    background: var(--slate-200);
    z-index: 0;
  }
  .pipeline-stages::after {
    content: '';
    position: absolute;
    top: 28px; left: 10%;
    width: 80px;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    border-radius: 100px;
    box-shadow: 0 0 16px var(--primary-glow);
    animation: pipeline-flow 3s ease-in-out infinite;
    z-index: 1;
  }
  @keyframes pipeline-flow {
    0% { left: 8%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 84%; opacity: 0; }
  }

  .stage {
    position: relative;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    transition: all 0.35s var(--ease);
    cursor: default;
    z-index: 2;
  }
  .stage:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }
  .stage-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--slate-200);
    transition: all 0.4s var(--ease-bounce);
  }
  .stage:hover .stage-num {
    background: var(--primary); color: white;
    box-shadow: 0 0 0 4px var(--primary-tint), 0 8px 20px var(--primary-glow);
    transform: scale(1.1);
  }
  .stage h4 {
    font-size: 14.5px; font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 6px;
  }
  .stage p { font-size: 12.5px; color: var(--slate-500); line-height: 1.5; }

  /* Outcomes */
  .outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 768px) {
    .outcomes-grid, .pipeline-stages { grid-template-columns: 1fr; }
    .pipeline-stages::before, .pipeline-stages::after { display: none; }
  }
  .outcome {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease);
  }
  .outcome:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
  .outcome::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
  }
  .outcome:hover::before { transform: scaleX(1); }
  .outcome.pass::before { background: var(--green); }
  .outcome.flag::before { background: var(--orange); }
  .outcome.block::before { background: var(--red); }

  .outcome-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 14px;
  }
  .outcome-tag::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 2px currentColor;
    opacity: 0.4;
  }
  .outcome.pass .outcome-tag { background: var(--green-soft); color: var(--green); }
  .outcome.flag .outcome-tag { background: var(--orange-soft); color: var(--orange); }
  .outcome.block .outcome-tag { background: var(--red-soft); color: var(--red); }

  .outcome h4 {
    font-size: 18px; font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
  }
  .outcome p { font-size: 14px; color: var(--slate-600); line-height: 1.55; }

  /* Mini-meter animation inside outcomes */
  .outcome-meter {
    margin-top: 14px;
    height: 4px;
    background: var(--slate-100);
    border-radius: 100px;
    overflow: hidden;
  }
  .outcome-meter span {
    display: block;
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.2s var(--ease);
  }
  .outcome.in .outcome-meter span { width: var(--w, 60%); }
  .outcome.pass .outcome-meter span { background: var(--green); }
  .outcome.flag .outcome-meter span { background: var(--orange); }
  .outcome.block .outcome-meter span { background: var(--red); }

  /* ============================================================
     THOUGHT-PROCESS (neural-decision visualization)
     ============================================================ */
  .thought-section {
    background: var(--slate-900);
    color: white;
    position: relative;
    padding: 160px 0 0 0;
  }
  /* Scrolly-telling pin track: ~80vh for header entry + ~100vh per card */
  .thought-pin-track {
    position: relative;
    height: 420vh;
  }
  .thought-pin-inner {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }
  .thought-pin-inner > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
  }
  /* Centered header */
  .thought-header-new {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
  }
  .thought-header-new .eyebrow { color: var(--primary-light); }
  .thought-header-new h2 {
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1.05;
    margin: 0 0 18px;
  }
  .thought-header-new h2 em {
    font-style: normal;
    color: var(--primary-light);
  }
  .thought-header-new p {
    color: var(--slate-300);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }
  /* Stage holding cards + brain */
  .thought-stage {
    position: relative;
    flex: 1;
    min-height: 360px;
    perspective: 1200px;
  }
  /* Cards — one at a time, alternating sides */
  .thought-card {
    position: absolute;
    top: 50%;
    width: 44%;
    max-width: 440px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    filter: blur(14px);
    transition:
      opacity 0.7s var(--ease),
      transform 0.7s var(--ease),
      filter 0.7s var(--ease);
    will-change: opacity, transform, filter;
    z-index: 1;
  }
  .thought-card[data-side="left"]  { left: 0;  transform: translateY(-50%) translateX(-40px); }
  .thought-card[data-side="right"] { right: 0; transform: translateY(-50%) translateX(40px); }
  .thought-card.active             { opacity: 1; filter: blur(0); }
  .thought-card.active[data-side="left"],
  .thought-card.active[data-side="right"] { transform: translateY(-50%) translateX(0); }
  .thought-card .thought-num {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    background: rgba(22,163,74,0.18);
    color: var(--primary-light);
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .thought-card h5 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
  }
  .thought-card p {
    color: var(--slate-300);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
  }
  .thought-stage { perspective: 1600px; }

  /* HEADER ENTRANCE — starts below viewport, hidden. Once the section sticks,
     the JS slides it up to viewport center (blurred), then up to the top.
     Variables driven by the thought-pin scroll handler. */
  .thought-header-new {
    transform: translateY(var(--header-shift, 70vh));
    filter: blur(var(--header-blur, 24px));
    opacity: var(--header-opacity, 0);
    will-change: transform, filter, opacity;
  }

  /* Per-card skeletal-loader mockup illustrations (replaces the brain) */
  .thought-mockup {
    position: absolute;
    top: 50%;
    width: 44%;
    max-width: 440px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    opacity: 0;
    filter: blur(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
    z-index: 0;
    overflow: hidden;
  }
  .thought-mockup[data-side="left"]  { left: 0;  transform: translateY(-50%) translateX(-40px); }
  .thought-mockup[data-side="right"] { right: 0; transform: translateY(-50%) translateX(40px); }
  .thought-mockup.active             { opacity: 1; filter: blur(0); }
  .thought-mockup.active[data-side="left"],
  .thought-mockup.active[data-side="right"] { transform: translateY(-50%) translateX(0); }

  /* Skeleton bar primitive — shimmering placeholder */
  .sk-bar {
    display: inline-block;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.07) 0%,
      rgba(255,255,255,0.13) 50%,
      rgba(255,255,255,0.07) 100%);
    background-size: 200% 100%;
    animation: sk-shimmer 1.8s linear infinite;
  }
  .sk-bar.xs { width: 22%; }
  .sk-bar.sm { width: 35%; }
  .sk-bar.md { width: 55%; }
  .sk-bar.lg { width: 75%; }
  .sk-bar.xl { width: 92%; }
  @keyframes sk-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* MOCKUP 1 — Pattern recognition (list with full-card shimmer) */
  .mockup-1 .mock-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .mockup-1 .mock-li {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: border-color 0.4s, background 0.4s;
  }
  .mockup-1 .mock-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
  .mockup-1 .mock-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(124,255,178,0.4);
    flex-shrink: 0;
  }
  .mockup-1 .mock-label {
    margin-top: 14px;
    display: flex; align-items: center; gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: var(--primary-light);
    letter-spacing: 0.06em;
  }
  .mockup-1 .mock-label::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary-light);
    animation: mock-blink 1s ease-in-out infinite;
  }
  @keyframes mock-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.25; }
  }
  /* Sweeping shimmer across mockup 1 */
  .mockup-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
      transparent 30%,
      rgba(124,255,178,0.12) 50%,
      transparent 70%);
    transform: translateX(-100%);
    animation: mock1-sweep 2.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
  }
  @keyframes mock1-sweep {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  /* List items light up sequentially while shimmer passes */
  .thought-mockup.active .mockup-1-li-1 { animation: mock1-found 2.8s ease-in-out infinite 0.0s; }
  .thought-mockup.active .mockup-1-li-2 { animation: mock1-found 2.8s ease-in-out infinite 0.5s; }
  .thought-mockup.active .mockup-1-li-3 { animation: mock1-found 2.8s ease-in-out infinite 1.0s; }
  .thought-mockup.active .mockup-1-li-4 { animation: mock1-found 2.8s ease-in-out infinite 1.5s; }
  @keyframes mock1-found {
    0%, 60%, 100% { border-color: rgba(255,255,255,0.05); background: rgba(255,255,255,0.025); }
    25%, 45%      { border-color: rgba(34,197,94,0.55);   background: rgba(22,163,74,0.10); }
  }

  /* MOCKUP 2 — Typology synthesis: inputs → categories */
  .mockup-2 .mock-inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
  .mockup-2 .mock-chip {
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
    animation: mock-blink 1.5s ease-in-out infinite;
  }
  .mockup-2 .mock-chip.c2 { animation-delay: 0.2s; }
  .mockup-2 .mock-chip.c3 { animation-delay: 0.4s; }
  .mockup-2 .mock-chip.c4 { animation-delay: 0.6s; }
  .mockup-2 .mock-arrows {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; height: 22px;
    align-items: center; justify-items: center;
    color: rgba(124,255,178,0.55); font-size: 14px;
    margin-bottom: 4px;
  }
  .mockup-2 .mock-categories { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
  .mockup-2 .mock-cat {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(22,163,74,0.06);
    border: 1px solid rgba(34,197,94,0.18);
  }
  .mockup-2 .cat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--primary-light);
    letter-spacing: 0.06em;
    min-width: 78px;
  }
  .mockup-2 .cat-progress {
    flex: 1; height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px; overflow: hidden;
    position: relative;
  }
  .mockup-2 .cat-progress::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 0;
    background: var(--primary-light);
    animation: mock2-fill 3s ease-in-out infinite;
  }
  .mockup-2 .mock-cat.c1 .cat-progress::after { animation-delay: 0.0s; --w: 86%; }
  .mockup-2 .mock-cat.c2 .cat-progress::after { animation-delay: 0.5s; --w: 62%; }
  .mockup-2 .mock-cat.c3 .cat-progress::after { animation-delay: 1.0s; --w: 78%; }
  @keyframes mock2-fill {
    0%, 100% { width: 0; }
    45%, 80% { width: var(--w, 70%); }
  }
  .mockup-2 .mock-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    min-width: 26px;
    text-align: right;
  }

  /* MOCKUP 3 — Explainable decision: verdict + reasoning trail */
  .mockup-3 .mock-verdict {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: rgba(220,38,38,0.10);
    border: 1px solid rgba(220,38,38,0.45);
    border-radius: 10px;
    margin-bottom: 14px;
  }
  .mockup-3 .verdict-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
  }
  .mockup-3 .verdict-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.1em;
  }
  .mockup-3 .mock-reasoning { display: flex; flex-direction: column; gap: 10px; }
  .mockup-3 .mock-reason-line {
    display: flex; align-items: center; gap: 10px;
    opacity: 0;
    animation: mock3-line-in 4s ease-out infinite;
  }
  .mockup-3 .mock-reason-line.r1 { animation-delay: 0.2s; }
  .mockup-3 .mock-reason-line.r2 { animation-delay: 0.7s; }
  .mockup-3 .mock-reason-line.r3 { animation-delay: 1.2s; }
  .mockup-3 .mock-reason-line.r4 { animation-delay: 1.7s; }
  @keyframes mock3-line-in {
    0%, 4%   { opacity: 0; transform: translateX(-6px); }
    15%, 92% { opacity: 1; transform: translateX(0); }
    100%     { opacity: 0; transform: translateX(0); }
  }
  .mockup-3 .reason-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(22,163,74,0.18);
    color: var(--primary-light);
    letter-spacing: 0.06em;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
  }

  /* Mobile: stack everything, no pinning */
  @media (max-width: 900px) {
    .thought-pin-track { height: auto; }
    .thought-pin-inner { position: relative; top: 0; height: auto; padding: 80px 0; }
    .thought-stage { display: block; min-height: auto; }
    .thought-card,
    .thought-mockup {
      position: relative;
      top: auto; left: auto; right: auto;
      width: 100%; max-width: none;
      opacity: 1; filter: none;
      transform: none !important;
      margin-bottom: 16px;
    }
    .thought-header-new {
      transform: none;
      filter: none;
      opacity: 1;
    }
  }
  .thought-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(700px circle at 20% 30%, rgba(22,163,74,0.18), transparent 50%),
      radial-gradient(600px circle at 80% 70%, rgba(22,163,74,0.12), transparent 50%);
  }
  .thought-section::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
  }
  .thought-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 1024px) { .thought-inner { grid-template-columns: 1fr; } }
  .thought-section .eyebrow { color: var(--primary-light); }
  .thought-section h2.section-title { color: white; }
  .thought-section h2.section-title em { color: var(--green); }
  .thought-section .section-lede { color: var(--slate-300); }

  .thought-list {
    list-style: none;
    margin-top: 32px;
    display: flex; flex-direction: column;
    gap: 18px;
  }
  .thought-item {
    display: flex; gap: 16px;
    padding: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
  }
  .thought-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary);
    transform: translateX(6px);
  }
  .thought-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .thought-item h5 {
    font-size: 15.5px; font-weight: 700;
    color: white;
    margin-bottom: 4px;
  }
  .thought-item p {
    font-size: 13.5px; color: var(--slate-400);
    line-height: 1.55;
  }
  .neural-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1.05 / 1;
    max-width: 540px;
    margin: 0 auto;
  }
  .neural-canvas svg { width: 100%; height: 100%; }
  @keyframes core-pulse {
    0% { transform-origin: 250px 250px; transform: scale(0.6); opacity: 0.8; }
    100% { transform-origin: 250px 250px; transform: scale(1.4); opacity: 0; }
  }
  @keyframes draw-line { to { stroke-dashoffset: 0; } }
  @keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
  }
  @keyframes flow-along { to { offset-distance: 100%; } }


  /* ============================================================
     BENTO GRID — 2026 trend, capabilities + interactive demos
     ============================================================ */
  .bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
  }
  .bento-item {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
  }
  .bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .bento-item::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(400px circle at var(--mx, 0px) var(--my, 0px), var(--primary-tint), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .bento-item:hover::before { opacity: 1; }
  .bento-item > * { position: relative; z-index: 1; }

  .bento-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s var(--ease-bounce);
  }
  .bento-item:hover .bento-icon {
    background: var(--primary);
    color: white;
  }
  /* Path-redraw animation on icon hover — 500ms, runs on hover-enter */
  @keyframes icon-redraw {
    0%   { stroke-dasharray: 220; stroke-dashoffset: 220; }
    100% { stroke-dasharray: 220; stroke-dashoffset: 0; }
  }
  .bento-item:hover .bento-icon svg > *,
  .bento-feature:hover .bento-icon svg > * {
    animation: icon-redraw 0.5s var(--ease);
  }
  .bento-item.green .bento-icon { background: var(--green-soft); color: var(--green); }
  .bento-item.green:hover { box-shadow: 0 16px 32px rgba(22,163,74,0.18); }
  .bento-item.green:hover .bento-icon { background: var(--primary); color: white; }
  .bento-item.red .bento-icon { background: var(--red-soft); color: var(--red); }
  .bento-item.red:hover { box-shadow: 0 16px 32px var(--red-tint); }
  .bento-item.red:hover .bento-icon { background: var(--primary); color: white; }

  .bento-item h3 {
    font-size: 18px; font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
    letter-spacing: -0.015em;
  }
  .bento-item p {
    font-size: 14px; color: var(--slate-600); line-height: 1.55;
  }

  /* Bento sizes */
  .bento-item.span-3 { grid-column: span 3; }
  .bento-item.span-2 { grid-column: span 2; }
  .bento-item.span-4 { grid-column: span 4; }
  .bento-item.span-6 { grid-column: span 6; }
  .bento-item.row-2 { grid-row: span 2; }
  @media (max-width: 900px) {
    .bento-item.span-3, .bento-item.span-2, .bento-item.span-4, .bento-item.span-6 { grid-column: span 2; }
    .bento-item.row-2 { grid-row: span 1; }
  }

  /* Featured wide bento: rule-builder demo — light, flat white */
  .bento-feature {
    background: white;
    color: var(--slate-900);
  }
  .bento-feature h3 { color: var(--slate-900); }
  .bento-feature p  { color: var(--slate-600); }
  .bento-feature .bento-icon { background: var(--primary-soft); color: var(--primary); }
  .bento-feature:hover { box-shadow: 0 16px 32px rgba(22,163,74,0.14); }
  .bento-feature:hover .bento-icon { background: var(--primary); color: white; }

  /* Rule builder visual — light, structured IF/THEN hierarchy */
  .rule-builder-mock {
    margin-top: 20px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 18px 18px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    box-shadow:
      0 1px 0 rgba(15,23,42,0.03),
      0 8px 24px rgba(15,23,42,0.06);
  }
  .rule-label {
    display: inline-flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 800;
    color: white;
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .rule-label-then { background: var(--red); }
  .rule-conditions {
    padding-left: 12px;
    border-left: 2px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
  }
  .rule-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    padding: 3px 0;
    color: var(--slate-700);
  }
  .rule-chip {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(22,163,74,0.25);
    transition: all 0.2s var(--ease);
    cursor: default;
  }
  .rule-chip:hover {
    background: rgba(22,163,74,0.16);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.18);
  }
  .rule-chip.green {
    background: rgba(22,163,74,0.10);
    color: var(--primary-dark);
    border-color: rgba(22,163,74,0.32);
  }
  .rule-chip.orange {
    background: #FFF7ED;
    color: #C2410C;
    border-color: #FED7AA;
  }
  .rule-chip.orange:hover {
    background: #FED7AA;
    box-shadow: 0 4px 12px rgba(249,115,22,0.22);
  }
  .rule-row .op {
    color: var(--slate-500);
    font-weight: 600;
    font-size: 11px;
  }
  .rule-row .op-and {
    font-size: 10px;
    font-weight: 800;
    color: var(--slate-400);
    letter-spacing: 0.08em;
    background: var(--slate-100);
    padding: 2px 7px;
    border-radius: 4px;
  }
  .rule-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    margin: 6px 0 10px;
    color: var(--slate-400);
  }
  .rule-divider::before,
  .rule-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-200);
  }
  .rule-arrow-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 22px; height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(22,163,74,0.32);
    animation: rule-arrow-pulse 1.8s ease-in-out infinite;
  }
  @keyframes rule-arrow-pulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 10px rgba(22,163,74,0.32); }
    50%      { transform: translateY(3px); box-shadow: 0 6px 14px rgba(22,163,74,0.45); }
  }
  .rule-output {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--red-soft);
    border: 1px solid var(--red);
    border-radius: 8px;
    transition: all 0.25s var(--ease);
  }
  .rule-output:hover {
    background: rgba(220,38,38,0.12);
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(220,38,38,0.18);
  }
  .rule-output-badge {
    font-size: 11px;
    font-weight: 800;
    color: white;
    background: var(--red);
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: 0.08em;
  }
  .rule-output-detail {
    font-size: 11px;
    color: var(--slate-700);
    font-weight: 600;
  }
  /* Old .rule-out / .rule-arrow kept for safety; not used in new markup */

  /* Compliance strip */
  /* Compliance section: tall pin track + sticky inner. As scroll progresses
     past the section centre, the background expands to fill the viewport
     and then the checklist items reveal one at a time from the bottom.
     `overflow` stays visible on the outer section so sticky can engage —
     clipping happens on .compliance-pin instead. */
  section.compliance-section {
    position: relative;
    padding: 0;
  }
  .compliance-pin-track {
    position: relative;
    height: 230vh;
  }
  .compliance-pin {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .compliance-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width:  var(--cw, 1184px);
    height: var(--ch, 440px);
    max-width: 100%;
    background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
    border-radius: var(--cr, 28px);
    z-index: 0;
    pointer-events: none;
  }
  .compliance-pin > .container {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  .compliance-strip {
    background: transparent;
    color: white;
    padding: 56px 44px;
    position: relative;
    overflow: visible;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
  }
  /* Heading is always visible (first thing user sees when section sticks).
     Initially translated down so it sits at the viewport centre — it then
     rises to its destined position as the background expansion progresses. */
  .compliance-heading {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
    max-width: 820px;
    line-height: 1.15;
    transform: translateY(var(--heading-shift, 18vh));
    will-change: transform;
  }
  /* Body fades in after expansion starts */
  .compliance-body {
    font-size: 15.5px;
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 0 auto 44px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .compliance-body.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Six logo cards in a 3×2 grid */
  .compliance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 940px;
    margin: 0 auto;
  }
  @media (max-width: 720px) {
    .compliance-cards { grid-template-columns: repeat(2, 1fr); }
  }
  .compliance-card {
    background: white;
    border-radius: 14px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition:
      opacity 0.55s var(--ease),
      transform 0.55s var(--ease),
      filter 0.55s var(--ease);
  }
  .compliance-card.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  .compliance-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-700);
  }
  .compliance-logo svg { width: 100%; height: 100%; display: block; }
  .compliance-card-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  /* Mobile fallback */
  @media (max-width: 900px) {
    .compliance-pin-track { height: auto; }
    .compliance-pin { position: relative; top: 0; height: auto; padding: 80px 0; overflow: visible; }
    .compliance-bg {
      position: absolute;
      inset: 32px;
      width: auto; height: auto;
      transform: none;
      top: 32px; left: 32px; right: 32px; bottom: 32px;
      border-radius: 20px;
    }
    .compliance-body, .compliance-card {
      opacity: 1; transform: none; filter: none;
    }
    /* Heading uses a scroll-driven translateY on desktop; reset it on mobile
       where the pin-track is disabled, otherwise it overlaps the body copy. */
    .compliance-heading {
      transform: none;
    }
    .compliance-strip { padding: 40px 20px; }
  }
  /* (Old strip ::before / ::after radial gradients removed — bg is now driven by .compliance-bg) */
  .compliance-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 900px) { .compliance-inner { grid-template-columns: 1fr; } }
  .compliance-inner h3 {
    font-size: 28px; font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: white;
  }
  .compliance-inner p {
    color: var(--slate-300);
    font-size: 15px;
    margin-bottom: 0;
  }
  .compliance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    list-style: none;
  }
  .compliance-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14.5px;
    color: var(--slate-200);
  }
  .compliance-list .tick {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(22,163,74,0.2);
    color: #34D399;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

  /* ============================================================
     PRICING
     ============================================================ */
  .pricing-section { overflow: hidden; position: relative; }
  .pricing-section::before {
    content: '';
    position: absolute;
    top: 20%; left: -20%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, var(--primary-tint), transparent 60%);
    filter: blur(40px);
  }
  .pricing-section::after {
    content: '';
    position: absolute;
    bottom: 0; right: -10%;
    width: 50%; height: 60%;
    background: radial-gradient(circle, rgba(22,163,74,0.08), transparent 60%);
    filter: blur(40px);
  }
  .pricing-section > .container { position: relative; z-index: 1; }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  @media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

  .price-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    transition: all 0.35s var(--ease);
  }
  .price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-300);
  }
  .price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(22,163,74,0.18);
    transform: scale(1.02);
  }
  .price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
  .price-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--emerald));
    color: white;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px rgba(22,163,74,0.35);
  }
  .price-tier {
    font-size: 14px; font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }
  .price-card:nth-child(3) .price-tier { color: var(--green); }
  .price-name {
    font-size: 28px; font-weight: 800;
    color: var(--slate-900); margin-bottom: 8px;
    letter-spacing: -0.022em;
  }
  .price-desc {
    font-size: 14px; color: var(--slate-500);
    margin-bottom: 26px;
    min-height: 42px;
  }
  .price-amount {
    display: flex; align-items: baseline; gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--slate-200);
  }
  .price-amount .v {
    font-size: 38px; font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.03em;
  }
  .price-amount .u {
    font-size: 14px; color: var(--slate-500);
  }
  .price-features {
    list-style: none;
    margin-bottom: 28px;
  }
  .price-features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0;
    font-size: 14px; color: var(--slate-700);
  }
  .price-features svg {
    flex-shrink: 0; margin-top: 2px;
    color: var(--green);
  }
  .price-cta { width: 100%; justify-content: center; }
  .pricing-note {
    text-align: center;
    margin-top: 36px;
    font-size: 14.5px; color: var(--slate-600);
  }
  .pricing-note a { color: var(--primary); text-decoration: none; font-weight: 600; }
  .pricing-note a:hover { text-decoration: underline; }


  /* ============================================================
     FAQ
     ============================================================ */
  .faq-section {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
  }
  .faq-list { max-width: 820px; margin: 0 auto; }
  .faq-item {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
  }
  .faq-item:hover { border-color: var(--slate-300); }
  .faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }
  .faq-summary {
    padding: 24px 26px;
    font-size: 18px; font-weight: 700;
    color: var(--slate-900);
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    list-style: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    transition: color 0.2s;
    letter-spacing: -0.01em;
  }
  .faq-summary:hover { color: var(--primary); }
  .faq-summary::-webkit-details-marker { display: none; }
  .faq-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
  }
  .faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary); color: white;
    box-shadow: 0 6px 16px var(--primary-glow);
  }
  .faq-body {
    padding: 0 24px 24px;
    font-size: 14.5px;
    color: var(--slate-600);
    line-height: 1.65;
    animation: faq-in 0.3s var(--ease);
  }
  @keyframes faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============================================================
     DEMO + CONTACT
     ============================================================ */
  .cta-section {
    padding: 110px 0;
    background: white;
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--primary-tint), transparent 60%);
    filter: blur(40px);
    transform: translate(30%, -20%);
    animation: blob 18s ease-in-out infinite;
  }
  .cta-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(22,163,74,0.06), transparent 60%);
    filter: blur(40px);
    transform: translate(-30%, 30%);
    animation: blob 18s ease-in-out infinite reverse;
  }
  .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 40px; } }

  .cta-left h2 {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.028em;
    color: var(--slate-900); font-weight: 800;
    margin-bottom: 16px;
  }
  .cta-left p {
    font-size: 16px; color: var(--slate-600);
    margin-bottom: 28px;
  }
  .cta-bullets {
    list-style: none;
    display: flex; flex-direction: column; gap: 14px;
  }
  .cta-bullets li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 15px; color: var(--slate-800);
  }
  .cta-bullets .num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: white;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 4px 10px rgba(22,163,74,0.25);
  }
  .cta-contact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--slate-200);
    display: flex; flex-direction: column; gap: 12px;
    font-size: 14px;
    color: var(--slate-600);
  }
  .cta-contact a { color: var(--primary); text-decoration: none; font-weight: 600; }
  .cta-contact a:hover { text-decoration: underline; }
  .cta-contact .row { display: flex; align-items: center; gap: 12px; }
  .cta-contact .row svg { color: var(--slate-400); flex-shrink: 0; }

  .demo-form {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-lg);
    position: relative;
  }
  .demo-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--green));
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s;
  }
  .demo-form:focus-within::before { opacity: 0.3; }
  .demo-form h3 {
    font-size: 22px; font-weight: 800;
    color: var(--slate-900); margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .demo-form .form-sub {
    font-size: 14px; color: var(--slate-500);
    margin-bottom: 26px;
  }
  .form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .field { margin-bottom: 14px; }
  .field.full { grid-column: 1 / -1; }
  .field label {
    display: block;
    font-size: 12.5px; font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
  }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--slate-900);
    background: white;
    transition: all 0.25s;
  }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-tint);
  }
  .form-submit {
    width: 100%; justify-content: center;
    margin-top: 8px;
  }
  .form-foot {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: var(--slate-500);
  }
  .form-foot a { color: var(--primary); text-decoration: none; }
  .form-success {
    display: none;
    background: var(--green-soft);
    border: 1px solid #A7F3D0;
    color: var(--green-dark);
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 14px;
    font-weight: 600;
  }
  .form-success.show { display: block; animation: pop-in 0.4s var(--ease-bounce); }
  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
  }

  /* ============================================================
     FOOTER
     ============================================================ */
  footer.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 64px 0 32px;
    position: relative;
    overflow: hidden;
  }
  footer.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  @media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  .footer-brand .nav-logo-link { margin-bottom: 16px; display: inline-flex; }
  .footer-brand p {
    font-size: 13.5px;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .footer-soc { display: flex; gap: 10px; }
  .footer-soc a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--slate-300);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
  }
  .footer-soc a:hover {
    background: var(--primary); color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
  }
  .footer-col h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: white;
    margin-bottom: 16px;
    font-weight: 700;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
  }
  .footer-col a:hover { color: white; padding-left: 4px; }
  .footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    font-size: 13px; color: var(--slate-500);
  }
  .footer-bottom a { color: var(--slate-400); text-decoration: none; margin-left: 18px; }
  .footer-bottom a:hover { color: white; }

  /* ============================================================
     Scroll reveal
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }
  .reveal-d3 { transition-delay: 0.3s; }
  .reveal-d4 { transition-delay: 0.4s; }
  .reveal-d5 { transition-delay: 0.5s; }

  /* Problem section — more pronounced bottom-up slide-in for every element */
  .problem-section .reveal {
    transform: translateY(70px);
    transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  }
  .problem-section .reveal.in {
    transform: translateY(0);
  }
  /* Pricing section — smooth slide-in from bottom on every viewport entry */
  .pricing-section .reveal {
    transform: translateY(70px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .pricing-section .reveal.in {
    transform: translateY(0);
  }

  /* Problem section: 3-up on desktop, 1-up on mobile.
     Replaces a hardcoded inline grid that didn't respond to viewport width. */
  .problem-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 900px) {
    .problem-points-grid { grid-template-columns: 1fr; gap: 14px; }
    /* Defensive: also force-collapse the base class with !important so any
       cached/stale inline grid declaration on .problem-points is overridden. */
    .problem-points {
      display: flex !important;
      flex-direction: column !important;
      grid-template-columns: 1fr !important;
      gap: 14px !important;
    }
  }

  /* ============================================================
     MOBILE RESPONSIVENESS — overrides for phones/small tablets
     Applied last so they win the cascade.
     ============================================================ */

  /* Tablets and large phones */
  @media (max-width: 768px) {
    .container { padding: 0 18px; }

    /* Tighter vertical rhythm */
    section.major { padding: 64px 0; }
    .section-header { margin-bottom: 48px; }
    .hero { padding: 48px 0 60px; }

    /* Hide decorative ornaments to free up space and reduce noise */
    .hero-ornament { display: none; }

    /* Hero typography */
    h1.hero-title { font-size: clamp(30px, 8vw, 44px); }
    .hero-sub { font-size: 16px; }
    .hero-credit { margin-top: 0; }

    /* Trust badges wrap nicely */
    .hero-trust { gap: 14px; font-size: 12.5px; }

    /* Eyebrow: shrink so it doesn't overflow narrow viewports */
    .eyebrow {
      letter-spacing: 0.16em;
      gap: 12px;
      margin-bottom: 22px;
    }
    .eyebrow::before,
    .section-header.center .eyebrow::after {
      width: 28px;
      height: 3px;
    }

    h2.section-title { font-size: clamp(28px, 7vw, 40px); }
    .section-lede { font-size: 16px; }

    /* Hero illustration: scale the dashboard mock typography down */
    .hero-illustration { margin-top: 36px; padding-bottom: 48px; }
    .dash-mock { border-radius: 14px; }
    .dm-stat-val { font-size: 20px; }

    /* Allow the dashboard table to scroll horizontally instead of overflowing */
    .dm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Scrubber + demo */
    .scrubber { padding: 18px; }

    /* Footer: reduce gaps */
    .footer-grid { gap: 28px; }
  }

  /* Small phones (iPhone SE, narrow Androids) */
  @media (max-width: 540px) {
    .container { padding: 0 16px; }

    section.major { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }
    .hero { padding: 36px 0 52px; }

    /* Hero copy and CTAs: stack and go full-width for thumb reach */
    h1.hero-title { font-size: clamp(28px, 8.8vw, 38px); }
    .hero-sub { font-size: 15.5px; margin-bottom: 24px; }
    .hero-ctas { width: 100%; flex-direction: column; gap: 10px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .btn-lg { padding: 13px 20px; font-size: 14.5px; }

    /* Trust badges: stack vertically on very narrow screens */
    .hero-trust { flex-direction: column; gap: 10px; align-items: flex-start; }
    .hero-left .hero-trust { align-items: center; }

    /* Badge sizing */
    .badge { font-size: 12px; padding: 5px 12px; }

    /* Section titles */
    h2.section-title { font-size: clamp(24px, 8vw, 34px); }
    .section-lede { font-size: 15px; }

    /* Dashboard mock: collapse 4-up stats to 2-up at this breakpoint
       (existing rule kicks in at 900px to 2-col; we keep 2-col here) */
    .dm-stats { gap: 8px; }
    .dm-stat { padding: 10px; }
    .dm-stat-val { font-size: 18px; }

    /* Stat row (NALT/ALRT/RJCT) in the hero live-panel: keep 3-up but tighten */
    .stat-row { gap: 6px; }
    .stat { padding: 10px 8px; }
    .stat-value { font-size: 16px; }
    .stat-label { font-size: 9.5px; letter-spacing: 0.06em; }

    /* Pipeline pin-track was already collapsed at 800px; ensure outcomes stack */
    .outcomes-grid,
    .pipeline-stages { grid-template-columns: 1fr; }

    /* Pricing/CTA grids already collapse at 900px — tighten paddings */
    .cta-section .cta-grid { gap: 28px; }

    /* Footer: collapse to single column for legibility */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-bottom a { margin-left: 0; margin-right: 14px; }

    /* Subnav (if visible) — hide CTA so brand fits */
    .subnav-cta { display: none !important; }
  }

  /* Very small phones */
  @media (max-width: 380px) {
    .container { padding: 0 14px; }
    h1.hero-title { font-size: 26px; }
    h2.section-title { font-size: 22px; }
    .hero-sub, .section-lede { font-size: 14.5px; }

    /* Single-column stats on tiny screens */
    .dm-stats { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr; }
  }

  /* Prevent horizontal overflow caused by absolute-positioned decorations */
  @media (max-width: 768px) {
    body, .hero, section.major { overflow-x: hidden; }
  }

