:root{
    --brand: #7861EC;       /* canonical Catmerce purple, locked */
    --brand-rgb: 120,97,236;
    --ink: #1a1a2e;
    --ink-soft: #33334a;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html,body{height:100%;}
  body{ font-family: -apple-system, "Segoe UI", Inter, sans-serif; overflow-x:hidden; }

  /* ============================================================
     SECTION 1 — HERO (cursor-tracked mosaic reveal)
     ============================================================ */

  .hero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#f4f2fb;
  }

  .gradient-pale{
    position:absolute;
    inset:0;
    z-index:0;
    background: linear-gradient(160deg, #fdf2f8 0%, #f3f0fc 45%, #eef0fb 100%);
  }

  .grid{
    position:absolute;
    inset:0;
    z-index:2;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    grid-auto-rows: 64px;
    gap: 4px;
    padding: 4px;
  }

  .tile{
    border-radius: 14px;
    border: 1px solid rgba(120,120,150,0.14);
    opacity: 0;
    background-repeat: no-repeat;
    transition: opacity 90ms linear;
    will-change: opacity;
  }

  .content{
    position:relative; z-index: 5; height:100%;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center; padding: 0 24px; pointer-events:none;
  }
  .content > *{ pointer-events:auto; }

  .hero-logo{
    width: 230px;
    height: auto;
    margin-top: -24px;
    margin-bottom: 30px;
  }

  .badge{
    display:inline-block; background: rgba(255,255,255,0.85);
    border: 1px solid rgba(43,59,201,0.2); color: rgb(43,59,201);
    font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
    margin-bottom: 28px; box-shadow: 0 2px 12px rgba(43,59,201,0.1);
  }

  h1{
    font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; color: #1a1a2e;
    line-height: 1.08; letter-spacing: -0.02em; max-width: 900px; margin-bottom: 22px;
  }

  p.sub{
    font-size: 18px; color: #33334a; max-width: 620px; line-height: 1.55; margin-bottom: 34px;
  }

  .ctas{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
  .btn{ font-size:15px; font-weight:600; padding: 14px 26px; border-radius: 12px; border:none; cursor:pointer; transition: transform 150ms ease; }
  .btn:hover{ transform: translateY(-2px); }
  .btn-primary{ background: #2B3BC9; color:white; box-shadow: 0 8px 24px rgba(43,59,201,0.4); }
  .btn-secondary{ background: rgba(255,255,255,0.9); color:#1a1a2e; border: 1px solid rgba(0,0,0,0.08); }

  .connector{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 18px;
    margin: 8px 0 30px 0;
    flex-wrap: nowrap;
  }
  .connector .icon-group{
    display:flex;
    align-items:center;
    gap: 14px;
  }
  .connector img{
    display:block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
  }
  .connector .line-wrap{
    position:relative;
    width: 130px;
    height: 20px;
    flex-shrink:0;
  }
  .connector .line-wrap::before{
    content:'';
    position:absolute;
    left:0; right:0; top:50%;
    height:2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(43,59,201,0.15), rgba(43,59,201,0.4), rgba(43,59,201,0.15));
  }
  .connector .dot{
    position:absolute;
    top:50%;
    width:10px; height:10px;
    border-radius:50%;
    background:#2B3BC9;
    box-shadow: 0 0 10px 2px rgba(43,59,201,0.5);
    transform: translate(-50%,-50%);
    animation: wave-dot 2.6s ease-in-out infinite;
  }
  @keyframes wave-dot{
    0%   { left: 0%; }
    50%  { left: 100%; }
    100% { left: 0%; }
  }

  /* The connector row's icon groups + line-wrap add up to more than a
     phone's width at their desktop sizing, so the outer groups were
     getting clipped by the hero's own overflow:hidden — shrink every
     piece (icons, gaps, the line itself) so the whole row fits with
     room to spare instead of trimming it down to the wire. */
  @media (max-width: 600px){
    .connector{
      gap: 10px;
    }
    .connector .icon-group{
      gap: 8px;
    }
    .connector img{
      height: 18px !important;
    }
    .connector .line-wrap{
      width: 56px;
      height: 16px;
    }
  }

  /* ---- Entrance choreography ---- */
  .hero{
    animation: hero-open 0.9s ease-out both;
  }
  @keyframes hero-open{
    0%   { clip-path: circle(0% at 50% 45%); }
    100% { clip-path: circle(140% at 50% 45%); }
  }

  .content .hero-logo{ opacity:0; animation: pop-in 0.5s ease-out 1.75s both; }
  .content .badge{ opacity:0; animation: pop-in 0.5s ease-out 1.9s both; }
  .content h1{ opacity:0; animation: pop-in 0.6s ease-out 2.05s both; }
  .content .connector{ opacity:0; animation: fade-only 0.4s ease-out 2.3s both; }
  .content .connector .icon-group img,
  .content .connector .line-wrap{
    opacity:0; transform: scale(0.5);
    animation: icon-pop 0.45s cubic-bezier(.34,1.56,.64,1) both;
  }
  .content .connector .icon-group:nth-child(1) img:nth-child(1){ animation-delay: 2.35s; }
  .content .connector .icon-group:nth-child(1) img:nth-child(2){ animation-delay: 2.42s; }
  .content .connector .line-wrap{ animation-delay: 2.5s; }
  .content .connector .icon-group:nth-child(3) img:nth-child(1){ animation-delay: 2.58s; }
  .content .connector .icon-group:nth-child(3) img:nth-child(2){ animation-delay: 2.65s; }
  .content .connector .icon-group:nth-child(3) img:nth-child(3){ animation-delay: 2.72s; }
  .content p.sub{ opacity:0; animation: pop-in 0.5s ease-out 2.55s both; }
  .content .ctas{ opacity:0; animation: pop-in 0.5s ease-out 2.75s both; }

  @keyframes pop-in{
    0%   { opacity:0; transform: translateY(14px) scale(0.97); }
    100% { opacity:1; transform: translateY(0) scale(1); }
  }
  @keyframes fade-only{
    0%   { opacity:0; }
    100% { opacity:1; }
  }
  @keyframes icon-pop{
    0%   { opacity:0; transform: scale(0.5); }
    100% { opacity:1; transform: scale(1); }
  }


  /* ============================================================
     SECTION 2 — PINNED HORIZONTAL SLIDER
     Scroll-linked (not snap), mosaic hover-reveal per slide.
     ============================================================ */

  .slider-wrap{
    position: relative;
    height: 1100vh; /* 3 slides, ~367vh scroll distance per transition — slower pacing */
  }
  .slider-viewport{
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background:#000;
  }
  .slides-track{
    display:flex;
    width: 300%; /* 3 slides */
    height: 100%;
    will-change: transform;
  }
  .slide{
    position:relative;
    width: 33.3333%;
    height: 100%;
    flex-shrink:0;
    overflow:hidden;
  }
  .slide .bg{
    position:absolute;
    inset:0;
    background-size: cover;
    background-position: center;
    z-index:0;
  }
  .slide .grid{
    position:absolute;
    inset:0;
    z-index:1;
  }
  .slide .grid .s2tile{
    position:absolute;
    background: rgba(0,0,0,0.50);
  }
  .slide .caption{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding: 0 24px;
    pointer-events:none;
  }
  .slide .caption-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  /* Slide 3: caption sits bottom-left instead of centered, with room
     between it and both the left and bottom edges. */
  .slide .caption.caption--left-bottom{
    align-items:flex-start;
    justify-content:flex-end;
    text-align:left;
    padding: 0 32px 64px 40px;
  }
  .slide .caption.caption--left-bottom .caption-inner{
    align-items:flex-start;
  }
  /* Slides with an icon-row: text block on the left, icon pill pinned to
     the opposite (right) edge, both centered against each other. */
  .slide .caption.caption--left-bottom .caption-inner.caption-inner--split{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    align-self:stretch;
    width:100%;
    gap: 32px;
  }
  .slide .caption .caption-text{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
  }
  /* Text-reveal: JS splits each heading/paragraph into one .letter-mask
     per character. Each letter is translated up from below its own mask
     every frame, tied to scroll progress, staggered character-by-character
     — and un-reveals the same way in reverse when scrolling back up. */
  .slide .caption .reveal-mask .word{
    display:inline-block;
  }
  .slide .caption .reveal-mask .letter-mask{
    display:inline-block;
    overflow:hidden;
  }
  .slide .caption .reveal-mask .letter-mask .letter{
    display:inline-block;
    transform: translateY(110%);
    will-change: transform, opacity;
  }
  .slide .caption .icon-row{
    will-change: transform, opacity;
  }
  .slide .caption h2{
    color:#fff;
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight:700;
    letter-spacing:-0.02em;
    margin-bottom:14px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  }
  .slide .caption p{
    color: rgba(255,255,255,0.92);
    font-size: 16.5px;
    max-width: 520px;
    line-height:1.5;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin-bottom: 22px;
  }
  .slide .caption .icon-row{
    display:flex;
    align-items:center;
    gap: 20px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    padding: 12px 22px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.9);
    flex-shrink:0;
  }
  .slide .caption .icon-row img{
    opacity: 1;
  }
  /* Slides with an icon-row (1 & 2): below tablet width there's no room
     for text-beside-icons without squeezing both, so the split row
     collapses into the same stacked shape slide 3 already uses (text,
     then icons underneath) — icons shrink and drop their own gap since
     they're no longer racing the heading for horizontal space. */
  @media (max-width: 700px){
    .slide .caption.caption--left-bottom{
      padding: 0 24px 56px 24px;
    }
    .slide .caption.caption--left-bottom .caption-inner.caption-inner--split{
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      align-self: auto;
      width: auto;
      gap: 16px;
    }
    .slide .caption .icon-row{
      gap: 12px;
      padding: 9px 16px;
    }
    .slide .caption .icon-row img{
      height: 20px !important;
    }
  }
  /* ============================================================
     SECTION 3 — TABBED FEATURE SHOWCASE
     Left tab list with a sliding highlight; right side is a
     browser-frame mockup whose content crossfades per tab.
     ============================================================ */
  .features{
    position:relative;
    background: transparent;
    padding: 120px 24px 140px;
  }
  .features-head{
    max-width: 720px;
    margin: 0 auto 64px;
    text-align:center;
  }
  .features-head h2{
    font-size: clamp(30px, 4vw, 44px);
    font-weight:700;
    letter-spacing:-0.02em;
    color: var(--ink);
    margin-bottom:14px;
  }
  .features-head p{
    font-size:17px;
    color: var(--ink-soft);
    line-height:1.55;
  }
  .features-body{
    max-width: 1180px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items:start;
  }
  .tab-list{
    position:relative;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(120,97,236,0.14);
    border-radius: 20px;
    padding: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(43,59,201,0.06);
  }
  .tab-highlight{
    position:absolute;
    left:8px; right:8px;
    top:8px;
    height: 84px;
    background: linear-gradient(135deg, rgba(120,97,236,0.14), rgba(43,59,201,0.09));
    border: 1px solid rgba(120,97,236,0.28);
    border-radius: 14px;
    opacity:0;
    transition: transform 420ms cubic-bezier(.65,0,.35,1), opacity 300ms ease;
    z-index:0;
    pointer-events:none;
  }
  .tab-item{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    text-align:left;
    background:none;
    border:none;
    cursor:pointer;
    padding: 16px 18px;
    border-radius:14px;
    font-family:inherit;
  }
  .tab-item + .tab-item{ margin-top:4px; }
  .tab-item .tab-num{
    font-size:11px;
    font-weight:700;
    letter-spacing:0.06em;
    color: var(--brand);
    opacity:0.7;
  }
  .tab-item h3{
    font-size:16px;
    font-weight:700;
    color: var(--ink);
    margin: 3px 0 4px;
    transition: color 200ms ease;
  }
  .tab-item p{
    font-size:13.5px;
    color: var(--ink-soft);
    line-height:1.4;
  }
  .tab-item[aria-selected="true"] h3{ color:#2B3BC9; }

  .preview-frame{
    background:#fff;
    border-radius: 20px;
    border: 1px solid rgba(120,120,150,0.12);
    box-shadow: 0 20px 60px rgba(43,59,201,0.1);
    overflow:hidden;
  }
  .preview-topbar{
    display:flex;
    align-items:center;
    gap:7px;
    padding: 14px 18px;
    background: linear-gradient(180deg, #faf9ff, #f3f1fb);
    border-bottom: 1px solid rgba(120,120,150,0.1);
  }
  .preview-topbar span{
    width:10px; height:10px; border-radius:50%;
    background: rgba(120,97,236,0.25);
  }
  .preview-content{
    padding: 40px 44px 36px;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .preview-content.is-swapping{
    opacity:0;
    transform: translateY(8px);
  }
  .preview-eyebrow{
    font-size:12px; font-weight:700; letter-spacing:0.08em;
    color:#2B3BC9; margin-bottom:10px;
  }
  .preview-content h3{
    font-size: clamp(24px,3vw,32px);
    font-weight:700;
    color: var(--ink);
    margin-bottom:10px;
    letter-spacing:-0.01em;
  }
  .preview-content p.preview-sub{
    font-size:15.5px;
    color: var(--ink-soft);
    line-height:1.6;
    max-width:480px;
    margin-bottom:22px;
  }
  .preview-learn{
    display:inline-flex; align-items:center; gap:9px;
    font-size:14px; font-weight:600; color:#2B3BC9;
    margin-bottom: 30px;
  }
  .preview-learn .arrow{
    width:26px;height:26px;border-radius:8px;
    background:#2B3BC9; color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:13px;
    box-shadow: 0 4px 12px rgba(43,59,201,0.35);
  }
  .stat-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:20px;
  }
  .stat-card{
    display:flex; align-items:center; gap:12px;
    background: linear-gradient(160deg, #faf9ff, #f4f2fc);
    border:1px solid rgba(120,97,236,0.12);
    border-radius:14px;
    padding:14px 16px;
  }
  .stat-card .stat-icon{
    width:36px;height:36px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    color: var(--brand);
    background: rgba(120,97,236,0.12);
    flex-shrink:0;
  }
  .stat-card .stat-icon svg{
    width:18px;height:18px;
  }
  .stat-card .stat-label{
    font-size:11.5px; color: var(--ink-soft); font-weight:600;
    text-transform:uppercase; letter-spacing:0.03em;
  }
  .stat-card .stat-value{
    font-size:17px; font-weight:700; color: var(--ink);
  }
  .preview-ticker{
    border-top:1px solid rgba(120,120,150,0.1);
    padding-top:14px;
    text-align:center;
    font-size:11.5px;
    letter-spacing:0.04em;
    color: rgba(51,51,74,0.5);
  }

  @media (max-width: 860px){
    .features{ padding: 80px 20px 100px; }
    .features-body{ grid-template-columns:1fr; gap:20px; }
    .tab-list{ display:flex; overflow-x:auto; gap:8px; -webkit-overflow-scrolling:touch; }
    .tab-highlight{ display:none; }
    /* The sliding .tab-highlight only exists on desktop, so without it
       a tab-item is just plain text — nothing marks it as tappable or
       shows which one is active. Give every tab its own resting chip
       and a stronger highlighted state on the selected one, standing
       in for the highlight bar. */
    .tab-item{
      flex:0 0 auto;
      min-width:220px;
      background: rgba(255,255,255,0.55);
      border: 1px solid rgba(120,97,236,0.16);
      box-shadow: 0 4px 14px rgba(43,59,201,0.05);
    }
    .tab-item[aria-selected="true"]{
      background: linear-gradient(135deg, rgba(120,97,236,0.18), rgba(43,59,201,0.10));
      border-color: rgba(120,97,236,0.42);
      box-shadow: 0 8px 22px rgba(43,59,201,0.14);
    }
    .tab-item + .tab-item{ margin-top:0; }
    .preview-content{ padding: 28px 22px 26px; }
    .stat-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  }

  /* ============================================================
     SHARED SCROLLING GRADIENT BACKGROUND (section 3 onward)
     A sticky full-viewport layer sits behind every section from
     Features onward; those sections keep transparent backgrounds
     so it shows through. Position drifts as a direct function of
     scroll progress through the whole wrapper (no easing/inertia).
     ============================================================ */
  .scroll-gradient-wrap{
    position:relative;
  }
  .scroll-gradient-bg{
    position:sticky;
    top:0;
    height:100vh;
    margin-bottom:-100vh;
    z-index:0;
    overflow:hidden;
    pointer-events:none;
    background:#fbfbfe;
  }
  /* Each blob is its own element so JS can move and pulse it on a
     different sine phase/frequency — reads as organic, semi-random
     motion while still being a pure function of scroll progress. */
  .gradient-blob{
    position:absolute;
    left: var(--bx);
    top: var(--by);
    width: var(--bs);
    height: var(--bs);
    margin-left: calc(var(--bs) * -0.5);
    margin-top: calc(var(--bs) * -0.5);
    border-radius:50%;
    background: radial-gradient(circle, rgba(var(--bc), 0.92) 0%, rgba(var(--bc), 0.55) 38%, rgba(var(--bc), 0) 72%);
    will-change: transform, opacity;
  }
  .scroll-gradient-streaks{
    position:absolute;
    inset:-25%;
    background: repeating-linear-gradient(
      118deg,
      rgba(255,255,255,0.55) 0px,
      rgba(255,255,255,0.55) 1px,
      transparent 1px,
      transparent 68px
    );
    mix-blend-mode: soft-light;
    opacity:0.65;
    will-change: transform;
  }

  /* ============================================================
     SECTION 4 — BUILT FOR HOW YOU WORK (use-case cards)
     ============================================================ */
  .usecases{
    position:relative;
    background: transparent;
  }
  .sr-only{
    position:absolute;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
  }

  /* ---- carousel ---- */
  .usecases-carousel{
    position:relative;
    height: 240vh;
  }
  .usecases-pin{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    align-items:center;
    gap:80px;
    width:100%;
    padding-left: clamp(24px, 7vw, 120px);
  }
  .usecases-left{
    flex:0 0 440px;
    opacity:0;
    transform: translateY(-28px);
    transition: opacity 700ms ease, transform 700ms ease;
  }
  .usecases-left.is-visible{
    opacity:1;
    transform:translateY(0);
  }
  .usecase-title-canvas{
    display:block;
    width:100%;
    height:auto;
    cursor:pointer;
  }
  .usecases-sub{
    max-width: 380px;
    margin: 20px 0 0;
    font-size:15.5px;
    line-height:1.6;
    color: var(--ink-soft);
  }
  .usecases-nav{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .usecases-nav-item{
    display:flex;
    align-items:baseline;
    gap:10px;
    text-align:left;
    background:none;
    border:none;
    font-family:inherit;
    padding:12px 16px;
    border-radius:12px;
    cursor:pointer;
    color: rgba(51,51,74,0.35);
    transition: color 280ms ease, background 280ms ease;
  }
  .usecases-nav-item:hover{
    color: rgba(46,59,193,0.7);
  }
  .usecases-nav-item .usecases-nav-num{
    font-size:11px;
    font-weight:800;
    letter-spacing:0.04em;
  }
  .usecases-nav-item span:last-child{
    font-size:14.5px;
    font-weight:700;
    letter-spacing:-0.01em;
  }
  .usecases-nav-item.active{
    color:#2E3BC1;
    background: rgba(46,59,193,0.08);
  }
  .usecases-track-wrap{
    flex:1;
    height:580px;
    overflow:hidden;
  }
  .usecases-track{
    display:flex;
    gap:28px;
    height:100%;
    will-change: transform;
  }
  .usecase-card{
    position:relative;
    flex:0 0 360px;
    height:100%;
    border-radius:26px;
    background: var(--card-color);
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  .usecase-card-num{
    position:absolute;
    top:22px; left:22px;
    z-index:2;
    background:#fff;
    color: var(--card-color);
    font-weight:800;
    font-size:13px;
    padding:6px 12px;
    border-radius:10px;
  }
  .usecase-card-image{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 70px 26px 20px;
    min-height:0;
  }
  .usecase-card-illustration{
    width:100%;
    height:100%;
    object-fit:contain;
    /* source art is dark line-work; recolor to white so it reads
       against the vivid card backgrounds */
    filter: brightness(0) invert(1);
    opacity:0.92;
  }
  .usecase-card-bottom{
    flex:0 0 auto;
    height:112px;
    padding: 22px 26px;
    background: rgba(0,0,0,0.16);
    overflow:hidden;
    transition: height 480ms cubic-bezier(.65,0,.35,1);
  }
  .usecase-card-bottom h3{
    color:#fff;
    font-size:20px;
    font-weight:700;
    letter-spacing:-0.01em;
    margin-bottom:10px;
  }
  .usecase-card-bottom p{
    color: rgba(255,255,255,0.85);
    font-size:14px;
    line-height:1.6;
    opacity:0;
    transform: translateY(10px);
    transition: opacity 320ms ease, transform 320ms ease;
  }
  .usecase-card.is-active .usecase-card-bottom{
    height:232px;
  }
  .usecase-card.is-active .usecase-card-bottom p{
    opacity:1;
    transform:translateY(0);
    transition-delay:200ms;
  }

  @media (max-width: 900px){
    .usecases-carousel{ height:auto; }
    .usecases-pin{
      position:static;
      height:auto;
      flex-direction:column;
      align-items:stretch;
      gap:28px;
      padding: 60px 20px 100px;
    }
    .usecases-left{ flex:none; opacity:1; transform:none; }
    .usecases-nav{ display:none; }
    .usecases-track-wrap{ height:auto; overflow:visible; }
    .usecases-track{
      flex-direction:column;
      height:auto;
      transform:none !important;
    }
    .usecase-card{ flex:none; height:auto; }
    .usecase-card-image{ min-height:220px; padding: 60px 22px 20px; }
    .usecase-card-bottom{ height:auto !important; }
    .usecase-card-bottom p{ opacity:1 !important; transform:none !important; }
  }

  /* ============================================================
     SECTION 5 — ROI CALCULATOR (two stacked counting cards)
     Card 1 counts up first; once its transition window starts,
     card 2 slides up from below and takes over — both driven by
     one continuous scroll progress value, no easing/inertia.
     ============================================================ */
  .roi{
    position:relative;
  }
  .roi-scroll{
    position:relative;
    height: 280vh;
  }
  .roi-pin{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding: 40px 24px;
  }
  .roi-head{
    text-align:center;
    max-width:640px;
    margin-bottom:36px;
  }
  .roi-eyebrow{
    font-size:12px;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:#2E3BC1;
    margin-bottom:12px;
  }
  .roi-head h2{
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight:700;
    letter-spacing:-0.02em;
    color: var(--ink);
  }
  .roi-stage{
    position:relative;
    width:100%;
    max-width:920px;
    height:380px;
  }
  .roi-card{
    position:absolute;
    inset:0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border: 1.5px solid #2E3BC1;
    border-radius:24px;
    box-shadow: 0 30px 80px rgba(20,20,60,0.14);
    padding: 34px 40px 0;
    display:flex;
    flex-direction:column;
    will-change: transform, filter;
  }
  .roi-card:last-child{
    z-index:1;
  }
  .roi-card-title{
    font-size:15px;
    font-weight:700;
    color: var(--ink);
    padding-bottom:18px;
    border-bottom: 1px solid rgba(20,20,60,0.08);
    margin-bottom:22px;
  }
  .roi-slider-label{
    font-size:14px;
    color: var(--ink-soft);
    margin-bottom:12px;
  }
  .roi-slider-track{
    position:relative;
    height:52px;
    border-radius:100px;
    background: linear-gradient(120deg, #10162c, #1a2447);
    overflow:hidden;
    margin-bottom:30px;
  }
  .roi-slider-fill{
    position:relative;
    height:100%;
    min-width:150px;
    border-radius:100px;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
  }
  .roi-slider-pill{
    position:absolute;
    top:50%; right:6px;
    transform:translateY(-50%);
    background:#95BF45;
    color:#132014;
    font-weight:800;
    font-size:13.5px;
    padding:8px 14px;
    border-radius:100px;
    white-space:nowrap;
  }
  .roi-stats{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(20,20,60,0.08);
    margin-top:14px;
  }
  .roi-stat{
    text-align:center;
    padding: 26px 12px 30px;
  }
  .roi-stat + .roi-stat{
    border-left: 1px solid rgba(20,20,60,0.08);
  }
  .roi-stat-icon{
    width:38px; height:38px;
    margin: 0 auto 14px;
    color:#2E3BC1;
  }
  .roi-stat-icon svg{
    width:100%; height:100%;
  }
  .roi-stat-value{
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight:800;
    color: var(--ink);
    letter-spacing:-0.02em;
  }
  .roi-stat-label{
    margin-top:6px;
    font-size:12.5px;
    color: var(--ink-soft);
    line-height:1.4;
  }

  /* Below 900px the two-card cover/count-up effect stays pinned and
     scroll-scrubbed exactly like desktop (roi.js drives it identically
     on every viewport) — this block only shrinks sizing so the same
     absolute-positioned overlap still fits a narrower, shorter stage. */
  @media (max-width: 900px){
    .roi-pin{ padding: 32px 20px; }
    .roi-head{ margin-bottom:22px; }
    .roi-stage{ height:400px; }
    .roi-card{ padding: 22px 18px 0; }
    .roi-card-title{ padding-bottom:14px; margin-bottom:16px; }
    .roi-slider-label{ margin-bottom:8px; }
    .roi-slider-track{ height:44px; margin-bottom:18px; }
    .roi-stats{ margin-top:6px; }
    .roi-stat{ padding: 16px 6px 18px; }
    .roi-stat-icon{ width:28px; height:28px; margin-bottom:8px; }
    .roi-stat-label{ font-size:11px; margin-top:4px; }
  }

  /* ============================================================
     DIVIDER — cursor-tracked glow dots (same mechanic as the hero
     mosaic, reused as a filler strip so the gap between the ROI
     section and the section after it isn't a dead stretch of scroll).
     ============================================================ */
  .divider{
    position:relative;
    height: 16vh;
    overflow:hidden;
  }
  .divider-grid{
    position:absolute;
    inset:0;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    grid-auto-rows: 48px;
    gap: 4px;
    padding: 4px;
  }
  .divider-dot{
    border-radius: 14px;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.9), rgba(255,255,255,0.15) 70%);
    transition: opacity 90ms linear;
    will-change: opacity;
  }
  @media (max-width: 900px){
    .divider{ height: 10vh; }
  }

  /* ============================================================
     SECTION 6 — THE ROI CASE (orbiting platform icons + scroll-
     activated benefit cards). Left: Catmerce fixed center, Meta/
     Shopify/Woo orbit continuously as a pure function of scroll.
     Right: eyebrow/headline/CTA, then 6 glass cards where one
     expands at a time as scroll passes through 6 equal segments.
     ============================================================ */
  .roi-case{
    position:relative;
  }
  .roi-case-scroll{
    position:relative;
    height: 320vh;
  }
  .roi-case-pin{
    position:sticky;
    top:0;
    height:100vh;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    overflow:hidden;
    padding: 40px 0;
  }
  .roi-case-ring-col{
    --ring-size: min(78vw, 82vh, 820px);
    position:absolute;
    left: calc(var(--ring-size) * -0.46);
    top:50%;
    transform:translateY(-50%);
    z-index:0;
  }
  .roi-case-ring{
    --orbit-radius: calc(var(--ring-size) * 0.415);
    position:relative;
    width:var(--ring-size);
    height:var(--ring-size);
  }
  .roi-case-ring-svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }
  .roi-case-ring-svg circle{
    fill:none;
    stroke: rgba(43,59,201,0.18);
    stroke-width:1.5;
  }
  .roi-case-ticks circle{
    stroke: rgba(43,59,201,0.32);
    stroke-width:2;
    stroke-linecap:round;
  }
  .roi-case-orbit-item{
    position:absolute;
    top:50%; left:50%;
    width:0; height:0;
    transform: rotate(var(--angle,0deg)) translateY(calc(var(--orbit-radius) * -1));
    will-change: transform;
  }
  .roi-case-orbit-icon{
    position:absolute;
    top:0; left:0;
    width: clamp(96px, 9.4vw, 158px);
    height:auto;
    transform: translate(-50%,-50%) rotate(calc(var(--angle,0deg) * -1));
    filter: drop-shadow(0 20px 36px rgba(20,20,60,0.24));
    transition: opacity 120ms linear;
    will-change: opacity;
  }
  .roi-case-center-icon{
    position:absolute;
    top:50%; left:50%;
    width: clamp(120px, 11vw, 180px);
    height:auto;
    transform: translate(-50%,-50%);
    filter: drop-shadow(0 16px 32px rgba(20,20,60,0.24));
  }
  .roi-case-content{
    position:relative;
    z-index:1;
    flex:0 0 auto;
    width: min(46vw, 620px);
    margin-right: clamp(40px, 6vw, 110px);
  }
  .roi-case-eyebrow{
    font-size:12px;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:#2E3BC1;
    margin-bottom:12px;
  }
  .roi-case-headline{
    font-size: clamp(26px, 3vw, 36px);
    font-weight:700;
    letter-spacing:-0.02em;
    line-height:1.18;
    color: var(--ink);
    margin-bottom:14px;
  }
  .roi-case-sub{
    font-size:15px;
    color: var(--ink-soft);
    line-height:1.6;
    margin-bottom:22px;
  }
  .roi-case-cta{
    display:inline-flex;
    align-items:center;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    color:#fff;
    font-weight:700;
    font-size:14px;
    padding:13px 26px;
    border-radius:100px;
    text-decoration:none;
    box-shadow: 0 14px 34px rgba(46,59,193,0.28);
    margin-bottom:28px;
  }
  .roi-case-cards{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .roi-case-card{
    background: linear-gradient(155deg, rgba(255,255,255,0.26), rgba(255,255,255,0.08));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius:16px;
    padding: 14px 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 30px rgba(20,20,60,0.06);
    transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  }
  .roi-case-card.is-active{
    background: linear-gradient(155deg, rgba(255,255,255,0.4), rgba(255,255,255,0.16));
    border-color: rgba(46,59,193,0.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 18px 40px rgba(20,20,60,0.14);
  }
  .roi-case-card-row{
    display:flex;
    align-items:center;
    gap:14px;
  }
  .roi-case-card-icon{
    flex-shrink:0;
    width:34px; height:34px;
    border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    color:#2E3BC1;
    background: rgba(46,59,193,0.1);
    transition: color 300ms ease, background 300ms ease;
  }
  .roi-case-card-icon svg{ width:17px; height:17px; }
  .roi-case-card.is-active .roi-case-card-icon{
    color:#fff;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
  }
  .roi-case-card-title{
    font-size:14.5px;
    font-weight:700;
    color: var(--ink);
  }
  .roi-case-card-desc-wrap{
    display:grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 350ms ease;
  }
  .roi-case-card-desc-wrap > div{
    overflow:hidden;
  }
  .roi-case-card-desc-wrap p{
    font-size:13px;
    color: var(--ink-soft);
    line-height:1.5;
    padding: 10px 0 2px 48px;
  }
  .roi-case-card.is-active .roi-case-card-desc-wrap{
    grid-template-rows: 1fr;
  }

  @media (max-width: 1000px){
    .roi-case-content{ width:100%; margin-right:0; }
  }
  @media (max-width: 900px){
    .roi-case-scroll{ height:auto; }
    .roi-case-pin{
      position:static;
      height:auto;
      overflow:visible;
      flex-direction:column;
      justify-content:flex-start;
      padding: 70px 20px 90px;
      gap: 36px;
    }
    .roi-case-ring-col{
      --ring-size: min(70vw, 320px);
      position:static;
      left:auto; top:auto;
      transform:none;
      display:flex;
      justify-content:center;
      width:100%;
    }
    .roi-case-orbit-icon{ width:56px; }
    .roi-case-center-icon{ width:84px; }
    .roi-case-content{ width:100%; margin-right:0; }
  }

  /* ============================================================
     SECTION 7 — PRICING
     A static (not scroll-scrubbed) section that fades/rises in once.
     Monthly/Annually is a click-driven segmented toggle with a
     sliding pill; switching mode crossfades each card's price and
     reveals a strikethrough of the monthly-equivalent rate.
     ============================================================ */
  .pricing{
    position:relative;
    padding: 140px 24px 160px;
    opacity:0;
    transform: translateY(34px);
    transition: opacity 750ms ease, transform 750ms ease;
  }
  .pricing.is-visible{
    opacity:1;
    transform:none;
  }
  .pricing-head{
    max-width:640px;
    margin: 0 auto 44px;
    text-align:center;
  }
  .pricing-eyebrow{
    font-size:12px;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:#2E3BC1;
    margin-bottom:12px;
  }
  .pricing-headline{
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight:700;
    letter-spacing:-0.02em;
    line-height:1.18;
    color: var(--ink);
    margin-bottom:14px;
  }
  .pricing-sub{
    font-size:15.5px;
    color: var(--ink-soft);
    line-height:1.6;
    margin-bottom:30px;
  }
  .pricing-toggle{
    position:relative;
    display:inline-flex;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(46,59,193,0.16);
    backdrop-filter: blur(12px);
    border-radius:100px;
    padding:5px;
    gap:2px;
    box-shadow: 0 10px 30px rgba(20,20,60,0.06);
  }
  .pricing-toggle-pill{
    position:absolute;
    top:5px; bottom:5px;
    left:0;
    width:0;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    border-radius:100px;
    transition: transform 320ms cubic-bezier(.65,0,.35,1), width 320ms cubic-bezier(.65,0,.35,1);
    box-shadow: 0 6px 18px rgba(46,59,193,0.32);
  }
  .pricing-toggle-btn{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:none;
    border:none;
    font-family:inherit;
    font-size:13.5px;
    font-weight:700;
    color: var(--ink-soft);
    padding:10px 20px;
    border-radius:100px;
    cursor:pointer;
    transition: color 250ms ease;
  }
  .pricing-toggle-btn.is-active{
    color:#fff;
  }
  .pricing-toggle-save{
    font-size:10.5px;
    font-weight:800;
    letter-spacing:0.02em;
    color:#95BF45;
    background: rgba(149,191,69,0.16);
    padding:2px 7px;
    border-radius:100px;
    transition: color 250ms ease, background 250ms ease;
  }
  .pricing-toggle-btn.is-active .pricing-toggle-save{
    color:#fff;
    background: rgba(255,255,255,0.22);
  }

  .pricing-grid{
    max-width:1280px;
    margin:0 auto;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
    align-items:stretch;
  }
  .pricing-card{
    position:relative;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(46,59,193,0.14);
    border-radius:22px;
    padding: 30px 26px 32px;
    display:flex;
    flex-direction:column;
    box-shadow: 0 14px 40px rgba(20,20,60,0.06);
    transition: transform 300ms ease, box-shadow 300ms ease;
  }
  .pricing-card.is-popular{
    background: rgba(255,255,255,0.94);
    border-color: rgba(46,59,193,0.5);
    box-shadow: 0 26px 60px rgba(46,59,193,0.2);
    transform: translateY(-10px);
  }
  .pricing-popular-badge{
    position:absolute;
    top:-13px; left:50%;
    transform:translateX(-50%);
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    color:#fff;
    font-size:10.5px;
    font-weight:800;
    letter-spacing:0.05em;
    padding:5px 14px;
    border-radius:100px;
    box-shadow: 0 8px 18px rgba(46,59,193,0.35);
  }
  .pricing-tier{
    font-size:13px;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color: var(--ink);
    margin-bottom:8px;
  }
  .pricing-blurb{
    font-size:13px;
    color: var(--ink-soft);
    line-height:1.5;
    min-height:36px;
    margin-bottom:18px;
  }
  .pricing-price{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:4px;
  }
  .pricing-price-strike{
    font-size:16px;
    font-weight:600;
    color: rgba(51,51,74,0.4);
    text-decoration: line-through;
  }
  .pricing-price-amount{
    font-size: clamp(32px, 2.6vw, 40px);
    font-weight:800;
    letter-spacing:-0.02em;
    color: var(--ink);
    transition: opacity 140ms ease, transform 140ms ease;
  }
  .pricing-price-amount.is-changing{
    opacity:0;
    transform: translateY(6px);
  }
  .pricing-price-period{
    font-size:13px;
    color: var(--ink-soft);
  }
  .pricing-price-note{
    font-size:12px;
    color: var(--ink-soft);
    opacity:0.75;
    margin-bottom:22px;
  }
  .pricing-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    color:#fff;
    font-weight:700;
    font-size:13.5px;
    padding:13px 20px;
    border-radius:100px;
    text-decoration:none;
    box-shadow: 0 10px 26px rgba(46,59,193,0.24);
    margin-bottom:26px;
  }
  .pricing-card:not(.is-popular) .pricing-cta{
    background: rgba(46,59,193,0.08);
    color:#2E3BC1;
    box-shadow:none;
  }
  .pricing-features{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .pricing-features li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    color: var(--ink-soft);
    line-height:1.4;
  }
  .pricing-check{
    flex-shrink:0;
    width:18px; height:18px;
    color:#2E3BC1;
  }
  .pricing-check svg{ width:100%; height:100%; }

  @media (max-width: 1100px){
    .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
    .pricing-card.is-popular{ transform:none; }
  }
  @media (max-width: 640px){
    .pricing{ padding: 90px 20px 100px; }
    .pricing-grid{ grid-template-columns: 1fr; }
  }

  /* ============================================================
     SECTION 8 — FOOTER
     Lives inside the shared scroll-gradient-wrap so it's the exact
     same sticky background (same blobs, same streaks) the rest of
     the page uses — gradient-bg.js darkens that shared background's
     base color as the footer approaches, so there's no seam between
     "one section" and "the next": it's literally one continuous
     background the whole way down. The big "Catmerce" wordmark is
     rebuilt letter-by-letter from the source logo's paths so each
     glyph is independently draggable (desktop only) — drop it
     anywhere and it stays; mousedown on empty space animates every
     letter back home.
     ============================================================ */
  .site-footer{
    position:relative;
    background:transparent;
    overflow:hidden;
  }

  .footer-inner{
    position:relative;
    z-index:1;
    max-width:1280px;
    margin:0 auto;
    padding: 100px 24px 0;
  }
  .footer-columns{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:32px;
    padding-bottom:64px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .footer-col-title{
    font-size:12px;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.4);
    margin-bottom:16px;
  }
  .footer-col a{
    display:block;
    font-size:14px;
    color:rgba(255,255,255,0.8);
    text-decoration:none;
    padding:7px 0;
    transition:color 200ms ease;
  }
  .footer-col a:hover{
    color:#fff;
  }

  .footer-logo-drag{
    position:relative;
    height: clamp(120px, 15vw, 240px);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:2px;
    margin: 54px 0 6px;
    color: rgba(255,255,255,0.95);
  }
  .footer-logo-letter{
    position:relative;
    height:100%;
    display:flex;
    cursor:grab;
    border-radius:6px;
    transition: box-shadow 150ms ease;
  }
  .footer-logo-letter svg{
    height:100%;
    width:auto;
    display:block;
    pointer-events:none;
  }
  .footer-logo-letter:hover:not(.is-dragging){
    box-shadow: inset 0 0 0 1.5px rgba(130,170,255,0.9);
  }
  .footer-logo-letter.is-dragging{
    cursor:grabbing;
    z-index:5;
  }
  .footer-logo-letter.is-resetting{
    transition: transform 550ms cubic-bezier(.34,1.4,.44,1);
  }

  .footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    padding:28px 0 36px;
    border-top:1px solid rgba(255,255,255,0.1);
  }
  .footer-bottom-brand{
    display:flex;
    align-items:center;
    gap:16px;
  }
  .footer-bottom-logo{
    width:92px;
    height:auto;
    flex-shrink:0;
  }
  .footer-bottom-logo path{
    fill:rgba(255,255,255,0.9);
  }
  .footer-bottom-tagline{
    font-size:13px;
    color:rgba(255,255,255,0.48);
  }
  .footer-bottom-copy{
    font-size:12.5px;
    color:rgba(255,255,255,0.44);
  }
  .footer-bottom-social{
    display:flex;
    gap:12px;
  }
  .footer-bottom-social a{
    width:34px; height:34px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.08);
    color:rgba(255,255,255,0.75);
    transition: background 200ms ease, color 200ms ease;
  }
  .footer-bottom-social a svg{ width:16px; height:16px; }
  .footer-bottom-social a:hover{
    background:rgba(255,255,255,0.18);
    color:#fff;
  }

  @media (max-width: 900px){
    .footer-inner{ padding-top:70px; }
    .footer-columns{ grid-template-columns: repeat(2, 1fr); gap:30px 20px; }
    .footer-logo-drag{ pointer-events:none; }
    .footer-logo-letter{ cursor:default; }
    .footer-logo-letter:hover{ box-shadow:none; }
    .footer-bottom{ flex-direction:column; align-items:flex-start; }
  }
  @media (max-width: 560px){
    .footer-columns{ grid-template-columns: 1fr 1fr; }
  }

  /* ============================================================
     FLOATING NAV — one real element, not a lookalike popup
     The pill itself is what transforms: at rest it's a bottom-fixed
     glass bar (collapsing to just the mark on scroll down, expanding
     on scroll up — direction-based, the one deliberate exception to
     the page's pure-scroll-position rule, since hide-on-down is
     inherently about direction). Clicking Register or the hamburger
     makes that same element grow taller and slide up to the center
     of the screen, becoming the popup — a shared-element transition,
     not a second element that merely looks like it. Both position
     (top/transform, so light and dark states share one animatable
     property) and size animate together; the bar content crossfades
     out as the relevant popup pane crossfades in.
     ============================================================ */
  .nav-backdrop{
    position:fixed;
    inset:0;
    z-index:190;
    background:rgba(8,9,20,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition: opacity 320ms ease, visibility 0s linear 320ms;
  }
  .nav-backdrop.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition: opacity 320ms ease, visibility 0s linear 0s;
  }
  .site-nav{
    position:fixed;
    left:0; right:0;
    top:100%;
    transform: translateY(calc(-100% - 24px));
    display:flex;
    justify-content:center;
    z-index:200;
    pointer-events:none;
    transition: top 520ms cubic-bezier(.34,1.15,.4,1), transform 520ms cubic-bezier(.34,1.15,.4,1);
  }
  .site-nav.is-open{
    top:50%;
    transform:translateY(-50%);
  }
  .site-nav-pill{
    position:relative;
    pointer-events:auto;
    background: rgba(22,24,38,0.38);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.22);
    overflow:hidden;
    width: min(92vw, 420px);
    height:64px;
    max-height:88vh;
    border-radius:100px;
    transition: width 520ms cubic-bezier(.34,1.15,.4,1), height 520ms cubic-bezier(.34,1.15,.4,1), border-radius 520ms cubic-bezier(.34,1.15,.4,1), background 380ms ease, border-color 380ms ease;
  }
  .site-nav-pill.is-collapsed{
    width:56px;
    height:56px;
    border-radius:50%;
  }
  .site-nav.is-open .site-nav-pill{
    width: min(92vw, 420px);
    height:min(460px, 82vh);
    border-radius:28px;
    background:#f4f3fa;
    border-color:transparent;
    box-shadow:0 30px 80px rgba(0,0,0,0.4);
  }

  .site-nav-bar{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 10px;
    opacity:1;
    transition: opacity 200ms ease;
  }
  .site-nav.is-open .site-nav-bar{
    opacity:0;
    pointer-events:none;
  }
  .site-nav-burger{
    width:36px; height:36px;
    max-width:36px;
    border-radius:50%;
    background:rgba(255,255,255,0.12);
    border:none;
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    flex-shrink:0;
    overflow:hidden;
    transition: max-width 380ms cubic-bezier(.65,0,.35,1), opacity 200ms ease;
  }
  .site-nav-burger svg{ width:15px; height:15px; }
  .site-nav-logo{
    width:22px;
    flex-shrink:0;
    display:flex;
    align-items:center;
  }
  .site-nav-logo img{ width:100%; height:auto; display:block; }
  .site-nav-register{
    max-width:160px;
    background:#fff;
    color:#0d0e1a;
    font-family:inherit;
    font-weight:700;
    font-size:13.5px;
    padding:11px 20px;
    border-radius:100px;
    border:none;
    cursor:pointer;
    flex-shrink:0;
    white-space:nowrap;
    overflow:hidden;
    transition: max-width 380ms cubic-bezier(.65,0,.35,1), padding 380ms cubic-bezier(.65,0,.35,1), opacity 200ms ease;
  }
  .site-nav-pill.is-collapsed .site-nav-burger{
    max-width:0;
    opacity:0;
    pointer-events:none;
  }
  .site-nav-pill.is-collapsed .site-nav-register{
    max-width:0;
    padding-left:0;
    padding-right:0;
    opacity:0;
    pointer-events:none;
  }

  /* Sits OUTSIDE the pill (a sibling in #siteNav, not a child) so its
     circle isn't clipped by the pill's own overflow:hidden — positioned
     just under the pill's bottom edge, centered. */
  .site-nav-popup-close{
    position:absolute;
    top:100%; left:50%;
    transform:translate(-50%, 0) scale(0.7);
    margin-top:16px;
    z-index:2;
    width:36px; height:36px;
    border-radius:50%;
    background:#fff;
    border:none;
    color:var(--ink);
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 26px rgba(0,0,0,0.28);
    opacity:0;
    pointer-events:none;
    transition: opacity 220ms ease 280ms, transform 220ms ease 280ms;
  }
  .site-nav.is-open .site-nav-popup-close{
    opacity:1;
    pointer-events:auto;
    transform:translate(-50%, 0) scale(1);
  }
  .site-nav-popup-close svg{ width:15px; height:15px; }

  .site-nav-popup-body{
    position:absolute;
    inset:0;
    opacity:0;
    transform:translateY(10px);
    pointer-events:none;
    transition: opacity 320ms ease 260ms, transform 320ms ease 260ms;
  }
  .site-nav.is-open .site-nav-popup-body{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .site-nav-popup-pane{
    display:none;
    height:100%;
    overflow-y:auto;
  }
  .site-nav-popup-pane.is-active{ display:block; }

  .signup-content{
    padding: 34px 32px 30px;
  }
  .signup-title{
    font-size:24px;
    font-weight:700;
    color: var(--ink);
    letter-spacing:-0.02em;
    margin-bottom:8px;
  }
  .signup-sub{
    font-size:14px;
    color: var(--ink-soft);
    line-height:1.5;
    margin-bottom:26px;
  }
  .signup-form{
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  .signup-field-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .signup-field{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .signup-error{
    font-size:12px;
    color:#c0392b;
    margin-top:2px;
  }
  .signup-field span{
    font-size:12.5px;
    font-weight:600;
    color: var(--ink-soft);
  }
  .signup-field input{
    font-family:inherit;
    font-size:14px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid rgba(20,20,60,0.14);
    background:#fff;
    color: var(--ink);
    outline:none;
    transition:border-color 200ms ease;
  }
  .signup-field input:focus{
    border-color:#2E3BC1;
  }
  .signup-checkbox{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:4px;
    cursor:pointer;
  }
  .signup-checkbox input{
    margin-top:2px;
    width:16px;
    height:16px;
    flex-shrink:0;
    accent-color:#2E3BC1;
    cursor:pointer;
  }
  .signup-checkbox span{
    font-size:12.5px;
    line-height:1.5;
    color: var(--ink-soft);
  }
  .signup-checkbox a{
    color:#2E3BC1;
    font-weight:600;
    text-decoration:none;
  }
  .signup-checkbox a:hover{
    text-decoration:underline;
  }
  .signup-submit{
    margin-top:6px;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    color:#fff;
    font-family:inherit;
    font-weight:700;
    font-size:14px;
    padding:13px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    box-shadow:0 14px 34px rgba(46,59,193,0.26);
    transition:opacity 200ms ease;
  }
  .signup-submit.is-loading{
    opacity:0.7;
    cursor:default;
  }
  .signup-footnote{
    margin-top:18px;
    text-align:center;
    font-size:13px;
    color: var(--ink-soft);
  }
  .signup-footnote a{
    color:#2E3BC1;
    font-weight:600;
    text-decoration:none;
  }

  /* ---- hamburger nav-links pane content ---- */
  #paneMenu{
    padding: 30px 30px 26px;
  }
  .navmenu-mark{
    position:absolute;
    top:30px; right:30px;
    width:24px;
  }
  .navmenu-mark img{ width:100%; height:auto; display:block; }
  .navmenu-links{
    display:flex;
    flex-direction:column;
  }
  .navmenu-link{
    font-size:26px;
    font-weight:700;
    letter-spacing:-0.01em;
    color: var(--ink);
    text-decoration:none;
    padding:6px 0;
    transition:color 200ms ease;
  }
  .navmenu-link:hover{ color:#2E3BC1; }
  .navmenu-link-muted{ color: rgba(26,26,46,0.35); }
  .navmenu-divider{
    height:1px;
    background:rgba(20,20,60,0.1);
    margin:22px 0;
  }
  .navmenu-secondary{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
  }
  .navmenu-secondary-col{
    display:flex;
    flex-direction:column;
    gap:9px;
  }
  .navmenu-secondary-col a{
    font-size:13px;
    font-weight:600;
    color: var(--ink-soft);
    text-decoration:none;
  }
  .navmenu-secondary-col a:hover{ color:#2E3BC1; }
  .navmenu-cta{
    width:100%;
    background: linear-gradient(120deg, #2E3BC1, #3D75E6);
    color:#fff;
    font-family:inherit;
    font-weight:700;
    font-size:14px;
    padding:13px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    box-shadow:0 14px 34px rgba(46,59,193,0.26);
  }
  .navmenu-login{
    display:block;
    width:100%;
    margin-top:10px;
    background:transparent;
    color: var(--ink);
    font-family:inherit;
    font-weight:700;
    font-size:14px;
    padding:12px;
    border-radius:12px;
    border:1px solid rgba(20,20,60,0.14);
    text-align:center;
    text-decoration:none;
    box-sizing:border-box;
    transition: border-color 200ms ease, background 200ms ease;
  }
  .navmenu-login:hover{
    border-color:#2E3BC1;
    background:rgba(46,59,193,0.05);
  }
  @media (max-width: 600px){
    .site-nav.is-open .site-nav-pill{ width:90vw; }
    .navmenu-link{ font-size:22px; }
    .signup-field-row{ grid-template-columns:1fr; }
    .signup-content{ padding: 28px 24px 26px; }
    #paneMenu{ padding: 26px 24px 24px; }
  }

