  :root {
    --navy: #2A2877;
    --navy-700: #221F66;
    --navy-50: #EEEEF7;
    --orange: #FF8123;
    --orange-50: #FFF3E8;
    --bg: #FAFBFD;
    --surface: #FFFFFF;
    --border: #E8EAF0;
    --border-strong: #D9DCE6;
    --ink: #1A1A2E;
    --ink-2: #4A4A6A;
    --muted: #8888A8;
    --green: #10B981;
    --green-50: #E8F8F2;
    --red: #EF4444;
    --red-50: #FEECEC;
    --shadow-sm: 0 1px 2px rgba(20, 20, 50, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(20, 20, 50, 0.06), 0 2px 4px rgba(20,20,50,0.04);
    --shadow-lg: 0 24px 48px -16px rgba(42, 40, 119, 0.18), 0 8px 16px -4px rgba(20,20,50,0.05);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.55; }
  body { overflow-x: hidden; }

  .container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
  .container-tight { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 251, 253, 0.85);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background .2s;
  }
  .nav.scrolled { border-color: var(--border); background: rgba(250, 251, 253, 0.95); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
  .logo-img { height: 30px; display: block; }
  .nav-links { display: flex; gap: 36px; }
  .nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta-row { display: flex; align-items: center; gap: 16px; }
  .nav-secondary { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
  .nav-secondary:hover { color: var(--navy); }

  /* ---------- BUTTONS ---------- */
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .12s, box-shadow .15s, background .15s; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 14px -2px rgba(42, 40, 119, 0.35); }
  .btn-primary:hover { background: var(--navy-700); box-shadow: 0 8px 24px -4px rgba(42, 40, 119, 0.45); }
  .btn-accent { background: var(--orange); color: #fff; box-shadow: 0 4px 14px -2px rgba(255, 129, 35, 0.4); }
  .btn-accent:hover { background: #F47210; }
  .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
  .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
  .btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
  .btn .lucide { font-size: 16px; }

  /* ---------- HERO ---------- */
  .hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(ellipse 800px 400px at 80% -10%, rgba(255, 129, 35, 0.08), transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 30%, rgba(42, 40, 119, 0.06), transparent 60%);
  }
  .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(to right, rgba(42,40,119,0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(42,40,119,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  }
  .hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
  .badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 10px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 13px; font-weight: 600; color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
  }
  .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
  .badge strong { color: var(--navy); font-weight: 700; }

  h1.hero-title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--ink);
    margin-bottom: 24px;
  }
  .hero-title .accent { color: var(--orange); display: inline-block; position: relative; }
  .hero-title .accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
    background: rgba(255, 129, 35, 0.18); z-index: -1; border-radius: 2px;
  }
  .hero-sub { font-size: 19px; color: var(--ink-2); max-width: 660px; margin: 0 auto 36px; line-height: 1.6; }
  .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  .hero-trust {
    margin: 22px auto 0; display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2); font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  }
  .hero-trust strong { color: var(--ink); font-weight: 800; }
  .hero-trust-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 3px rgba(16,185,129,.18);
    animation: heroTrustPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes heroTrustPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
    50%      { box-shadow: 0 0 0 6px rgba(16,185,129,.05); }
  }
  @media (max-width: 480px) {
    .hero-trust { font-size: 12px; padding: 7px 12px; }
  }

  .hero-stats {
    margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .hero-stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--border); }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
  .hero-stat-num .unit { color: var(--orange); }
  .hero-stat-label { color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

  /* ---------- HERO PRODUCT MOCK ---------- */
  .hero-mock {
    position: relative; z-index: 1;
    margin: 80px auto 0; max-width: 1100px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .mock-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #FCFCFE, #F7F8FB); }
  .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #E2E4EE; }
  .mock-dot.r { background: #FFB4B4; }
  .mock-dot.y { background: #FFD993; }
  .mock-dot.g { background: #B0E2C5; }
  .mock-url { margin-left: 12px; padding: 5px 14px; background: #fff; border: 1px solid var(--border); border-radius: 6px; font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); }
  .mock-body { display: grid; grid-template-columns: 240px 1fr; min-height: 480px; }
  .mock-side { background: #FBFBFD; border-right: 1px solid var(--border); padding: 18px 14px; }
  .mock-side-section { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 12px 6px; }
  .mock-nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; cursor: pointer; }
  .mock-nav-item .lucide { font-size: 16px; color: var(--muted); }
  .mock-nav-item.active { background: var(--navy-50); color: var(--navy); font-weight: 600; }
  .mock-nav-item.active .lucide { color: var(--navy); }
  .mock-main { padding: 24px 28px; }
  .mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
  .mock-h h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
  .mock-stat { padding: 16px; background: #FBFBFD; border: 1px solid var(--border); border-radius: var(--radius-sm); }
  .mock-stat-l { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
  .mock-stat-v { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 4px; letter-spacing: -0.01em; }
  .mock-stat-d { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 4px; }
  .mock-stat-d.neg { color: var(--red); }
  .mock-chart { height: 180px; background: #FBFBFD; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; position: relative; overflow: hidden; }
  .mock-chart-title { font-size: 13px; color: var(--muted); font-weight: 600; }
  .mock-chart svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px; }
  .mock-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
  .mock-pill.green { background: var(--green-50); color: var(--green); }

  /* ---------- SECTION SHELL ---------- */
  section { padding: 100px 0; position: relative; }
  .section-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.12em; padding-left: 18px; position: relative; margin-bottom: 16px; }
  .section-tag::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 2px; background: var(--orange); }
  .section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
  .section-head.left { text-align: left; margin-left: 0; }
  h2 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
  .section-sub { font-size: 18px; color: var(--ink-2); line-height: 1.6; max-width: 620px; margin: 0 auto; text-wrap: pretty; }
  .section-head.left .section-sub { margin: 0; }

  /* ---------- PROBLEM ---------- */
  .problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
  .problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
  .problem-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-50); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
  .problem-icon .lucide { font-size: 20px; }
  .problem-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
  .problem-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

  /* ---------- HUB & SPOKE ---------- */
  .hub { background: var(--surface); }
  .hub-stage {
    position: relative; max-width: 1080px; margin: 0 auto;
    height: 540px;
    container-type: inline-size;
    container-name: hubstage;
  }
  .hub-stage svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .hub-col { display: contents; }
  .hub-node {
    position: absolute; padding: 14px 18px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 12px;
    width: 220px;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .hub-node:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(42, 40, 119, 0.25); }
  .hub-node-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
  .hub-node-icon .lucide { font-size: 18px; }
  .hub-node h4 { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .hub-node p { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .hub-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 240px; height: 240px; border-radius: 50%;
    background: linear-gradient(140deg, var(--navy), #1a1854);
    color: #fff; display: grid; place-items: center; text-align: center;
    box-shadow: 0 30px 60px -20px rgba(42, 40, 119, 0.5);
    border: 8px solid #fff;
    z-index: 2;
  }
  .hub-center::after {
    content: ""; position: absolute; inset: -22px; border-radius: 50%;
    border: 1px dashed var(--border-strong);
    animation: spin 60s linear infinite;
  }
  .hub-center::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 129, 35, 0.35) 0%, rgba(255, 129, 35, 0) 70%);
    animation: hubPulse 3.2s ease-in-out infinite;
    z-index: 0;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes hubPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.55; }
    50% { transform: scale(1.08); opacity: 0.9; }
  }
  .hub-center-inner { position: relative; z-index: 2; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hub-center-logo {
    width: 190px; max-width: 70%; height: auto; display: block;
    filter: brightness(0) invert(1);
    opacity: 0.98;
  }
  .hub-center p { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.45; }

  /* hub node positions (left + right) */
  .hub-l1 { left: 0; top: 30px; }
  .hub-l2 { left: 0; top: 175px; }
  .hub-l3 { left: 0; top: 320px; }
  .hub-l4 { left: 0; top: 465px; }
  .hub-r1 { right: 0; top: 30px; }
  .hub-r2 { right: 0; top: 175px; }
  .hub-r3 { right: 0; top: 320px; }
  .hub-r4 { right: 0; top: 465px; }

  /* ---- line + dot animation ---- */
  .hub-line {
    fill: none;
    stroke: url(#lineGr);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 18 10;
    animation: hubDash 3.2s linear infinite;
  }
  .hub-line-1 { animation-delay: 0s;    stroke-dashoffset: 0;   }
  .hub-line-2 { animation-delay: -0.4s; }
  .hub-line-3 { animation-delay: -0.8s; }
  .hub-line-4 { animation-delay: -1.2s; }
  .hub-line-5 { animation-delay: -0.2s; }
  .hub-line-6 { animation-delay: -0.6s; }
  .hub-line-7 { animation-delay: -1.0s; }
  .hub-line-8 { animation-delay: -1.4s; }
  @keyframes hubDash {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -56; }
  }
  .hub-dot {
    filter: drop-shadow(0 0 4px rgba(255, 129, 35, 0.8));
  }
  @media (prefers-reduced-motion: reduce) {
    .hub-line, .hub-center::before, .hub-center::after { animation: none; }
    .hub-dot { display: none; }
  }

  /* ---- tighter layout between 980 and 1100 ---- */
  @container hubstage (max-width: 1040px) {
    .hub-node { width: 190px; padding: 12px 14px; }
    .hub-node h4 { font-size: 13px; }
    .hub-node p { font-size: 11px; }
    .hub-center { width: 200px; height: 200px; border-width: 6px; }
    .hub-center-logo { width: 110px; }
  }

  /* ---- between ~640 and ~980: stack the spokes into 2 columns below the hub ---- */
  @container hubstage (max-width: 900px) {
    .hub-stage {
      height: auto;
      display: flex; flex-direction: column; align-items: stretch; gap: 14px;
    }
    .hub-stage svg.lines { display: none; }
    .hub-center {
      position: relative; left: auto; top: auto; transform: none;
      margin: 0 auto; width: 180px; height: 180px; border-width: 6px;
      order: 1;
    }
    .hub-center-logo { width: 100px; }
    .hub-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hub-col-left { order: 2; }
    .hub-col-right { order: 3; }
    .hub-node {
      position: static; width: 100%; margin: 0;
    }
  }

  /* ---- very small screens: 1-column fully stacked ---- */
  @container hubstage (max-width: 560px) {
    .hub-col { grid-template-columns: 1fr; gap: 10px; }
    .hub-center { width: 160px; height: 160px; }
    .hub-center-logo { width: 90px; }
  }

  .ic-blue { background: #E5EAFF; color: #4F5EE0; }
  .ic-green { background: var(--green-50); color: var(--green); }
  .ic-orange { background: var(--orange-50); color: var(--orange); }
  .ic-purple { background: #F0E8FF; color: #7E4FE0; }
  .ic-red { background: var(--red-50); color: var(--red); }
  .ic-teal { background: #DCF5F2; color: #14B8A6; }
  .ic-pink { background: #FFE5EE; color: #E04F8C; }
  .ic-indigo { background: var(--navy-50); color: var(--navy); }

  /* ---------- FEATURE GRID ---------- */
  .fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .fcell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all .2s; }
  .fcell:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .fcell-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
  .fcell-ic .lucide { font-size: 20px; }
  .fcell h4 { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .fcell p { font-size: 13px; color: var(--muted); margin-top: 4px; }

  /* ---------- DEEP DIVE ---------- */
  .deepdive { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 140px; }
  .deepdive:last-child { margin-bottom: 0; }
  .deepdive.flip .dd-text { order: 2; }
  .dd-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--orange-50); color: var(--orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
  .dd-text h3 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
  .dd-text p.lead { font-size: 17px; color: var(--ink-2); line-height: 1.65; margin-bottom: 24px; }
  .dd-bullets { list-style: none; padding: 0; }
  .dd-bullets li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; color: var(--ink-2); }
  .dd-bullets li:last-child { border-bottom: none; }
  .dd-bullets li .lucide { font-size: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

  .dd-visual {
    position: relative;
    background: linear-gradient(160deg, #FBFBFD, #F4F5FA);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    min-height: 420px;
    overflow: hidden;
  }
  .dd-visual::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle, rgba(42,40,119,0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 70%);
  }

  /* X Chat mock */
  .chat-mock { position: relative; max-width: 360px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #FF9F4F); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
  .chat-name { font-weight: 700; font-size: 14px; color: var(--ink); }
  .chat-name .ai { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--green-50); color: var(--green); margin-left: 6px; vertical-align: middle; }
  .chat-status { font-size: 11px; color: var(--muted); }
  .chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FBFBFD; min-height: 320px; }
  .bubble { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
  .bubble.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
  .bubble.bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
  .bubble img { display: block; width: 140px; height: 100px; border-radius: 8px; margin: -2px 0 6px; background: linear-gradient(135deg, #FFD9B8, #FFA661); position: relative; }
  .bubble.user img { background: linear-gradient(135deg, #6B68C0, #2A2877); }
  .typing { display: inline-flex; gap: 3px; }
  .typing span { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: bounce 1.2s infinite; }
  .typing span:nth-child(2) { animation-delay: .15s; }
  .typing span:nth-child(3) { animation-delay: .3s; }
  @keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
  .order-card { background: linear-gradient(135deg, var(--green-50), #fff); border: 1px solid var(--green); border-radius: 10px; padding: 10px 12px; margin: 4px 0; font-size: 12px; color: var(--ink); }
  .order-card strong { color: var(--green); }

  /* ========== X Chat interactive demo ========== */
  .xc-stage { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 24px; background:
    radial-gradient(circle at 1px 1px, rgba(42,40,119,0.06) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(160deg, #FBFBFD, #F0F1F7);
    border-radius: 16px; }
  .xc-stage-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
  .xc-inbox-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
  .xc-inbox-label [data-lucide] { width: 13px; height: 13px; }

  .xc-channels { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 3px; box-shadow: var(--shadow-sm); }
  .xc-chan { background: none; border: none; padding: 6px 11px; border-radius: 6px; font-family: inherit; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
  .xc-chan:hover { color: var(--ink); }
  .xc-chan.act { color: #fff; }
  .xc-chan.act[data-chan="messenger"] { background: linear-gradient(135deg, #0084FF, #0068D4); }
  .xc-chan.act[data-chan="whatsapp"] { background: linear-gradient(135deg, #25D366, #128C7E); }

  /* Chat panel - Messenger styling (default) */
  .xc-phone { background: #fff; border-radius: 14px; box-shadow: 0 18px 45px -15px rgba(42,40,119,0.22), 0 3px 8px rgba(20,20,50,0.05); display: flex; flex-direction: column; overflow: hidden; height: 520px; max-width: 440px; margin: 0 auto; width: 100%; border: 1px solid var(--border); }
  .xc-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; color: var(--ink); border-bottom: 1px solid #E8EAEE; transition: background .4s, color .4s; }
  .xc-head .xc-back { background: none; border: none; color: #0084FF; cursor: pointer; display: grid; place-items: center; padding: 0; }
  .xc-head .xc-back [data-lucide] { width: 20px; height: 20px; }
  .xc-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FF8123, #E04F8C); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
  .xc-headtxt { flex: 1; min-width: 0; }
  .xc-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  .xc-status { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
  .xc-dot { width: 6px; height: 6px; background: #31A24C; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff; }
  .xc-headicons { display: flex; gap: 14px; color: #0084FF; }
  .xc-headicons [data-lucide] { width: 20px; height: 20px; }

  /* WhatsApp re-skin */
  .xc-phone.xc-whatsapp .xc-head { background: linear-gradient(180deg, #075E54, #054A42); color: #fff; border-bottom: none; }
  .xc-phone.xc-whatsapp .xc-head .xc-back { color: #fff; }
  .xc-phone.xc-whatsapp .xc-name { color: #fff; }
  .xc-phone.xc-whatsapp .xc-status { color: rgba(255,255,255,0.8); }
  .xc-phone.xc-whatsapp .xc-dot { background: #7DF38C; }
  .xc-phone.xc-whatsapp .xc-headicons { color: #fff; }
  .xc-phone.xc-whatsapp .xc-body { background: #ECE5DD;
    background-image:
      radial-gradient(rgba(7,94,84,0.04) 1px, transparent 1px),
      radial-gradient(rgba(7,94,84,0.06) 1px, transparent 1px);
    background-size: 14px 14px, 22px 22px;
    background-position: 0 0, 7px 7px;
  }
  .xc-phone.xc-whatsapp .xc-input { background: #F0F2F5; }
  .xc-phone.xc-whatsapp .xc-input [data-lucide] { color: #128C7E; }
  .xc-phone.xc-whatsapp .xc-drafting { background: #E8F5EE; color: #075E54; border-top-color: #C8E4D5; }
  .xc-phone.xc-whatsapp .xc-drafting-sparkle { color: #128C7E; }

  /* Message body */
  .xc-body { flex: 1; padding: 14px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; background: #F6F7F9; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(42,40,119,0.15) transparent; transition: background .4s; }
  .xc-body::-webkit-scrollbar { width: 4px; }
  .xc-body::-webkit-scrollbar-thumb { background: rgba(42,40,119,0.15); border-radius: 2px; }

  /* Bubbles — merchant perspective:
       .customer = incoming from customer (left, gray)
       .me       = outgoing from business (right, blue/green) */
  .xc-bubble { max-width: 80%; padding: 8px 12px; border-radius: 18px; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(8px); animation: xcin .32s cubic-bezier(.3,1.4,.5,1) forwards; position: relative; }
  @keyframes xcin { to { opacity: 1; transform: translateY(0); } }
  .xc-bubble.customer { align-self: flex-start; background: #E4E6EB; color: var(--ink); border-bottom-left-radius: 5px; }
  .xc-phone.xc-whatsapp .xc-bubble.customer { background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
  .xc-bubble.me { align-self: flex-end; background: linear-gradient(135deg, #0084FF, #0068D4); color: #fff; border-bottom-right-radius: 5px; }
  .xc-phone.xc-whatsapp .xc-bubble.me { background: #DCF8C6; color: #111; border-bottom-right-radius: 5px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }

  /* AI reply meta-note (below bubble, Messenger-style "Delivered" hint) */
  .xc-ai-note { font-size: 10px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; margin: -2px 2px 2px; font-weight: 600; letter-spacing: 0.01em; opacity: 0; transform: translateY(4px); animation: xcin .3s cubic-bezier(.3,1.4,.5,1) forwards; }
  .xc-ai-note.me { align-self: flex-end; }
  .xc-ai-note.customer { align-self: flex-start; }
  .xc-ai-note-spark { color: var(--orange); font-size: 11px; line-height: 1; }
  .xc-phone.xc-whatsapp .xc-ai-note-spark { color: #128C7E; }

  .xc-meta { font-size: 10px; color: var(--muted); align-self: center; font-weight: 700; padding: 3px 12px; background: rgba(0,0,0,0.06); border-radius: 999px; margin: 6px 0; letter-spacing: 0.03em; text-transform: uppercase; }
  .xc-phone.xc-whatsapp .xc-meta { background: rgba(255,255,255,0.85); }

  /* Customer name above first bubble in a row */
  .xc-cust-label { font-size: 10px; color: var(--muted); margin: 6px 0 -2px 10px; font-weight: 600; align-self: flex-start; }

  /* Photo bubble — real 3:4 product photo */
  .xc-photo-wrap { position: relative; width: 180px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #1a1a2e; }
  .xc-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

  .xc-photo-scan { position: absolute; inset: 0; pointer-events: none; }
  .xc-photo-scan::before { content: ""; position: absolute; left: 0; right: 0; height: 50px; top: -50px; background: linear-gradient(180deg, transparent, rgba(0,132,255,0.6) 50%, transparent); box-shadow: 0 0 24px rgba(0,132,255,0.45); animation: xcscan 1.6s linear infinite; }
  .xc-phone.xc-whatsapp .xc-photo-scan::before { background: linear-gradient(180deg, transparent, rgba(37,211,102,0.7) 50%, transparent); box-shadow: 0 0 24px rgba(37,211,102,0.45); }
  @keyframes xcscan { 0% { top: -50px; } 100% { top: 100%; } }
  .xc-photo-scan.done::before { display: none; }
  /* Corner brackets — visible during scan */
  .xc-photo-brackets { position: absolute; inset: 12px; pointer-events: none; opacity: 0.95; transition: opacity .3s, inset .45s cubic-bezier(.3,1.4,.5,1), border-color .3s; }
  .xc-photo-brackets::before, .xc-photo-brackets::after,
  .xc-photo-brackets .br, .xc-photo-brackets .bl { content: ""; position: absolute; width: 16px; height: 16px; border: 2.5px solid #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
  .xc-photo-brackets::before { top: 0; left: 0; border-right: none; border-bottom: none; }
  .xc-photo-brackets::after  { top: 0; right: 0; border-left: none; border-bottom: none; }
  .xc-photo-brackets .bl     { bottom: 0; left: 0; border-right: none; border-top: none; }
  .xc-photo-brackets .br     { bottom: 0; right: 0; border-left: none; border-top: none; }
  .xc-photo-brackets.matched { inset: 22%; }
  .xc-photo-brackets.matched::before, .xc-photo-brackets.matched::after,
  .xc-photo-brackets.matched .bl, .xc-photo-brackets.matched .br { border-color: #10B981; }

  .xc-photo-pill { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 20px); background: rgba(0,0,0,0.75); color: #fff; backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; opacity: 0; transition: opacity .3s, transform .4s cubic-bezier(.3,1.4,.5,1), background .3s; }
  .xc-photo-pill.show { opacity: 1; transform: translate(-50%, 0); }
  .xc-photo-pill.match { background: #10B981; }
  .xc-photo-pill [data-lucide] { width: 12px; height: 12px; }

  /* Product match card */
  .xc-match-card { margin-top: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; box-shadow: 0 2px 6px rgba(20,20,50,0.04); color: var(--ink); }
  .xc-match-thumb { width: 44px; height: 44px; border-radius: 6px; background: #1a1a2e; position: relative; overflow: hidden; flex-shrink: 0; }
  .xc-match-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .xc-match-info b { display: block; font-size: 12px; color: var(--ink); font-weight: 700; }
  .xc-match-info .xc-price { font-size: 11px; color: var(--orange); font-weight: 800; margin-top: 1px; }
  .xc-match-info .xc-stock { font-size: 10px; color: var(--green); margin-top: 2px; display: flex; align-items: center; gap: 4px; font-weight: 600; }
  .xc-match-info .xc-stock::before { content: "●"; font-size: 8px; }

  /* Quick-reply chips inside bubble */
  .xc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .xc-chip { background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.4); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-family: inherit; }
  .xc-phone.xc-whatsapp .xc-bubble.me .xc-chip { background: rgba(7,94,84,0.08); color: #075E54; border-color: rgba(7,94,84,0.2); }

  /* Order card inside chat */
  .xc-order-card { background: #fff; border: 1px solid var(--green); border-radius: 10px; padding: 10px 12px; margin-top: 6px; color: var(--ink); }
  .xc-order-card .xc-oc-head { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
  .xc-order-card .xc-oc-head [data-lucide] { width: 13px; height: 13px; }
  .xc-order-card .xc-oc-prod { font-size: 12px; font-weight: 700; color: var(--ink); }
  .xc-order-card .xc-oc-details { font-size: 10px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

  /* Drafting strip */
  .xc-drafting { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: linear-gradient(90deg, #FFF3E8, #F0E8FF); color: var(--orange); font-size: 11px; font-weight: 700; border-top: 1px solid rgba(255,129,35,0.2); opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s, max-height .35s; }
  .xc-drafting.show { opacity: 1; max-height: 40px; }
  .xc-drafting-sparkle { font-size: 14px; color: var(--orange); }
  .xc-drafting-text { flex: 1; }
  .xc-typing-dots { display: inline-flex; gap: 3px; }
  .xc-typing-dots span { width: 5px; height: 5px; background: currentColor; border-radius: 50%; animation: xctbounce 1.2s infinite; opacity: 0.6; }
  .xc-typing-dots span:nth-child(2) { animation-delay: .15s; }
  .xc-typing-dots span:nth-child(3) { animation-delay: .3s; }
  @keyframes xctbounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }

  /* Input bar */
  .xc-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #E8EAEE; background: #fff; }
  .xc-input [data-lucide] { width: 20px; height: 20px; color: #0084FF; flex-shrink: 0; }
  .xc-input-field { flex: 1; background: #F0F2F5; border-radius: 999px; padding: 7px 12px; font-size: 12px; color: var(--muted); min-height: 18px; position: relative; }
  .xc-input-ph { color: var(--muted); font-weight: 500; }

  /* Activity chips row — hoverable AI insights */
  .xc-activity { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
  .xc-activity-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
  .xc-activity-label [data-lucide] { width: 12px; height: 12px; color: var(--orange); }
  .xc-activity-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .xc-activity-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #FBFBFD; border: 1px solid var(--border); font-size: 11px; font-weight: 700; color: var(--ink-2); opacity: 0; transform: translateY(6px); animation: xcchipin .45s cubic-bezier(.3,1.4,.5,1) forwards; cursor: help; transition: border-color .2s, background .2s, color .2s; }
  @keyframes xcchipin { to { opacity: 1; transform: translateY(0); } }
  .xc-activity-chip:hover { border-color: var(--orange); background: var(--orange-50); color: var(--orange); }
  .xc-activity-chip.flash { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); animation: xcchipin .45s cubic-bezier(.3,1.4,.5,1) forwards, xcchipflash 1.2s ease-out; }
  @keyframes xcchipflash { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); } 100% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } }
  .xc-activity-chip [data-lucide] { width: 12px; height: 12px; flex-shrink: 0; }
  .xc-activity-chip.order [data-lucide] { color: var(--green); }
  .xc-activity-chip.stock [data-lucide] { color: var(--orange); }
  .xc-activity-chip.photo [data-lucide] { color: #0084FF; }
  .xc-activity-chip.track [data-lucide] { color: #7E4FE0; }
  .xc-activity-chip.notify [data-lucide] { color: #E04F8C; }
  .xc-activity-chip .xc-chip-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 11px; font-weight: 600; line-height: 1.4; max-width: 240px; width: max-content; white-space: normal; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.3,1.4,.5,1); box-shadow: var(--shadow-lg); z-index: 5; text-transform: none; letter-spacing: normal; text-align: left; }
  .xc-activity-chip .xc-chip-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ink); }
  .xc-activity-chip:hover .xc-chip-tip { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

  /* Replay */
  .xc-replay { position: absolute; top: 18px; right: 18px; background: #fff; color: var(--navy); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 20px -8px rgba(42,40,119,0.3), 0 2px 6px rgba(20,20,50,0.06); opacity: 0; transition: all .35s cubic-bezier(.3,1.4,.5,1); cursor: pointer; font-family: inherit; z-index: 15; transform: translateY(-6px); }
  .xc-replay [data-lucide] { width: 12px; height: 12px; color: var(--orange); }
  .xc-replay.show { opacity: 1; transform: translateY(0); }
  .xc-replay:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

  @media (max-width: 720px) {
    .xc-phone { height: 460px; }
    .xc-activity-row { gap: 6px; }
    .xc-activity-chip { font-size: 10px; padding: 6px 10px; }

    /* Page Builder demo — make frames fit narrow screens, trim padding */
    #pb-demo { padding: 12px !important; }
    .pb-main { height: 420px; }
    .pb-frame.desktop { width: 100%; max-width: 340px; }
    .pb-frame.tablet  { width: 100%; max-width: 300px; }
    .pb-frame.mobile  { width: 100%; max-width: 260px; }
    .pb-ai-float { max-width: calc(100% - 16px); padding: 10px 12px; }
    .pb-ai-float-row { flex-wrap: wrap; }
    .pb-ai-float-prompt { min-height: 32px; font-size: 11px; padding: 7px 9px; }
    .pb-ai-float-btn { padding: 0 12px; font-size: 11px; }
    .pb-topbar { gap: 6px; padding: 8px 10px; }
    .pb-tb-title { font-size: 11px; }
    .pb-tool { width: 26px; height: 26px; }
    .pb-publish { padding: 6px 10px; font-size: 10.5px; }
  }
  @media (max-width: 420px) {
    #pb-demo { padding: 10px !important; }
    .pb-frame.desktop { max-width: 280px; }
    .pb-frame.tablet  { max-width: 240px; }
    .pb-frame.mobile  { max-width: 220px; }
    .pb-tb-title .muted { display: none; }
  }

  /* Inventory mock */
  .inv-mock { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-md); }
  .inv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  .inv-head h4 { font-size: 14px; font-weight: 700; color: var(--ink); }
  .inv-row { display: grid; grid-template-columns: 1fr 80px 80px 80px; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); align-items: center; font-size: 13px; }
  .inv-row.head { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0; border-top: none; }
  .inv-prod { display: flex; align-items: center; gap: 10px; }
  .inv-thumb { width: 32px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #E5EAFF, #B6BFF5); flex-shrink: 0; }
  .inv-thumb.b { background: linear-gradient(135deg, #FFE5EE, #F5B6CB); }
  .inv-thumb.c { background: linear-gradient(135deg, #DCF5F2, #97DFD3); }
  .inv-num { font-weight: 700; color: var(--ink); text-align: right; }
  .inv-num.committed { color: var(--orange); }
  .inv-num.hold { color: var(--muted); }

  /* Accounting mock */
  .acc-mock { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-md); }
  .acc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
  .acc-row:last-child { border-bottom: none; }
  .acc-row.total { padding-top: 14px; border-top: 2px solid var(--ink); border-bottom: none; font-weight: 800; font-size: 16px; color: var(--navy); margin-top: 6px; }
  .acc-row .neg { color: var(--red); }
  .acc-row .pos { color: var(--green); }
  .date-toggle { display: flex; background: #F4F5FA; padding: 3px; border-radius: 8px; margin-bottom: 16px; font-size: 12px; }
  .date-toggle div { flex: 1; text-align: center; padding: 7px 8px; border-radius: 6px; font-weight: 600; color: var(--muted); cursor: pointer; }
  .date-toggle div.act { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

  /* CAPI mock */
  .capi-mock { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-md); }
  .capi-flow { display: flex; flex-direction: column; gap: 10px; }
  .capi-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #FBFBFD; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; }
  .capi-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; }
  .capi-arrow { text-align: center; color: var(--muted); font-size: 18px; }
  .capi-step.success .capi-dot { background: var(--green-50); color: var(--green); }
  .capi-step.fail .capi-dot { background: var(--red-50); color: var(--red); }
  .capi-step .lbl { font-weight: 600; color: var(--ink); }
  .capi-step .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }

  /* Fraud mock */
  .fraud-mock { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-md); }
  .fraud-card { padding: 16px; border-radius: 10px; border: 1.5px solid var(--red); background: var(--red-50); margin-bottom: 14px; }
  .fraud-card .row { display: flex; justify-content: space-between; align-items: center; }
  .fraud-card .ph { font-family: 'JetBrains Mono'; font-weight: 700; color: var(--ink); font-size: 14px; }
  .fraud-card .badge-r { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; }
  .fraud-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
  .fraud-stats div { background: #fff; border-radius: 6px; padding: 8px; text-align: center; font-size: 12px; }
  .fraud-stats div b { display: block; font-size: 18px; color: var(--red); font-weight: 800; }
  .fraud-actions { display: flex; gap: 8px; margin-top: 8px; }
  .fraud-actions button { flex: 1; padding: 8px; border-radius: 6px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); background: #fff; cursor: pointer; font-family: inherit; }
  .fraud-actions button.deny { background: var(--red); color: #fff; border-color: var(--red); }

  /* Page builder — LIGHT, interactive */
  .pb-wrap { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
  .pb-topbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #FBFBFD; border-bottom: 1px solid var(--border); font-size: 12px; }
  .pb-tool { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; background: transparent; border: none; font: inherit; transition: all .15s; }
  .pb-tool:hover { background: #F0F1F7; color: var(--navy); }
  .pb-tool.act { background: var(--navy); color: #fff; }
  .pb-tool [data-lucide] { width: 14px; height: 14px; stroke-width: 2.2; }
  .pb-tb-title { color: var(--ink); font-weight: 700; font-size: 12px; margin-left: 6px; letter-spacing: -0.01em; }
  .pb-tb-title .muted { color: var(--muted); font-weight: 500; margin-left: 6px; }
  .pb-tb-spacer { flex: 1; }
  .pb-vp { display: flex; background: #F0F1F7; border-radius: 8px; padding: 2px; gap: 2px; }
  .pb-vp .pb-tool { width: 30px; height: 24px; border-radius: 6px; color: var(--muted); }
  .pb-vp .pb-tool.act { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
  .pb-publish { background: var(--navy); color: #fff; font-weight: 700; font-size: 11px; padding: 7px 12px; border-radius: 6px; border: none; cursor: pointer; font-family: inherit; }

  .pb-main { display: block; height: 520px; position: relative; }

  .pb-canvas { position: relative; background:
    radial-gradient(circle at 1px 1px, rgba(42,40,119,0.07) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, #FBFBFD, #F4F5FA);
    padding: 14px 12px 120px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; height: 100%; }
  .pb-frame-wrap { position: relative; transition: all .5s cubic-bezier(.4,.8,.3,1); height: 100%; display: flex; flex-direction: column; }
  .pb-frame { background: #fff; border-radius: 12px; overflow: hidden auto; box-shadow: 0 20px 50px -15px rgba(42,40,119,0.25), 0 4px 10px rgba(20,20,50,0.06); position: relative; transition: width .5s cubic-bezier(.4,.8,.3,1); height: 100%; scrollbar-width: thin; scrollbar-color: rgba(42,40,119,0.2) transparent; scroll-behavior: smooth; }
  .pb-frame::-webkit-scrollbar { width: 6px; }
  .pb-frame::-webkit-scrollbar-thumb { background: rgba(42,40,119,0.2); border-radius: 3px; }
  .pb-frame::-webkit-scrollbar-track { background: transparent; }
  .pb-frame-label { text-align:center; font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'JetBrains Mono'; padding-bottom: 4px; }
  .pb-frame-label b { color: var(--orange); }

  /* Frame sizes per viewport — now frame has the full canvas width to breathe */
  .pb-frame.desktop { width: 440px; }
  .pb-frame.tablet { width: 380px; }
  .pb-frame.mobile { width: 300px; }
  .pb-frame { max-width: 100%; transition: width .5s cubic-bezier(.4,.8,.3,1); }

  .pb-fblock { padding: 0; position: relative; cursor: pointer; transition: outline .15s; border: 2px solid transparent; }
  .pb-fblock:hover { border-color: rgba(255,129,35,0.3); }
  .pb-fblock.selected { border-color: var(--orange); z-index: 2; }
  .pb-fblock.selected::before { content: attr(data-label); position: absolute; top: -20px; left: -2px; background: var(--orange); color: #fff; font-size: 9px; padding: 3px 8px; border-radius: 4px 4px 0 0; font-family: 'JetBrains Mono'; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
  .pb-handles { position: absolute; inset: -5px; pointer-events: none; }
  .pb-handle { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--orange); border-radius: 2px; }
  .pb-handle.tl { top: 0; left: 0; } .pb-handle.tr { top: 0; right: 0; }
  .pb-handle.bl { bottom: 0; left: 0; } .pb-handle.br { bottom: 0; right: 0; }

  .pb-hero-img { height: 150px; background: linear-gradient(135deg, #2A2877, #7E4FE0 50%, #FF8123); position: relative; overflow: hidden; }
  .pb-hero-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 60%, rgba(255,255,255,0.25), transparent 55%); }
  .pb-hero-img .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.28); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px); letter-spacing: 0.02em; }
  .pb-ftitle { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; padding: 16px 18px 6px; transition: font-size .4s; }
  .pb-frame.mobile .pb-ftitle { font-size: 15px; padding: 12px 14px 4px; }
  .pb-frame.tablet .pb-ftitle { font-size: 17px; }
  .pb-fsub { font-size: 12px; color: var(--muted); padding: 0 18px 14px; line-height: 1.5; }
  .pb-frame.mobile .pb-fsub { font-size: 10px; padding: 0 14px 10px; }
  .pb-features-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 18px; }
  .pb-frame.mobile .pb-features-row { grid-template-columns: 1fr; padding: 8px 14px; }
  .pb-feat { background: #F4F5FA; border-radius: 6px; padding: 8px 10px; font-size: 11px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; font-weight: 600; }
  .pb-feat [data-lucide] { width: 12px; height: 12px; color: var(--green); }
  .pb-fcta { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 12px; text-align: center; margin: 10px 18px 16px; border-radius: 8px; }
  .pb-frame.mobile .pb-fcta { margin: 8px 14px 12px; font-size: 11px; padding: 10px; }

  /* Floating AI Assistant (bottom of canvas) */
  .pb-ai-float { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(120%); width: calc(100% - 24px); max-width: 420px; background: #fff; border: 1px solid rgba(255,129,35,0.25); border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 45px -10px rgba(42,40,119,0.35), 0 4px 12px rgba(20,20,50,0.08); z-index: 18; transition: transform .45s cubic-bezier(.3,1.2,.5,1), opacity .3s; opacity: 0; }
  .pb-ai-float.show { transform: translateX(-50%) translateY(0); opacity: 1; }
  .pb-ai-float::before {
    content: "";
    position: absolute; inset: -1px; border-radius: 14px; pointer-events: none;
    background: linear-gradient(135deg, rgba(255,129,35,0.18), rgba(126,79,224,0.14), rgba(255,129,35,0.18));
    -webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
  }
  .pb-ai-float-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
  .pb-ai-float-title { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'JetBrains Mono'; }
  .pb-ai-float-spark { font-size: 13px; }
  .pb-ai-float-sel { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--orange-50); color: var(--orange); font-size: 10px; font-weight: 700; font-family: 'JetBrains Mono'; letter-spacing: 0.04em; transition: background .25s, color .25s; }
  .pb-ai-float-sel [data-lucide] { width: 11px; height: 11px; }
  .pb-ai-float-sel.has-selection { background: var(--orange); color: #fff; }

  .pb-ai-float-row { display: flex; gap: 8px; align-items: stretch; }
  .pb-ai-float-prompt { flex: 1; background: #FBFBFD; border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; font-size: 12px; color: var(--ink); line-height: 1.35; min-height: 38px; display: flex; align-items: center; font-weight: 500; }
  .pb-ai-float-prompt:empty::before,
  .pb-ai-float-prompt.is-placeholder { color: var(--muted); font-weight: 500; }
  .pb-ai-float-btn { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 0 16px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; transition: background .15s, transform .1s; }
  .pb-ai-float-btn:hover { background: #F47210; }
  .pb-ai-float-btn:active { transform: scale(0.97); }
  .pb-ai-float-btn [data-lucide] { width: 13px; height: 13px; }

  /* Ripple / pulse */
  .pb-pulse { position: absolute; border: 2px solid var(--orange); border-radius: 50%; pointer-events: none; animation: pbpulse 1.6s ease-out infinite; }
  @keyframes pbpulse {
    0% { opacity: 0.7; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(2.2); }
  }

  /* Toast */
  .pb-toast { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); opacity: 0; transition: all .3s; pointer-events: none; z-index: 10; }
  .pb-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
  .pb-toast [data-lucide] { width: 14px; height: 14px; color: var(--green); }

  /* Replay button */
  /* Replay button — top-right corner of canvas, away from bottom AI float */
  .pb-replay { position: absolute; top: 12px; right: 14px; background: #fff; color: var(--navy); border: 1px solid var(--border); padding: 7px 14px 7px 12px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s cubic-bezier(.3,1.2,.5,1), border-color .15s, color .15s; box-shadow: 0 8px 20px -8px rgba(42,40,119,0.35), 0 2px 6px rgba(20,20,50,0.06); display: inline-flex; align-items: center; gap: 6px; z-index: 19; pointer-events: none; }
  .pb-replay [data-lucide] { width: 13px; height: 13px; color: var(--orange); }
  .pb-replay.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .pb-replay:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

  /* Virtual cursor for auto-play demo */
  .pb-vcursor { position: absolute; top: 0; left: 0; z-index: 20; pointer-events: none; opacity: 0; transform: translate(40px, 40px); transition: transform 900ms cubic-bezier(.5,.1,.25,1), opacity .3s; filter: drop-shadow(0 3px 8px rgba(20,20,50,0.25)); }
  .pb-vcursor.show { opacity: 1; }
  .pb-vcursor.click svg { transform: scale(0.82); }
  .pb-vcursor svg { transition: transform .15s; display:block; }
  .pb-vcursor-label { display: inline-block; margin-top: 2px; margin-left: 14px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px 4px 4px 0; font-family: 'JetBrains Mono'; letter-spacing: 0.03em; }

  /* Click ripple */
  .pb-click-ripple { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,129,35,0.35); transform: translate(-50%,-50%) scale(0); pointer-events: none; z-index: 19; animation: pbripple .6s ease-out forwards; }
  @keyframes pbripple {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
  }

  /* Thinking bubble */
  .pb-think { position: absolute; top: 24px; left: 50%; transform: translate(-50%, -12px); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; z-index: 25; opacity: 0; transition: opacity .35s, transform .35s cubic-bezier(.3,1.4,.5,1); pointer-events: none; white-space: nowrap; }
  .pb-think.show { opacity: 1; transform: translate(-50%, 0); }
  .pb-think-emoji { font-size: 18px; line-height: 1; }

  /* Shimmer for AI-thinking on title */
  .pb-ftitle.pb-shimmer { background: linear-gradient(90deg, #F0F1F7 0%, #FFE5CC 30%, #F0F1F7 60%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pbshimmer 1.2s linear infinite; }
  @keyframes pbshimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Caret for typing effect */
  .pb-caret::after { content: "|"; color: var(--orange); animation: pbblink 1s step-end infinite; margin-left: 1px; font-weight: 400; }
  @keyframes pbblink { 50% { opacity: 0; } }

  /* Empty frame state */
  .pb-frame.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 2px dashed var(--border); overflow: hidden; }
  .pb-empty-state { text-align: center; padding: 24px; color: var(--muted); }
  .pb-empty-state .pb-empty-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #FFF3E8, #F0E8FF); display: grid; place-items: center; margin: 0 auto 12px; color: var(--orange); }
  .pb-empty-state .pb-empty-icon [data-lucide] { width: 24px; height: 24px; }
  .pb-empty-state h4 { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 4px; }
  .pb-empty-state p { font-size: 11px; line-height: 1.5; margin: 0; }
  .pb-empty-state .pb-empty-arrow { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--orange); font-weight: 700; font-size: 11px; font-family: 'JetBrains Mono'; }
  .pb-empty-state .pb-empty-arrow [data-lucide] { width: 12px; height: 12px; animation: pbpoint 1.2s ease-in-out infinite; }
  @keyframes pbpoint {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }

  /* Section outline + regenerate button on hover/selected */
  .pb-fblock[data-section] { position: relative; padding: 0; }
  .pb-fblock[data-section].section-selected { outline: 2px solid var(--navy); outline-offset: -2px; border: none; }
  .pb-fblock[data-section].section-selected::before { content: attr(data-section-name); position: absolute; top: -18px; left: 0; background: var(--navy); color: #fff; font-size: 9px; padding: 3px 8px 2px; border-radius: 4px 4px 0 0; font-family: 'JetBrains Mono'; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; z-index: 3; }
  .pb-section-regen { position: absolute; top: -20px; right: 0; display: none; align-items: center; gap: 4px; background: var(--orange); color: #fff; font-size: 9px; padding: 3px 8px; border-radius: 4px 4px 0 0; font-family: inherit; font-weight: 700; letter-spacing: 0.02em; border: none; cursor: pointer; z-index: 3; }
  .pb-section-regen [data-lucide] { width: 10px; height: 10px; }
  .pb-fblock[data-section].section-selected .pb-section-regen { display: inline-flex; }

  /* Sales funnel section styles */
  .sf-hero { padding: 0; background: #0B0B24; color: #fff; overflow: hidden; position: relative; }
  .sf-hero-img { height: 170px; background:
    radial-gradient(circle at 70% 40%, rgba(255,129,35,0.45), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(126,79,224,0.6), transparent 50%),
    linear-gradient(135deg, #14142B, #2A1560);
    position: relative; }
  .sf-hero-img::after { content: "👟"; position: absolute; right: -10px; bottom: -20px; font-size: 140px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4)); transform: rotate(-18deg); line-height: 1; }
  .sf-hero-tag { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.04em; z-index: 2; }
  .sf-hero-body { padding: 14px 16px 18px; }
  .sf-hero-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: #FF8123; text-transform: uppercase; margin-bottom: 6px; font-family: 'JetBrains Mono'; }
  .sf-hero-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 6px; }
  .sf-hero-sub { font-size: 11px; line-height: 1.5; color: #C5C5E0; margin-bottom: 12px; }
  .sf-hero-cta { background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; padding: 10px; text-align: center; border-radius: 6px; }

  .sf-section { padding: 16px; border-top: 1px solid #F0F1F7; }
  .sf-section-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--orange); text-transform: uppercase; margin-bottom: 4px; font-family: 'JetBrains Mono'; }
  .sf-section-title { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.2; }

  .sf-problem-list { display: flex; flex-direction: column; gap: 6px; }
  .sf-problem { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.4; color: var(--ink-2); }
  .sf-problem [data-lucide] { width: 12px; height: 12px; color: #EF4444; flex-shrink: 0; margin-top: 1px; }

  .sf-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .sf-feat-card { background: #F4F5FA; border-radius: 6px; padding: 8px; }
  .sf-feat-card [data-lucide] { width: 14px; height: 14px; color: var(--orange); margin-bottom: 4px; }
  .sf-feat-title { font-size: 10px; font-weight: 800; color: var(--ink); margin-bottom: 2px; line-height: 1.2; }
  .sf-feat-desc { font-size: 9px; color: var(--muted); line-height: 1.3; }

  .sf-social { background: linear-gradient(135deg, #FFF3E8, #FFE5CC); padding: 14px 16px; border-radius: 0; border-top: 1px solid #F0F1F7; }
  .sf-stars { color: #FF8123; font-size: 11px; margin-bottom: 4px; letter-spacing: 1px; }
  .sf-quote { font-size: 11px; font-style: italic; color: var(--ink); line-height: 1.5; margin-bottom: 6px; font-weight: 500; }
  .sf-reviewer { font-size: 9px; font-weight: 700; color: var(--muted); }

  .sf-cta-section { background: var(--navy); color: #fff; padding: 16px; text-align: center; }
  .sf-cta-title { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
  .sf-cta-price { font-size: 9px; color: #C5C5E0; margin-bottom: 10px; font-family: 'JetBrains Mono'; }
  .sf-cta-price s { opacity: 0.5; margin-right: 6px; }
  .sf-cta-price b { color: var(--orange); font-size: 14px; letter-spacing: -0.01em; }
  .sf-cta-btn { background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 12px; border-radius: 6px; }
  .sf-cta-micro { font-size: 8px; color: #8888B8; margin-top: 6px; font-family: 'JetBrains Mono'; letter-spacing: 0.03em; }

  /* Sneaker hero alt-theme (for regenerated header) */
  .sf-hero-v2 .sf-hero-img {
    background:
      radial-gradient(circle at 30% 30%, rgba(16,185,129,0.5), transparent 55%),
      radial-gradient(circle at 80% 70%, rgba(42,40,119,0.8), transparent 55%),
      linear-gradient(135deg, #065F46, #0B0B24);
  }
  .sf-hero-v2 .sf-hero-eyebrow { color: #10B981; }
  .sf-hero-v2 .sf-hero-tag { background: #10B981; }
  .sf-hero-v2 .sf-hero-cta { background: #10B981; }

  /* Block-entry animation for generated sections */
  @keyframes pb-section-in {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  .pb-animate-in { animation: pb-section-in .5s cubic-bezier(.3,1.1,.5,1) both; }

  .pb-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
  .pb-badge-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
  .pb-badge-tag [data-lucide] { width: 13px; height: 13px; color: var(--orange); }

  /* CRM mock */
  .crm-mock { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0; box-shadow: var(--shadow-md); overflow: hidden; }
  .crm-head { display: flex; align-items: center; gap: 14px; padding: 18px; border-bottom: 1px solid var(--border); }
  .crm-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #5C58E0); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
  .crm-name { font-weight: 700; font-size: 15px; color: var(--ink); }
  .crm-meta { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; gap: 10px; }
  .crm-meta span { display: inline-flex; align-items: center; gap: 4px; }
  .crm-tabs { display: flex; gap: 0; padding: 0 14px; border-bottom: 1px solid var(--border); font-size: 12px; }
  .crm-tabs div { padding: 12px 12px; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; }
  .crm-tabs div.act { color: var(--navy); border-bottom-color: var(--orange); }
  .crm-timeline { padding: 14px 18px; max-height: 240px; overflow: hidden; }
  .crm-event { display: flex; gap: 12px; padding: 8px 0; }
  .crm-event-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
  .crm-event-ic .lucide { font-size: 13px; }
  .crm-event-body { flex: 1; font-size: 12.5px; color: var(--ink-2); }
  .crm-event-body b { color: var(--ink); font-weight: 700; }
  .crm-event-time { color: var(--muted); font-size: 11px; margin-top: 2px; }
  .crm-segments { padding: 14px 18px; border-top: 1px solid var(--border); background: #FBFBFD; }
  .crm-seg-title { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
  .crm-seg-row { display: flex; gap: 6px; flex-wrap: wrap; }
  .crm-seg { padding: 5px 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
  .crm-seg.act { background: var(--navy); color: #fff; border-color: var(--navy); }

  /* ---------- COMPARE TABLE ---------- */
  .compare-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -24px 0 28px; }
  .compare-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); }
  .compare-stat-lbl { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
  .compare-stat-val { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
  .compare-stat-sub { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }

  .compare-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
  .compare-scroll { /* reserved if needed */ }
  table.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
  table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: middle; }
  table.compare th:nth-child(1) { width: 32%; }
  table.compare th:nth-child(2), table.compare th:nth-child(3), table.compare th:nth-child(4) { width: 22.66%; }
  table.compare thead th { background: #FBFBFD; font-weight: 700; color: var(--ink); vertical-align: top; padding: 20px 18px 18px; text-align: center; }
  table.compare thead th.th-feature { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; padding-left: 26px; }
  table.compare thead th.us { position: relative; background: linear-gradient(180deg, #F5F5FC 0%, #FBFBFD 100%); border-top: 3px solid var(--orange); }
  .compare-th-title { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; text-transform: none; }
  table.compare thead th.us .compare-th-title { color: var(--navy); }
  .compare-th-sub { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 3px; text-transform: none; letter-spacing: 0; }
  .compare-ribbon { display: inline-block; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px -2px rgba(255,129,35,0.35); margin-bottom: 8px; }

  table.compare td.feat { color: var(--ink); font-weight: 600; padding-left: 26px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
  table.compare td.feat .lucide, table.compare td.feat [data-lucide] { color: var(--muted); width: 18px; height: 18px; flex-shrink: 0; }
  table.compare td.feat span { line-height: 1.3; }
  table.compare td.cell { text-align: center; }
  table.compare td.cell.us { background: rgba(42, 40, 119, 0.035); }
  table.compare tbody tr:hover td.cell:not(.us) { background: #FBFBFD; }
  table.compare tbody tr:hover td.cell.us { background: rgba(42, 40, 119, 0.055); }
  table.compare tbody tr:hover td.feat { background: #FBFBFD; }
  table.compare tbody tr:last-child td { border-bottom: none; }

  .v-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
  .v-pill .lucide, .v-pill [data-lucide] { width: 13px; height: 13px; stroke-width: 3; }
  .v-yes { background: var(--green-50); color: var(--green); }
  .v-yes.us { background: rgba(42, 40, 119, 0.08); color: var(--navy); }
  .v-yes.us .lucide, .v-yes.us [data-lucide] { color: var(--orange); }
  .v-no { background: transparent; color: var(--muted); font-weight: 600; padding: 5px 8px; }
  .v-partial { background: var(--orange-50); color: var(--orange); padding: 5px 10px; }

  /* legacy classes kept for safety */
  .ck { color: var(--green); font-size: 18px; font-weight: 800; }
  .x { color: var(--muted); font-size: 18px; font-weight: 600; }
  .partial { color: var(--orange); font-size: 12px; font-weight: 700; padding: 3px 10px; background: var(--orange-50); border-radius: 999px; }

  .compare-foot { padding: 20px 0; background: linear-gradient(180deg, #FBFBFD 0%, #F6F6FB 100%); display: grid; grid-template-columns: 32% 22.66% 22.66% 22.66%; align-items: center; gap: 0; font-size: 13px; border-top: 1px solid var(--border); }
  .compare-foot .lbl-cell { color: var(--muted); font-weight: 700; padding-left: 26px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
  .compare-foot .v { text-align: center; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 14px; }
  .compare-foot .v.us { color: var(--navy); }
  .compare-foot-lbl { display: none; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

  /* ---------- PRICING ---------- */
  .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
  .price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: all .2s; }
  .price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); transform: scale(1.02); }
  .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .price-card.featured:hover { transform: translateY(-4px) scale(1.02); }

  /* Billing toggle */
  .price-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px; margin: 0 auto 34px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 999px;
    box-shadow: var(--shadow-sm);
    position: relative; left: 50%; transform: translateX(-50%);
  }
  .pt-opt {
    font-family: inherit; cursor: pointer;
    border: 0; background: transparent; color: var(--ink-2);
    padding: 9px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .18s, color .18s, box-shadow .18s;
  }
  .pt-opt:hover { color: var(--navy); }
  .pt-opt.is-active { background: var(--navy); color: #fff; box-shadow: 0 2px 10px -2px rgba(42,40,119,0.35); }
  .pt-opt.is-active:hover { color: #fff; }
  .pt-save {
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 999px;
    background: var(--orange-50); color: var(--orange);
    letter-spacing: 0.02em;
  }
  .pt-opt.is-active .pt-save { background: rgba(255,255,255,0.18); color: #fff; }

  /* Tags / Badges */
  .price-tag {
    position: absolute; top: -12px; left: 32px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 999px;
    background: var(--orange); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 4px 10px -2px rgba(255,129,35,0.45);
  }
  .price-tag-mini {
    position: absolute; top: -12px; right: 20px;
    padding: 4px 10px; border-radius: 999px;
    background: var(--navy-50); color: var(--navy);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.02em;
  }
  .price-tag-power {
    position: absolute; top: -12px; right: 20px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 999px;
    background: var(--ink-2); color: #fff;
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  }

  /* "Who it's for" chip */
  .price-who {
    display: inline-block;
    font-size: 11.5px; font-weight: 700;
    color: var(--ink-2);
    padding: 5px 11px; margin-bottom: 14px;
    border-radius: 999px;
    background: #F4F5FA; border: 1px solid var(--border);
    letter-spacing: 0.01em;
  }
  .price-card.featured .price-who { background: var(--navy-50); color: var(--navy); border-color: transparent; }

  .price-name { font-size: 14px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
  .price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
  .price-amount .currency { font-size: 24px; font-weight: 700; color: var(--ink); }
  .price-amount .num { font-size: 48px; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; line-height: 1; transition: opacity .14s ease, transform .14s ease; display: inline-block; }
  .price-amount .per { font-size: 14px; color: var(--muted); font-weight: 500; transition: opacity .14s ease; display: inline-block; }
  .price-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 14px; transition: opacity .14s ease; }

  /* Price swap animation */
  .price-amount .num.is-swapping,
  .price-amount .per.is-swapping,
  .price-sub.is-swapping { opacity: 0; transform: translateY(-3px); }

  /* Value stack (Growth only) */
  .price-stack {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--orange-50), #FFF);
    border: 1px dashed var(--orange);
    border-radius: 10px;
    font-size: 12px; color: var(--ink-2);
  }
  .price-stack .ps-reg s { color: var(--muted); text-decoration-thickness: 1.5px; }
  .price-stack .ps-you { color: var(--navy); font-weight: 800; }
  .price-stack .lucide { color: var(--orange); }

  .price-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; min-height: 42px; }
  .price-cta { width: 100%; justify-content: center; margin-bottom: 22px; }
  .price-feats { list-style: none; padding: 0; }
  .price-feats li { position: relative; padding: 8px 0 8px 26px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
  .price-feats li .lucide { position: absolute; left: 0; top: 10px; font-size: 16px; color: var(--green); }
  .price-feats li.feats-heading {
    font-size: 12px; font-weight: 800;
    color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 0 10px; margin-bottom: 2px;
    border-bottom: 1px dashed var(--border);
  }

  /* ROI callout */
  .price-roi {
    display: flex; align-items: center; gap: 16px;
    margin-top: 28px; padding: 16px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }
  .price-roi .roi-icons { display: inline-flex; }
  .price-roi .roi-icon {
    width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--navy-50); color: var(--navy);
    border: 2px solid var(--surface);
  }
  .price-roi .roi-icon + .roi-icon { margin-left: -10px; background: var(--orange-50); color: var(--orange); }
  .price-roi .roi-icon .lucide { font-size: 16px; }
  .price-roi .roi-copy { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
  .price-roi .roi-copy b { color: var(--ink); font-weight: 800; }

  /* Reassurance strip */
  .price-reassure {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-top: 16px;
  }
  .reassure-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: #F4F5FA; color: var(--ink-2);
    border: 1px solid var(--border);
    font-size: 12.5px; font-weight: 600;
  }
  .reassure-pill .lucide { font-size: 14px; color: var(--navy); }

  /* ---------- VISION ---------- */
  .vision { background: linear-gradient(180deg, #FBFBFD, var(--bg)); }
  .vision-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 920px; margin: 0 auto; }
  .country-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: all .2s; }
  .country-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .country-flag { font-size: 36px; line-height: 1; margin-bottom: 12px; }
  .country-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .country-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; display: inline-block; text-transform: uppercase; letter-spacing: 0.06em; }
  .country-status.live { background: var(--green-50); color: var(--green); }
  .country-status.next { background: var(--orange-50); color: var(--orange); }
  .country-status.planned { background: #F4F5FA; color: var(--muted); }


  /* ---------- DEVELOPERS BAND (subtle, pre-footer) ---------- */
  .dev-band { padding: 60px 0; background: linear-gradient(180deg, var(--bg), #F4F5FA); border-top: 1px solid var(--border); }
  .dev-band-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .dev-band-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
  .dev-band-tag [data-lucide] { width: 12px; height: 12px; }
  .dev-band-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; line-height: 1.15; }
  .dev-band-sub { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; max-width: 54ch; }
  .dev-band-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .dev-band-link { color: var(--orange); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
  .dev-band-link [data-lucide] { width: 14px; height: 14px; transition: transform .15s; }
  .dev-band-link:hover [data-lucide] { transform: translateX(2px); }
  .dev-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dev-band-cell { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .2s; }
  .dev-band-cell:hover { border-color: var(--navy); transform: translateY(-2px); }
  .dev-band-cell [data-lucide] { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
  @media (max-width: 820px) {
    .dev-band-inner { grid-template-columns: 1fr; gap: 28px; }
    .dev-band-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .dev-band { padding: 40px 0; }
    .dev-band-title { font-size: 22px; }
    .dev-band-cell { padding: 12px; font-size: 12px; }
  }

  /* ---------- FEATURES v3 — descriptive grid, grouped by theme ---------- */
  .feat3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
    align-items: stretch;
  }
  .feat3-group-label {
    grid-column: 1 / -1;
    font-size: 11px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 22px 0 2px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .feat3-group-label:first-child { margin-top: 0; }
  .feat3-group-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--orange-50), transparent 80%);
  }
  .feat3-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 22px 20px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
  }
  .feat3-card:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -14px rgba(42, 40, 119, 0.18), 0 2px 6px rgba(20,20,50,0.04);
  }
  .feat3-ic {
    width: 42px; height: 42px;
    border-radius: 11px;
    display: grid; place-items: center;
    margin-bottom: 14px;
  }
  .feat3-ic [data-lucide] { width: 20px; height: 20px; stroke-width: 2; }
  .feat3-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.012em;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .feat3-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
  }
  .feat3-ic.ic-navy { background: var(--navy-50); color: var(--navy); }
  @media (max-width: 980px) {
    .feat3-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  }
  @media (max-width: 620px) {
    .feat3-grid { grid-template-columns: 1fr; gap: 12px; }
    .feat3-card { padding: 18px; }
  }


  /* ---------- FEATURES v3 tabs ---------- */
  .feat3-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 32px auto 28px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    max-width: fit-content;
  }
  .feat3-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    background: transparent; border: 0;
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
  }
  .feat3-tab:hover:not(.active) { background: var(--navy-50); color: var(--ink); }
  .feat3-tab [data-lucide] { width: 15px; height: 15px; opacity: .85; }
  .feat3-tab-n {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--navy-50); color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; font-weight: 700;
    transition: background .2s ease, color .2s ease;
  }
  .feat3-tab.active {
    background: var(--navy); color: #fff;
    box-shadow: 0 6px 14px -6px rgba(42,40,119,.5);
  }
  .feat3-tab.active .feat3-tab-n { background: rgba(255,255,255,.18); color: #fff; }
  .feat3-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

  /* Panels */
  .feat3-panels { position: relative; }
  .feat3-panel {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .feat3-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: feat3PanelIn .35s ease;
  }
  @keyframes feat3PanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Foot reassurance line */
  .feat3-foot {
    margin: 28px auto 0;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2); font-size: 13px;
    position: relative; left: 50%; transform: translateX(-50%);
  }
  .feat3-foot strong { color: var(--ink); font-weight: 800; }
  .feat3-foot-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,129,35,.18);
    animation: feat3FootPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes feat3FootPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,129,35,.18); }
    50%      { box-shadow: 0 0 0 6px rgba(255,129,35,.06); }
  }

  @media (max-width: 720px) {
    .feat3-tabs { border-radius: 16px; gap: 4px; padding: 5px; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .feat3-tabs::-webkit-scrollbar { display: none; }
    .feat3-tab { font-size: 12.5px; padding: 8px 12px; }
    .feat3-tab [data-lucide] { width: 13px; height: 13px; }
  }
  @media (max-width: 480px) {
    .feat3-tab span:not(.feat3-tab-n) { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .feat3-panel, .feat3-panel.active { transition: none; animation: none; }
    .feat3-foot-dot { animation: none; }
  }

  /* ---------- FAQ ---------- */
  .faq-grid { max-width: 820px; margin: 0 auto; }
  .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
  .faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-md); }
  .faq-q { padding: 22px 26px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .faq-q .icon { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s, background .2s; }
  .faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 26px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
  .faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

  /* ---------- FINAL CTA ---------- */
  .final-cta {
    background: linear-gradient(140deg, var(--navy) 0%, #1a1854 100%);
    color: #fff; border-radius: var(--radius-xl);
    padding: 72px 48px; text-align: center;
    position: relative; overflow: hidden;
    margin: 0 28px;
  }
  .final-cta::before {
    content: ""; position: absolute; right: -100px; top: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 129, 35, 0.25), transparent 70%);
  }
  .final-cta::after {
    content: ""; position: absolute; left: -100px; bottom: -100px;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 129, 35, 0.15), transparent 70%);
  }
  .final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
  .final-cta h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
  .final-cta p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 32px; }
  .final-cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
  .final-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

  /* ---------- FOOTER ---------- */
  footer { padding: 60px 0 36px; border-top: 1px solid var(--border); margin-top: 100px; }
  .foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
  .foot-links { display: flex; gap: 24px; font-size: 14px; }
  .foot-links a { color: var(--muted); text-decoration: none; }
  .foot-links a:hover { color: var(--navy); }
  .foot-copy { color: var(--muted); font-size: 13px; }

  /* ---------- TWEAKS PANEL ---------- */
  #tweaks-panel { position: fixed; bottom: 24px; right: 24px; z-index: 100; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px; width: 280px; display: none; font-family: 'Plus Jakarta Sans', sans-serif; }
  #tweaks-panel.show { display: block; }
  #tweaks-panel h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; display: flex; justify-content: space-between; align-items: center; }
  .tweak-row { margin-bottom: 14px; }
  .tweak-row label { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
  .tweak-swatches { display: flex; gap: 6px; }
  .tweak-sw { width: 28px; height: 28px; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
  .tweak-sw.act { border-color: var(--ink); }
  .tweak-toggle { display: flex; align-items: center; justify-content: space-between; }
  .tweak-toggle .switch { width: 36px; height: 20px; background: var(--border-strong); border-radius: 999px; position: relative; cursor: pointer; transition: background .2s; }
  .tweak-toggle .switch.on { background: var(--navy); }
  .tweak-toggle .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
  .tweak-toggle .switch.on::after { transform: translateX(16px); }

  /* ========== PROBLEM v2 — Before / After tableau ========== */
  .problem2-tableau {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0;
    align-items: stretch;
    margin-top: 48px;
  }
  .problem2-panel {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
  }
  .problem2-before {
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(239,68,68,0.06), transparent 60%),
      var(--surface);
    border-color: #F4D7D7;
  }
  .problem2-before::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(135deg, rgba(239,68,68,0.015) 0 8px, transparent 8px 16px);
    pointer-events: none;
  }
  .problem2-after {
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(255,129,35,0.07), transparent 60%),
      linear-gradient(180deg, #FFFFFF, #FAFBFD);
    border-color: var(--border-strong);
    box-shadow: 0 14px 38px -18px rgba(42, 40, 119, 0.22);
  }
  .problem2-panel-head { display: flex; flex-direction: column; gap: 10px; }
  .problem2-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 6px 10px; border-radius: 999px;
    width: fit-content;
  }
  .problem2-label .lucide { width: 13px; height: 13px; }
  .problem2-label-bad  { background: var(--red-50); color: var(--red); }
  .problem2-label-good { background: var(--orange-50); color: var(--orange); }
  .problem2-panel-title {
    font-size: 22px; font-weight: 800; color: var(--ink);
    letter-spacing: -0.02em; line-height: 1.15;
    margin: 0;
  }
  .problem2-before .problem2-panel-title { color: #8A5A5A; }

  /* Chaotic stacked tabs (Without) */
  .problem2-tabs {
    position: relative;
    height: 130px;
    margin: 4px 0 6px;
  }
  .problem2-tab {
    position: absolute;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #E8D5D5;
    border-radius: 10px;
    font-size: 13px; font-weight: 600;
    color: #7A6868;
    box-shadow: 0 4px 14px -6px rgba(239, 68, 68, 0.18);
    white-space: nowrap;
    filter: saturate(0.7);
  }
  .problem2-tab .lucide { width: 15px; height: 15px; color: #B88; }
  .problem2-tab-1 { top: 0;   left: 0;    transform: rotate(-4deg); }
  .problem2-tab-2 { top: 14px; left: 90px; transform: rotate(3deg); z-index: 2; }
  .problem2-tab-3 { top: 52px; left: 24px; transform: rotate(-2deg); }
  .problem2-tab-4 { top: 70px; left: 130px; transform: rotate(5deg); z-index: 3; }
  .problem2-tab-5 { top: 94px; left: 60px; transform: rotate(-3deg); }
  .problem2-broken {
    position: absolute;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--red-50); color: var(--red);
    display: grid; place-items: center;
    border: 1px dashed var(--red);
  }
  .problem2-broken .lucide { width: 13px; height: 13px; }
  .problem2-broken-a { top: 26px; left: 70px; }
  .problem2-broken-b { top: 80px; left: 110px; }

  /* Unified surface (With) */
  .problem2-unified {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px -10px rgba(42, 40, 119, 0.18);
  }
  .problem2-unified-head {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #FCFCFE, #F7F8FB);
  }
  .problem2-unified-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--orange);
  }
  .problem2-unified-dot-2 { background: #F0C14B; }
  .problem2-unified-dot-3 { background: var(--green); }
  .problem2-unified-title {
    margin-left: 8px;
    font-size: 12px; font-weight: 700; color: var(--navy);
    letter-spacing: 0.02em;
  }
  .problem2-unified-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
  }
  .problem2-unified-cell {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 14px;
    background: #fff;
    font-size: 13px; font-weight: 600; color: var(--ink-2);
  }
  .problem2-unified-cell .lucide { width: 16px; height: 16px; color: var(--navy); }
  .problem2-unified-cell-core {
    background: linear-gradient(135deg, var(--navy-50), #fff);
    color: var(--navy);
  }
  .problem2-unified-cell-core .lucide { color: var(--orange); }

  /* Money chip */
  .problem2-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid;
  }
  .problem2-chip > .lucide { width: 22px; height: 22px; flex-shrink: 0; }
  .problem2-chip > div { display: flex; flex-direction: column; line-height: 1.15; }
  .problem2-chip-num {
    font-size: 26px; font-weight: 800;
    letter-spacing: -0.02em;
  }
  .problem2-chip-unit { font-size: 14px; font-weight: 600; opacity: 0.7; margin-left: 2px; }
  .problem2-chip-cap {
    font-size: 12px; font-weight: 500;
    color: var(--ink-2); margin-top: 3px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .problem2-chip-bad  { background: var(--red-50);    border-color: #F4C7C7; color: var(--red); }
  .problem2-chip-good { background: var(--orange-50); border-color: #FAD9B8; color: var(--orange); }

  /* Points list */
  .problem2-points {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
  }
  .problem2-points li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--ink-2); line-height: 1.45;
  }
  .problem2-points li .lucide {
    width: 16px; height: 16px; flex-shrink: 0;
    margin-top: 2px;
    color: var(--red);
  }
  .problem2-points-good li .lucide { color: var(--green); }

  /* Divider */
  .problem2-divider {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px;
  }
  .problem2-divider::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  }
  .problem2-vs {
    position: relative;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    display: grid; place-items: center;
    font-size: 12px; font-weight: 800; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .problem2-arrow {
    position: relative;
    width: 20px; height: 20px;
    color: var(--orange);
    background: var(--surface);
    padding: 4px;
    border-radius: 50%;
  }

  @media (max-width: 1100px) {
    .problem2-chip-num { font-size: 23px; }
    .problem2-tabs { height: 140px; }
  }
  @media (max-width: 720px) {
    .problem2-tab { font-size: 12px; padding: 7px 11px; }
    .problem2-tab-1 { left: 0; }
    .problem2-tab-2 { left: 72px; top: 12px; }
    .problem2-tab-3 { left: 16px; top: 46px; }
    .problem2-tab-4 { left: 98px; top: 62px; }
    .problem2-tab-5 { left: 46px; top: 86px; }
    .problem2-broken-a { top: 22px; left: 56px; }
    .problem2-broken-b { top: 70px; left: 82px; }
    .problem2-chip-num { font-size: 22px; }
    .problem2-panel-title { font-size: 20px; }
    .problem2-unified-cell { padding: 12px; font-size: 12.5px; }
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px) {
    .nav-links { display: none; }
    .hero { padding: 60px 0; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
    .hero-stat:last-child { border-bottom: none; }
    .problems { grid-template-columns: 1fr; }
    .problem2-tableau {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .problem2-divider {
      flex-direction: row;
      padding: 4px 0;
    }
    .problem2-divider::before {
      top: 50%; left: 0; right: 0; bottom: auto;
      width: 100%; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    }
    .problem2-arrow { transform: rotate(90deg); }
    .problem2-panel { padding: 22px 20px; gap: 18px; }
    .problem2-tabs { height: 120px; }
    .fgrid { grid-template-columns: repeat(2, 1fr); }
    .deepdive { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
    .deepdive.flip .dd-text { order: 0; }
    /* hub stage responsive rules now live in container queries above (@container hubstage) */
    .price-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }
    .price-roi { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
    .price-roi .roi-copy { font-size: 13.5px; }
    .price-toggle { margin-bottom: 28px; }
    .pt-opt { padding: 8px 14px; font-size: 13px; }
    .price-tag { left: 20px; }
    .price-tag-mini, .price-tag-power { right: 14px; }
    .price-stack { flex-wrap: wrap; }
    .vision-grid { grid-template-columns: repeat(2, 1fr); }
    .compare-stats { grid-template-columns: 1fr; gap: 10px; margin-top: -12px; margin-bottom: 22px; }
    table.compare th, table.compare td { padding: 12px 10px; font-size: 13px; }
    table.compare td.feat { padding-left: 14px; gap: 9px; font-size: 13.5px; }
    .compare-th-title { font-size: 13.5px; }
    .compare-th-sub { font-size: 11px; }
    .v-pill { padding: 4px 9px; font-size: 11px; }
    .mock-body { grid-template-columns: 1fr; }
    .mock-side { display: none; }
    .mock-stats { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- COMPARE MOBILE: card list ≤720px ---------- */
  @media (max-width: 720px) {
    .compare-wrap { background: transparent; border: none; box-shadow: none; overflow: visible; }
    table.compare, table.compare thead, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; }
    table.compare thead { display: none; }
    table.compare tbody { display: flex; flex-direction: column; gap: 12px; }
    table.compare tr {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 16px 12px;
      box-shadow: var(--shadow-sm);
      position: relative;
      overflow: hidden;
    }
    table.compare tr::before {
      content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange);
    }
    table.compare td { padding: 0; border: none; }
    table.compare td.feat {
      display: flex; align-items: center; gap: 10px;
      padding: 0 0 10px; margin-bottom: 10px;
      border-bottom: 1px dashed var(--border);
      font-size: 14px; font-weight: 700; color: var(--ink);
    }
    table.compare td.feat .lucide, table.compare td.feat [data-lucide] { color: var(--navy); width: 18px; height: 18px; }
    table.compare td.cell {
      display: flex; justify-content: space-between; align-items: center;
      padding: 6px 0;
      background: transparent !important;
      text-align: left;
    }
    table.compare td.cell::before {
      content: attr(data-col);
      font-size: 11px; font-weight: 700; color: var(--muted);
      text-transform: uppercase; letter-spacing: 0.06em;
      flex: 1;
    }
    table.compare td.cell.us::before { color: var(--navy); }
    table.compare tbody tr:hover td.cell,
    table.compare tbody tr:hover td.cell.us,
    table.compare tbody tr:hover td.feat { background: transparent; }

    .compare-foot {
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 18px 16px;
      margin-top: 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      border-top: 1px solid var(--border);
    }
    .compare-foot .lbl-cell { padding-left: 0; }
    .compare-foot .v { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; width: 100%; gap: 12px; }
    .compare-foot-lbl { display: inline-block; }
  }

  /* =========================================================
     FEATURE GRID v2 — "What's Inside" with arrow hints
     Namespace: .feat2-*
     (Old .fgrid/.fcell rules left untouched above; now unused.)
     ========================================================= */
  #features .feat2-sub {
    font-size: 17px;
    color: var(--ink-2);
    max-width: 620px;
    margin: 14px auto 0;
    line-height: 1.6;
    text-wrap: balance;
  }

  .feat2-toggle-row {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
  }
  .feat2-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 18px 8px 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, color .2s;
  }
  .feat2-toggle:hover { border-color: var(--navy); color: var(--navy); }
  .feat2-toggle:focus-visible {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(42, 40, 119, 0.18);
  }
  .feat2-toggle-track {
    position: relative;
    width: 38px;
    height: 22px;
    background: #E3E5EE;
    border-radius: 999px;
    flex-shrink: 0;
    transition: background .25s;
  }
  .feat2-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    transition: transform .25s cubic-bezier(.4,.1,.25,1);
  }
  .feat2-toggle[aria-pressed="true"] .feat2-toggle-track { background: var(--orange); }
  .feat2-toggle[aria-pressed="true"] .feat2-toggle-thumb { transform: translateX(16px); }
  .feat2-toggle[aria-pressed="true"] { color: var(--ink); border-color: var(--orange); }

  .feat2-stage {
    position: relative;
    padding: 20px 0 10px;
  }

  .feat2-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 36px 22px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 10px;
  }

  /* Slight organic offset so it doesn't feel like a rigid grid */
  .feat2-grid > .feat2-tile:nth-child(6n+2) { transform: translateY(10px); }
  .feat2-grid > .feat2-tile:nth-child(6n+4) { transform: translateY(14px); }
  .feat2-grid > .feat2-tile:nth-child(6n+5) { transform: translateY(-6px); }

  .feat2-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: transform .5s cubic-bezier(.4,.1,.25,1), opacity .5s ease;
    transition-delay: var(--feat2-delay, 0ms);
  }
  .feat2-tile-ic {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    box-shadow:
      0 1px 2px rgba(26, 26, 46, 0.04),
      0 8px 20px -10px rgba(26, 26, 46, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .feat2-tile-ic [data-lucide],
  .feat2-tile-ic .lucide { font-size: 32px; stroke-width: 1.8; }
  .feat2-tile:hover .feat2-tile-ic {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
      0 2px 4px rgba(26, 26, 46, 0.05),
      0 18px 30px -12px rgba(26, 26, 46, 0.28);
  }
  .feat2-tile-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .feat2-new-badge {
    position: absolute;
    top: -6px;
    right: 14px;
    background: var(--orange);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 999px;
    box-shadow: 0 2px 6px -1px rgba(255, 129, 35, 0.5);
    z-index: 3;
  }

  /* ---------- HANDWRITTEN ARROW + LABEL ---------- */
  .feat2-arrow {
    position: absolute;
    width: 130px;
    height: 78px;
    color: #8B7FB0; /* dusty-purple */
    pointer-events: none;
    opacity: 0;
    transition: opacity .45s ease;
    transition-delay: calc(var(--feat2-delay, 0ms) + 200ms);
    z-index: 2;
  }
  .feat2-arrow svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .feat2-arrow-label {
    position: absolute;
    font-family: 'Caveat', 'Plus Jakarta Sans', cursive;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.1;
    color: #8B7FB0;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }

  /* Arrow orientation variants — tl = label top-left, arrow curves down to tile */
  .feat2-tile[data-arrow="tl"] .feat2-arrow { left: -118px; top: -48px; }
  .feat2-tile[data-arrow="tl"] .feat2-arrow-label { left: 0; top: -8px; }

  .feat2-tile[data-arrow="tr"] .feat2-arrow { right: -118px; top: -48px; }
  .feat2-tile[data-arrow="tr"] .feat2-arrow-label { right: 0; top: -8px; text-align: right; }

  .feat2-tile[data-arrow="bl"] .feat2-arrow { left: -118px; bottom: -40px; }
  .feat2-tile[data-arrow="bl"] .feat2-arrow-label { left: 0; bottom: -6px; }

  .feat2-tile[data-arrow="br"] .feat2-arrow { right: -118px; bottom: -40px; }
  .feat2-tile[data-arrow="br"] .feat2-arrow-label { right: 0; bottom: -6px; text-align: right; }

  /* Reveal arrows only when the grid is settled */
  .feat2-grid .feat2-tile .feat2-arrow { opacity: 1; }

  /* ---------- "IMAGINE WITHOUT SELORAX" STATE ---------- */
  .feat2-stage.feat2-off .feat2-tile {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
    pointer-events: none;
  }
  .feat2-stage.feat2-off .feat2-grid > .feat2-tile:nth-child(6n+2),
  .feat2-stage.feat2-off .feat2-grid > .feat2-tile:nth-child(6n+4),
  .feat2-stage.feat2-off .feat2-grid > .feat2-tile:nth-child(6n+5) {
    /* override organic offset so scale transform works cleanly */
    transform: scale(0.85) translateY(8px);
  }
  .feat2-stage.feat2-off .feat2-arrow {
    opacity: 1;
    color: #6E6388;
    transition-delay: 400ms;
  }
  .feat2-stage.feat2-off .feat2-arrow-label { color: #4A4264; font-weight: 700; }

  .feat2-caption {
    margin: 28px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    min-height: 22px;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
    transition-delay: 250ms;
  }
  .feat2-stage.feat2-off .feat2-caption {
    opacity: 1;
    transform: translateY(0);
  }

  .feat2-foot {
    display: flex;
    justify-content: flex-end;
    max-width: 1080px;
    margin: 36px auto 0;
    padding: 0 10px;
  }
  .feat2-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s, gap .2s;
  }
  .feat2-viewall:hover { color: var(--navy); gap: 10px; }
  .feat2-viewall [data-lucide] { width: 16px; height: 16px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1100px) {
    .feat2-grid { grid-template-columns: repeat(5, 1fr); gap: 34px 20px; }
  }
  @media (max-width: 900px) {
    .feat2-grid { grid-template-columns: repeat(4, 1fr); gap: 30px 16px; }
    .feat2-tile-ic { width: 68px; height: 68px; border-radius: 18px; }
    .feat2-tile-ic [data-lucide],
    .feat2-tile-ic .lucide { font-size: 28px; }
  }
  @media (max-width: 720px) {
    #features .feat2-sub { font-size: 15.5px; }
    .feat2-arrow { display: none; }
    .feat2-grid { grid-template-columns: repeat(4, 1fr); gap: 24px 14px; padding: 10px 4px; }
    .feat2-grid > .feat2-tile:nth-child(n) { transform: none; }
    .feat2-stage.feat2-off .feat2-grid > .feat2-tile:nth-child(n) { transform: scale(0.85); }
    .feat2-tile-name { font-size: 13px; }
  }
  @media (max-width: 480px) {
    .feat2-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
    .feat2-tile-ic { width: 60px; height: 60px; border-radius: 16px; }
    .feat2-tile-ic [data-lucide],
    .feat2-tile-ic .lucide { font-size: 24px; }
    .feat2-tile-name { font-size: 12px; }
    .feat2-arrow-label { font-size: 11px; }
    .feat2-caption { font-size: 13.5px; }
    .feat2-toggle { font-size: 13px; padding: 6px 14px 6px 8px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .feat2-tile, .feat2-arrow, .feat2-caption { transition: none !important; }
  }
