﻿    :root {
      --bg: #05070c;
      --ink: #edf4fb;
      --muted: rgba(237, 244, 251, 0.68);
      --faint: rgba(237, 244, 251, 0.42);
      --line: rgba(150, 210, 255, 0.16);
      --aqua: #7ef0ff;
      --aqua-2: #3d7cff;
      --gold: #e0b23a;
      --platinum: #c5ced8;
      --diamond: #7ef0ff;
      --max: 1180px;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--bg);
      font-family: Manrope, system-ui, sans-serif;
      font-size: 16.5px;
      line-height: 1.55;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; }
    h1, h2, h3 { font-family: Outfit, Manrope, sans-serif; letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 600; }

    .noise {
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 80;
      opacity: 0.18;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
    }
    .progress {
      position: fixed;
      top: 0; left: 0; height: 2px; width: 0;
      z-index: 90;
      background: linear-gradient(90deg, var(--aqua), var(--aqua-2));
      box-shadow: 0 0 16px var(--aqua);
    }
    .nav {
      position: fixed;
      top: 12px; left: 50%;
      transform: translateX(-50%);
      width: min(var(--max), calc(100% - 28px));
      z-index: 100;
      isolation: isolate;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 12px 10px 18px;
      border-radius: 999px;
      background: rgba(6, 10, 16, 0.55);
      border: 1px solid var(--line);
      backdrop-filter: blur(18px);
      animation: navin 0.7s var(--ease) both;
      transition: background 0.35s ease, border-color 0.35s ease;
    }
    .nav.scrolled { background: rgba(6, 10, 16, 0.82); border-color: rgba(126, 240, 255, 0.28); }
    .logo img { height: 28px; width: auto; }
    .nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .nav-actions .btn { padding: 0.65rem 1rem; font-size: 0.88rem; white-space: nowrap; }
    .nav-mobile-only { display: none; }
    .nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
    .nav-links a { position: relative; transition: color 0.2s ease; }
    .nav-links a::after {
      content: "";
      position: absolute; left: 0; bottom: -6px;
      width: 100%; height: 1px;
      background: var(--aqua);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s ease;
    }
    .nav-links a:hover { color: white; }
    .nav-links a:hover::after,
    .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
    .nav-links a[aria-current="page"] { color: white; }
    .nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 0; cursor: pointer; }

    .btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      cursor: pointer;
      border-radius: 999px;
      padding: 0.85rem 1.2rem;
      font-weight: 700;
      transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    }
    .btn:active { transform: scale(0.94); }
    .btn-primary {
      background: linear-gradient(180deg, #e9fbff 0%, var(--aqua) 45%, #49c8e6 100%);
      color: #041018;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.35) inset, 0 10px 30px rgba(62, 200, 230, 0.28);
    }
    .btn-primary:hover { transform: translateY(-2px); }
    .btn-ghost {
      background: transparent;
      color: white;
      border: 1px solid var(--line);
    }
    .btn-ghost:hover { border-color: rgba(126, 240, 255, 0.5); transform: translateY(-2px); }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      min-height: 92vh;
      display: grid;
      place-items: center;
      padding: 150px 20px 100px;
      text-align: center;
      overflow: visible;
    }
    .hero-bg, .grid {
      position: absolute;
      left: 50%;
      top: 0;
      width: 100vw;
      height: 100%;
      transform: translateX(-50%);
      pointer-events: none;
    }
    .hero-bg {
      background:
        radial-gradient(ellipse 60% 45% at 70% 15%, rgba(61, 124, 255, 0.26), transparent 60%),
        radial-gradient(ellipse 45% 40% at 20% 80%, rgba(126, 240, 255, 0.14), transparent 60%),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(224, 178, 58, 0.06), transparent 70%);
      animation: drift 18s ease-in-out infinite alternate;
    }
    .grid {
      background-image:
        linear-gradient(rgba(126,240,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126,240,255,0.05) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 20%, transparent 75%);
    }
    .hero-copy {
      position: relative;
      width: min(var(--max), 100%);
      margin: 0 auto;
      overflow: visible;
      padding-bottom: 4px;
    }
    .hero-eyebrow {
      margin: 0 0 18px;
      color: var(--aqua);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }
    /* line-height must clear descenders — background-clip:text otherwise flat-cuts "g" */
    h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.12; }
    h1 span { display: block; overflow: visible; }
    h1 span:nth-child(2) {
      padding: 0.06em 0 0.18em;
      background: linear-gradient(90deg, #fff 0%, var(--aqua) 55%, #8ab4ff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
    }
    .lede {
      margin: 18px auto 0;
      max-width: 52ch;
      color: var(--muted);
      font-size: clamp(1rem, 1.6vw, 1.18rem);
      line-height: 1.65;
      overflow: visible;
    }
    .lede.reveal { transform: none; }
    .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
    .scroll-cue {
      position: absolute;
      left: 50%;
      bottom: 28px;
      transform: translateX(-50%);
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--faint);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: color 0.2s ease;
    }
    .scroll-cue:hover { color: var(--aqua); }
    .scroll-cue__wheel {
      position: relative;
      width: 22px; height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(237, 244, 251, 0.35);
    }
    .scroll-cue__wheel::after {
      content: "";
      position: absolute;
      left: 50%; top: 7px;
      width: 3px; height: 7px;
      margin-left: -1.5px;
      border-radius: 999px;
      background: var(--aqua);
      animation: wheel 1.8s ease-in-out infinite;
    }

    /* ---------- Reveal ---------- */
    .reveal { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; will-change: opacity, transform; }
    .reveal.shown { opacity: 1; transform: none; animation: none; overflow: visible; }
    .d1 { animation-delay: 0.05s; }
    .d2 { animation-delay: 0.14s; }
    .d3 { animation-delay: 0.24s; }
    .d4 { animation-delay: 0.34s; }
    .d5 { animation-delay: 0.6s; }
    h1.reveal { opacity: 1; transform: none; animation: none; }
    h1.reveal span { opacity: 0; transform: translateY(22px); animation: rise 0.85s var(--ease) forwards; }
    h1.reveal span:nth-child(1) { animation-delay: 0.1s; }
    h1.reveal span:nth-child(2) { animation-delay: 0.22s; }

    .await { opacity: 0; transform: translate3d(0, 60px, 0); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
    .await.in { opacity: 1; transform: none; }

    /* ---------- Tier rail ---------- */
    .tier-rail {
      position: fixed;
      left: 22px;
      top: 50%;
      z-index: 60;
      transform: translateY(-50%) translateX(-16px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease, transform 0.6s var(--ease);
    }
    .tier-rail.is-visible { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
    .tier-rail[hidden] { display: none; }
    .tier-rail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
    .tier-rail__list a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px 8px 10px;
      border-radius: 999px;
      color: var(--faint);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: 1px solid transparent;
      transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
    }
    .tier-rail__list a span { opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.3s var(--ease); }
    .tier-rail:hover .tier-rail__list a span,
    .tier-rail__list a.is-on span { opacity: 1; transform: none; }
    .tier-rail__list a:hover,
    .tier-rail__list a.is-on {
      color: white;
      background: rgba(6, 10, 16, 0.7);
      border-color: var(--line);
      backdrop-filter: blur(12px);
    }
    .tier-rail__count {
      margin: 14px 0 0 12px;
      font-family: Outfit, Manrope, sans-serif;
      font-size: 0.9rem;
      color: var(--faint);
      letter-spacing: 0.04em;
    }
    .tier-rail__count i { font-style: normal; margin: 0 4px; opacity: 0.5; }
    .tier-rail__count span:first-child { color: var(--aqua); }

    .plan-dot {
      display: inline-block;
      width: 8px; height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      box-shadow: 0 0 10px currentColor;
    }
    .plan-dot.gold { background: var(--gold); color: var(--gold); }
    .plan-dot.platinum { background: var(--platinum); color: var(--platinum); }
    .plan-dot.diamond { background: var(--diamond); color: var(--diamond); }

    /* ---------- Chapters ---------- */
    .stage-list { position: relative; overflow-x: clip; }
    .features-page { overflow-x: clip; overflow-y: visible; }
    .chapter {
      position: relative;
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 120px 0 40px;
      overflow: visible;
    }
    .chapter__ghost {
      position: absolute;
      right: -2vw;
      top: 20px;
      font-family: Outfit, Manrope, sans-serif;
      font-size: clamp(9rem, 26vw, 22rem);
      font-weight: 700;
      line-height: 0.8;
      letter-spacing: -0.06em;
      color: transparent;
      -webkit-text-stroke: 1px rgba(150, 210, 255, 0.12);
      user-select: none;
      pointer-events: none;
      transform: translateX(40px);
      transition: transform 1.4s var(--ease);
    }
    .chapter.in .chapter__ghost { transform: none; }
    .chapter[data-tier="gold"] .chapter__ghost { -webkit-text-stroke-color: rgba(224, 178, 58, 0.18); }
    .chapter[data-tier="platinum"] .chapter__ghost { -webkit-text-stroke-color: rgba(197, 206, 216, 0.16); }
    .chapter[data-tier="diamond"] .chapter__ghost { -webkit-text-stroke-color: rgba(126, 240, 255, 0.18); }
    .chapter__inner { position: relative; max-width: 42rem; }
    .chapter__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 14px;
      color: var(--aqua);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .chapter[data-tier="gold"] .chapter__eyebrow { color: var(--gold); }
    .chapter[data-tier="platinum"] .chapter__eyebrow { color: var(--platinum); }
    .chapter h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 16ch; }
    .chapter__intro { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; max-width: 48ch; }
    .chapter__count {
      margin: 18px 0 0;
      color: var(--faint);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ---------- Stage ---------- */
    .stage {
      position: relative;
      padding: 56px 0;
      --accent: var(--aqua);
      --accent-rgb: 126, 240, 255;
    }
    .stage[data-tier="gold"] { --accent: var(--gold); --accent-rgb: 224, 178, 58; }
    .stage[data-tier="platinum"] { --accent: var(--platinum); --accent-rgb: 197, 206, 216; }
    .stage::before {
      content: "";
      position: absolute;
      inset: 0 -20vw;
      pointer-events: none;
      background: radial-gradient(ellipse 40% 50% at var(--gx, 30%) 50%, rgba(var(--accent-rgb), 0.08), transparent 65%);
      opacity: 0;
      transition: opacity 1.2s ease;
    }
    .stage[data-side="right"] { --gx: 70%; }
    .stage.in::before { opacity: 1; }
    .stage__inner {
      position: relative;
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      gap: clamp(32px, 5vw, 72px);
      align-items: center;
    }
    .stage[data-side="right"] .stage__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
    .stage[data-side="right"] .stage-visual { order: 2; }

    .stage.await { transform: none; opacity: 1; transition: none; }
    .stage .stage-visual,
    .stage .stage-copy {
      opacity: 0;
      transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
    }
    .stage[data-side="left"] .stage-visual { transform: translate3d(-110px, 40px, 0) rotate(-1.5deg); }
    .stage[data-side="left"] .stage-copy { transform: translate3d(90px, 40px, 0); }
    .stage[data-side="right"] .stage-visual { transform: translate3d(110px, 40px, 0) rotate(1.5deg); }
    .stage[data-side="right"] .stage-copy { transform: translate3d(-90px, 40px, 0); }
    .stage.in .stage-visual { opacity: 1; transform: translate3d(0, var(--py, 0px), 0); transition-delay: 0s; }
    .stage.in .stage-copy { opacity: 1; transform: none; transition-delay: 0.12s; }
    .stage.in .stage-visual { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
    .stage.in.is-active .stage-visual { transition: opacity 0.9s var(--ease), transform 0.25s linear; }

    .stage-copy .plans { margin-bottom: 14px; }
    .stage-num {
      margin: 0 0 10px;
      font-family: Outfit, Manrope, sans-serif;
      font-size: 0.95rem;
      letter-spacing: 0.04em;
      color: var(--accent);
    }
    .stage-num em { font-style: normal; color: var(--faint); margin-left: 4px; }
    .stage-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 18ch; }
    .stage-blurb { margin: 14px 0 0; font-size: 1.12rem; color: var(--ink); max-width: 40ch; }
    .stage-body { margin: 12px 0 0; color: var(--muted); font-size: 0.98rem; max-width: 52ch; }

    .stage-copy .plans,
    .stage-copy h3,
    .stage-blurb,
    .stage-body,
    .stage-num {
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
    }
    .stage.in .stage-num { opacity: 1; transform: none; transition-delay: 0.18s; }
    .stage.in .stage-copy .plans { opacity: 1; transform: none; transition-delay: 0.24s; }
    .stage.in .stage-copy h3 { opacity: 1; transform: none; transition-delay: 0.3s; }
    .stage.in .stage-blurb { opacity: 1; transform: none; transition-delay: 0.38s; }
    .stage.in .stage-body { opacity: 1; transform: none; transition-delay: 0.46s; }

    /* Screenshot visual */
    .stage-gallery { position: relative; width: 100%; }
    .stage-gallery__view { position: relative; width: 100%; }
    .stage-arrow {
      position: absolute;
      top: 50%;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 50%;
      background: rgba(6, 10, 16, 0.72);
      backdrop-filter: blur(12px);
      color: white;
      font-size: 1.65rem;
      line-height: 1;
      cursor: pointer;
      opacity: 0.92;
      transform: translateY(-50%);
      transition: opacity 0.25s ease, transform 0.3s var(--ease), background 0.2s ease, border-color 0.2s ease;
    }
    .stage-arrow span { display: block; margin-top: -2px; }
    .stage-arrow--prev { left: 12px; }
    .stage-arrow--next { right: 12px; }
    .stage-arrow:hover {
      background: rgba(6, 10, 16, 0.92);
      border-color: rgba(var(--accent-rgb), 0.55);
      color: var(--accent);
      transform: translateY(-50%) scale(1.06);
    }
    .stage-arrow:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
    .stage-screen {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      border: 0;
      background: none;
      text-align: left;
      cursor: zoom-in;
    }
    .stage-screen:focus-visible { outline: 2px solid var(--aqua); outline-offset: 6px; border-radius: 22px; }
    .stage-screen__glow {
      position: absolute;
      inset: 10% 6% -6%;
      border-radius: 40px;
      background: radial-gradient(ellipse at 50% 60%, rgba(var(--accent-rgb), 0.35), transparent 70%);
      filter: blur(30px);
      opacity: 0.6;
      transition: opacity 0.6s ease;
    }
    .stage-screen:hover .stage-screen__glow { opacity: 0.95; }
    .stage-screen__frame {
      position: relative;
      display: block;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: #0b1119;
      box-shadow:
        0 1px 0 rgba(255,255,255,0.08) inset,
        0 40px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(var(--accent-rgb), 0.12);
      transition: transform 0.7s var(--ease), box-shadow 0.7s ease;
    }
    .stage-screen:hover .stage-screen__frame {
      transform: translateY(-4px) scale(1.012);
      box-shadow:
        0 1px 0 rgba(255,255,255,0.1) inset,
        0 50px 110px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(var(--accent-rgb), 0.35);
    }
    .stage-screen__frame::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 35%, transparent 70%, rgba(255,255,255,0.04));
      mix-blend-mode: screen;
    }
    .stage-screen__slides {
      position: relative;
      display: block;
      aspect-ratio: 16 / 9;
    }
    .stage-screen__slides img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      opacity: 0;
      transform: scale(1.03);
      transition: opacity 0.7s ease, transform 1.2s var(--ease);
    }
    .stage-screen__slides img.is-on { opacity: 1; transform: none; }
    .stage-screen__zoom {
      position: absolute;
      right: 14px;
      bottom: 14px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(6, 10, 16, 0.7);
      backdrop-filter: blur(10px);
      color: white;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.25s ease, transform 0.3s var(--ease);
    }
    .stage-screen:hover .stage-screen__zoom,
    .stage-screen:focus-visible .stage-screen__zoom { opacity: 1; transform: none; }
    .stage-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .stage-dots button {
      width: 26px; height: 4px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(237, 244, 251, 0.18);
      cursor: pointer;
      transition: background 0.3s ease, width 0.3s var(--ease);
    }
    .stage-dots button.is-on { background: var(--accent); width: 40px; box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6); }

    /* Logo visual */
    .stage-logos {
      position: relative;
      display: block;
      width: 100%;
      padding: 26px;
      border-radius: 22px;
      border: 1px solid var(--line);
      background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 55%),
        linear-gradient(180deg, rgba(18, 27, 40, 0.9), rgba(8, 13, 20, 0.95));
      text-align: left;
      cursor: pointer;
      box-shadow: 0 30px 70px rgba(0,0,0,0.45);
      transition: border-color 0.3s ease, transform 0.6s var(--ease);
    }
    .stage-logos:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-4px); }
    .stage-logos:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
    .stage-logos__label {
      display: block;
      margin-bottom: 16px;
      color: var(--faint);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .stage-logos__grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .stage-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 64px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(255,255,255,0.08);
      opacity: 0;
      transform: translateY(10px) scale(0.96);
      transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
    }
    .stage-logos--dark .stage-logo { background: rgba(10, 16, 24, 0.9); }
    .stage-logo img { width: 100%; max-height: 36px; height: auto; object-fit: contain; }
    .stage-logo--more {
      background: transparent;
      border: 1px dashed rgba(150, 210, 255, 0.3);
      color: var(--muted);
      font-weight: 700;
      font-size: 0.86rem;
    }
    .stage.in .stage-logo { opacity: 1; transform: none; }
    .stage.in .stage-logo:nth-child(1) { transition-delay: 0.2s; }
    .stage.in .stage-logo:nth-child(2) { transition-delay: 0.26s; }
    .stage.in .stage-logo:nth-child(3) { transition-delay: 0.32s; }
    .stage.in .stage-logo:nth-child(4) { transition-delay: 0.38s; }
    .stage.in .stage-logo:nth-child(5) { transition-delay: 0.44s; }
    .stage.in .stage-logo:nth-child(6) { transition-delay: 0.5s; }
    .stage.in .stage-logo:nth-child(7) { transition-delay: 0.56s; }
    .stage.in .stage-logo:nth-child(8) { transition-delay: 0.62s; }
    .stage.in .stage-logo:nth-child(9) { transition-delay: 0.68s; }
    .stage.in .stage-logo:nth-child(10) { transition-delay: 0.74s; }
    .stage.in .stage-logo:nth-child(11) { transition-delay: 0.8s; }
    .stage.in .stage-logo:nth-child(12) { transition-delay: 0.86s; }
    .stage.in .stage-logo:nth-child(13) { transition-delay: 0.92s; }

    /* Abstract visual (features without a screenshot) */
    .stage-abstract {
      position: relative;
      display: block;
      aspect-ratio: 16 / 10;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      background:
        radial-gradient(ellipse 70% 60% at 20% 20%, rgba(var(--accent-rgb), 0.22), transparent 60%),
        linear-gradient(160deg, #0f1826 0%, #070b12 100%);
      box-shadow: 0 30px 70px rgba(0,0,0,0.45);
    }
    .stage-abstract::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(126,240,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126,240,255,0.06) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    }
    .stage-abstract__orb {
      position: absolute;
      right: -12%;
      bottom: -30%;
      width: 70%;
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, rgba(var(--accent-rgb), 0.55), rgba(var(--accent-rgb), 0.08) 55%, transparent 70%);
      filter: blur(14px);
      transform: scale(0.7);
      transition: transform 1.6s var(--ease);
    }
    .stage.in .stage-abstract__orb { transform: none; }
    .stage-abstract__num {
      position: absolute;
      left: 26px;
      top: 18px;
      font-family: Outfit, Manrope, sans-serif;
      font-size: clamp(5rem, 11vw, 9rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.06em;
      color: transparent;
      -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.45);
    }
    .stage-abstract__word {
      position: absolute;
      left: 28px;
      bottom: 26px;
      max-width: 70%;
      font-family: Outfit, Manrope, sans-serif;
      font-size: clamp(1.3rem, 2.4vw, 1.9rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.1;
      color: var(--ink);
    }
    .stage-abstract__scan {
      position: absolute;
      left: 0; right: 0;
      height: 2px;
      top: -2px;
      background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.8), transparent);
      opacity: 0;
    }
    .stage.in .stage-abstract__scan { animation: scan 2.6s var(--ease) 0.3s 1 both; }

    .plans { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
    .plans i {
      font-style: normal;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 999px;
      color: var(--faint);
      border: 1px solid rgba(255,255,255,0.08);
    }
    .plans i.on { border-color: transparent; }
    .plans i.on.gold {
      color: #2a1c04;
      background: linear-gradient(180deg, #ffe7a3, #e0b23a 55%, #c4921a);
    }
    .plans i.on.platinum {
      color: #1c2430;
      background: linear-gradient(180deg, #f7f9fc, #c5ced8 55%, #9aa6b4);
    }
    .plans i.on.diamond {
      color: #041018;
      background: linear-gradient(180deg, #e9fbff, var(--aqua));
    }

    /* ---------- Legacy dialog + CTA + footer ---------- */
    dialog {
      width: min(560px, calc(100% - 28px));
      padding: 0;
      border: 0;
      background: transparent;
      color: inherit;
    }
    dialog::backdrop {
      background: rgba(2, 6, 12, 0.72);
      backdrop-filter: blur(8px);
    }
    .modal {
      position: relative;
      padding: 28px 28px 26px;
      border-radius: 24px;
      border: 1px solid rgba(126, 240, 255, 0.28);
      background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(61, 124, 255, 0.22), transparent 55%),
        linear-gradient(180deg, #121b28, #080d14);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
      animation: pop 0.35s var(--ease);
    }
    .modal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 12px; }
    .modal p { margin: 0; color: var(--muted); }
    .close {
      position: absolute;
      top: 14px; right: 14px;
      width: 36px; height: 36px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: rgba(6, 10, 16, 0.6);
      color: white;
      cursor: pointer;
    }
    .close:hover { border-color: rgba(126, 240, 255, 0.5); }
    .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

    .wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 40px 0 72px; }
    .cta {
      padding: 28px;
      border-radius: 24px;
      border: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(126, 240, 255, 0.1), transparent 55%),
        rgba(8, 14, 22, 0.8);
    }
    .cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
    .cta p { margin: 8px 0 0; color: var(--muted); }
    .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

    footer { padding: 28px 20px 40px; color: var(--faint); border-top: 1px solid var(--line); }
    .foot {
      width: min(var(--max), 100%);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }
    .foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
    .foot .socials { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
    .socials a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid transparent;
      color: #fff;
      transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    }
    .socials a:hover {
      transform: translateY(-2px);
      filter: brightness(1.12);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    }
    .socials a.social-linkedin { background: #0a66c2; }
    .socials a.social-youtube { background: #ff0000; }
    .socials a.social-facebook { background: #1877f2; }
    .socials a.social-instagram {
      background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }
    .socials svg { width: 16px; height: 16px; display: block; }

    @keyframes navin {
      from { opacity: 0; transform: translateX(-50%) translateY(-18px); }
      to { opacity: 1; transform: translateX(-50%); }
    }
    @keyframes pop {
      from { opacity: 0; transform: translateY(16px) scale(0.98); }
      to { opacity: 1; transform: none; }
    }
    @keyframes rise { to { opacity: 1; transform: none; } }
    @keyframes menuIn { to { opacity: 1; transform: none; } }
    @keyframes wheel {
      0% { transform: translateY(0); opacity: 1; }
      70% { transform: translateY(12px); opacity: 0; }
      100% { transform: translateY(0); opacity: 0; }
    }
    @keyframes drift {
      from { transform: translateX(-50%) translateY(0); }
      to { transform: translateX(-50%) translateY(-30px); }
    }
    @keyframes scan {
      0% { top: -2px; opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { top: 100%; opacity: 0; }
    }

    @media (max-width: 1180px) and (min-width: 1081px) {
      .nav-links { gap: 14px; font-size: 0.85rem; }
      .nav-actions .btn { padding: 0.55rem 0.85rem; font-size: 0.82rem; }
      .nav-actions .btn:nth-child(2) { display: none; }
    }
    @media (max-width: 1320px) {
      .tier-rail { left: 12px; }
    }

    @media (max-width: 1080px) {
      .nav {
        width: min(var(--max), calc(100% - 20px));
        padding: 8px 10px 8px 14px;
        border-radius: 22px;
      }
      .nav-actions { display: none; }
      .nav-mobile-only { display: block; }
      .nav-toggle {
        display: grid;
        place-items: center;
        position: relative;
        z-index: 2;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        cursor: pointer;
      }
      .nav-toggle span {
        position: relative;
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: background 0.2s ease;
      }
      .nav-toggle span::before,
      .nav-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: transform 0.28s ease, top 0.28s ease;
      }
      .nav-toggle span::before { top: -6px; }
      .nav-toggle span::after { top: 6px; }
      .nav.open .nav-toggle span { background: transparent; }
      .nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
      .nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
      .nav-links {
        display: flex;
        flex-direction: column;
        gap: 2px;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 1;
        padding: 10px;
        border-radius: 22px;
        background: #0a1018;
        border: 1px solid rgba(126, 240, 255, 0.22);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
      }
      .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
      .nav-links a {
        padding: 13px 14px;
        border-radius: 14px;
        color: #edf4fb;
        opacity: 1;
        transform: none;
      }
      .nav-links a::after { display: none; }
      .nav.open .nav-links a {
        opacity: 0;
        transform: translateY(10px);
        animation: menuIn 0.42s var(--ease) forwards;
      }
      .nav.open .nav-links a:nth-child(1) { animation-delay: 0.04s; }
      .nav.open .nav-links a:nth-child(2) { animation-delay: 0.08s; }
      .nav.open .nav-links a:nth-child(3) { animation-delay: 0.12s; }
      .nav.open .nav-links a:nth-child(4) { animation-delay: 0.16s; }
      .nav.open .nav-links a:nth-child(5) { animation-delay: 0.2s; }
      .nav.open .nav-links a:nth-child(6) { animation-delay: 0.24s; }
      .nav.open .nav-links a:nth-child(7) { animation-delay: 0.28s; }
      .nav.open .nav-links a:nth-child(8) { animation-delay: 0.32s; }
      .nav.open .nav-links a:nth-child(9) { animation-delay: 0.36s; }
      .nav.open .nav-links a:nth-child(10) { animation-delay: 0.4s; }
      .nav-links a:active { background: rgba(126, 240, 255, 0.1); }
      .nav-mobile-only {
        margin-top: 4px;
        border-top: 1px solid rgba(150, 210, 255, 0.12);
        padding-top: 12px;
      }
      .nav-mobile-only + .nav-mobile-only {
        margin-top: 0;
        border-top: 0;
        padding-top: 13px;
      }

      .tier-rail { display: none; }
      .hero { min-height: 78vh; padding: 118px 20px 70px; }
      .chapter { padding: 84px 0 24px; }
      .chapter__ghost { right: -4vw; top: 40px; font-size: clamp(7rem, 30vw, 14rem); }
      .stage { padding: 40px 0; }
      .stage__inner,
      .stage[data-side="right"] .stage__inner { grid-template-columns: 1fr; gap: 26px; }
      .stage[data-side="right"] .stage-visual { order: 0; }
      .stage[data-side="left"] .stage-visual,
      .stage[data-side="right"] .stage-visual { transform: translate3d(0, 56px, 0); }
      .stage[data-side="left"] .stage-copy,
      .stage[data-side="right"] .stage-copy { transform: translate3d(0, 40px, 0); }
      .stage-copy h3 { max-width: none; }
      .cta { flex-direction: column; align-items: flex-start; }
    }

    @media (min-width: 641px) and (max-width: 959px) {
      .wrap, .chapter, .stage__inner { width: min(var(--max), calc(100% - 32px)); }
      .hero { padding: 128px 20px 64px; }
      .cta { padding: 28px 24px; }
    }

    @media (min-width: 960px) and (max-width: 1200px) {
      .wrap, .chapter, .stage__inner { width: min(var(--max), calc(100% - 48px)); }
    }

    @media (max-width: 640px) {
      .wrap, .chapter, .stage__inner { width: calc(100% - 24px); }
      .hero { min-height: 70vh; padding: 108px 14px 64px; }
      h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
      .lede { font-size: 1rem; }
      .hero-actions .btn { flex: 1 1 auto; }
      .scroll-cue { bottom: 18px; }
      .chapter { padding: 64px 0 16px; }
      .chapter h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
      .stage { padding: 32px 0; }
      .stage-copy h3 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
      .stage-blurb { font-size: 1.02rem; }
      .stage-body { font-size: 0.94rem; }
      .stage-logos { padding: 18px; }
      .stage-logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .stage-logo { min-height: 56px; padding: 10px; }
      .stage-screen__frame { border-radius: 16px; }
      .cta { padding: 24px 18px; border-radius: 18px; }
      .cta-actions { width: 100%; }
      .cta-actions .btn { flex: 1 1 auto; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-bg, .scroll-cue__wheel::after, .stage-abstract__scan { animation: none !important; }
      .reveal, h1.reveal span { opacity: 1; transform: none; animation: none; }
      .await, .stage .stage-visual, .stage .stage-copy,
      .stage-copy .plans, .stage-copy h3, .stage-blurb, .stage-body, .stage-num,
      .stage-logo, .chapter__ghost, .stage-abstract__orb {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
    }
