:root {
    /* Pulled from the live luminadata.ai screenshots */
    --purple:        #7c4d9e;
    --purple-bright: #8b5fb0;
    --purple-deep:   #5d3a78;
    --ink-purple:    #1a0f2e;
    --ink-purple-2: #2d1b4e;
    --card-dark:     #1e1433;
    --paper:         #faf9fb;
    --paper-2:       #f4f3f5;
    --card-grey:     #ebeaed;
    --rule:          #e4e2e8;
    --ink:           #1a1523;
    --ink-soft:      #5a5563;
    --muted:         #8e8a97;
    --teal:          #2f6d6a;
    --white:         #ffffff;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Figtree', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* ---- doc banner (not part of site) ---- */
  .doc-banner {
    background: var(--ink-purple);
    color: #cbb8e0;
    padding: 9px 28px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: none;
    text-align: center;
    font-weight: 500;
  }
  .doc-banner b { color: #fff; }

  /* ================= NAV. Floating pill ================= */
  .nav-wrap {
    position: sticky; top: 0; z-index: 100;
    padding: 18px 24px 0;
    display: flex; justify-content: center;
    pointer-events: none;
  }
  .nav {
    pointer-events: auto;
    width: 100%; max-width: 1180px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 12px 40px -12px rgba(26,15,46,0.22), 0 2px 8px rgba(26,15,46,0.06);
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 14px 24px;
  }
  .brand { display: flex; align-items: center; gap: 9px; cursor: pointer; }
  .brand-mark {
    width: 26px; height: 26px; flex-shrink: 0;
  }
  .brand-name {
    font-size: 20px; font-weight: 700; color: var(--ink);
    letter-spacing: -0.02em;
  }
  .nav-links { display: flex; gap: 4px; align-items: center; }
  .nav-link {
    background: none; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 14.5px; font-weight: 500;
    color: var(--ink); padding: 9px 13px; border-radius: 999px;
    transition: background 0.15s, color 0.15s; white-space: nowrap;
  }
  .nav-link:hover { background: var(--paper-2); }
  .nav-link.active { color: var(--purple); }

  /* dropdown nav */
  .nav-dd { position: relative; }
  .nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; }
  .nav-dd-trigger .caret { font-size: 9px; color: var(--muted); transition: transform 0.15s; }
  .nav-dd:hover .nav-dd-trigger { background: var(--paper-2); }
  .nav-dd:hover .nav-dd-trigger .caret { transform: rotate(180deg); }
  .nav-dd-trigger.has-active { color: var(--purple); }
  .nav-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--white); border-radius: 16px;
    box-shadow: 0 18px 50px -14px rgba(26,15,46,0.3), 0 2px 8px rgba(26,15,46,0.08);
    padding: 8px; min-width: 270px;
    opacity: 0; visibility: hidden; transition: opacity 0.16s, transform 0.16s;
    z-index: 200;
  }
  .nav-dd:hover .nav-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .nav-menu::before {
    content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
  }
  .nav-menu-item {
    display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left;
    background: none; border: none; cursor: pointer;
    padding: 10px 14px; border-radius: 11px;
    font-family: 'Figtree', sans-serif; transition: background 0.13s;
  }
  .nav-menu-item:hover { background: var(--paper-2); }
  .nav-menu-item.active { background: var(--brand-50, #f1effb); }
  .nmi-title { font-size: 14px; font-weight: 600; color: var(--ink); }
  .nav-menu-item.active .nmi-title { color: var(--purple); }
  .nmi-sub { font-size: 12px; color: var(--muted); }
  .nav-cta {
    background: var(--purple); color: #fff; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 600;
    padding: 11px 20px; border-radius: 999px; margin-left: 8px;
    box-shadow: 0 6px 16px -4px rgba(124,77,158,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -4px rgba(124,77,158,0.6); }

  /* ================= PAGE SYSTEM ================= */
  .page { display: none; }
  .page.active { display: block; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

  /* ================= HERO (dark purple, glow) ================= */
  .hero {
    margin: -82px 0 0;
    padding: 150px 24px 90px;
    background:
      radial-gradient(ellipse 70% 60% at 50% 38%, rgba(124,77,158,0.55) 0%, transparent 70%),
      linear-gradient(180deg, #150b26 0%, #1a0f2e 55%, #150b26 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-inner { max-width: 880px; margin: 0 auto; position: relative; }
  .hero-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: none;
    color: #c9a9e3; margin-bottom: 20px;
    padding: 7px 16px; border-radius: 999px;
    background: rgba(124,77,158,0.22); border: 1px solid rgba(201,169,227,0.25);
  }
  .hero h1 {
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 22px;
  }
  .hero h1 .sparkle { color: #b98fd6; font-size: 0.5em; vertical-align: super; }
  .hero h1 em {
    font-style: italic;
    color: #c9a9e3;
  }
  .hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    color: #b3a8c4;
    max-width: 620px; margin: 0 auto 34px;
    font-weight: 400;
  }
  .hero-strike { text-decoration: line-through; text-decoration-color: var(--purple-bright); color: #8a7da0; }

  .btn-primary {
    background: var(--purple); color: #fff; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 600;
    padding: 15px 30px; border-radius: 999px;
    box-shadow: 0 10px 26px -8px rgba(124,77,158,0.7);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(124,77,158,0.8); }
  .btn-ghost {
    background: var(--white); color: var(--ink); cursor: pointer;
    border: 1px solid var(--rule);
    font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 600;
    padding: 14px 26px; border-radius: 999px;
    transition: border-color 0.15s, transform 0.15s;
  }
  .btn-ghost:hover { border-color: var(--purple); transform: translateY(-1px); }
  .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  .backed {
    margin-top: 56px;
    display: flex; align-items: center; justify-content: center; gap: 18px;
    color: #8a7da0; font-size: 15px; font-weight: 500;
    flex-wrap: wrap;
  }
  .backed .logos { display: flex; align-items: center; gap: 14px; }
  .backed .logo-pill {
    color: #cbbdda; font-weight: 700; font-size: 15px;
    letter-spacing: 0.02em;
  }
  .backed .divider { color: #4a3d5e; }

  /* ================= SECTIONS ================= */
  section { padding: 86px 0; }
  .sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
  .sec-head.left { text-align: left; margin-left: 0; }
  .sec-title {
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: clamp(32px, 4.2vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 16px;
  }
  .sec-title em { font-style: italic; color: var(--purple); }
  .sec-sub {
    font-size: 17px; color: var(--ink-soft); font-weight: 400;
    max-width: 620px; margin: 0 auto;
  }
  .sec-head.left .sec-sub { margin-left: 0; }

  /* ---- distinction: two cards ---- */
  .two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
    max-width: 1000px; margin: 0 auto;
  }
  .dcard { border-radius: 22px; padding: 38px 36px; }
  .dcard.adopt { background: var(--card-grey); }
  .dcard.transform {
    background:
      radial-gradient(ellipse 80% 70% at 30% 90%, rgba(124,77,158,0.55) 0%, transparent 70%),
      linear-gradient(150deg, #241738 0%, #1a1030 100%);
  }
  .dcard .dlabel {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    margin-bottom: 14px;
  }
  .dcard.adopt .dlabel { color: var(--muted); }
  .dcard.transform .dlabel { color: #b98fd6; }
  .dcard h3 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 30px;
    letter-spacing: -0.015em; margin-bottom: 22px;
  }
  .dcard.adopt h3 { color: #6a6474; }
  .dcard.transform h3 { color: #fff; }
  .dcard ul { list-style: none; }
  .dcard li {
    font-size: 15px; padding: 11px 0 11px 26px; position: relative;
    line-height: 1.45;
  }
  .dcard.adopt li { color: var(--ink-soft); border-bottom: 1px solid #dedce2; }
  .dcard.transform li { color: #d4cae0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dcard li:last-child { border-bottom: none; }
  .dcard li::before { position: absolute; left: 0; top: 11px; font-size: 14px; }
  .dcard.adopt li::before { content: '○'; color: var(--muted); }
  .dcard.transform li::before { content: '◆'; color: var(--purple-bright); font-size: 11px; top: 13px; }

  /* ---- proof band ---- */
  .proof-band {
    border-radius: 24px;
    background:
      radial-gradient(ellipse 60% 80% at 85% 50%, rgba(124,77,158,0.5) 0%, transparent 70%),
      linear-gradient(140deg, #241738 0%, #160d28 100%);
    padding: 56px 54px;
    display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center;
  }
  .proof-stat {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(58px, 8vw, 96px); line-height: 0.95;
    color: #c9a9e3; letter-spacing: -0.02em; white-space: nowrap;
  }
  .proof-lead {
    font-family: 'Newsreader', serif; font-size: 21px; line-height: 1.5;
    color: #fff; margin-bottom: 12px; font-weight: 400;
  }
  .proof-src {
    font-size: 12px; letter-spacing: 0.1em; text-transform: none;
    color: #b98fd6; font-weight: 600;
  }

  /* ---- product split (Discover / Activate style) ---- */
  .prod-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
    align-items: stretch;
  }
  .prod-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: 22px; padding: 40px 38px;
    display: flex; flex-direction: column;
  }
  .prod-tag {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    color: var(--purple); margin-bottom: 16px;
  }
  .prod-card h3 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 32px;
    letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 14px; color: var(--ink);
  }
  .prod-card > p { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; }
  .prod-stats { list-style: none; margin-top: auto; }
  .prod-stats li {
    font-size: 15px; color: var(--ink); font-weight: 500;
    padding: 13px 0; border-bottom: 1px solid var(--rule);
  }
  .prod-stats li:last-child { border-bottom: none; }
  .prod-stats li.purple-rule { border-bottom-color: #d9c9e6; }
  .prod-learn {
    margin-top: 24px; align-self: flex-start;
    background: none; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 600;
    color: var(--purple);
    display: inline-flex; align-items: center; gap: 7px;
    transition: gap 0.15s;
  }
  .prod-learn .arr { transition: transform 0.15s; }
  .prod-learn:hover .arr { transform: translateX(4px); }

  /* ---- product detail page ---- */
  .pd-overview {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  }
  .pd-overview h2 {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1;
    letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px;
  }
  .pd-overview h2 em { font-style: italic; color: var(--purple); }
  .pd-overview p { font-size: 16px; color: var(--ink-soft); margin-bottom: 14px; }
  .pd-overview p:last-child { margin-bottom: 0; }
  .pd-panel {
    border-radius: 22px; padding: 38px 36px;
    background:
      radial-gradient(ellipse 70% 60% at 70% 85%, rgba(124,77,158,0.45) 0%, transparent 72%),
      linear-gradient(150deg, #241738 0%, #160d28 100%);
  }
  .pd-panel .pdp-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    color: #b98fd6; margin-bottom: 18px;
  }
  .pd-panel ul { list-style: none; }
  .pd-panel li {
    font-size: 15px; color: #d4cae0; line-height: 1.45;
    padding: 13px 0 13px 26px; position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .pd-panel li:last-child { border-bottom: none; }
  .pd-panel li::before {
    content: '◆'; position: absolute; left: 0; top: 14px;
    color: var(--purple-bright); font-size: 11px;
  }
  .pd-panel li b { color: #fff; font-weight: 600; }

  /* numbered process timeline */
  .pd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .pd-step {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: 18px; padding: 28px 24px; position: relative;
  }
  .pd-step .pds-num {
    font-family: 'Newsreader', serif; font-size: 30px; color: var(--purple);
    line-height: 1; margin-bottom: 14px;
  }
  .pd-step h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
  .pd-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
  .pd-step .pds-when {
    margin-top: 14px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.07em; text-transform: none; color: var(--purple);
  }

  /* deliverables / value cards */
  .pd-value { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pdv-card { background: var(--card-grey); border-radius: 20px; padding: 32px 30px; }
  .pdv-card .pdv-icon {
    width: 46px; height: 46px; border-radius: 12px; background: rgba(124,77,158,0.16);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  }
  .pdv-card .pdv-icon svg { width: 22px; height: 22px; stroke: var(--purple); }
  .pdv-card h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
  .pdv-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

  /* ---- live prototype preview (browser chrome) ---- */
  .shot {
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--rule);
    box-shadow: 0 28px 70px -24px rgba(26,15,46,0.42), 0 4px 14px rgba(26,15,46,0.08);
    background: var(--white);
  }
  .shot-bar {
    height: 38px; background: #efedf2;
    border-bottom: 1px solid var(--rule);
    display: flex; align-items: center; gap: 7px; padding: 0 14px;
  }
  .shot-bar .dot { width: 11px; height: 11px; border-radius: 999px; }
  .shot-bar .r { background: #f0625a; }
  .shot-bar .y { background: #f5bd4f; }
  .shot-bar .g { background: #5ac46b; }
  .shot-bar .url {
    margin-left: 12px; flex: 1; max-width: 340px;
    background: #fff; border: 1px solid var(--rule); border-radius: 999px;
    font-size: 11.5px; color: var(--muted); padding: 4px 14px;
    font-family: 'Figtree', sans-serif;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .shot-bar .live {
    margin-left: auto; font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: none;
    color: var(--purple); display: flex; align-items: center; gap: 5px;
  }
  .shot-bar .live::before {
    content: ''; width: 6px; height: 6px; border-radius: 999px;
    background: #5ac46b;
  }
  .shot-frame { width: 100%; border: 0; display: block; background: #fff; }
  .shot-cap {
    text-align: center; font-size: 13px; color: var(--muted);
    margin-top: 14px;
  }
  .shot-cap b { color: var(--ink-soft); font-weight: 600; }

  /* preview row. Image-left/right alternating */
  .pv-row {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center;
  }
  .pv-row.flip { grid-template-columns: 1.25fr 1fr; }
  .pv-row.flip .pv-text { order: 2; }
  .pv-text h3 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 28px;
    line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 12px;
  }
  .pv-text h3 em { font-style: italic; color: var(--purple); }
  .pv-text p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
  .pv-tag {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    color: var(--purple); margin-bottom: 12px;
  }
  .pv-stack { margin-bottom: 60px; }
  .pv-stack:last-child { margin-bottom: 0; }
  .pv-lead { max-width: 760px; margin: 0 auto 26px; text-align: center; }
  .pv-lead .pv-tag { margin-bottom: 10px; }
  .pv-lead h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
  .pv-lead h3 em { font-style: italic; color: var(--purple); }
  .pv-lead p { font-size: 15px; color: var(--ink-soft); }

  @media (max-width: 880px) {
    .pd-overview { grid-template-columns: 1fr; gap: 28px; }
    .pd-steps { grid-template-columns: 1fr; }
    .pd-value { grid-template-columns: 1fr; }
    .pv-row, .pv-row.flip { grid-template-columns: 1fr; gap: 22px; }
    .pv-row.flip .pv-text { order: 0; }
  }

  /* ---- feature grid (What Sets Us Apart. Dark cards) ---- */
  .feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .feat-card {
    background: var(--card-dark);
    border-radius: 20px; padding: 36px 34px;
  }
  .feat-icon {
    width: 50px; height: 50px; border-radius: 13px;
    background: rgba(124,77,158,0.28);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
  }
  .feat-icon svg { width: 23px; height: 23px; stroke: #c9a9e3; }
  .feat-card h3 {
    font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 9px;
    letter-spacing: -0.01em;
  }
  .feat-card p { font-size: 14.5px; color: #a99dbe; line-height: 1.55; }
  .feat-card b { color: #fff; font-weight: 600; }

  /* ---- gradient duo (FinEdge style) ---- */
  .grad-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .grad-card { border-radius: 22px; padding: 40px 36px; min-height: 230px;
    display: flex; flex-direction: column; justify-content: flex-end; }
  .grad-card.purple {
    background:
      radial-gradient(ellipse 60% 55% at 40% 75%, rgba(160,90,200,0.7) 0%, transparent 70%),
      linear-gradient(150deg, #2a1842 0%, #14091f 100%);
  }
  .grad-card.teal {
    background:
      radial-gradient(ellipse 60% 55% at 55% 60%, rgba(47,130,120,0.65) 0%, transparent 72%),
      linear-gradient(150deg, #16213a 0%, #0f1722 100%);
  }
  .grad-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: auto;
  }
  .grad-icon svg { width: 22px; height: 22px; stroke: #fff; }
  .grad-card h3 {
    font-size: 23px; font-weight: 600; color: #fff; margin: 26px 0 8px;
    letter-spacing: -0.01em;
  }
  .grad-card p { font-size: 14.5px; color: rgba(255,255,255,0.72); }

  /* ---- How It Works. Two-phase flow ---- */
  .hiw-flow {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch;
  }
  .hiw-phase {
    background: var(--card-grey); border-radius: 22px; padding: 34px 32px;
    display: flex; flex-direction: column;
  }
  .hiw-phase-head { margin-bottom: 22px; }
  .hiw-phase-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: none; color: #fff;
    background: var(--purple); padding: 5px 12px; border-radius: 999px;
    margin-bottom: 14px;
  }
  .hiw-phase-head h3 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 28px;
    color: var(--ink); letter-spacing: -0.015em; margin-bottom: 8px;
  }
  .hiw-phase-head p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
  .hiw-substeps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .hiw-step {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border-radius: 14px; padding: 16px 18px;
  }
  .hiw-num {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px;
    background: var(--ink-purple); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px;
  }
  .hiw-step h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
  .hiw-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .hiw-phase .prod-learn { margin-top: auto; }
  .hiw-arrow {
    display: flex; align-items: center; justify-content: center;
    font-family: 'Newsreader', serif; font-style: italic;
    font-size: 40px; color: var(--purple);
  }

  /* ---- solutions teaser (3 dark cards) ---- */
  .sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
  .sol-card {
    border-radius: 20px; padding: 34px 30px; cursor: pointer;
    background:
      radial-gradient(ellipse 70% 60% at 50% 100%, rgba(124,77,158,0.4) 0%, transparent 72%),
      linear-gradient(155deg, #241738 0%, #170d29 100%);
    transition: transform 0.18s;
  }
  .sol-card:hover { transform: translateY(-4px); }
  .sol-card .stag {
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    color: #b98fd6; margin-bottom: 14px;
  }
  .sol-card h3 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 25px;
    color: #fff; margin-bottom: 10px; letter-spacing: -0.015em; line-height: 1.15;
  }
  .sol-card p { font-size: 14px; color: #a99dbe; margin-bottom: 18px; line-height: 1.55; }
  .sol-link {
    font-size: 13px; font-weight: 600; color: #fff;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .sol-link .arr { color: var(--purple-bright); transition: transform 0.15s; }
  .sol-card:hover .sol-link .arr { transform: translateX(4px); }

  /* ---- CTA band ---- */
  .cta-band {
    border-radius: 24px;
    background:
      radial-gradient(ellipse 50% 80% at 18% 25%, rgba(124,77,158,0.6) 0%, transparent 70%),
      linear-gradient(160deg, #2d1b4e 0%, #15091f 100%);
    padding: 70px 60px;
  }
  .cta-band h2 {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05;
    color: #fff; letter-spacing: -0.02em; margin-bottom: 14px;
  }
  .cta-band p { font-size: 18px; color: #b3a8c4; margin-bottom: 30px; max-width: 520px; }

  /* ---- footer ---- */
  .footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 56px 0 36px; }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
  .footer .brand-name { font-size: 22px; }
  .footer-tag { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }
  .footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
  .footer-col h5 {
    font-size: 11px; letter-spacing: 0.1em; text-transform: none;
    color: var(--muted); margin-bottom: 12px; font-weight: 600;
  }
  .footer-col button {
    display: block; background: none; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 14px; color: var(--ink-soft);
    padding: 5px 0; transition: color 0.15s;
  }
  .footer-col button:hover { color: var(--purple); }
  .footer-base {
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 13px; color: var(--muted);
  }

  /* ---- solutions page pieces ---- */
  .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
  .pain-cell { background: var(--white); padding: 28px 26px; }
  .pain-cell h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
  .pain-cell p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

  .wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .wf-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: 18px; padding: 26px 24px; transition: transform 0.15s, border-color 0.15s;
  }
  .wf-card:hover { transform: translateY(-3px); border-color: var(--purple); }
  .wf-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: none;
    color: var(--purple); margin-bottom: 11px; }
  .wf-card h4 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 21px;
    margin-bottom: 7px; color: var(--ink); }
  .wf-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

  .who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .who-card { background: var(--card-grey); border-radius: 18px; padding: 28px 26px; }
  .who-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
  .who-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

  .vcase {
    border-radius: 24px;
    background:
      radial-gradient(ellipse 60% 95% at 90% 50%, rgba(124,77,158,0.5) 0%, transparent 70%),
      linear-gradient(150deg, #241738 0%, #150c26 100%);
    padding: 52px 56px;
    display: grid;
    grid-template-columns: 1.55fr 0.95fr;
    column-gap: 52px;
    align-items: center;
  }
  .vcase .vtag { font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
    text-transform: none; color: #b98fd6; margin-bottom: 16px; }
  .vcase h3 { font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; color: #fff;
    letter-spacing: -0.02em; margin-bottom: 14px; }
  .vcase h3 em { font-style: italic; color: #c9a9e3; }
  .vcase p { font-size: 15.5px; color: #b3a8c4; max-width: 600px; margin-bottom: 0; }
  .vcase-stats { display: flex; flex-direction: column; gap: 26px;
    padding-left: 46px; border-left: 1px solid rgba(201,169,227,0.18); }
  .vcase-stat .n { font-family: 'Newsreader', serif; font-size: 46px; color: #c9a9e3; line-height: 1; }
  .vcase-stat .l { font-size: 11px; letter-spacing: 0.08em; text-transform: none;
    color: #8a7da0; margin-top: 6px; font-weight: 600; }

  .page-hero {
    margin: -82px 0 0; padding: 150px 24px 80px;
    background:
      radial-gradient(ellipse 65% 60% at 50% 40%, rgba(124,77,158,0.5) 0%, transparent 72%),
      linear-gradient(180deg, #150b26 0%, #1a0f2e 60%, #160d28 100%);
    text-align: center;
  }
  .page-hero .ph-tag {
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: none;
    color: #b98fd6; margin-bottom: 18px;
  }
  .page-hero h1 {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06;
    color: #fff; letter-spacing: -0.02em; max-width: 860px; margin: 0 auto 20px;
  }
  .page-hero h1 em { font-style: italic; color: #c9a9e3; }
  .page-hero p { font-size: 18px; color: #b3a8c4; max-width: 620px; margin: 0 auto 32px; }

  @media (max-width: 880px) {
    .nav-links .nav-link, .nav-links .nav-dd { display: none; }
    .nav { border-radius: 18px; padding: 12px 12px 12px 18px; }
    .two-col, .prod-split, .feat-grid, .grad-duo { grid-template-columns: 1fr; }
    .hiw-flow { grid-template-columns: 1fr; }
    .hiw-arrow { transform: rotate(90deg); padding: 4px 0; }
    .sol-grid, .pain-grid, .wf-grid, .who-grid { grid-template-columns: 1fr; }
    .proof-band { grid-template-columns: 1fr; gap: 22px; padding: 36px 28px; }
    .cta-band { padding: 44px 28px; }
    .vcase { padding: 34px 26px; grid-template-columns: 1fr; row-gap: 26px; }
    .vcase-stats { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap;
      gap: 24px 40px; padding-left: 0; padding-top: 22px;
      border-left: none; border-top: 1px solid rgba(201,169,227,0.18); }
    section { padding: 60px 0; }
    .footer-top { flex-direction: column; }
  }

  /* ===== blog ===== */
  .blog-feature { border-radius: 24px; padding: 46px 50px; margin-bottom: 36px; cursor: pointer;
    background: radial-gradient(ellipse 55% 80% at 85% 50%, rgba(124,77,158,0.5) 0%, transparent 72%),
      linear-gradient(150deg, #241738 0%, #150c26 100%); }
  .blog-feature .cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none; color: #b98fd6; margin-bottom: 14px; }
  .blog-feature h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.1; color: #fff; letter-spacing: -0.02em; margin-bottom: 14px; max-width: 720px; }
  .blog-feature p { font-size: 16px; color: #b3a8c4; max-width: 640px; margin-bottom: 18px; }
  .blog-feature .meta { font-size: 13px; color: #8a7da0; font-weight: 500; }
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .blog-card { background: var(--white); border: 1px solid var(--rule); border-radius: 18px;
    padding: 28px 26px; cursor: pointer; display: flex; flex-direction: column; transition: transform 0.15s, border-color 0.15s; }
  .blog-card:hover { transform: translateY(-4px); border-color: var(--purple); }
  .blog-card .cat { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: none; color: var(--purple); margin-bottom: 12px; }
  .blog-card h4 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 20px; line-height: 1.18; color: var(--ink); margin-bottom: 10px; }
  .blog-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; flex-grow: 1; }
  .blog-card .meta { font-size: 12.5px; color: var(--muted); font-weight: 500; }

  /* ===== article ===== */
  .article { max-width: 744px; margin: 0 auto; }
  .article .cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none; color: var(--purple); margin-bottom: 14px; }
  .article h1 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
  .article-meta { font-size: 14px; color: var(--muted); padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
  .article-body p { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 20px; }
  .article-body h2 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 28px; color: var(--ink); margin: 38px 0 14px; letter-spacing: -0.01em; }
  .article-body blockquote { border-left: 3px solid var(--purple); padding-left: 22px; margin: 26px 0;
    font-family: 'Newsreader', serif; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--ink-soft); }
  .article-body ul { margin: 0 0 20px 22px; } .article-body li { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
  .article-back { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 600; color: var(--purple); margin-bottom: 26px; }

  /* ===== resources ===== */
  .res-feature { border-radius: 24px; padding: 46px 50px; margin-bottom: 36px;
    background: radial-gradient(ellipse 55% 80% at 88% 50%, rgba(124,77,158,0.5) 0%, transparent 72%),
      linear-gradient(150deg, #241738 0%, #150c26 100%);
    display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 40px; align-items: center; }
  .res-feature .cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none; color: #b98fd6; margin-bottom: 14px; }
  .res-feature h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: #fff; margin-bottom: 12px; }
  .res-feature p { font-size: 15.5px; color: #b3a8c4; margin-bottom: 0; }
  .res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .res-card { background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
  .res-type { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: none; color: var(--purple); margin-bottom: 12px; }
  .res-card h4 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
  .res-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; flex-grow: 1; }
  .res-get { align-self: flex-start; background: none; border: none; cursor: pointer; font-family: 'Figtree', sans-serif;
    font-size: 14px; font-weight: 600; color: var(--purple); display: inline-flex; align-items: center; gap: 8px; }
  .res-get .lock { font-size: 12px; }

  /* ===== gate modal ===== */
  .gate-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(20,9,30,0.62);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 24px; }
  .gate-overlay.open { display: flex; }
  .gate-dialog { background: var(--white); border-radius: 20px; width: 100%; max-width: 460px; padding: 38px 36px;
    position: relative; box-shadow: 0 30px 80px -20px rgba(26,15,46,0.5); }
  .gate-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
  .gate-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none; color: var(--purple); margin-bottom: 10px; }
  .gate-dialog h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 25px; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
  .gate-dialog .sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
  .gate-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 14px; }

  /* ===== forms (shared) ===== */
  .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .field label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
  .field input, .field select, .field textarea { font-family: 'Figtree', sans-serif; font-size: 15px; color: var(--ink);
    padding: 11px 13px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); width: 100%; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,77,158,0.15); }
  .field textarea { resize: vertical; min-height: 92px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-btn { width: 100%; margin-top: 6px; background: var(--purple); color: #fff; border: none; cursor: pointer;
    font-family: 'Figtree', sans-serif; font-size: 15px; font-weight: 600; padding: 14px; border-radius: 999px;
    box-shadow: 0 10px 26px -8px rgba(124,77,158,0.6); transition: transform 0.15s; }
  .form-btn:hover { transform: translateY(-1px); }
  .form-success { text-align: center; padding: 18px 4px; }
  .form-success .check { width: 52px; height: 52px; border-radius: 999px; background: #e8f6ef; color: #1f9d6b;
    display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }
  .form-success h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 8px; }
  .form-success p { font-size: 14.5px; color: var(--ink-soft); max-width: 360px; margin: 0 auto; }

  /* ===== demo page ===== */
  .demo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: start; }
  .demo-form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 36px 34px;
    box-shadow: 0 18px 50px -24px rgba(26,15,46,0.25); }
  .demo-aside h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 26px; color: var(--ink); margin-bottom: 22px; letter-spacing: -0.01em; }
  .demo-step { display: flex; gap: 16px; margin-bottom: 22px; }
  .demo-step .n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--ink-purple); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
  .demo-step h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
  .demo-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
  .demo-aside .reassure { margin-top: 26px; padding: 20px 22px; background: var(--card-grey); border-radius: 14px;
    font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

  @media (max-width: 880px) {
    .blog-grid, .res-grid { grid-template-columns: 1fr; }
    .res-feature, .demo-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .blog-feature, .res-feature { padding: 32px 26px; }
  }

  /* ===== newsletter band ===== */
  .news-band { border-radius: 24px; padding: 48px 50px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: center;
    background: radial-gradient(ellipse 50% 80% at 15% 25%, rgba(124,77,158,0.55) 0%, transparent 70%),
      linear-gradient(160deg, #2d1b4e 0%, #15091f 100%); }
  .news-band .news-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: none; color: #b98fd6; margin-bottom: 12px; }
  .news-band h2 { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
  .news-band h2 em { font-style: italic; color: #c9a9e3; }
  .news-band p { font-size: 15.5px; color: #b3a8c4; margin: 0; }
  .news-cta .btn-primary { text-decoration: none; display: inline-block; }
  .news-meta { margin-top: 12px; font-size: 12.5px; color: #8a7da0; }
  @media (max-width: 880px) { .news-band { grid-template-columns: 1fr; gap: 22px; padding: 32px 26px; } }

  /* ===== footer LinkedIn link ===== */
  .footer-li { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    color: var(--purple); font-size: 14px; font-weight: 600; text-decoration: none; }
  .footer-li:hover { color: var(--purple-bright); }
  .footer-li svg { flex-shrink: 0; }

  /* ===== FinEdge comparison table ===== */
  .cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
  .cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
  .cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule); }
  .cmp thead th { background: var(--paper-2); font-size: 11px; letter-spacing: 0.06em; text-transform: none; color: var(--muted); font-weight: 600; }
  .cmp td:first-child { font-weight: 600; color: var(--ink); }
  .cmp td { color: var(--ink-soft); }
  .cmp th.fe, .cmp td.fe { background: rgba(124,77,158,0.07); }
  .cmp thead th.fe { color: var(--purple); }
  .cmp td.fe { color: var(--ink); font-weight: 600; }
  .cmp tbody tr:last-child td { border-bottom: none; }

  /* ─── v10: Interactivity + Mobile ─── */

  /* Sticky nav with backdrop blur */
  .nav-wrap { position: sticky; top: 0; z-index: 60; }
  .nav-wrap .nav { transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
  .nav-wrap.scrolled .nav {
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(250, 249, 251, 0.88);
    box-shadow: 0 1px 0 var(--rule);
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* Card hover lifts (extend the .blog-card pattern to other cards) */
  .wf-card, .sol-card, .who-card, .vcase-stat, .pain-cell {
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  }
  .wf-card:hover, .sol-card:hover, .who-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
    box-shadow: 0 12px 32px -14px rgba(124, 77, 158, 0.30);
  }

  /* Stat counter. Tabular digits */
  .proof-stat, .vcase-stat .n { font-variant-numeric: tabular-nums; }

  /* ─── Phone breakpoints (in addition to existing 880px) ─── */
  @media (max-width: 640px) {
    .wrap { padding-left: 18px; padding-right: 18px; }
    h1, .hero-title { font-size: clamp(30px, 8vw, 44px); line-height: 1.08; }
    .sec-title { font-size: clamp(26px, 6vw, 36px); }
    .page-hero { padding-top: 56px; padding-bottom: 56px; }
    .hero { padding: 110px 18px 70px; }
    .vcase-stats { gap: 18px 28px !important; }
    img { max-width: 100%; height: auto; }
  }
  @media (max-width: 480px) {
    .hero-sub, .sec-sub { font-size: 15px; line-height: 1.55; }
    .btn-primary, .btn-ghost { width: 100%; padding: 14px 18px; min-height: 48px; }
    .vcase-stat .n { font-size: 28px; }
    .proof-stat { font-size: 56px; }
  }
  @media (max-width: 768px) {
    button, .btn-primary, .nav a { min-height: 44px; }
  }

  /* ── Agent page extensions ── */
  .roster { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
  @media (max-width: 880px) { .roster { grid-template-columns: 1fr; } }
  .roster-group h4 {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 22px; color: var(--ink);
    letter-spacing: -0.01em; margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
  }
  .rf { padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .rf:last-child { border-bottom: none; }
  .rf-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .rf-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-top: 3px; }

  .agent-outcomes {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    margin-bottom: 28px;
  }
  @media (max-width: 880px) { .agent-outcomes { grid-template-columns: 1fr; } }
  .ao-stat {
    background: var(--white); border-radius: 18px; padding: 28px 26px;
    border: 1px solid var(--rule);
  }
  .ao-n {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 44px;
    line-height: 1; color: var(--purple); letter-spacing: -0.02em; margin-bottom: 10px;
  }
  .ao-l { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
  .ao-bullets {
    list-style: none; max-width: 760px; margin: 0 auto;
    background: var(--white); border-radius: 14px; padding: 22px 28px;
    border: 1px solid var(--rule);
  }
  .ao-bullets li {
    padding: 11px 0 11px 22px; position: relative;
    font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--rule);
  }
  .ao-bullets li:last-child { border-bottom: none; }
  .ao-bullets li::before {
    content: '◆'; position: absolute; left: 0; top: 12px;
    color: var(--purple-bright); font-size: 10px;
  }

  /* proof-band internals (re-use existing class but add the inner number) */
  .pb-num {
    font-family: 'Newsreader', serif; font-weight: 400; font-size: 74px;
    color: #fff; line-height: 1; letter-spacing: -0.025em; margin-bottom: 8px;
  }
  .pb-label {
    color: #c9a9e3; font-size: 13px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: none;
  }
  .pb-body p { color: #d4cae0; font-size: 17px; line-height: 1.6; }
  .pb-body p b { color: #fff; font-weight: 600; }


  .wf-card { position: relative; }
  .wf-cta {
    display: inline-block; margin-top: 10px;
    font-size: 13px; font-weight: 600; color: var(--purple);
    opacity: 0; transform: translateY(2px); transition: opacity 0.2s, transform 0.2s;
  }
  .wf-card:hover .wf-cta { opacity: 1; transform: translateY(0); }


  /* ── Agents dropdown. Coming soon styling ── */
  .nav-menu-item.disabled { cursor: default; opacity: 0.55; }
  .nav-menu-item.disabled:hover { background: transparent; }
  .nmi-soon {
    display: inline-block; margin-left: 6px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: none;
    color: var(--muted); background: var(--paper-2);
    padding: 2px 7px; border-radius: 999px; vertical-align: 1px;
  }


  .pv-frame {
    background: #fff; border-radius: 14px; padding: 8px;
    box-shadow: 0 22px 60px -22px rgba(26,15,46,0.28), 0 4px 14px rgba(26,15,46,0.08);
    border: 1px solid var(--rule);
    max-width: 1320px; margin: 0 auto;
    overflow: hidden;
  }
  .pv-frame img { display: block; width: 100%; height: auto; border-radius: 8px; }


  /* ── Case study (Reconciliation Agent. BlackLine) ── */
  .cs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    max-width: 1080px; margin: 0 auto 40px;
  }
  @media (max-width: 880px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .cs-grid { grid-template-columns: 1fr; } }
  .cs-stat {
    background: var(--white); border: 1px solid var(--rule); border-radius: 16px;
    padding: 22px 22px;
  }
  .cs-n {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: 38px; line-height: 1.05; letter-spacing: -0.02em;
    color: var(--purple); margin-bottom: 6px;
  }
  .cs-l { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

  .cs-compare {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
    max-width: 1080px; margin: 0 auto 40px;
  }
  @media (max-width: 880px) { .cs-compare { grid-template-columns: 1fr; } }
  .cs-side {
    border-radius: 20px; padding: 30px 30px 26px;
  }
  .cs-side.before {
    background: var(--card-grey);
  }
  .cs-side.after {
    background:
      radial-gradient(ellipse 80% 70% at 30% 90%, rgba(124,77,158,0.55) 0%, transparent 70%),
      linear-gradient(150deg, #241738 0%, #1a1030 100%);
  }
  .cs-side-label {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: none;
    margin-bottom: 14px;
  }
  .cs-side.before .cs-side-label { color: var(--muted); }
  .cs-side.after  .cs-side-label { color: #b98fd6; }
  .cs-side ul { list-style: none; padding: 0; margin: 0; }
  .cs-side li {
    font-size: 14.5px; padding: 10px 0 10px 22px; position: relative;
    line-height: 1.5;
  }
  .cs-side.before li { color: var(--ink-soft); border-bottom: 1px solid #dedce2; }
  .cs-side.after  li { color: #d4cae0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cs-side li:last-child { border-bottom: none; }
  .cs-side li::before { position: absolute; left: 0; top: 11px; font-size: 13px; }
  .cs-side.before li::before { content: '○'; color: var(--muted); }
  .cs-side.after  li::before { content: '◆'; color: var(--purple-bright); font-size: 10px; top: 13px; }

  .cs-pullquote {
    max-width: 760px; margin: 0 auto;
    padding: 28px 32px;
    border-left: 3px solid var(--purple);
    background: var(--paper-2);
    border-radius: 0 16px 16px 0;
  }
  .cs-pullquote p {
    font-family: 'Newsreader', serif; font-weight: 400; font-style: italic;
    font-size: 21px; line-height: 1.5; color: var(--ink);
  }


  /* v16. Wider stat grid for the case study */
  .cs-grid-4 { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1080px) { .cs-grid-4 { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px)  { .cs-grid-4 { grid-template-columns: 1fr; } }



  /* ── v18 native HTML product mockups. Polished + defensive ── */
  .mock-window {
    max-width: 1320px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--rule);
    box-shadow: 0 30px 70px -25px rgba(26,15,46,0.30), 0 6px 18px rgba(26,15,46,0.08);
    overflow: hidden;
    font-family: 'Figtree', system-ui, sans-serif;
    color: var(--ink);
  }
  .mock-window *, .mock-window *::before, .mock-window *::after { box-sizing: border-box; }

  /* Browser chrome. Adds the dot-row that signals "this is a product screen" */
  .mock-chrome {
    display: flex; align-items: center; gap: 7px;
    padding: 10px 16px;
    background: linear-gradient(180deg, #f8f7f9 0%, #f1eff3 100%);
    border-bottom: 1px solid var(--rule);
  }
  .mock-chrome .dot { width: 12px; height: 12px; border-radius: 50%; background: #e7e5ea; }
  .mock-chrome .dot:nth-child(1) { background: #ff7062; }
  .mock-chrome .dot:nth-child(2) { background: #ffc245; }
  .mock-chrome .dot:nth-child(3) { background: #4dd06a; }
  .mock-chrome .url {
    flex: 1; margin-left: 14px;
    background: #fff; border: 1px solid var(--rule);
    border-radius: 7px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--ink-soft);
    font-family: ui-monospace, monospace;
    max-width: 460px;
  }

  /* App-style header inside the window */
  .mock-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 22px;
    background: #ffffff;
    border-bottom: 1px solid var(--rule);
    gap: 14px;
  }
  .mock-left, .mock-right { display: flex; align-items: center; gap: 10px; }
  .mock-center { flex: 1; display: flex; justify-content: center; }
  .mh-back {
    color: var(--ink); font-size: 17px;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--paper-2);
  }
  .mh-title { font-size: 15.5px; font-weight: 600; color: var(--ink); }
  .mh-file {
    display: inline-block;
    background: var(--paper-2); border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 7px 22px;
    font-size: 12.5px;
    color: var(--ink-soft);
    font-family: ui-monospace, monospace;
    max-width: 460px;
    text-align: center;
  }
  .mh-btn {
    display: inline-flex; align-items: center;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 7px 16px;
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    cursor: default;
    white-space: nowrap;
  }
  .mh-btn.primary { background: var(--purple); color: #fff; border-color: var(--purple); font-weight: 600; }
  .mh-btn.primary.disabled { opacity: 0.55; }

  .mock-stepper {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--rule);
    background: #ffffff;
  }
  .mock-stepper .step { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
  .mock-stepper .step.active .step-num { background: rgba(124,77,158,0.14); color: var(--purple); border-color: var(--purple); }
  .mock-stepper .step.active .step-label { color: var(--ink); font-weight: 600; }
  .step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--muted);
  }
  .step-label { font-size: 14px; }
  .step-sep { color: var(--muted); font-size: 16px; }

  .mock-tabs {
    display: flex; gap: 28px;
    padding: 14px 22px 0;
    border-bottom: 1px solid var(--rule);
    background: #ffffff;
  }
  .mt-tab {
    font-size: 14px; color: var(--muted);
    padding: 10px 0 11px;
    border-bottom: 2.5px solid transparent;
  }
  .mt-tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--purple); }

  .mock-body { padding: 22px; background: var(--paper); }

  /* Wizard body */
  .wizard-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; padding: 22px; }
  @media (max-width: 880px) { .wizard-body { grid-template-columns: 1fr; } }
  .wizard-main { background: #ffffff; border: 1px solid var(--rule); border-radius: 14px; padding: 32px 28px; min-width: 0; }
  .wizard-title { font-family: 'Newsreader', serif; font-size: 28px; font-weight: 500; color: var(--ink); text-align: center; letter-spacing: -0.01em; }
  .wizard-sub { color: var(--ink-soft); text-align: center; font-size: 14px; margin-top: 8px; margin-bottom: 28px; }
  .wizard-step-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
  .wizard-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
  @media (max-width: 720px) { .wizard-choices { grid-template-columns: 1fr; } }
  .wc-card { background: #ffffff; border: 1.5px solid var(--rule); border-radius: 12px; padding: 22px; transition: border-color 0.15s; }
  .wc-card:hover { border-color: var(--purple); }
  .wc-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
  }
  .wc-icon.green { background: #e7f4ec; color: #2e7a4f; }
  .wc-icon.purple { background: #f1eafa; color: var(--purple); }
  .wc-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
  .wc-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .wizard-prompt {
    background: #ffffff; border: 1px solid var(--rule); border-radius: 12px;
    padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  }
  .wp-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: #eaf0fc; color: #3a6bd8; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .wp-title { font-size: 14px; font-weight: 600; color: var(--ink); }
  .wp-sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

  /* Emma side panel */
  .emma-panel { background: #ffffff; border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
  .emma-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
  .emma-avatar {
    width: 32px; height: 32px; border-radius: 8px; background: #f1eafa;
    color: var(--purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .emma-name { font-size: 13px; font-weight: 700; color: var(--ink); }
  .emma-sub { font-size: 11px; color: var(--muted); }
  .emma-msg { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .emma-glyph {
    width: 26px; height: 26px; border-radius: 7px; background: #f1eafa;
    color: var(--purple); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px;
  }
  .emma-bubble { background: var(--paper-2); border-radius: 10px; padding: 10px 13px; font-size: 12.5px; color: var(--ink); line-height: 1.55; }

  /* Suggested-matches body */
  .sugg-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; padding: 22px; }
  @media (max-width: 1100px) { .sugg-body { grid-template-columns: 1fr; } }
  .sugg-main { min-width: 0; }

  .kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
  .kpi-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 720px) { .kpi-row, .kpi-row.four { grid-template-columns: 1fr 1fr; } }
  .kpi-card { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; min-width: 0; }
  .kpi-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
  .kpi-num { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; line-height: 1; }
  .kpi-num.green { color: #2e7a4f; }

  .pill-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
  .pill {
    background: #ffffff; border: 1px solid var(--rule); border-radius: 10px;
    padding: 7px 14px; font-size: 12.5px; color: var(--ink-soft);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .pill.active { border-color: var(--purple); color: var(--ink); font-weight: 600; }
  .pill-glyph.purple { color: var(--purple); }
  .pill-glyph.amber { color: #c79231; }

  .search-bar {
    background: #ffffff; border: 1px solid var(--rule); border-radius: 10px;
    padding: 10px 16px; display: flex; align-items: center;
    font-size: 13px; color: var(--muted);
    margin-bottom: 14px;
  }
  .sb-icon { margin-right: 8px; }
  .sb-placeholder { flex: 1; }
  .sb-count { color: var(--muted); font-size: 12px; }

  .mock-table {
    background: #ffffff; border: 1px solid var(--rule); border-radius: 10px;
    border-collapse: separate; border-spacing: 0;
    width: 100%; font-size: 12.5px; overflow: hidden;
    table-layout: auto;
  }
  .mock-table th, .mock-table td {
    padding: 11px 14px; text-align: left;
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
    white-space: nowrap;
  }
  .mock-table thead th {
    background: var(--paper-2); color: var(--ink-soft);
    font-size: 11.5px; font-weight: 700;
  }
  .mock-table tbody tr:last-child td { border-bottom: none; }
  .mock-table td { color: var(--ink); }
  .mock-table td:first-child, .mock-table th:first-child { width: 32px; color: var(--muted); text-align: center; padding-left: 0; padding-right: 0; }
  .mock-table .mono { font-family: ui-monospace, monospace; font-size: 12px; }

  /* Options panel */
  .options-panel { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; min-width: 0; }
  .op-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
  .op-close { color: var(--muted); }
  .op-section { margin-bottom: 16px; }
  .op-section:last-child { margin-bottom: 0; }
  .op-section-head { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; }
  .op-status-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
  .osp { padding: 5px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
  .osp.red { background: #fcebec; color: #b8434e; }
  .osp.purple { background: #f1eafa; color: var(--purple); }
  .osp.blue { background: #eaf0fc; color: #3a6bd8; }
  .op-pass-label { font-size: 12px; font-weight: 700; color: var(--ink); margin: 14px 0 4px; }
  .op-pass-name { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
  .op-field-list { margin-top: 12px; }
  .opf { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 12px; }
  .opf-val { color: var(--muted); }
  .op-matched .om-row { background: var(--paper-2); border-radius: 9px; padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .op-matched .om-row.light { background: #ffffff; border: 1px solid var(--rule); }
  .om-label { font-size: 11px; color: var(--muted); }
  .om-big { font-size: 18px; font-weight: 700; color: var(--ink); }
  .om-field { font-size: 12.5px; font-weight: 600; color: var(--ink); }
  .om-badge { background: #e7f4ec; color: #2e7a4f; font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

  /* Manual matching */
  .manual-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; }
  @media (max-width: 880px) { .manual-body { grid-template-columns: 1fr; } }
  .manual-panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

  /* Audit */
  .audit-body { padding: 22px; }
  .audit-filter { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
  .af-search { background: #ffffff; border: 1px solid var(--rule); border-radius: 10px; padding: 9px 14px; font-size: 13px; color: var(--muted); flex: 1; min-width: 220px; }
  .af-dd { background: #ffffff; border: 1px solid var(--rule); border-radius: 10px; padding: 9px 14px; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
  .af-dd .caret { color: var(--muted); margin-left: 6px; }
  .event-card { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; }
  .event-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .event-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(124,77,158,0.16); color: var(--purple); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
  .event-tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .et { padding: 5px 12px; border-radius: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
  .et.blue { background: #eaf0fc; color: #3a6bd8; }
  .et.green { background: #e7f4ec; color: #2e7a4f; }
  .event-ago { margin-left: auto; color: var(--muted); font-size: 12.5px; }
  .event-line { font-size: 14px; color: var(--ink); margin: 14px 0 8px 54px; }
  .event-pill { background: var(--paper-2); border-radius: 9px; padding: 4px 11px; font-size: 11.5px; margin-left: 8px; }
  .event-divider { border-bottom: 1px solid var(--rule); margin: 16px 0 18px 54px; }
  .event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; margin-left: 54px; }
  @media (max-width: 720px) { .event-grid { grid-template-columns: 1fr; margin-left: 0; } .event-line, .event-divider { margin-left: 0; } }
  .ek { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 8px; }
  .ev { font-size: 13.5px; color: var(--ink); }
  .ev-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }




  /* ── v19. Insight strip below the manual-matching mockup ── */
  .insight-strip {
    max-width: 1320px; margin: 28px auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 880px) { .insight-strip { grid-template-columns: 1fr; } }
  .ic {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 24px 24px 22px;
    border-left: 3px solid var(--purple);
  }
  .ic-tag {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: none;
    color: var(--purple); margin-bottom: 12px;
  }
  .ic-h {
    font-family: 'Newsreader', serif;
    font-size: 20px; font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .ic-p {
    font-size: 14px; color: var(--ink-soft); line-height: 1.6;
  }



  /* ── v20 cleanup tweaks ── */
  .wf-grid.pain-4 { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 720px) { .wf-grid.pain-4 { grid-template-columns: 1fr; } }
  .roster.roster-4 { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  @media (max-width: 880px) { .roster.roster-4 { grid-template-columns: 1fr; } }
  .cs-grid { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1080px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .cs-grid { grid-template-columns: 1fr; } }

  /* Soften the case-study before/after. Less heavy bg gradient */
  /* (keep their existing styles, just reduce padding) */
  .cs-side { padding: 28px 28px 24px; }

  /* Reduce section padding deck-wide to compress the page */
  section { padding: 68px 0; }
  .sec-head { margin-bottom: 40px; }

  /* Lighter card shadows */
  .wf-card { box-shadow: none; }
  .ic { box-shadow: none; }



  /* ── v25. Editorial pain stack ── */
  .pain-sec { padding: 80px 0 56px; background: var(--paper); }
  .pain-sec .sec-head { margin-bottom: 48px; }
  .pain-sec .pain-grid {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    /* Reset original .pain-grid layered styling that conflicts inside .pain-sec */
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  @media (max-width: 780px) { .pain-sec .pain-grid { grid-template-columns: 1fr; } }
  .pain-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 38px 36px 32px;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
  }
  .pain-card p { flex: 1 1 auto; }
  .pain-card:hover {
    border-color: color-mix(in srgb, var(--pa) 50%, var(--rule));
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--pa) 60%, transparent);
  }
  .pain-stripe {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--pa);
    opacity: 0.85;
  }
  .pain-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 26px;
    min-height: 44px;
  }
  .pain-num {
    font-family: 'Figtree', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    color: var(--pa);
    line-height: 1;
  }
  .pain-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--pa) 11%, transparent);
    color: var(--pa);
  }
  .pain-icon svg { width: 22px; height: 22px; }
  .pain-card h4 {
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.22;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin: 0 0 14px;
    min-height: calc(1.22em * 2);
  }
  .pain-card p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.62;
    margin: 0 0 22px;
  }
  .pain-payoff {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink);
    padding-top: 18px;
    border-top: 1px dashed color-mix(in srgb, var(--pa) 35%, var(--rule));
  }
  .pain-payoff .arr {
    color: var(--pa);
    font-weight: 700;
    margin-right: 4px;
  }



  /* ── v26. Manual-matching: selection state + bridge + context strip ── */
  .manual-body { position: relative; align-items: stretch; }
  .manual-body .manual-panel { flex: 1 1 0; }
  .mock-table tr.row-sel {
    background: color-mix(in srgb, #6B5BFF 9%, transparent);
    box-shadow: inset 3px 0 0 #6B5BFF;
    position: relative;
  }
  .mock-table tr.row-sel td { color: var(--ink); font-weight: 500; }
  .match-bridge {
    width: 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0 6px;
    flex-shrink: 0;
  }
  .mb-line { flex: 1; width: 1px; background: var(--rule); }
  .mb-badge {
    background: #6B5BFF; color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
    display: inline-flex; align-items: center; gap: 5px;
    box-shadow: 0 6px 18px -8px rgba(107,91,255,0.55);
    white-space: nowrap;
  }
  .match-context {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr auto;
    gap: 26px;
    align-items: center;
    padding: 18px 22px;
    background: #FAF8F4;
    border-top: 1px solid var(--rule);
  }
  .mc-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .mc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip {
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
    background: #fff;
    border: 1px solid var(--rule);
    color: var(--ink-soft);
  }
  .chip.ok { background: #ECF7F0; border-color: #C8E6CF; color: #2E7D40; }
  .chip.warn { background: #FCF2E5; border-color: #F0D8B4; color: #A45F1A; }
  .mc-why-text { font-size: 13px; color: var(--ink); line-height: 1.55; }
  .mc-actions { display: flex; gap: 8px; }
  .mc-save { white-space: nowrap; }
  .ghost-mc { background: #fff; border: 1px solid var(--rule); color: var(--ink-soft); }

  @media (max-width: 880px) {
    .match-bridge { width: 100%; flex-direction: row; padding: 8px 0; }
    .mb-line { height: 1px; width: auto; flex: 1; }
    .manual-body { flex-direction: column; }
    .match-context { grid-template-columns: 1fr; gap: 14px; }
    .mc-actions { justify-content: flex-end; }
  }



  /* ── v27. Demo form upgrades ── */
  .form-section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.03em;
    margin: 22px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
  }
  .form-section-label:first-child { margin-top: 0; }
  .field label .opt {
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
  }
  #demo-form select, #demo-form input, #demo-form textarea {
    font-family: 'Figtree', system-ui, sans-serif;
  }



  /* ── v28. Launch banner ── */
  .launch-banner {
    background: linear-gradient(90deg, #1B1A1D 0%, #2A1F3D 50%, #1B1A1D 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .lb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 32px;
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
  }
  .lb-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #B98FD6;
    box-shadow: 0 0 0 0 rgba(185, 143, 214, 0.6);
    animation: lb-pulse 2s infinite;
    flex-shrink: 0;
  }
  @keyframes lb-pulse {
    0% { box-shadow: 0 0 0 0 rgba(185,143,214,0.65); }
    70% { box-shadow: 0 0 0 12px rgba(185,143,214,0); }
    100% { box-shadow: 0 0 0 0 rgba(185,143,214,0); }
  }
  .lb-msg { font-size: 14px; color: rgba(255,255,255,0.92); }
  .lb-msg strong { color: #fff; font-weight: 600; }
  .lb-cta {
    background: #6B5BFF; color: #fff;
    border: none; border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: background .15s ease;
  }
  .lb-cta:hover { background: #8475FF; }
  .lb-close {
    background: transparent; color: rgba(255,255,255,0.6);
    border: none; cursor: pointer;
    font-size: 20px; line-height: 1;
    padding: 4px 8px;
  }
  .lb-close:hover { color: #fff; }
  @media (max-width: 700px) {
    .lb-msg { font-size: 13px; flex: 1 1 100%; order: 1; }
    .lb-cta { margin-left: 0; order: 2; }
    .lb-close { order: 3; }
  }



  /* ── v29. Launch article enrichments ── */
  .article-body .lede {
    font-size: 19px;
    color: var(--ink);
    line-height: 1.55;
    font-weight: 400;
    margin-bottom: 18px;
  }
  .article-body .callout-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    border-left: 3px solid var(--purple);
    padding-left: 24px;
  }
  .article-body .callout-list li {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
  }
  .article-body .callout-list li:last-child { margin-bottom: 0; }
  .article-body .agent-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 28px;
  }
  .article-body .agent-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
  }
  .article-body .agent-list li strong { color: var(--ink); font-weight: 600; }
  .article-body .agent-list li:last-child { border-bottom: none; }
  .article-body .faq-item {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 14px;
  }
  .article-body .faq-item h4 {
    font-family: 'Newsreader', serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }
  .article-body .faq-item p { margin: 0; }
  .article-body h2 {
    margin-top: 48px;
    margin-bottom: 16px;
  }
  .article-body h3 {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }



  /* ── v31 — flat agent grid in launch article ── */
  .article-body .agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 22px 0 30px;
  }
  @media (max-width: 720px) { .article-body .agent-grid { grid-template-columns: 1fr; } }
  .article-body .agent-tile {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 22px 22px 20px;
    transition: border-color .15s ease, transform .15s ease;
  }
  .article-body .agent-tile:hover {
    border-color: var(--purple);
    transform: translateY(-1px);
  }
  .article-body .agent-tile-name {
    font-family: 'Newsreader', serif;
    font-weight: 500;
    font-size: 19px;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .article-body .agent-tile-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
  }



  /* ── v34 — Manual-matching section: lead + mockup side by side ── */
  .pv-stack.pv-stack-split {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: start;
  }
  .pv-stack.pv-stack-split .pv-lead {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
    padding-top: 8px;
  }
  .pv-stack.pv-stack-split .pv-lead h3 {
    font-size: 30px;
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .pv-stack.pv-stack-split .pv-lead p {
    font-size: 15px;
    line-height: 1.6;
  }
  .pv-stack.pv-stack-split .mock-window {
    /* Tighter padding on the mockup since column width is now constrained */
    min-width: 0;
  }
  /* Inside the constrained column, drop the two-panel + bridge to stack
     so the table data stays readable rather than getting squeezed. */
  .pv-stack.pv-stack-split .manual-body {
    flex-direction: column;
  }
  .pv-stack.pv-stack-split .match-bridge {
    width: 100%;
    flex-direction: row;
    padding: 10px 0;
  }
  .pv-stack.pv-stack-split .match-bridge .mb-line {
    height: 1px; width: auto; flex: 1;
  }
  .pv-stack.pv-stack-split .match-context {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pv-stack.pv-stack-split .mc-actions { justify-content: flex-end; }

  @media (max-width: 1080px) {
    .pv-stack.pv-stack-split {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .pv-stack.pv-stack-split .pv-lead {
      position: static;
      padding-top: 0;
    }
    /* Restore the two-panel side-by-side layout once we have full width back */
    .pv-stack.pv-stack-split .manual-body { flex-direction: row; }
    .pv-stack.pv-stack-split .match-bridge {
      width: 64px;
      flex-direction: column;
      padding: 0 6px;
    }
    .pv-stack.pv-stack-split .match-bridge .mb-line {
      width: 1px; height: auto; flex: 1;
    }
    .pv-stack.pv-stack-split .match-context {
      grid-template-columns: 1.4fr 1.4fr auto;
    }
  }
  @media (max-width: 880px) {
    /* Below 880px the original mobile rules take over for the manual body */
    .pv-stack.pv-stack-split .manual-body { flex-direction: column; }
    .pv-stack.pv-stack-split .match-context { grid-template-columns: 1fr; }
  }



  /* ── v44 — agent tile status pills ── */
  .tile-live, .tile-soon {
    display: inline-block;
    font-family: 'Figtree', system-ui, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.02em;
  }
  .tile-live { background: #E5F4EC; color: #2D7A48; }
  .tile-soon { background: var(--paper-2); color: var(--muted); }


  /* ===== legal-page styles (privacy / terms) ===== */
.legal-hero {
    margin: -82px 0 0;
    padding: 150px 24px 70px;
    background:
      radial-gradient(ellipse 70% 60% at 50% 40%, rgba(124,77,158,0.45) 0%, transparent 70%),
      linear-gradient(180deg, #150b26 0%, #1a0f2e 55%, #150b26 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .legal-hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
  .legal-hero .eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
    color: #c9a9e3; margin-bottom: 20px;
    padding: 7px 16px; border-radius: 999px;
    background: rgba(124,77,158,0.22); border: 1px solid rgba(201,169,227,0.25);
  }
  .legal-hero h1 {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06;
    color: #fff; letter-spacing: -0.02em; margin-bottom: 14px;
  }
  .legal-hero .updated { font-size: 14px; color: #b3a8c4; font-weight: 500; }

  /* layout: sticky TOC + body */
  .legal-wrap {
    max-width: 1080px; margin: 0 auto; padding: 64px 24px 30px;
    display: grid; grid-template-columns: 240px 1fr; gap: 56px;
    align-items: start;
  }
  .legal-toc {
    position: sticky; top: 110px;
    border: 1px solid var(--rule); border-radius: 18px;
    background: var(--white); padding: 22px 20px;
    max-height: calc(100vh - 140px); overflow-y: auto;
  }
  .legal-toc h4 {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); font-weight: 600; margin-bottom: 14px;
  }
  .legal-toc a {
    display: block; text-decoration: none; color: var(--ink-soft);
    font-size: 13px; line-height: 1.4; padding: 6px 10px; border-radius: 9px;
    transition: background 0.13s, color 0.13s;
  }
  .legal-toc a:hover { background: var(--paper-2); color: var(--purple); }
  .legal-toc a .num { color: var(--muted); font-weight: 600; margin-right: 6px; }

  .legal-body { min-width: 0; }
  .legal-intro {
    border: 1px solid var(--rule); border-radius: 18px;
    background: var(--paper-2); padding: 30px 32px; margin-bottom: 44px;
  }
  .legal-intro p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
  .legal-intro p:last-child { margin-bottom: 0; }
  .legal-intro strong { color: var(--ink); font-weight: 600; }
  .legal-callout {
    font-size: 13.5px !important; font-weight: 600 !important;
    color: var(--ink) !important; letter-spacing: 0.01em;
    background: var(--white); border-left: 3px solid var(--purple);
    padding: 14px 18px; border-radius: 0 10px 10px 0; text-transform: uppercase;
  }

  .legal-section { scroll-margin-top: 100px; padding: 14px 0 30px; border-bottom: 1px solid var(--rule); }
  .legal-section:last-of-type { border-bottom: none; }
  .legal-section h2 {
    font-family: 'Newsreader', serif; font-weight: 400;
    font-size: clamp(24px, 3vw, 32px); line-height: 1.15;
    color: var(--ink); letter-spacing: -0.015em; margin-bottom: 18px;
    display: flex; align-items: baseline; gap: 12px;
  }
  .legal-section h2 .sec-num {
    font-size: 14px; font-weight: 700; color: var(--purple);
    font-family: 'Figtree', sans-serif; letter-spacing: 0;
    flex-shrink: 0; min-width: 24px;
  }
  .legal-section h3 {
    font-family: 'Figtree', sans-serif; font-weight: 600;
    font-size: 16px; color: var(--ink); margin: 22px 0 8px;
  }
  .legal-section p {
    font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px;
  }
  .legal-section p:last-child { margin-bottom: 0; }
  .legal-section ul { list-style: none; margin: 4px 0 16px; }
  .legal-section ul li {
    font-size: 15px; color: var(--ink-soft); line-height: 1.6;
    padding: 7px 0 7px 24px; position: relative;
  }
  .legal-section ul li::before {
    content: '◆'; position: absolute; left: 0; top: 9px;
    color: var(--purple-bright); font-size: 9px;
  }
  .legal-section a { color: var(--purple); text-decoration: none; font-weight: 500; }
  .legal-section a:hover { text-decoration: underline; }
  .legal-section .caps {
    font-size: 13.5px; line-height: 1.7; color: var(--ink-soft);
    background: var(--paper-2); border-radius: 12px; padding: 18px 20px;
    text-transform: uppercase; letter-spacing: 0.01em;
  }
  .legal-contact {
    border: 1px solid var(--rule); border-radius: 16px;
    background: var(--paper-2); padding: 22px 26px; margin-top: 4px;
  }
  .legal-contact p { margin-bottom: 2px; font-size: 15px; }
  .legal-contact .org { font-weight: 600; color: var(--ink); }

  @media (max-width: 880px) {
    .legal-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
    .legal-toc { display: none; }
  }

  /* ---- privacy-specific pieces ---- */
  .legal-inshort {
    background: var(--paper-2); border-left: 3px solid var(--purple);
    border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 4px 0 18px;
  }
  .legal-inshort p { margin: 0; font-size: 14px; color: var(--ink); }
  .legal-inshort .tag {
    font-weight: 700; color: var(--purple); font-style: italic;
  }
  .legal-summary { margin-bottom: 18px; }
  .legal-summary p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
  .legal-summary p strong { color: var(--ink); font-weight: 600; }

  /* data-collection table */
  .legal-table-wrap { overflow-x: auto; margin: 8px 0 18px; border-radius: 14px; border: 1px solid var(--rule); }
  table.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
  table.legal-table th {
    background: var(--ink-purple); color: #e7dbf2; text-align: left;
    padding: 12px 16px; font-weight: 600; font-size: 11.5px;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  table.legal-table td {
    padding: 13px 16px; color: var(--ink-soft); line-height: 1.5;
    border-top: 1px solid var(--rule); vertical-align: top;
  }
  table.legal-table tr:nth-child(even) td { background: var(--paper-2); }
  table.legal-table td.cat { font-weight: 600; color: var(--ink); white-space: nowrap; }
  table.legal-table td.collected { text-align: center; font-weight: 700; }
  table.legal-table td.collected.yes { color: var(--teal); }
  table.legal-table td.collected.no { color: var(--muted); }

  /* footer inline legal links */
  .footer-legal-link {
    background: none; border: none; padding: 0; margin: 0;
    font: inherit; color: inherit; cursor: pointer;
  }
  .footer-legal-link:hover { color: #fff; text-decoration: underline; }

