*,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    :root {
      /* StudyUp brand - sampled from the logo and the product's --su-* design system */
      --purple: #6d4fe6;
      --purple-b: #7c4dff;
      --purple-d: #5a3fd6;
      --purple-logo: #6a36dd;
      --purple-l: #f1edff;
      --teal: #01b2c5;
      --teal-ink: #017a88;
      --teal-l: #e7f9fb;
      --orange: #f99203;
      --orange-ink: #c2620a;
      --orange-l: #fff4e6;
      --blue: #33a3ec;
      --blue-ink: #1668a6;
      --blue-l: #eaf5fe;
      --pink: #ec5fa8;
      --admin: #3762e3;
      --admin-ink: #2547ad;
      --admin-l: #edf1fd;
      --fin: #2563eb;
      --hr: #7c3aed;
      --navy: #081c51;
      --ink: #232b45;
      --muted: #5c6273;
      --muted2: #7b8194;
      --faint: #9aa0b0;
      --bg: #f8f9fc;
      --white: #ffffff;
      --line: #d9d6ea;
      --line-soft: #ecebf3;
      --dark: #0b0c2a;
      --dark2: #080920;
      --success: #0f9d6b;
      --danger: #e5484d;
      --aura: linear-gradient(100deg, #7c4dff 0%, #22c1b3 52%, #f5a623 100%);
      --grad-purple: linear-gradient(135deg, #7c4dff, #6d4fe6);
      --shadow-card: 0 30px 70px -24px rgba(84, 55, 168, .40), 0 8px 24px -12px rgba(20, 20, 45, .08);
      --shadow-btn: 0 14px 30px -10px rgba(109, 79, 230, .80);
      --font: 'Plus Jakarta Sans', 'Cairo', system-ui, sans-serif;
      --display: 'Outfit', 'Plus Jakarta Sans', 'Cairo', system-ui, sans-serif;
      --arabic: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
      --ease: cubic-bezier(.22, 1, .36, 1);
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 24px
    }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      padding-bottom: 100px
    }

    a {
      text-decoration: none;
      color: inherit
    }

    img {
      display: block;
      max-width: 100%
    }

    button {
      font: inherit;
      color: inherit;
      background: none;
      border: 0;
      cursor: pointer
    }

    [dir="rtl"],
    .ar {
      font-family: var(--arabic)
    }

    ::selection {
      background: rgba(124, 77, 255, .22)
    }

    /* ---------- shared ---------- */
    .container {
      max-width: 1200px;
      margin: 0 auto
    }

    .section {
      padding: 110px 40px;
      position: relative
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .74rem;
      font-weight: 700;
      color: var(--purple);
      text-transform: uppercase;
      letter-spacing: .16em;
      margin-bottom: 14px
    }

    .section-label::before {
      content: '';
      width: 22px;
      height: 3px;
      border-radius: 3px;
      background: var(--aura)
    }

    .section-title {
      font-family: var(--display);
      font-size: clamp(2.1rem, 4.3vw, 3.5rem);
      font-weight: 700;
      letter-spacing: -.025em;
      line-height: 1.06;
      color: var(--navy);
      margin-bottom: 18px;
      text-wrap: balance
    }

    .section-sub {
      font-size: 1.08rem;
      color: var(--muted);
      max-width: 600px;
      line-height: 1.75;
      text-wrap: pretty
    }

    .center {
      text-align: center
    }

    .center .section-sub {
      margin-left: auto;
      margin-right: auto
    }

    .grad {
      background: var(--aura);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent
    }

    .grad-purple {
      background: linear-gradient(90deg, #7c4dff, #5c19e2);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 28px;
      border-radius: 16px;
      font-size: 1rem;
      font-weight: 600;
      transition: transform .18s var(--ease), box-shadow .18s, opacity .18s, border-color .18s;
      white-space: nowrap
    }

    .btn:active {
      transform: scale(.97)
    }

    .btn-primary {
      background: var(--grad-purple);
      color: #fff;
      box-shadow: var(--shadow-btn)
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 36px -12px rgba(109, 79, 230, .9)
    }

    .btn-ghost {
      background: rgba(255, 255, 255, .75);
      border: 1px solid var(--line);
      color: var(--ink);
      backdrop-filter: blur(8px)
    }

    .btn-ghost:hover {
      border-color: var(--purple);
      transform: translateY(-2px)
    }

    .btn i,
    .btn svg {
      width: 18px;
      height: 18px
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 13px;
      border-radius: 999px;
      font-size: .8rem;
      font-weight: 600;
      background: #fff;
      border: 1px solid var(--line-soft);
      color: var(--ink);
      white-space: nowrap
    }

    .chip i,
    .chip svg {
      width: 14px;
      height: 14px
    }

    .shot {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow-card);
      outline: 1px solid rgba(20, 20, 45, .06);
      outline-offset: -1px
    }

    .shot img {
      width: 100%;
      height: auto;
      aspect-ratio: 16/9;
      object-fit: cover
    }

    /* reveal on scroll */
    .rv {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity .8s var(--ease), transform .8s var(--ease)
    }

    .rv.in {
      opacity: 1;
      transform: none
    }

    .rv.d1 {
      transition-delay: .08s
    }

    .rv.d2 {
      transition-delay: .16s
    }

    .rv.d3 {
      transition-delay: .24s
    }

    .rv.d4 {
      transition-delay: .32s
    }

    /* ---------- floating brand ---------- */
    .floating-brand {
      position: fixed;
      top: 22px;
      left: 36px;
      z-index: 1000;
      pointer-events: none
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, .82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      padding: 8px 18px 8px 12px;
      border-radius: 100px;
      border: 1px solid rgba(255, 255, 255, .9);
      box-shadow: 0 10px 30px -12px rgba(84, 55, 168, .35);
      pointer-events: auto
    }

    .nav-logo img {
      height: 30px;
      width: auto
    }

    .wordmark {
      font-family: var(--display);
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -.02em;
      color: var(--navy);
      line-height: 1
    }

    .wordmark b {
      color: var(--purple-logo);
      font-weight: 700
    }

    .nav-logo .by {
      font-size: .66rem;
      font-weight: 600;
      color: var(--muted2);
      letter-spacing: .1em;
      text-transform: uppercase;
      margin-left: 6px;
      padding-left: 10px;
      border-left: 1px solid var(--line)
    }

    /* ---------- dock ---------- */
    .dock-wrapper {
      position: fixed;
      bottom: 22px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      display: flex;
      justify-content: center;
      width: 100%;
      pointer-events: none;
      padding-bottom: env(safe-area-inset-bottom, 0px)
    }

    .dock-container {
      pointer-events: auto;
      display: flex;
      height: 64px;
      align-items: flex-end;
      gap: 12px;
      padding: 8px;
      background: rgba(236, 235, 243, .55);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, .5);
      box-shadow: 0 25px 50px -12px rgba(40, 20, 110, .25)
    }

    .dock-item {
      position: relative;
      display: flex;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #fff;
      color: var(--navy);
      transition: background .2s;
      box-shadow: 0 4px 8px -2px rgba(40, 20, 110, .15);
      border: 1px solid rgba(0, 0, 0, .04)
    }

    .dock-item:hover {
      background: var(--purple-l)
    }

    .dock-item i,
    .dock-item svg,
    .dock-item img {
      width: 20px;
      height: 20px
    }

    .dock-item img.ai-logo {
      width: 18px;
      height: 26px;
      object-fit: contain
    }

    .dock-item.primary {
      background: var(--grad-purple);
      color: #fff
    }

    .dock-tooltip {
      position: absolute;
      top: -42px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--navy);
      color: #fff;
      padding: 5px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      white-space: nowrap
    }

    .dock-item:hover .dock-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(-4px)
    }

    .dock-sep {
      width: 1px;
      height: 24px;
      background: rgba(8, 28, 81, .12);
      margin: 0 2px;
      align-self: center
    }

    /* ---------- hero ---------- */
    .hero-wrapper {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #f6f4ff 0%, #f1faf8 58%, #fdf7ef 100%);
      padding-bottom: 40px
    }

    .hero-aurora {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 60% 55% at 6% 6%, rgba(124, 77, 255, .30), transparent 62%),
        radial-gradient(ellipse 55% 50% at 94% 18%, rgba(1, 178, 197, .22), transparent 62%),
        radial-gradient(ellipse 60% 55% at 85% 88%, rgba(249, 146, 3, .18), transparent 62%),
        radial-gradient(ellipse 60% 60% at 12% 85%, rgba(109, 79, 230, .16), transparent 62%)
    }

    .blob {
      position: absolute;
      pointer-events: none;
      border-radius: 50%;
      filter: blur(0)
    }

    .hero-wave-tl {
      position: absolute;
      top: -80px;
      left: -120px;
      width: 460px;
      opacity: .55;
      pointer-events: none
    }

    .hero-wave-br {
      position: absolute;
      bottom: 120px;
      right: -140px;
      width: 520px;
      opacity: .45;
      pointer-events: none;
      transform: rotate(180deg)
    }

    .dot {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      animation: float 7s ease-in-out infinite
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-14px)
      }
    }

    .hero {
      position: relative;
      z-index: 1;
      padding: 130px 40px 8px;
      text-align: center;
      max-width: 980px;
      margin: 0 auto
    }

    .hero-mark {
      width: 64px;
      margin: 0 auto 22px;
      filter: drop-shadow(0 14px 22px rgba(109, 79, 230, .3))
    }

    .hero-mark img {
      width: 100%
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, .7);
      backdrop-filter: blur(8px);
      border-radius: 100px;
      padding: 6px 16px 6px 8px;
      font-size: .8rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 26px;
      border: 1px solid rgba(255, 255, 255, .9);
      box-shadow: 0 8px 20px -12px rgba(84, 55, 168, .4)
    }

    .hero-tag .pill {
      background: var(--grad-purple);
      color: #fff;
      border-radius: 100px;
      padding: 3px 10px;
      font-size: .7rem;
      letter-spacing: .06em;
      text-transform: uppercase
    }

    .hero h1 {
      font-family: var(--display);
      font-size: clamp(2.6rem, 6.4vw, 5.4rem);
      font-weight: 700;
      line-height: 1.04;
      letter-spacing: -.035em;
      color: var(--navy);
      margin-bottom: 22px
    }

    .hero-title-rotate {
      position: relative;
      display: block;
      overflow: hidden;
      height: 1.22em;
      width: 100%
    }

    .hero-rotate-word {
      position: absolute;
      left: 0;
      right: 0;
      text-align: center;
      font-weight: 800;
      background: var(--aura);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      white-space: nowrap;
      will-change: transform, opacity;
      padding-bottom: .08em
    }

    .hero p.lead {
      font-size: 1.18rem;
      color: var(--muted);
      max-width: 640px;
      margin: 0 auto 34px;
      line-height: 1.7
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap
    }

    .hero-tagline {
      margin-top: 26px;
      font-family: var(--display);
      font-weight: 600;
      font-size: 1.05rem;
      letter-spacing: -.01em
    }

    .hero-tagline .t {
      color: var(--teal)
    }

    .hero-tagline .o {
      color: var(--orange)
    }

    /* hero showcase */
    .screenshot-wrap {
      position: relative;
      z-index: 1;
      padding: 56px 40px 60px;
      perspective: 1200px
    }

    .screenshot-inner {
      position: relative;
      max-width: 1120px;
      margin: 0 auto;
      border-radius: 26px;
      padding: 10px;
      background: rgba(255, 255, 255, .6);
      border: 1px solid rgba(255, 255, 255, .9);
      backdrop-filter: blur(10px);
      transform: rotateX(20deg) scale(1.04);
      transform-origin: center top;
      will-change: transform, box-shadow;
      box-shadow: 0 9px 20px rgba(40, 20, 110, .18), 0 37px 37px rgba(40, 20, 110, .14), 0 84px 50px rgba(40, 20, 110, .08)
    }

    .showcase {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      aspect-ratio: 16/9;
      background: #eef0fb
    }

    .showcase img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transform: scale(1.03);
      transition: opacity .9s var(--ease), transform 1.4s var(--ease)
    }

    .showcase img.on {
      opacity: 1;
      transform: none
    }

    .showcase-tabs {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      margin: 26px auto 0;
      max-width: 1120px
    }

    .showcase-tab {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .7);
      border: 1px solid rgba(255, 255, 255, .9);
      font-size: .86rem;
      font-weight: 600;
      color: var(--muted);
      transition: all .2s;
      backdrop-filter: blur(8px)
    }

    .showcase-tab .sw {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--c)
    }

    .showcase-tab small {
      font-weight: 500;
      color: var(--faint);
      font-size: .76rem
    }

    .showcase-tab.on {
      background: #fff;
      color: var(--navy);
      box-shadow: 0 12px 24px -14px var(--c)
    }

    .showcase-tab .bar {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 0;
      background: var(--c)
    }

    .showcase-tab.on .bar {
      animation: fillbar 5s linear forwards
    }

    @keyframes fillbar {
      to {
        width: 100%
      }
    }

    /* ---------- role bar ---------- */
    .role-bar {
      background: var(--navy);
      padding: 12px 20px;
      display: flex;
      justify-content: center;
      position: relative;
      z-index: 10
    }

    .role-pills {
      display: flex;
      align-items: center;
      gap: 6px
    }

    .role-pill-label {
      font-size: .82rem;
      font-weight: 500;
      color: rgba(255, 255, 255, .5);
      margin-right: 6px;
      white-space: nowrap
    }

    .role-pill {
      font-size: .82rem;
      font-weight: 600;
      padding: 6px 15px;
      border-radius: 200px;
      background: rgba(255, 255, 255, .1);
      color: rgba(255, 255, 255, .75);
      transition: all .15s;
      white-space: nowrap
    }

    .role-pill:hover {
      background: rgba(255, 255, 255, .2);
      color: #fff
    }

    .role-pill.active {
      background: #fff;
      color: var(--navy)
    }

    /* ---------- ticker ---------- */
    .ticker-wrap {
      padding: 26px 0;
      border-bottom: 1px solid var(--line-soft);
      overflow: hidden;
      background: #fff;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%)
    }

    .ticker-track {
      display: flex;
      gap: 60px;
      width: max-content;
      animation: ticker 40s linear infinite
    }

    @keyframes ticker {
      to {
        transform: translateX(-50%)
      }
    }

    .ticker-item {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: .8rem;
      font-weight: 700;
      color: var(--muted2);
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: .1em
    }

    .ticker-item i,
    .ticker-item svg {
      width: 16px;
      height: 16px;
      color: var(--purple)
    }

    .ticker-item:nth-child(3n+2) i,
    .ticker-item:nth-child(3n+2) svg {
      color: var(--teal)
    }

    .ticker-item:nth-child(3n) i,
    .ticker-item:nth-child(3n) svg {
      color: var(--orange)
    }

    /* ---------- problem ---------- */
    .problem {
      background: #fff
    }

    .problem-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 56px;
      align-items: center;
      margin-top: 56px
    }

    .class-board {
      position: relative;
      background: linear-gradient(160deg, #f7f5ff, #f4fbfb);
      border: 1px solid var(--line-soft);
      border-radius: 26px;
      padding: 30px 30px 26px
    }

    .class-board .pill-top {
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--navy);
      color: #fff;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 999px;
      white-space: nowrap
    }

    .avatars {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px
    }

    .av {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px
    }

    .av span {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #e9e8f2;
      color: var(--muted);
      display: grid;
      place-items: center;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .02em;
      transition: background .5s, color .5s
    }

    .av i {
      display: block;
      width: 40px;
      height: 5px;
      border-radius: 5px;
      background: #e9e8f2;
      overflow: hidden;
      position: relative
    }

    .av i::after {
      content: '';
      position: absolute;
      inset: 0;
      width: 0;
      background: var(--c, #ccc);
      border-radius: 5px;
      transition: width .8s var(--ease)
    }

    .class-board.swept .av i::after {
      width: var(--w, 60%)
    }

    .class-board.swept .av.r span {
      background: #fde8e8;
      color: #b42318
    }

    .board-foot {
      margin-top: 22px;
      display: flex;
      justify-content: center;
      gap: 18px;
      font-size: .78rem;
      font-weight: 600;
      color: var(--muted2);
      flex-wrap: wrap
    }

    .board-foot b {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-right: 6px;
      vertical-align: -1px
    }

    .pain-cards {
      display: flex;
      flex-direction: column;
      gap: 18px
    }

    .pain {
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 22px;
      padding: 24px 26px;
      box-shadow: 0 20px 44px -30px rgba(20, 20, 45, .35);
      display: flex;
      gap: 20px;
      align-items: center
    }

    .pain .kicker {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted2)
    }

    .pain .val {
      font-family: var(--display);
      font-size: 2.3rem;
      font-weight: 700;
      color: var(--navy);
      line-height: 1.1;
      letter-spacing: -.02em
    }

    .pain .note {
      color: var(--muted);
      font-size: .92rem
    }

    .papers {
      position: relative;
      width: 86px;
      height: 92px;
      flex-shrink: 0
    }

    .papers div {
      position: absolute;
      width: 64px;
      height: 80px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .2);
      display: flex;
      align-items: flex-start;
      justify-content: flex-end;
      padding: 6px;
      font-size: .72rem;
      font-weight: 800;
      color: var(--danger);
      font-family: var(--display)
    }

    .months {
      display: flex;
      gap: 6px;
      flex-shrink: 0
    }

    .months span {
      font-size: .74rem;
      font-weight: 700;
      padding: 6px 9px;
      border-radius: 9px;
      background: var(--bg);
      color: var(--muted2);
      border: 1px solid var(--line-soft)
    }

    .months span.late {
      background: #fde8e8;
      color: #b42318;
      border-color: #f8c9c9
    }

    .nobody {
      margin-top: 34px;
      display: flex;
      justify-content: center
    }

    .nobody div {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff5f5;
      border: 1px solid #f8d0d0;
      color: #b42318;
      padding: 12px 22px;
      border-radius: 999px;
      font-weight: 600;
      font-size: .98rem;
      text-align: center
    }

    .nobody i,
    .nobody svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0
    }

    .level-up {
      margin-top: 90px;
      text-align: center
    }

    .level-up h3 {
      font-family: var(--display);
      font-size: clamp(2rem, 4.6vw, 3.6rem);
      font-weight: 700;
      letter-spacing: -.03em;
      line-height: 1.08;
      color: var(--navy)
    }

    /* ---------- dark: why studyup ---------- */
    .dark {
      background: var(--dark2);
      color: #fff;
      position: relative;
      overflow: hidden
    }

    .dark .section-label {
      color: #b9a8ff
    }

    .dark .section-title {
      color: #fff
    }

    .dark .section-sub {
      color: rgba(221, 226, 255, .62)
    }

    .dark-glow {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 50% 35% at 15% 0%, rgba(124, 77, 255, .28), transparent 70%),
        radial-gradient(ellipse 45% 35% at 90% 30%, rgba(1, 178, 197, .14), transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(249, 146, 3, .10), transparent 70%)
    }

    .why-studyup-header {
      text-align: center;
      margin-bottom: 70px;
      position: relative
    }

    .sticky-cards-container {
      max-width: 1100px;
      margin: 0 auto;
      padding-bottom: 60px;
      position: relative
    }

    .sticky-card {
      position: sticky;
      border-radius: 28px;
      padding: 44px;
      margin-bottom: 28px;
      display: grid;
      grid-template-columns: 1fr 1.08fr;
      gap: 44px;
      align-items: center;
      backdrop-filter: blur(22px) saturate(150%);
      -webkit-backdrop-filter: blur(22px) saturate(150%);
      border: 1px solid rgba(255, 255, 255, .12);
      background: rgba(20, 20, 58, .72);
      box-shadow: 0 -10px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .1)
    }

    .sticky-card:nth-child(1) {
      top: 80px
    }

    .sticky-card:nth-child(2) {
      top: 96px
    }

    .sticky-card:nth-child(3) {
      top: 112px
    }

    .sticky-card:nth-child(4) {
      top: 128px
    }

    .sticky-card:nth-child(5) {
      top: 144px
    }

    .sticky-card:nth-child(6) {
      top: 160px
    }

    .sticky-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(ellipse 70% 90% at 0% 0%, var(--tint), transparent 60%);
      pointer-events: none
    }

    .sc-num {
      font-family: var(--display);
      font-size: .8rem;
      font-weight: 700;
      color: rgba(255, 255, 255, .35);
      letter-spacing: .1em;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 12px
    }

    .sc-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      padding: 4px 12px;
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      background: var(--tint);
      color: var(--tc);
      border: 1px solid var(--tb)
    }

    .sticky-card h3 {
      font-family: var(--display);
      font-size: clamp(1.8rem, 3.2vw, 2.7rem);
      font-weight: 700;
      letter-spacing: -.025em;
      line-height: 1.08;
      margin-bottom: 16px
    }

    .sticky-card p {
      font-size: 1rem;
      color: rgba(221, 226, 255, .66);
      line-height: 1.8
    }

    .sc-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 22px
    }

    .sc-chips span {
      font-size: .76rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .12);
      color: rgba(255, 255, 255, .85)
    }

    .sticky-card .shot {
      box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
      outline-color: rgba(255, 255, 255, .1)
    }

    /* ---------- film ---------- */
    .film {
      background: linear-gradient(180deg, #f6f4ff 0%, #f8f9fc 100%)
    }

    .film-tabs {
      display: inline-flex;
      gap: 6px;
      padding: 6px;
      border-radius: 16px;
      background: #fff;
      border: 1px solid var(--line-soft);
      box-shadow: 0 10px 30px -20px rgba(84, 55, 168, .4);
      margin: 34px auto 26px;
      flex-wrap: wrap;
      justify-content: center
    }

    .film-tab {
      padding: 10px 18px;
      border-radius: 12px;
      font-size: .88rem;
      font-weight: 600;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all .18s
    }

    .film-tab small {
      font-weight: 500;
      color: var(--faint)
    }

    .film-tab.on {
      background: var(--grad-purple);
      color: #fff;
      box-shadow: var(--shadow-btn)
    }

    .film-tab.on small {
      color: rgba(255, 255, 255, .75)
    }

    .film-frame {
      max-width: 1080px;
      margin: 0 auto;
      padding: 10px;
      border-radius: 28px;
      background: #fff;
      box-shadow: var(--shadow-card);
      position: relative
    }

    .film-frame::before {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 30px;
      background: var(--aura);
      z-index: -1;
      opacity: .5;
      filter: blur(24px)
    }

    .film-frame video {
      width: 100%;
      display: block;
      border-radius: 20px;
      aspect-ratio: 16/9;
      background: #0b0c2a
    }

    .film-meta {
      display: flex;
      justify-content: center;
      gap: 26px;
      margin-top: 26px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 500
    }

    .film-meta span {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .film-meta i,
    .film-meta svg {
      width: 17px;
      height: 17px;
      color: var(--purple)
    }

    /* ---------- portals overview ---------- */
    .portals-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
      margin-top: 52px
    }

    .portal-card {
      --c: var(--purple);
      --cl: var(--purple-l);
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 24px;
      padding: 36px 38px;
      transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column
    }

    .portal-card::before {
      content: '';
      position: absolute;
      top: -40%;
      right: -20%;
      width: 60%;
      height: 120%;
      background: radial-gradient(circle, var(--cl), transparent 65%);
      opacity: .9;
      pointer-events: none
    }

    .portal-card:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--c) 35%, transparent);
      box-shadow: 0 30px 60px -30px var(--c)
    }

    .portal-card>* {
      position: relative
    }

    .pc-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px
    }

    .pc-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: var(--c);
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 20px -10px var(--c)
    }

    .pc-icon i,
    .pc-icon svg {
      width: 22px;
      height: 22px
    }

    .pc-eyebrow {
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .14em;
      color: var(--c)
    }

    .portal-card h3 {
      font-family: var(--display);
      font-size: clamp(1.6rem, 2.6vw, 2.1rem);
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -.025em;
      line-height: 1.1;
      margin-bottom: 14px
    }

    .portal-card h3 em {
      font-style: normal;
      color: var(--c)
    }

    .portal-card p {
      font-size: .95rem;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 22px;
      max-width: 440px
    }

    .pc-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 24px
    }

    .pc-tags span {
      font-size: .74rem;
      font-weight: 600;
      color: var(--c);
      background: var(--cl);
      border-radius: 8px;
      padding: 4px 10px
    }

    .pc-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 700;
      font-size: .9rem;
      color: var(--c);
      transition: gap .2s
    }

    .pc-link:hover {
      gap: 10px
    }

    .pc-link i,
    .pc-link svg {
      width: 16px;
      height: 16px
    }

    .also-inside {
      margin-top: 18px;
      display: grid;
      grid-template-columns: auto 1fr 1fr;
      gap: 18px;
      align-items: stretch
    }

    .also-label {
      display: flex;
      align-items: center;
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .14em;
      color: var(--muted2);
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      padding: 6px 0
    }

    .mini-portal {
      --c: var(--fin);
      display: flex;
      align-items: center;
      gap: 16px;
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 20px;
      padding: 20px 22px;
      transition: transform .2s, box-shadow .2s
    }

    .mini-portal:hover {
      transform: translateY(-3px);
      box-shadow: 0 20px 40px -26px var(--c)
    }

    .mini-portal .pc-icon {
      width: 40px;
      height: 40px;
      flex-shrink: 0
    }

    .mini-portal b {
      display: block;
      font-family: var(--display);
      font-size: 1.12rem;
      color: var(--navy);
      font-weight: 700
    }

    .mini-portal div>span {
      font-size: .84rem;
      color: var(--muted)
    }

    /* ---------- deep dives ---------- */
    .dive {
      --c: var(--purple);
      --ci: var(--purple-d);
      --cl: var(--purple-l)
    }

    .dive-head {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: end;
      margin-bottom: 52px
    }

    .dive-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      border: 1px solid var(--line-soft);
      padding: 6px 14px 6px 6px;
      border-radius: 999px;
      font-size: .8rem;
      font-weight: 700;
      color: var(--ci);
      margin-bottom: 20px;
      box-shadow: 0 10px 24px -18px var(--c)
    }

    .dive-eyebrow .ic {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--c);
      color: #fff;
      display: grid;
      place-items: center
    }

    .dive-eyebrow .ic i,
    .dive-eyebrow .ic svg {
      width: 15px;
      height: 15px
    }

    .dive .section-title em {
      font-style: normal;
      color: var(--c)
    }

    .dive-media {
      position: relative
    }

    .dive-media .shot.back {
      position: absolute;
      width: 58%;
      right: -4%;
      bottom: -12%;
      z-index: 2;
      box-shadow: 0 30px 60px -20px rgba(20, 20, 45, .35)
    }

    .dive-media::before {
      content: '';
      position: absolute;
      inset: 8% -4% -8% 8%;
      border-radius: 40px;
      background: radial-gradient(ellipse at center, var(--cl), transparent 70%);
      z-index: -1;
      filter: blur(10px)
    }

    .feat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px
    }

    .feat {
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 20px;
      padding: 24px;
      transition: transform .22s var(--ease), box-shadow .22s
    }

    .feat:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 44px -28px var(--c)
    }

    .feat .fi {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--cl);
      color: var(--c);
      display: grid;
      place-items: center;
      margin-bottom: 16px
    }

    .feat .fi i,
    .feat .fi svg {
      width: 20px;
      height: 20px;
      stroke-width: 1.9
    }

    .feat h4 {
      font-family: var(--display);
      font-size: 1.12rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 6px;
      letter-spacing: -.01em
    }

    .feat p {
      font-size: .9rem;
      color: var(--muted);
      line-height: 1.65
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center
    }

    .split.rev>:first-child {
      order: 2
    }

    .ticks {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 26px
    }

    .ticks li {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      font-size: .98rem;
      color: var(--muted);
      line-height: 1.6
    }

    .ticks li b {
      color: var(--navy);
      font-weight: 700
    }

    .ticks li .tk {
      width: 24px;
      height: 24px;
      border-radius: 8px;
      background: var(--cl);
      color: var(--c);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      margin-top: 1px
    }

    .ticks li .tk i,
    .ticks li .tk svg {
      width: 14px;
      height: 14px;
      stroke-width: 2.5
    }

    .sub-block {
      margin-top: 90px
    }

    .sub-title {
      font-family: var(--display);
      font-size: clamp(1.6rem, 2.8vw, 2.2rem);
      font-weight: 700;
      letter-spacing: -.02em;
      color: var(--navy);
      line-height: 1.12;
      margin-bottom: 12px
    }

    .sub-title em {
      font-style: normal;
      color: var(--c)
    }

    /* teacher */
    #teacher {
      --c: var(--teal);
      --ci: var(--teal-ink);
      --cl: var(--teal-l);
      background: linear-gradient(180deg, #fff 0%, #f3fcfd 100%)
    }

    .tools {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
      margin: 44px 0 20px
    }

    .tool {
      text-align: left;
      border-radius: 18px;
      padding: 18px;
      border: 1.5px solid var(--tb);
      background: var(--tbg);
      transition: transform .2s var(--ease), box-shadow .2s;
      cursor: pointer;
      position: relative
    }

    .tool:hover {
      transform: translateY(-3px)
    }

    .tool.on {
      box-shadow: 0 18px 34px -18px var(--tink);
      transform: translateY(-3px)
    }

    .tool.on::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -9px;
      width: 16px;
      height: 16px;
      background: #fff;
      border-right: 1.5px solid var(--line-soft);
      border-bottom: 1.5px solid var(--line-soft);
      transform: translateX(-50%) rotate(45deg);
      z-index: 3
    }

    .tool .ti {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: #fff;
      color: var(--tink);
      display: grid;
      place-items: center;
      margin-bottom: 12px
    }

    .tool .ti i,
    .tool .ti svg {
      width: 17px;
      height: 17px
    }

    .tool b {
      display: block;
      font-family: var(--display);
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--tink)
    }

    .tool small {
      display: block;
      font-size: .66rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--tink);
      opacity: .75;
      margin-top: 2px
    }

    .tool-panel {
      position: relative;
      background: #fff;
      border: 1.5px solid var(--line-soft);
      border-radius: 24px;
      padding: 34px;
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 40px;
      align-items: center;
      box-shadow: 0 30px 60px -40px rgba(1, 122, 136, .5)
    }

    .tool-panel h4 {
      font-family: var(--display);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -.02em;
      margin-bottom: 10px
    }

    .tool-panel p {
      color: var(--muted);
      line-height: 1.75
    }

    .tool-panel .tp-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 18px
    }

    .tool-panel .tp-list span {
      font-size: .78rem;
      font-weight: 600;
      padding: 5px 11px;
      border-radius: 8px;
      background: var(--teal-l);
      color: var(--teal-ink)
    }

    .tp-media {
      position: relative
    }

    .tp-media img {
      transition: opacity .45s
    }

    .toolbelt {
      margin-top: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: center
    }

    .toolbelt .lbl {
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted2);
      margin-right: 6px
    }

    .toolbelt .chip {
      border-color: #cdeff3
    }

    .toolbelt .chip i,
    .toolbelt .chip svg {
      color: var(--teal)
    }

    .class-kpis {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-top: 26px
    }

    .kpi {
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 16px;
      padding: 16px 18px;
      display: flex;
      align-items: center;
      gap: 14px
    }

    .kpi .ki {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: var(--cl);
      color: var(--c);
      display: grid;
      place-items: center;
      flex-shrink: 0
    }

    .kpi .ki i,
    .kpi .ki svg {
      width: 18px;
      height: 18px
    }

    .kpi b {
      display: block;
      font-size: .92rem;
      color: var(--navy)
    }

    .kpi span {
      font-size: .8rem;
      color: var(--muted2)
    }

    /* live classroom */
    #live {
      --c: var(--teal);
      --cl: rgba(1, 178, 197, .16);
      background: radial-gradient(ellipse 80% 60% at 50% 0%, #11294a 0%, var(--dark2) 70%);
      color: #fff;
      overflow: hidden
    }

    #live .section-title {
      color: #fff
    }

    #live .section-title em {
      font-style: normal;
      background: linear-gradient(90deg, #5ee6f2, #b9a8ff);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent
    }

    #live .section-sub {
      color: rgba(221, 226, 255, .66)
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(229, 72, 77, .15);
      border: 1px solid rgba(229, 72, 77, .4);
      color: #ff8b8e;
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: 20px
    }

    .live-badge b {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ff5a5f;
      animation: pulse 1.6s infinite
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(255, 90, 95, .7)
      }

      70% {
        box-shadow: 0 0 0 10px rgba(255, 90, 95, 0)
      }

      100% {
        box-shadow: 0 0 0 0 rgba(255, 90, 95, 0)
      }
    }

    .live-stage {
      margin-top: 56px;
      display: grid;
      grid-template-columns: 1.35fr 1fr;
      gap: 22px;
      align-items: center
    }

    .live-stage .shot {
      box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
      outline-color: rgba(255, 255, 255, .1)
    }

    .live-side {
      display: flex;
      flex-direction: column;
      gap: 22px
    }

    .live-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 22px
    }

    .live-step {
      border-radius: 18px;
      padding: 20px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .1)
    }

    .live-step .n {
      font-family: var(--display);
      font-size: .76rem;
      font-weight: 700;
      color: #5ee6f2;
      letter-spacing: .12em;
      margin-bottom: 10px
    }

    .live-step b {
      display: block;
      font-family: var(--display);
      font-size: 1.1rem;
      margin-bottom: 4px
    }

    .live-step span {
      font-size: .86rem;
      color: rgba(221, 226, 255, .6);
      line-height: 1.55
    }

    /* student */
    #student {
      --c: var(--blue);
      --ci: var(--blue-ink);
      --cl: var(--blue-l);
      background: linear-gradient(180deg, #f5faff 0%, #fff 100%)
    }

    .modes {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 40px
    }

    .mode {
      position: relative;
      border-radius: 20px;
      padding: 24px 22px;
      background: #fff;
      border: 1px solid var(--line-soft);
      overflow: hidden;
      transition: transform .22s var(--ease), box-shadow .22s
    }

    .mode:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 44px -26px var(--mc)
    }

    .mode::before {
      content: '';
      position: absolute;
      inset: 0 0 auto 0;
      height: 4px;
      background: var(--mc)
    }

    .mode .mi {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      background: var(--mc);
      color: #fff;
      display: grid;
      place-items: center;
      margin-bottom: 16px;
      box-shadow: 0 10px 20px -10px var(--mc)
    }

    .mode .mi i,
    .mode .mi svg {
      width: 20px;
      height: 20px
    }

    .mode h4 {
      font-family: var(--display);
      font-weight: 700;
      font-size: 1.18rem;
      color: var(--navy)
    }

    .mode .tag {
      font-size: .8rem;
      font-weight: 600;
      color: var(--mc);
      margin-bottom: 10px
    }

    .mode p {
      font-size: .88rem;
      color: var(--muted);
      line-height: 1.6
    }

    .flow {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      align-items: center;
      margin-top: 12px
    }

    .flow span {
      font-size: .68rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 6px;
      background: var(--blue-l);
      color: var(--blue-ink)
    }

    .flow i,
    .flow svg {
      width: 11px;
      height: 11px;
      color: var(--faint)
    }

    .gender-swatch {
      display: inline-flex;
      gap: 6px;
      vertical-align: middle;
      margin-left: 6px
    }

    .gender-swatch b {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      display: inline-block
    }

    /* parent */
    #parent {
      --c: var(--orange);
      --ci: var(--orange-ink);
      --cl: var(--orange-l);
      background: linear-gradient(180deg, #fffaf3 0%, #fff 100%)
    }

    .lang-toggle {
      display: inline-flex;
      padding: 5px;
      border-radius: 14px;
      background: #fff;
      border: 1px solid var(--line-soft);
      box-shadow: 0 10px 24px -18px rgba(214, 120, 20, .6);
      margin-bottom: 18px
    }

    .lang-toggle button {
      padding: 8px 16px;
      border-radius: 10px;
      font-size: .86rem;
      font-weight: 700;
      color: var(--muted)
    }

    .lang-toggle button.on {
      background: linear-gradient(135deg, #ffa93a, #f5820a);
      color: #fff;
      box-shadow: 0 10px 20px -10px rgba(245, 130, 10, .9)
    }

    .lang-toggle button.ar {
      font-family: var(--arabic)
    }

    .swap {
      position: relative
    }

    .swap .shot img {
      transition: opacity .5s var(--ease)
    }

    .swap .shot img.alt {
      position: absolute;
      inset: 0;
      opacity: 0
    }

    .swap.ar .shot img.alt {
      opacity: 1
    }

    .ai-bubble {
      position: absolute;
      z-index: 3;
      left: -5%;
      bottom: -9%;
      max-width: 330px;
      background: #fff;
      border-radius: 18px;
      padding: 16px 18px;
      box-shadow: 0 30px 60px -24px rgba(214, 120, 20, .55), 0 8px 20px -12px rgba(20, 20, 45, .15);
      border: 1px solid #ffe4c2
    }

    .ai-bubble .who {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--orange-ink);
      margin-bottom: 8px
    }

    .ai-bubble .who img {
      width: 14px
    }

    .ai-bubble p {
      font-size: .86rem;
      line-height: 1.6;
      color: var(--ink)
    }

    .plan-days {
      display: flex;
      gap: 6px;
      margin-top: 14px;
      flex-wrap: wrap
    }

    .plan-days span {
      font-size: .72rem;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 10px;
      background: var(--orange-l);
      color: var(--orange-ink);
      border: 1px solid #ffe0bb
    }

    /* admin */
    #admin {
      --c: var(--admin);
      --ci: var(--admin-ink);
      --cl: var(--admin-l);
      background: linear-gradient(180deg, #f3f5fe 0%, #fff 100%)
    }

    .wall {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 44px
    }

    .wall-col {
      background: #fff;
      border-radius: 22px;
      border: 1px solid var(--line-soft);
      padding: 22px;
      position: relative;
      overflow: hidden;
      transition: transform .22s var(--ease), box-shadow .22s
    }

    .wall-col:hover {
      transform: translateY(-4px);
      box-shadow: 0 26px 50px -30px var(--wc)
    }

    .wall-col::before {
      content: '';
      position: absolute;
      inset: 0 0 auto 0;
      height: 4px;
      background: var(--wc)
    }

    .wall-head {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px
    }

    .wall-head .wi {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--wc);
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 20px -10px var(--wc)
    }

    .wall-head .wi i,
    .wall-head .wi svg {
      width: 20px;
      height: 20px
    }

    .wall-head b {
      font-family: var(--display);
      font-size: 1.2rem;
      color: var(--navy)
    }

    .wall-head small {
      margin-left: auto;
      font-size: .68rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 999px;
      background: color-mix(in srgb, var(--wc) 12%, #fff);
      color: var(--wc);
      white-space: nowrap
    }

    .wall-col>p {
      font-size: .82rem;
      color: var(--muted2);
      margin-bottom: 16px;
      line-height: 1.5
    }

    .mods {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px
    }

    .mods li {
      padding: 10px 12px;
      border-radius: 12px;
      background: var(--bg);
      border: 1px solid var(--line-soft)
    }

    .mods li b {
      display: block;
      font-size: .86rem;
      color: var(--navy)
    }

    .mods li span {
      font-size: .76rem;
      color: var(--muted2);
      line-height: 1.45;
      display: block
    }

    .intel {
      margin-top: 90px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center
    }

    .intel-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 26px
    }

    .stat-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 40px
    }

    .stat {
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 18px;
      padding: 20px 22px
    }

    .stat b {
      display: block;
      font-family: var(--display);
      font-size: 2.1rem;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -.02em;
      line-height: 1.1;
      font-variant-numeric: tabular-nums
    }

    .stat span {
      font-size: .84rem;
      color: var(--muted)
    }

    /* avatar + growth */
    .avatar-sec {
      background: linear-gradient(135deg, #f6f4ff 0%, #f1faf8 58%, #fdf7ef 100%);
      overflow: hidden
    }

    .persona-stage {
      position: relative;
      margin-top: 60px;
      display: grid;
      grid-template-columns: 1fr 260px 1fr;
      gap: 30px;
      align-items: center
    }

    .persona-col {
      display: flex;
      flex-direction: column;
      gap: 20px
    }

    .persona {
      --pc: var(--blue);
      background: #fff;
      border-radius: 22px;
      padding: 20px;
      box-shadow: 0 30px 60px -34px var(--pc), 0 6px 18px -12px rgba(20, 20, 45, .1);
      position: relative;
      z-index: 2
    }

    .persona-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px
    }

    .persona-top .pa {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--pc);
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 20px -8px var(--pc)
    }

    .persona-top .pa i,
    .persona-top .pa svg {
      width: 22px;
      height: 22px
    }

    .persona-top b {
      display: block;
      font-family: var(--display);
      font-size: 1.3rem;
      color: var(--navy);
      line-height: 1.1
    }

    .persona-top span {
      font-size: .82rem;
      font-weight: 600;
      color: var(--pc)
    }

    .prow {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 8px 12px;
      border-radius: 10px;
      background: var(--bg);
      font-size: .82rem;
      margin-top: 6px
    }

    .prow span {
      color: var(--muted2)
    }

    .prow b {
      color: var(--navy);
      text-align: right
    }

    .engine-core {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      z-index: 2
    }

    .engine-core .orb {
      width: 190px;
      height: 190px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: radial-gradient(circle, rgba(255, 255, 255, .95) 30%, rgba(124, 77, 255, .18) 62%, transparent 72%);
      position: relative
    }

    .engine-core .orb::before,
    .engine-core .orb::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1.5px dashed rgba(109, 79, 230, .35);
      animation: spin 30s linear infinite
    }

    .engine-core .orb::after {
      inset: -22px;
      border-color: rgba(1, 178, 197, .25);
      animation-duration: 45s;
      animation-direction: reverse
    }

    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }

    .engine-core .orb img {
      width: 74px;
      filter: drop-shadow(0 14px 22px rgba(109, 79, 230, .4))
    }

    .engine-core b {
      font-family: var(--display);
      letter-spacing: .28em;
      font-size: .82rem;
      color: var(--purple);
      text-transform: uppercase
    }

    .learns {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 34px
    }

    .learns .chip {
      font-size: .84rem
    }

    .persona-lines {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      overflow: visible
    }

    .persona-lines path {
      fill: none;
      stroke-width: 2;
      stroke-dasharray: 6 8;
      animation: dash 1.6s linear infinite
    }

    @keyframes dash {
      to {
        stroke-dashoffset: -28
      }
    }

    .principles {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 60px
    }

    .principle {
      background: rgba(255, 255, 255, .75);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, .9);
      border-radius: 22px;
      padding: 26px
    }

    .principle .fi {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      color: #fff;
      margin-bottom: 16px
    }

    .principle .fi i,
    .principle .fi svg {
      width: 20px;
      height: 20px
    }

    .principle h4 {
      font-family: var(--display);
      font-size: 1.2rem;
      color: var(--navy);
      margin-bottom: 6px
    }

    .principle p {
      font-size: .92rem;
      color: var(--muted);
      line-height: 1.7
    }

    .soul {
      margin: 70px auto 0;
      max-width: 820px;
      text-align: center;
      font-family: var(--display);
      font-size: clamp(1.3rem, 2.4vw, 1.75rem);
      font-weight: 600;
      line-height: 1.45;
      color: var(--navy);
      letter-spacing: -.01em;
      text-wrap: balance
    }

    .growth-card {
      margin-top: 100px;
      background: #fff;
      border-radius: 30px;
      padding: 44px;
      box-shadow: var(--shadow-card);
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 44px;
      align-items: center
    }

    .chart-wrap {
      position: relative
    }

    .chart-wrap svg {
      width: 100%;
      height: auto;
      overflow: visible
    }

    .chart-wrap .ln {
      fill: none;
      stroke-width: 4;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 1000;
      stroke-dashoffset: 1000;
      transition: stroke-dashoffset 2.2s var(--ease)
    }

    .chart-wrap.in .ln {
      stroke-dashoffset: 0
    }

    .chart-wrap .ln.t {
      stroke-dasharray: 8 10;
      stroke-dashoffset: 0;
      opacity: 0;
      transition: opacity 1s .4s
    }

    .chart-wrap.in .ln.t {
      opacity: 1
    }

    .chart-wrap .end {
      opacity: 0;
      transition: opacity .6s 1.9s
    }

    .chart-wrap.in .end {
      opacity: 1
    }

    .next-step {
      margin-top: 24px;
      border-radius: 18px;
      border: 1px solid var(--line-soft);
      padding: 18px;
      background: var(--bg)
    }

    .next-step .h {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      color: var(--navy);
      font-size: .95rem
    }

    .next-step .h img {
      width: 14px
    }

    .next-step small {
      display: block;
      color: var(--muted2);
      font-size: .8rem;
      margin: 2px 0 10px
    }

    .next-step li {
      list-style: none;
      font-size: .86rem;
      padding: 7px 10px;
      border-radius: 10px;
      background: #fff;
      margin-top: 6px;
      border: 1px solid var(--line-soft);
      color: var(--ink);
      display: flex;
      gap: 8px;
      align-items: center
    }

    .next-step li i,
    .next-step li svg {
      width: 14px;
      height: 14px;
      color: var(--success)
    }

    /* engine (dark) */
    .engine-banner {
      margin: 60px auto 0;
      max-width: 1100px;
      background: linear-gradient(135deg, rgba(124, 77, 255, .14) 0%, rgba(1, 178, 197, .10) 55%, rgba(249, 146, 3, .10) 100%);
      border: 1px solid rgba(185, 168, 255, .25);
      border-radius: 22px;
      padding: 36px 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
      position: relative
    }

    .engine-banner small {
      font-size: .72rem;
      font-weight: 700;
      color: #b9a8ff;
      text-transform: uppercase;
      letter-spacing: .16em
    }

    .engine-banner div>div {
      font-family: var(--display);
      font-size: 1.6rem;
      font-weight: 700;
      color: #fff;
      letter-spacing: -.02em;
      line-height: 1.25;
      margin-top: 8px
    }

    .pipeline {
      max-width: 1100px;
      margin: 70px auto 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      position: relative
    }

    .pipe {
      border-radius: 22px;
      padding: 26px 24px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .09);
      position: relative;
      transition: background .2s
    }

    .pipe:hover {
      background: rgba(255, 255, 255, .07)
    }

    .pipe .pn {
      font-family: var(--display);
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .14em;
      color: rgba(255, 255, 255, .4);
      margin-bottom: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .pipe .pn i,
    .pipe .pn svg {
      width: 22px;
      height: 22px;
      color: var(--pcol)
    }

    .pipe h4 {
      font-family: var(--display);
      font-size: 1.28rem;
      color: #fff;
      margin-bottom: 8px;
      letter-spacing: -.01em
    }

    .pipe p {
      font-size: .9rem;
      color: rgba(221, 226, 255, .58);
      line-height: 1.7
    }

    .think-grid {
      max-width: 1100px;
      margin: 60px auto 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      border-radius: 22px;
      overflow: hidden
    }

    .think {
      background: rgba(255, 255, 255, .025);
      padding: 44px 36px;
      transition: background .2s
    }

    .think:hover {
      background: rgba(255, 255, 255, .05)
    }

    .think i,
    .think svg {
      width: 38px;
      height: 38px;
      margin-bottom: 22px
    }

    .think small {
      display: block;
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .14em;
      color: rgba(255, 255, 255, .35);
      margin-bottom: 12px
    }

    .think h3 {
      font-family: var(--display);
      font-size: 1.55rem;
      font-weight: 700;
      letter-spacing: -.02em;
      line-height: 1.2;
      margin-bottom: 14px
    }

    .think p {
      font-size: .92rem;
      color: rgba(221, 226, 255, .58);
      line-height: 1.8
    }

    .manifesto {
      border-top: 1px solid rgba(255, 255, 255, .06);
      margin-top: 80px;
      padding: 64px 0 0;
      text-align: center
    }

    .manifesto p {
      font-size: clamp(1.1rem, 2.4vw, 1.5rem);
      color: rgba(255, 255, 255, .38);
      max-width: 820px;
      margin: 0 auto;
      line-height: 1.7;
      letter-spacing: -.01em
    }

    .manifesto p span {
      color: rgba(255, 255, 255, .88);
      font-weight: 600
    }

    .manifesto small {
      display: block;
      margin-top: 28px;
      font-size: .74rem;
      color: rgba(255, 255, 255, .3);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .14em
    }

    /* trust */
    .trust {
      background: #fff
    }

    .walls {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 56px
    }

    .wallcard {
      border-radius: 24px;
      padding: 32px 30px;
      background: linear-gradient(180deg, var(--wl) 0%, #fff 70%);
      border: 1px solid var(--line-soft);
      position: relative;
      overflow: hidden
    }

    .wallcard .wi {
      width: 48px;
      height: 48px;
      border-radius: 15px;
      background: var(--wc);
      color: #fff;
      display: grid;
      place-items: center;
      margin-bottom: 20px;
      box-shadow: 0 14px 26px -12px var(--wc)
    }

    .wallcard .wi i,
    .wallcard .wi svg {
      width: 24px;
      height: 24px
    }

    .wallcard h3 {
      font-family: var(--display);
      font-size: 1.4rem;
      color: var(--navy);
      margin-bottom: 8px
    }

    .wallcard p {
      color: var(--muted);
      font-size: .94rem;
      line-height: 1.7
    }

    .trust-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 34px 40px;
      margin-top: 60px
    }

    .trust-item {
      display: flex;
      gap: 16px;
      align-items: flex-start
    }

    .trust-item .ti {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--purple-l);
      color: var(--purple);
      display: grid;
      place-items: center;
      flex-shrink: 0
    }

    .trust-item .ti i,
    .trust-item .ti svg {
      width: 20px;
      height: 20px
    }

    .trust-item h4 {
      font-family: var(--display);
      font-size: 1.08rem;
      color: var(--navy);
      margin-bottom: 4px
    }

    .trust-item p {
      font-size: .88rem;
      color: var(--muted);
      line-height: 1.65
    }

    .policy-note {
      margin-top: 56px;
      text-align: center;
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.75;
      font-style: italic
    }

    /* more */
    .more {
      background: linear-gradient(180deg, #f8f9fc, #f3f0ff);
      overflow: hidden;
      padding-left: 0;
      padding-right: 0
    }

    .lanes {
      margin-top: 50px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
      mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent)
    }

    .lane {
      display: flex;
      gap: 12px;
      width: max-content;
      animation: lane 50s linear infinite
    }

    .lane:nth-child(even) {
      animation-direction: reverse;
      animation-duration: 58s
    }

    .lane:nth-child(3) {
      animation-duration: 44s
    }

    @keyframes lane {
      to {
        transform: translateX(-50%)
      }
    }

    .lane .chip {
      padding: 10px 18px;
      font-size: .92rem;
      box-shadow: 0 8px 18px -14px rgba(84, 55, 168, .5)
    }

    .lane .chip i,
    .lane .chip svg {
      width: 16px;
      height: 16px;
      color: var(--lc)
    }

    .shipping {
      margin-top: 44px;
      display: flex;
      justify-content: center
    }

    .shipping span {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      border-radius: 999px;
      background: var(--navy);
      color: #fff;
      font-weight: 600;
      font-size: .92rem
    }

    .shipping i,
    .shipping svg {
      width: 16px;
      height: 16px;
      color: #ffc46b
    }

    /* operations */
    .ops {
      background: #fff
    }

    .ops-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 44px
    }

    .ops-card {
      border-radius: 24px;
      padding: 30px;
      border: 1px solid var(--line-soft);
      background: linear-gradient(180deg, color-mix(in srgb, var(--oc) 7%, #fff) 0%, #fff 60%)
    }

    .ops-card .oh {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px
    }

    .ops-card .oh .pc-icon {
      --c: var(--oc)
    }

    .ops-card .oh b {
      font-family: var(--display);
      font-size: 1.4rem;
      color: var(--navy)
    }

    .ops-card>p {
      color: var(--muted);
      font-size: .94rem;
      margin-bottom: 18px
    }

    .ops-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px
    }

    .ops-list div {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid var(--line-soft)
    }

    .ops-list i,
    .ops-list svg {
      width: 16px;
      height: 16px;
      color: var(--oc);
      flex-shrink: 0;
      margin-top: 3px
    }

    .ops-list b {
      display: block;
      font-size: .86rem;
      color: var(--navy)
    }

    .ops-list span {
      font-size: .76rem;
      color: var(--muted2);
      line-height: 1.4;
      display: block
    }

    .ops-foot {
      margin-top: 26px;
      display: flex;
      justify-content: center
    }

    .ops-foot span {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--purple-l);
      color: var(--purple-d);
      padding: 12px 22px;
      border-radius: 999px;
      font-weight: 700
    }

    .ops-foot i,
    .ops-foot svg {
      width: 18px;
      height: 18px
    }

    /* proof */
    .proof {
      background: var(--dark2);
      color: #fff;
      overflow: hidden;
      position: relative
    }

    .proof h2 {
      font-family: var(--display);
      font-size: clamp(2rem, 4.4vw, 3.4rem);
      font-weight: 700;
      letter-spacing: -.03em;
      line-height: 1.1;
      text-align: center;
      text-wrap: balance
    }

    .proof h2 .q {
      display: block;
      margin-top: 10px
    }

    .proof-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 64px;
      border-radius: 24px;
      overflow: hidden
    }

    .pstat {
      background: rgba(255, 255, 255, .035);
      padding: 38px 32px;
      text-align: center
    }

    .pstat b {
      display: block;
      font-family: var(--display);
      font-size: clamp(2.6rem, 5vw, 3.8rem);
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1;
      font-variant-numeric: tabular-nums;
      background: var(--aura);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent
    }

    .pstat>span {
      display: block;
      margin-top: 12px;
      font-weight: 700;
      font-size: 1rem
    }

    .pstat small {
      display: block;
      margin-top: 4px;
      font-size: .84rem;
      color: rgba(221, 226, 255, .55)
    }

    /* regions */
    .regions {
      background: var(--bg);
      text-align: center
    }

    .lang-tags {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 28px
    }

    .lang-tag {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 200px;
      padding: 7px 18px;
      font-size: .84rem;
      font-weight: 600;
      color: var(--muted)
    }

    .lang-tag.active {
      background: var(--purple-l);
      border-color: rgba(109, 79, 230, .3);
      color: var(--purple-d)
    }

    .regions-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 44px
    }

    .region {
      background: #fff;
      border: 1px solid var(--line-soft);
      border-radius: 22px;
      padding: 28px 20px;
      transition: transform .2s, box-shadow .2s
    }

    .region:hover {
      transform: translateY(-3px);
      box-shadow: 0 24px 40px -28px rgba(84, 55, 168, .5)
    }

    .region .ri {
      width: 50px;
      height: 50px;
      border-radius: 16px;
      margin: 0 auto 14px;
      display: grid;
      place-items: center;
      background: var(--rl);
      color: var(--rc)
    }

    .region .ri i,
    .region .ri svg {
      width: 24px;
      height: 24px
    }

    .region-name {
      font-family: var(--display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--navy)
    }

    .region-sub {
      font-size: .84rem;
      color: var(--muted2);
      margin-top: 4px
    }

    .banner-card {
      margin-top: 64px;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
      background: #fff;
      outline: 1px solid rgba(20, 20, 45, .05);
      outline-offset: -1px
    }

    .banner-card img {
      width: 100%;
      height: auto
    }

    /* cta */
    .cta-section {
      background: var(--dark2);
      padding: 120px 40px;
      text-align: center;
      position: relative;
      overflow: hidden
    }

    .cta-section .cta-mark {
      width: 70px;
      margin: 0 auto 28px;
      filter: drop-shadow(0 18px 30px rgba(124, 77, 255, .45))
    }

    .cta-section h2 {
      font-family: var(--display);
      font-size: clamp(2.2rem, 5vw, 4rem);
      font-weight: 700;
      color: #fff;
      letter-spacing: -.03em;
      line-height: 1.06;
      margin-bottom: 18px;
      position: relative
    }

    .cta-section p {
      font-size: 1.08rem;
      color: rgba(221, 226, 255, .62);
      max-width: 520px;
      margin: 0 auto 36px;
      line-height: 1.75;
      position: relative
    }

    .cta-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative
    }

    .cta-section .btn-ghost {
      background: rgba(255, 255, 255, .06);
      border-color: rgba(255, 255, 255, .18);
      color: #fff
    }

    .cta-fine {
      margin-top: 22px;
      font-size: .82rem;
      color: rgba(255, 255, 255, .35);
      position: relative
    }

    /* footer */
    footer {
      background: var(--bg);
      border-top: 1px solid var(--line-soft);
      padding: 80px 40px 40px
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.6fr repeat(4, 1fr);
      gap: 40px;
      max-width: 1200px;
      margin: 0 auto 60px
    }

    .footer-brand .fb-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px
    }

    .footer-brand .fb-logo img {
      height: 36px
    }

    .footer-brand p {
      font-size: .9rem;
      color: var(--muted2);
      line-height: 1.65;
      max-width: 280px
    }

    .footer-brand .tl {
      margin-top: 14px;
      font-family: var(--display);
      font-weight: 600
    }

    .footer-col-title {
      font-size: .72rem;
      font-weight: 700;
      color: var(--navy);
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 22px
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px
    }

    .footer-links a {
      font-size: .9rem;
      color: var(--muted2);
      transition: color .2s, padding .2s
    }

    .footer-links a:hover {
      color: var(--purple);
      padding-left: 4px
    }

    .footer-bottom {
      border-top: 1px solid var(--line-soft);
      padding-top: 36px;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px
    }

    .footer-info {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap
    }

    .footer-info p {
      font-size: .86rem;
      color: var(--muted2)
    }

    .by-comftech {
      font-size: .85rem;
      font-weight: 700;
      color: var(--muted);
      padding: 6px 14px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 100px;
      transition: all .2s
    }

    .by-comftech:hover {
      border-color: var(--purple);
      color: var(--purple)
    }

    .foot-langs {
      display: flex;
      gap: 16px;
      font-size: .82rem;
      color: var(--muted2);
      font-weight: 600
    }

    /* ---------- responsive ---------- */
    @media (max-width:1100px) {

      .tools {
        grid-template-columns: repeat(3, 1fr)
      }

      .wall {
        grid-template-columns: repeat(2, 1fr)
      }

      .modes {
        grid-template-columns: repeat(2, 1fr)
      }

      .pipeline {
        grid-template-columns: repeat(2, 1fr)
      }

      .footer-top {
        grid-template-columns: repeat(3, 1fr)
      }

      .footer-brand {
        grid-column: 1/-1
      }

      .persona-stage {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto
      }

      .persona-lines {
        display: none
      }

      .engine-core {
        order: -1
      }
    }

    @media (max-width:900px) {
      .section {
        padding: 80px 24px
      }

      .problem-grid,
      .dive-head,
      .split,
      .intel,
      .growth-card,
      .tool-panel,
      .live-stage,
      .ops-grid {
        grid-template-columns: 1fr
      }

      .split.rev>:first-child {
        order: 0
      }

      .dive-head {
        gap: 24px;
        align-items: start
      }

      .sticky-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 26px
      }

      .feat-grid,
      .walls,
      .trust-row,
      .principles,
      .proof-grid,
      .think-grid {
        grid-template-columns: 1fr 1fr
      }

      .regions-grid,
      .stat-strip,
      .live-steps {
        grid-template-columns: 1fr 1fr
      }

      .also-inside {
        grid-template-columns: 1fr 1fr
      }

      .also-label {
        display: none
      }

      .dive-media .shot.back {
        display: none
      }

      .ai-bubble {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -30px 16px 0;
        max-width: none
      }
    }

    @media (max-width:640px) {
      body {
        padding-bottom: 90px
      }

      .section {
        padding: 70px 18px
      }

      .floating-brand {
        top: 14px;
        left: 50%;
        transform: translateX(-50%)
      }

      .nav-logo .by {
        display: none
      }

      .hero {
        padding: 104px 18px 0
      }

      .hero h1 {
        font-size: clamp(2.1rem, 10vw, 2.8rem)
      }

      .hero p.lead {
        font-size: 1rem
      }

      .hero-ctas .btn {
        width: 100%;
        justify-content: center
      }

      .hero-ctas {
        max-width: 320px;
        margin: 0 auto
      }

      .screenshot-wrap {
        padding: 36px 14px 40px
      }

      .showcase-tab small {
        display: none
      }

      .role-bar {
        overflow-x: auto;
        justify-content: flex-start
      }

      .avatars {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px
      }

      .av:nth-child(n+26) {
        display: none
      }

      .av span {
        width: 40px;
        height: 40px
      }

      .av i {
        width: 34px
      }

      .pain {
        flex-direction: column;
        align-items: flex-start
      }

      .portals-grid,
      .feat-grid,
      .walls,
      .trust-row,
      .principles,
      .proof-grid,
      .think-grid,
      .regions-grid,
      .modes,
      .wall,
      .pipeline,
      .intel-cards,
      .class-kpis,
      .ops-list,
      .also-inside,
      .live-steps,
      .stat-strip {
        grid-template-columns: 1fr
      }

      .tools {
        grid-template-columns: 1fr 1fr
      }

      .tool.on::after {
        display: none
      }

      .portal-card,
      .tool-panel,
      .growth-card {
        padding: 26px
      }

      .engine-banner {
        padding: 28px
      }

      .footer-top {
        grid-template-columns: 1fr 1fr
      }

      footer {
        padding: 60px 20px 30px
      }

      .dock-container {
        height: 56px;
        gap: 6px;
        padding: 6px;
        border-radius: 20px
      }

      .dock-item {
        width: 38px;
        height: 38px
      }

      .dock-item i,
      .dock-item svg {
        width: 17px;
        height: 17px
      }

      .dock-sep {
        display: none
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important
      }

      .rv {
        opacity: 1;
        transform: none
      }
    }

/* =========================================================
   v3.1 - shared components: top nav + Portals menu, app frames,
   screen galleries, portal pages
   ========================================================= */
.floating-brand {
  top: 20px
}

.topnav {
  position: fixed;
  top: 20px;
  right: 32px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px -12px rgba(84, 55, 168, .35)
}

.topnav>a,
.topnav>.pm>button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .15s
}

.topnav>a:hover,
.topnav>.pm>button:hover,
.topnav>.pm.open>button {
  background: var(--purple-l)
}

.topnav>a.cta {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(109, 79, 230, .9)
}

.topnav>a.cta:hover {
  background: var(--grad-purple);
  opacity: .92
}

.topnav svg {
  width: 16px;
  height: 16px
}

.pm {
  position: relative
}

.pm>button .chev {
  transition: transform .2s
}

.pm.open>button .chev {
  transform: rotate(180deg)
}

.pm-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -60px;
  width: 560px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 70px -24px rgba(84, 55, 168, .45), 0 8px 24px -12px rgba(20, 20, 45, .1);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s
}

.pm.open .pm-panel {
  opacity: 1;
  visibility: visible;
  transform: none
}

.pm-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  transition: background .15s
}

.pm-item:hover,
.pm-item[aria-current="page"] {
  background: var(--bg)
}

.pm-item .pi {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -8px var(--c)
}

.pm-item .pi svg {
  width: 19px;
  height: 19px
}

.pm-item b {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2
}

.pm-item span {
  display: block;
  font-size: .8rem;
  color: var(--muted2);
  line-height: 1.45;
  margin-top: 2px
}

.pm-foot {
  grid-column: 1/-1;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f6f4ff, #f1faf8 58%, #fdf7ef);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: var(--muted);
  font-weight: 600
}

.pm-foot a {
  color: var(--purple-d);
  display: inline-flex;
  gap: 6px;
  align-items: center
}

/* app screen frame */
.app-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  outline: 1px solid rgba(20, 20, 45, .07);
  outline-offset: -1px
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f4f4f8;
  border-bottom: 1px solid var(--line-soft)
}

.app-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57
}

.app-bar i:nth-child(2) {
  background: #ffbd2e
}

.app-bar i:nth-child(3) {
  background: #28ca41
}

.app-bar span {
  margin-left: 10px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--muted2);
  letter-spacing: .01em
}

.app-frame img {
  width: 100%;
  height: auto;
  display: block
}

/* gallery */
.gallery {
  --c: var(--purple)
}

.g-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none
}

.g-tabs::-webkit-scrollbar {
  display: none
}

.g-tab {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: all .15s
}

.g-tab:hover {
  color: var(--navy);
  border-color: var(--line)
}

.g-tab.on {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
  box-shadow: 0 10px 20px -12px var(--c)
}

.g-stage {
  position: relative
}

.g-stage .app-frame img {
  transition: opacity .3s
}

.g-stage .app-frame.portrait {
  max-width: 520px;
  margin: 0 auto
}

.g-cap {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 18px;
  flex-wrap: wrap
}

.g-cap b {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy)
}

.g-cap span {
  color: var(--muted);
  font-size: .98rem
}

/* portal pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 40px 70px;
  background: linear-gradient(180deg, var(--wash, #f6f4ff) 0%, var(--bg) 100%)
}

.page-hero .aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 10% 0%, var(--cl), transparent 65%), radial-gradient(ellipse 45% 45% at 95% 25%, rgba(124, 77, 255, .10), transparent 65%)
}

.page-hero .container {
  position: relative
}

.ph-grid {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 56px;
  align-items: center
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted2);
  margin-bottom: 22px
}

.crumbs a:hover {
  color: var(--c)
}

.crumbs svg {
  width: 14px;
  height: 14px
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: var(--navy);
  margin-bottom: 18px;
  text-wrap: balance
}

.page-hero h1 em {
  font-style: normal;
  color: var(--c)
}

.page-hero .lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 26px
}

.ph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px
}

.ph-chips .chip {
  border-color: var(--line-soft)
}

.ph-chips .chip svg {
  color: var(--c)
}

.btn-accent {
  background: var(--c);
  color: #fff;
  box-shadow: 0 14px 30px -12px var(--c)
}

.btn-accent:hover {
  transform: translateY(-2px)
}

.ph-shot {
  perspective: 1400px
}

.ph-shot .app-frame {
  transform: rotateY(-6deg) rotateX(4deg);
  transform-origin: left center;
  transition: transform .6s var(--ease)
}

.ph-shot:hover .app-frame {
  transform: none
}

.glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px
}

.gl {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition: transform .2s var(--ease), box-shadow .2s
}

.gl:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -28px var(--c)
}

.gl .fi {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cl);
  color: var(--c);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.gl .fi svg {
  width: 20px;
  height: 20px
}

.gl b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 2px
}

.gl span {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 26px;
  flex-wrap: wrap
}

.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--navy)
}

.sec-head h2 em {
  font-style: normal;
  color: var(--c)
}

.sec-head p {
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65
}

.next-portals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px
}

.np {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform .2s, box-shadow .2s
}

.np:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px var(--c)
}

.np .pi {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center
}

.np .pi svg {
  width: 18px;
  height: 18px
}

.np b {
  font-family: var(--display);
  color: var(--navy);
  font-size: 1rem
}

.np span {
  font-size: .8rem;
  color: var(--muted2)
}

.np[aria-current="page"] {
  display: none
}

/* home portal cards with real screen */
.portal-card .pc-thumb {
  margin: 6px -38px -36px;
  padding: 0 24px;
  position: relative;
  height: 240px;
  overflow: hidden
}

.portal-card .pc-thumb img {
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 30px -18px rgba(20, 20, 45, .35);
  outline: 1px solid rgba(20, 20, 45, .06);
  transition: transform .4s var(--ease)
}

.portal-card:hover .pc-thumb img {
  transform: translateY(-6px)
}

.portal-card .pc-bul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px
}

.portal-card .pc-bul li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .93rem;
  color: var(--ink)
}

.portal-card .pc-bul svg {
  width: 16px;
  height: 16px;
  color: var(--c);
  flex-shrink: 0
}

/* chalkboard (live classroom, HTML) */
.board {
  position: relative;
  background: #2d4a3e;
  border: 12px solid #8a5a33;
  border-radius: 14px;
  padding: 26px 28px;
  color: #f4f1e6;
  font-family: 'Kalam', 'Comic Sans MS', cursive;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .35), 0 30px 60px -30px rgba(0, 0, 0, .6);
  min-height: 250px
}

.board h5 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid rgba(244, 241, 230, .35);
  display: inline-block;
  padding-bottom: 4px
}

.board p {
  font-size: 1.1rem;
  line-height: 1.7
}

.board .ask {
  color: #ffc46b
}

.board .live {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  background: rgba(0, 0, 0, .35);
  color: #ff8b8e;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px
}

.board .live b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a5f;
  animation: pulse 1.6s infinite
}

.room {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.room div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem
}

.room em {
  font-style: normal;
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 184, 134, .18);
  color: #5fe0b5
}

.room .hand em {
  background: rgba(51, 163, 236, .25);
  color: #9fd3fa
}

.room .av2 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .12)
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.mc {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1)
}

.mc svg {
  width: 22px;
  height: 22px;
  color: #5ee6f2;
  margin-bottom: 14px
}

.mc b {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: #fff
}

.mc span {
  font-size: .86rem;
  color: rgba(221, 226, 255, .62);
  line-height: 1.5
}

.cta-band {
  border-radius: 28px;
  padding: 50px;
  background: var(--dark2);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap
}

.cta-band h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  position: relative
}

.cta-band p {
  color: rgba(221, 226, 255, .6);
  margin-top: 8px;
  position: relative
}

.cta-band .btn {
  position: relative
}

.banner-strip {
  padding: 0 40px 90px;
  background: var(--bg)
}

@media (max-width:1100px) {
  .next-portals {
    grid-template-columns: repeat(3, 1fr)
  }

  .mini-cards {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:900px) {

  .ph-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .ph-shot .app-frame {
    transform: none
  }

  .glance {
    grid-template-columns: 1fr 1fr
  }

  .page-hero {
    padding: 120px 24px 50px
  }

  .pm-panel {
    width: min(560px, calc(100vw - 32px));
    right: -8px
  }
}

@media (max-width:640px) {
  .floating-brand {
    left: 16px;
    transform: none;
    top: 14px
  }

  .topnav {
    top: 14px;
    right: 14px;
    padding: 4px
  }

  .topnav>a {
    display: none
  }

  .topnav>.pm>button {
    padding: 8px 12px
  }

  .pm-panel {
    right: -4px;
    width: calc(100vw - 28px);
    padding: 8px;
    grid-template-columns: 1fr 1fr
  }

  .pm-item {
    padding: 10px 8px;
    gap: 10px
  }

  .pm-item .pi {
    width: 32px;
    height: 32px
  }

  .pm-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px
  }

  .glance,
  .next-portals,
  .mini-cards {
    grid-template-columns: 1fr
  }

  .page-hero {
    padding: 100px 18px 40px
  }

  .portal-card .pc-thumb {
    margin: 6px -26px -26px;
    padding: 0 14px
  }

  .cta-band {
    padding: 30px
  }

  .banner-strip {
    padding: 0 16px 60px
  }
}

/* =========================================================
   v3.2: no icon tiles. Numbers, colour bars and dots instead
   ========================================================= */
.mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, var(--purple));
  flex-shrink: 0
}

.pm-item .mark {
  width: 4px;
  height: 34px;
  border-radius: 4px;
  margin-top: 2px
}

.pc-top .mark,
.mini-portal .mark,
.oh .mark {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 16%, transparent)
}

.mini-portal .mark {
  margin: 0 6px
}

.oh .mark {
  background: var(--oc)
}

.dive-eyebrow {
  padding-left: 14px
}

.dive-eyebrow .mark {
  width: 8px;
  height: 8px;
  background: var(--c)
}

.principle .mark {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 18px
}

.wallcard .mark {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--wc);
  margin-bottom: 22px
}

.wall-head .mark {
  background: var(--wc)
}

.trust-item .mark {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--purple)
}

.mode .mark {
  display: none
}

.np .mark {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--c)
}

.gl {
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden
}

.gl::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c)
}

.gl-n {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--c);
  letter-spacing: .1em;
  margin: 6px 0 6px
}

.ri.code {
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .08em
}

.persona-top .pa {
  font-family: var(--display);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .02em
}

.lane .chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lc)
}

.ticker-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple)
}

.ticker-item:nth-child(3n+2)::before {
  background: var(--teal)
}

.ticker-item:nth-child(3n)::before {
  background: var(--orange)
}

.ops-list div::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oc);
  margin-top: 8px;
  flex-shrink: 0
}

.pipe .pn {
  margin-bottom: 14px
}

.pipe {
  border-top: 2px solid var(--pcol)
}

.mc {
  border-top: 2px solid #5ee6f2
}

/* =========================================================
   v3.2: scroll animations
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--aura);
  z-index: 1200;
  pointer-events: none
}

/* headings: masked rise */
.rv.mask {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  translate: 0 48px;
  transition: clip-path 1.1s var(--ease), translate 1.1s var(--ease)
}

.rv.mask.in {
  clip-path: inset(-15% -4% -25% -4%);
  translate: 0 0
}

/* product screens: tilt up out of the page */
.rv.tilt {
  opacity: 0;
  transform: perspective(1400px) rotateX(20deg) translateY(80px) scale(.93);
  transform-origin: 50% 100%;
  transition: opacity 1s var(--ease), transform 1.3s var(--ease)
}

.rv.tilt.in {
  opacity: 1;
  transform: none
}

/* cards: blur-pop with stagger */
.rv.pop {
  transition: opacity .8s var(--ease), transform .95s var(--ease), filter .8s var(--ease)
}

.rv.pop:not(.in) {
  transform: translateY(46px) scale(.93);
  filter: blur(8px)
}

/* section labels slide in */
.section-label.rv:not(.in) {
  transform: translateX(-24px)
}

/* dark sections open like a curtain (driven by site.js) */
.curtain {
  will-change: clip-path
}

.curtain>.container,
.curtain>.why-studyup-header,
.curtain>.pipeline,
.curtain>.engine-banner {
  will-change: transform
}

/* gallery swaps slide in */
.g-stage .app-frame img {
  transition: opacity .35s var(--ease), transform .5s var(--ease)
}

.g-stage .app-frame img.swapping {
  opacity: 0;
  transform: translateX(28px) scale(.985)
}

/* portal-card thumbnails glide up after the card lands */
.portal-card .pc-thumb img {
  transition: transform 1s var(--ease) .25s
}

.portal-card.rv:not(.in) .pc-thumb img {
  transform: translateY(70px)
}

@media (prefers-reduced-motion: reduce) {

  .rv.mask,
  .rv.tilt,
  .rv.pop {
    clip-path: none !important;
    translate: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important
  }

  .scroll-progress {
    display: none
  }
}

/* =========================================================
   v3.3: glass stacking steps, no colour strips, spotlight
   ========================================================= */
#engine {
  overflow: clip
}

.steps {
  margin-top: 64px;
  padding-bottom: 20px
}

.steps .sticky-card {
  grid-template-columns: 1fr 1.05fr;
  padding: 48px;
  background: linear-gradient(160deg, rgba(38, 36, 92, .72), rgba(16, 16, 44, .82));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform-origin: 50% 0;
  transition: transform .3s linear, filter .3s linear
}

.steps .sticky-card:nth-child(1) { top: 96px }
.steps .sticky-card:nth-child(2) { top: 116px }
.steps .sticky-card:nth-child(3) { top: 136px }
.steps .sticky-card:nth-child(4) { top: 156px }

.steps .sc-body {
  position: relative
}

.sc-big {
  display: block;
  font-family: var(--display);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
  margin-bottom: 26px
}

.steps h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 12px
}

.steps p {
  color: rgba(221, 226, 255, .66);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 380px
}

/* product snippets inside the step cards */
.vis {
  position: relative;
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  flex-direction: column;
  gap: 8px
}

.vis-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 10px;
  font-size: .86rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 4px
}

.vis-head em,
.vis-row em {
  font-style: normal;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(221, 226, 255, .55)
}

.vis-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  font-size: .9rem;
  color: rgba(255, 255, 255, .88)
}

.vis-row b {
  color: #fff
}

.vis-row em {
  margin-left: auto;
  white-space: nowrap
}

.vis-row .ar {
  font-family: var(--arabic);
  font-weight: 600
}

.vis-row .n {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7)
}

.vis-row em.ok {
  color: #5fe0b5
}

.vis-row .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  background: var(--c)
}

.vis-row .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent)
}

.vis-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-top: 6px
}

.vis-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #7c4dff, #22c1b3);
  transition: width 1.6s var(--ease) .3s
}

.sticky-card.in .vis-bar i,
.sticky-card .vis-bar.in i {
  width: 100%
}

.vis-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.vis-stats div {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04)
}

.vis-stats b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1
}

.vis-stats span {
  font-size: .8rem;
  color: rgba(221, 226, 255, .6)
}

/* no more coloured top strips */
.gl::before,
.mode::before,
.wall-col::before {
  display: none
}

.mc,
.pipe {
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.gl-n {
  color: var(--faint);
  margin-top: 0
}

.gl b {
  font-size: 1.1rem
}

.mode .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.mode .tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mc)
}

.wallcard .mark,
.principle .mark {
  display: none
}

.walls,
.principles {
  counter-reset: n
}

.wallcard::before,
.principle::before {
  counter-increment: n;
  content: '0' counter(n);
  display: block;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--faint);
  margin-bottom: 18px
}

.wallcard {
  background: #fff
}

.np .mark {
  width: 9px;
  height: 9px;
  border-radius: 50%
}

/* cursor spotlight on cards */
.spot {
  position: relative;
  isolation: isolate
}

.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, #7c4dff) 12%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity .3s
}

.spot:hover::after {
  opacity: 1
}

.dark .spot::after,
#live .spot::after {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(185, 168, 255, .14), transparent 45%)
}

@media (max-width:900px) {
  .steps .sticky-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px
  }

  .sc-big {
    font-size: 3.8rem;
    margin-bottom: 14px
  }
}

@media (max-width:640px) {
  .steps .sticky-card:nth-child(n) {
    top: 80px
  }

  .vis-row em {
    display: none
  }
}

/* =========================================================
   v3.4: portal icons, GSAP hooks
   ========================================================= */
.pc-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 13%, #fff);
  color: var(--c);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent)
}

.pc-ico svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9
}

.pc-ico.sm {
  width: 36px;
  height: 36px;
  border-radius: 11px
}

.pc-ico.sm svg {
  width: 18px;
  height: 18px
}

.pc-ico.xs {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: -8px
}

.pc-ico.xs svg {
  width: 14px;
  height: 14px
}

.portal-card {
  padding-bottom: 34px
}

.portal-card .pc-link {
  margin-top: 4px
}

.statement {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 900px;
  margin: 26px auto 0;
  text-wrap: balance
}


html.gsap-on .chart-wrap .ln {
  transition: none
}

.sl {
  padding-bottom: .06em
}

/* =========================================================
   v3.5: text columns, hero background, text-only steps,
   portal icon fixes, AI Live Classroom walkthrough
   ========================================================= */

/* plain text columns */
.txt-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  margin-top: 8px
}

.tc {
  background: #fff;
  padding: 28px 28px 30px
}

.tc h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 14px
}

.tc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.tc li {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative
}

.tc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 1.5px;
  background: var(--c, var(--purple))
}

/* hero: slowly drifting colour field + hand-drawn school doodles */
.hero-aurora {
  animation: auroraDrift 26s ease-in-out infinite alternate;
  background-size: 140% 140%
}

@keyframes auroraDrift {
  0% { background-position: 0% 0%; filter: hue-rotate(0deg) }
  50% { background-position: 60% 40% }
  100% { background-position: 100% 100%; filter: hue-rotate(-12deg) }
}

.hero-wave-tl { animation: waveSway 18s ease-in-out infinite alternate }
.hero-wave-br { animation: waveSway2 22s ease-in-out infinite alternate }

@keyframes waveSway { to { transform: translate(40px, 24px) rotate(6deg) scale(1.06) } }
@keyframes waveSway2 { to { transform: rotate(180deg) translate(40px, 30px) scale(1.08) } }

.doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0
}

.doodle {
  position: absolute;
  display: block;
  opacity: .2;
  transform: rotate(var(--r));
  animation: doodleFloat 9s ease-in-out infinite alternate;
  animation-delay: var(--d)
}

.doodle svg {
  width: 100%;
  height: auto;
  stroke-width: 1.1;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: doodleDraw 2.6s ease-out forwards;
  animation-delay: calc(var(--d) * .6 + .4s)
}

@keyframes doodleDraw { to { stroke-dashoffset: 0 } }

@keyframes doodleFloat {
  0% { translate: 0 0 }
  100% { translate: 10px -18px }
}

/* engine steps: text only, number left */
.steps .sticky-card {
  display: block;
  padding: 46px 52px
}

.steps .sc-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto auto;
  column-gap: 40px;
  align-items: center
}

.steps .sc-big {
  grid-row: 1 / 3;
  margin: 0;
  font-size: 7rem
}

.steps h3 {
  align-self: end;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem)
}

.steps p {
  align-self: start;
  max-width: 560px;
  font-size: 1.1rem
}

/* portal icon fixes */
.pm-item .pc-ico {
  display: grid;
  margin: 0;
  background: var(--c);
  color: #fff;
  box-shadow: 0 8px 16px -8px var(--c)
}

.pm-item .pc-ico svg {
  width: 18px;
  height: 18px;
  stroke-width: 2
}

.np .pc-ico {
  color: var(--c)
}

/* ---------------- AI Live Classroom walkthrough ---------------- */
.live-story {
  position: relative;
  background: radial-gradient(ellipse 80% 70% at 70% 30%, #2a1f6b 0%, #120f3a 45%, var(--dark2) 80%);
  color: #fff;
  overflow: clip
}

.ls-pin {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 60px
}

.ls-grid {
  display: grid;
  grid-template-columns: .78fr 1.5fr;
  gap: 52px;
  align-items: center;
  width: 100%;
  padding: 0 40px
}

.ls-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 34px
}

.ls-copy h2 em {
  font-style: normal;
  color: #b9a8ff
}

.ls-steps {
  position: relative;
  min-height: 190px
}

.ls-step {
  position: absolute;
  inset: 0 0 auto 0
}

.ls-step+.ls-step {
  opacity: 0;
  visibility: hidden
}

.ls-n {
  display: block;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(221, 226, 255, .45);
  margin-bottom: 12px
}

.ls-step h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px
}

.ls-step p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(221, 226, 255, .68);
  max-width: 400px
}

.ls-dots {
  display: flex;
  gap: 6px;
  margin-top: 26px
}

.ls-dots i {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  transition: background .3s, width .3s
}

.ls-dots i.on {
  width: 40px;
  background: #b9a8ff
}

/* the classroom (mirrors the AI Teacher whiteboard app) */
.ls-stage {
  position: relative
}

.cr {
  --cp: #6d4aff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px 14px;
  padding: 14px;
  border-radius: 28px;
  background: radial-gradient(120% 110% at 88% 6%, #7c5cf6 0%, #8e73f8 26%, #b9a6f7 52%, #ded4f6 74%, #efeafb 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  color: #1c1a2b;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  aspect-ratio: 16 / 10.4
}

.cr-room {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(41, 20, 96, .45)
}

.cr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #ecebf3;
  border-radius: 20px 20px 0 0
}

.cr-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700
}

.cr-tutor {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(41, 20, 96, .14), 0 0 0 1px #ecebf3;
  display: grid;
  place-items: center
}

.cr-tutor img {
  width: 11px
}

.cr-tutor::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(109, 74, 255, .35);
  animation: crRing 2.4s ease-out infinite
}

@keyframes crRing {
  0% { transform: scale(.9); opacity: .75 }
  100% { transform: scale(1.2); opacity: 0 }
}

.cr-meta {
  display: flex;
  gap: 6px
}

.cr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 700;
  background: #f4f3f8;
  color: #565269;
  white-space: nowrap
}

.cr-pill.tutor {
  background: var(--cp);
  color: #fff
}

.cr-pill.live {
  background: #ffe9ec;
  color: #c4262b
}

.cr-pill.live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 1.8s ease-in-out infinite
}

@keyframes livePulse {
  50% { opacity: .35 }
}

.cr-board {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 0 0 20px 20px;
  background-color: #fdfdff;
  background-image: radial-gradient(#ded7fb 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 16px 20px 16px 34px;
  overflow: hidden;
  font-family: 'Kalam', 'Comic Sans MS', cursive;
  color: #1c1a2b
}

.cr-board::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 22px;
  width: 1px;
  background: #dedaee
}

.hw {
  font-size: clamp(.7rem, 1.15vw, .98rem);
  line-height: 1.55;
  width: max-content;
  position: relative
}

.hw.title {
  font-size: clamp(.95rem, 1.7vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 2px
}

.hw.big {
  font-size: clamp(.82rem, 1.4vw, 1.16rem);
  font-weight: 700
}

.hw.faint { color: #747086 }
.hw.good { color: #10806a; font-weight: 700 }
.hw.accent { color: var(--cp); margin-top: 4px }

.hw mark {
  background: #ede9fe;
  color: inherit;
  border-radius: 6px;
  padding: 0 4px
}

.hw.circ::after {
  content: '';
  position: absolute;
  inset: -3px -12px;
  border: 2px solid #10806a;
  border-radius: 50%;
  transform: rotate(-3deg)
}

.hw.und::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--cp);
  transform: rotate(-1deg)
}

.hw.aside {
  position: absolute;
  right: 22px;
  top: 34%;
  font-size: clamp(.6rem, .95vw, .82rem);
  color: #565269;
  line-height: 1.6
}

.hw.aside span {
  color: #747086
}

.cr-caption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(28, 26, 43, .9);
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(.58rem, .9vw, .76rem);
  font-weight: 500;
  white-space: nowrap
}

.cr-students {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0
}

.cr-st {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 10px 24px -10px rgba(41, 20, 96, .3);
  font-size: .76rem;
  font-weight: 700
}

.cr-st.hand {
  box-shadow: 0 0 0 2px var(--cp), 0 10px 24px -10px rgba(41, 20, 96, .3)
}

.cr-orb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .66rem;
  font-weight: 800;
  flex-shrink: 0
}

.cr-handico {
  width: 14px;
  height: 14px;
  margin-left: auto;
  fill: var(--cp)
}

.cr-more {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  padding: 4px
}

.cr-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px
}

.cr-teacher {
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 9px
}

.cr-torb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cp);
  border: 3px solid #fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -10px rgba(41, 20, 96, .4)
}

.cr-badge {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(41, 20, 96, .3)
}

.cr-actions {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(41, 20, 96, .3)
}

.cr-act {
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f4f3f8;
  color: #565269;
  font-size: .72rem;
  font-weight: 700
}

.cr-act svg {
  width: 17px;
  height: 17px;
  fill: currentColor
}

.cr-act.primary {
  padding: 0 14px 0 10px;
  background: #1c1a2b;
  color: #fff
}

.cr-act.on {
  background: #ede9fe;
  color: #4c2fb5;
  box-shadow: inset 0 0 0 2px var(--cp)
}

/* the pointer: a ring that dims everything else */
.ls-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 18px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(185, 168, 255, .45), 0 0 0 9999px rgba(10, 8, 34, .5), 0 0 40px 6px rgba(185, 168, 255, .55);
  pointer-events: none;
  opacity: 0;
  z-index: 5
}

.cr {
  overflow: hidden
}

@media (max-width:1000px) {
  .ls-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px
  }

  .ls-pin {
    min-height: 0;
    padding: 80px 0
  }

  .ls-steps {
    min-height: 0
  }

  .ls-step {
    position: static;
    margin-bottom: 26px
  }

  .ls-step+.ls-step {
    opacity: 1;
    visibility: visible
  }

  .ls-dots {
    display: none
  }

  .ls-stage {
    order: -1
  }
}

@media (max-width:900px) {

  .txt-cols {
    grid-template-columns: 1fr 1fr
  }

  .steps .sc-body {
    grid-template-columns: 1fr
  }

  .steps .sc-big {
    grid-row: auto;
    font-size: 3.6rem;
    margin-bottom: 12px
  }
}

@media (max-width:640px) {
  .txt-cols {
    grid-template-columns: 1fr
  }

  .cr {
    grid-template-columns: 1fr;
    aspect-ratio: auto
  }

  .cr-students {
    display: none
  }

  .cr-board {
    min-height: 280px
  }

  .hw.aside {
    display: none
  }

  .cr-meta .cr-pill:not(.live) {
    display: none
  }

  .cr-teacher .cr-badge {
    display: none
  }

  .doodle {
    opacity: .12
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-aurora,
  .hero-wave-tl,
  .hero-wave-br,
  .doodle,
  .doodle svg {
    animation: none !important;
    stroke-dashoffset: 0
  }
}

footer.cr-bottom {
  padding: 0;
  border: 0;
  background: none
}

.cr-students {
  overflow: hidden
}

.hw { font-size: clamp(.8rem, 1.32vw, 1.12rem); line-height: 1.72 }
.hw.title { font-size: clamp(1.05rem, 1.95vw, 1.62rem) }
.hw.big { font-size: clamp(.92rem, 1.55vw, 1.3rem) }
.hw.aside { font-size: clamp(.66rem, 1.05vw, .9rem); top: 30% }

/* ================= v3.6: wider classroom, speaking badge ================= */
/* AI Live Classroom: wider stage, bigger board */
.live-story .ls-grid.container {
  max-width: 1680px;
  padding: 0 clamp(20px, 2.4vw, 44px);
  grid-template-columns: minmax(290px, .58fr) minmax(0, 1.9fr);
  gap: clamp(28px, 3vw, 56px)
}

.ls-pin {
  padding: 76px 0 40px
}

.ls-stage {
  display: flex;
  justify-content: flex-end
}

.cr {
  container-type: inline-size;
  width: min(100%, calc((100vh - 120px) * 1.6));
  aspect-ratio: 16 / 10;
  grid-template-columns: minmax(0, 1fr) clamp(140px, 15cqi, 190px);
  padding: clamp(12px, 1.3cqi, 18px);
  gap: clamp(10px, 1.2cqi, 16px)
}

.hw { font-size: clamp(.82rem, 1.95cqi, 1.5rem); line-height: 1.66 }
.hw.title { font-size: clamp(1.05rem, 2.9cqi, 2.2rem) }
.hw.big { font-size: clamp(.95rem, 2.35cqi, 1.8rem) }
.hw.aside { font-size: clamp(.68rem, 1.45cqi, 1.1rem) }

.cr-board {
  padding: clamp(14px, 2cqi, 28px) clamp(18px, 2.4cqi, 34px) clamp(14px, 2cqi, 28px) clamp(34px, 4cqi, 54px)
}

.cr-board::before {
  left: clamp(22px, 2.8cqi, 38px)
}

.cr-title { font-size: clamp(.78rem, 1.15cqi, .95rem) }
.cr-pill { font-size: clamp(.64rem, .9cqi, .76rem); height: clamp(22px, 2.3cqi, 28px); padding: 0 clamp(9px, 1cqi, 13px) }
.cr-caption { font-size: clamp(.8rem, 1.3cqi, 1.05rem) }
.cr-st { font-size: clamp(.74rem, 1.05cqi, .9rem) }

@media (max-width:1000px) {
  .cr {
    width: 100%
  }
}

@media (max-width:640px) {
  .cr {
    aspect-ratio: auto
  }
}

/* live badge: a speaking waveform, no red dot */
.live-badge {
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #c3b5ff;
  font-size: .78rem;
  letter-spacing: .18em
}

.live-badge > b {
  display: none
}

.lb-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px
}

.lb-wave i {
  display: block;
  width: 3px;
  height: 35%;
  border-radius: 3px;
  background: currentColor;
  animation: lbWave 1.15s ease-in-out infinite
}

.lb-wave i:nth-child(2) { animation-delay: -.85s }
.lb-wave i:nth-child(3) { animation-delay: -.45s }
.lb-wave i:nth-child(4) { animation-delay: -.7s }
.lb-wave i:nth-child(5) { animation-delay: -.2s }

@keyframes lbWave {
  0%, 100% { height: 30% }
  50% { height: 100% }
}

@media (prefers-reduced-motion: reduce) {
  .lb-wave i { animation: none; height: 60% }
}

/* ================= v3.7: glance tree, fair portals, study modes ================= */
.gt-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px
}

.gt-head p {
  max-width: 620px
}

.gt {
  position: relative;
  margin-top: 8px;
  --line: color-mix(in srgb, var(--c) 45%, #cfd6e6)
}

.gt-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0
}

.gt-svg path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.6;
  stroke-linecap: round
}

.gt-svg path.gt-o {
  stroke: var(--c);
  stroke-width: 2
}

.gt-svg circle {
  fill: #fff;
  stroke: var(--c);
  stroke-width: 1.6
}

.gt-root {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 26px 14px 14px;
  background: #fff;
  border: 1px solid rgba(8, 28, 81, .09);
  border-radius: 20px;
  box-shadow: 0 18px 40px -26px rgba(8, 28, 81, .35)
}

.gt-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--c)
}

.gt-ico svg {
  width: 21px;
  height: 21px;
  stroke: #fff
}

.gt-root b {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--navy)
}

.gt-root div span {
  font-size: .86rem;
  color: var(--muted)
}

.gt-row {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px
}

.gt-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(8, 28, 81, .08);
  box-shadow: 0 14px 34px -24px rgba(8, 28, 81, .32);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease)
}

.gt-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(8, 28, 81, .4)
}

.gt-node b {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--navy)
}

.gt-node > span:last-child {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--muted)
}

.gt-node .gg-n {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c)
}

.gt-node.gt-src {
  background: var(--c);
  border-color: transparent;
  box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--c) 80%, transparent)
}

.gt-node.gt-src b,
.gt-node.gt-src .gg-n {
  color: #fff
}

.gt-node.gt-src > span:last-child {
  color: rgba(255, 255, 255, .86)
}

.gt-out {
  position: relative;
  z-index: 1;
  padding-top: 96px
}

.gt-out .sec-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px
}


@media (max-width:1000px) {
  .gt-row {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (max-width:1000px) {
  .gt-svg {
    display: none
  }

  .gt-row {
    margin-top: 20px
  }

  .gt-out {
    margin-top: 60px
  }
}

@media (max-width:620px) {
  .gt-row {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

/* boys' and girls' portals */
.fair-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  margin-top: 44px
}

.fair-card {
  margin: 0;
  transition: transform .5s var(--ease)
}

.fair-card:first-child {
  transform: rotate(-1.6deg)
}

.fair-card:last-child {
  transform: rotate(1.6deg)
}

.fair-card:hover {
  transform: none
}

.fair-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 18px;
  text-align: center
}

.fair-card figcaption b {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy)
}

.fair-card figcaption span {
  font-size: .9rem;
  color: var(--muted)
}

.fair-card:last-child figcaption b {
  color: #d6428f
}

.fair-card:first-child figcaption b {
  color: #2f8fe0
}

.fair-eq {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy)
}

.fair-note {
  text-align: center;
  margin-top: 34px;
  font-size: .95rem;
  color: var(--muted)
}

@media (max-width:820px) {
  .fair-grid {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .fair-eq {
    text-align: center;
    font-size: 2.6rem
  }

  .fair-card:first-child,
  .fair-card:last-child {
    transform: none
  }
}

/* study modes: same structure in every card */
.modes2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px
}

.md {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(8, 28, 81, .08);
  box-shadow: 0 14px 34px -26px rgba(8, 28, 81, .3)
}

.md-k {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c)
}

.md h4 {
  font-family: var(--display);
  font-size: 1.18rem;
  color: var(--navy)
}

.md p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted)
}

@media (max-width:900px) {
  .modes2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:540px) {
  .modes2 {
    grid-template-columns: 1fr
  }
}

/* ================= v3.8: pinned tree, out-link, "many more" ================= */
.gt-stage {
  position: relative
}

.gt.has-out .gt-stage {
  padding-bottom: 90px
}

.gt-link {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 80px;
  margin-left: -1px;
  background: var(--c);
  transform-origin: 50% 0;
  border-radius: 2px
}

.gt-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c)
}

.gt-svg circle.gt-o-end {
  display: none
}

@media (min-width:1001px) {
  html.gsap-on .gt-stage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px
  }

  html.gsap-on .gt.has-out .gt-stage {
    padding-bottom: 90px
  }

  .gt-node {
    will-change: transform
  }
}

@media (max-width:1000px) {
  .gt.has-out .gt-stage {
    padding-bottom: 0
  }

  .gt-link {
    display: none
  }

  .gt-out {
    padding-top: 60px
  }
}

.g-tabs {
  align-items: center
}

.g-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c);
  border: 1.5px dashed color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 5%, #fff);
  transition: background .2s, transform .2s
}

.g-more {
  padding: 9px 18px;
  cursor: default;
  user-select: none
}

/* admin hub: sticky glass cards need a non-hidden overflow, like #engine */
#modules {
  overflow: clip
}

/* ================= v3.9: curved connectors with arrowheads, AI card bloom ================= */
.gt-svg path.gt-l {
  stroke-width: 1.8
}

.gt-svg path.gt-l.to-src,
.gt-svg path.gt-o {
  stroke: var(--c);
  stroke-width: 2.2
}

.gt-svg path.gt-l-end {
  fill: none;
  stroke: var(--c);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.gt-svg circle.gt-origin {
  fill: var(--c);
  stroke: #fff;
  stroke-width: 2.5
}

.gt-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(247, 249, 253, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden
}

.gt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none
}

.gt-shine i {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -55%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-12deg)
}

.gt-ring {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--c);
  pointer-events: none;
  opacity: 0
}

/* ================= request a demo ================= */
.demo-page {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 90px;
  background: radial-gradient(ellipse 60% 55% at 12% 20%, rgba(109, 79, 230, .12), transparent 70%),
              radial-gradient(ellipse 55% 50% at 90% 80%, rgba(1, 178, 197, .1), transparent 70%)
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start
}

.demo-copy {
  position: sticky;
  top: 130px
}

.demo-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: var(--navy);
  margin: 14px 0 18px
}

.demo-copy h1 em {
  font-style: normal;
  color: var(--purple, #6d4fe6)
}

.demo-copy > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 420px
}

.demo-copy ul {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.demo-copy li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: var(--navy)
}

.demo-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 2px;
  background: var(--purple, #6d4fe6)
}

.demo-mail {
  font-size: .95rem
}

.demo-mail a {
  color: var(--purple, #6d4fe6);
  font-weight: 600
}

.demo-card {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(8, 28, 81, .08);
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 40px 80px -46px rgba(8, 28, 81, .4)
}

.df-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px
}

.df {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.df > span {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy)
}

.df i {
  font-style: normal;
  color: #e5484d;
  margin-left: 2px
}

.df input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(8, 28, 81, .12);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s
}

.df input::placeholder {
  color: #9aa3b8
}

.df input:focus {
  border-color: var(--purple, #6d4fe6);
  box-shadow: 0 0 0 4px rgba(109, 79, 230, .12)
}

.df.invalid input {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, .1)
}

.demo-submit {
  width: 100%;
  justify-content: center;
  margin-top: 28px;
  padding: 16px 24px;
  font-size: 1rem
}

.demo-submit.sending {
  opacity: .65;
  pointer-events: none
}

.demo-err {
  margin-top: 14px;
  font-size: .92rem;
  color: #c4262b
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0
}

.demo-done {
  text-align: center;
  padding: 40px 10px
}

.demo-done h2 {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px
}

.demo-done p {
  color: var(--muted);
  margin-bottom: 26px
}

@media (max-width:900px) {
  .demo-grid {
    grid-template-columns: 1fr
  }

  .demo-copy {
    position: static
  }
}

@media (max-width:560px) {
  .df-grid {
    grid-template-columns: 1fr
  }

  .demo-page {
    padding-top: 110px
  }
}

.df.wide {
  grid-column: 1 / -1
}
