/* Entry point: linked by index.html; not reachable through a module graph. */
/* fallow-ignore-file unused-file */
      :root {
        --bg: #0b0c0d;
        --ink: #f2f1ed;
        --muted: rgba(242, 241, 237, 0.52);
        --faint: rgba(242, 241, 237, 0.28);
        --teal: #14b8a6;
        --teal-light: #5eead4;
        --line: rgba(242, 241, 237, 0.1);
        --serif: "Fraunces", Georgia, serif;
        --sans: "Instrument Sans", system-ui, sans-serif;
      }
      * {
        margin: 0;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        background: var(--bg);
        color: var(--ink);
        font-family: var(--sans);
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }

      /* ---- atmosphere ---- */
      .glow {
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        background:
          radial-gradient(
            ellipse 70% 45% at 50% -8%,
            rgba(20, 184, 166, 0.13),
            transparent 65%
          ),
          radial-gradient(
            ellipse 45% 35% at 88% 110%,
            rgba(20, 184, 166, 0.06),
            transparent 70%
          );
      }
      .grain {
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: 0.5;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
      }

      .wrap {
        max-width: 1040px;
        margin: 0 auto;
        padding: 0 28px;
      }

      /* ---- header ---- */
      header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 26px 0;
      }
      .wordmark {
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: 28px;
        letter-spacing: 0.01em;
        color: #fff;
        text-decoration: none;
        white-space: nowrap;
      }
      .eacute {
        position: relative;
        display: inline-block;
      }
      .eacute .acc {
        position: absolute;
        inset: 0;
        color: var(--teal-light);
        clip-path: inset(0 0 62% 0);
        pointer-events: none;
      }
      nav {
        display: flex;
        gap: 26px;
      }
      @media (max-width: 460px) {
        header {
          padding: 20px 0;
        }
        .wordmark {
          font-size: 24px;
        }
        nav {
          gap: 18px;
        }
        nav a {
          font-size: 12.5px;
          letter-spacing: 0.02em;
        }
      }
      nav a {
        color: var(--muted);
        text-decoration: none;
        font-size: 13.5px;
        letter-spacing: 0.04em;
        transition: color 0.25s;
      }
      nav a:hover {
        color: var(--teal-light);
      }

      /* ---- hero ---- */
      .hero {
        padding: clamp(48px, 9vh, 110px) 0 clamp(40px, 8vh, 80px);
        /* fill viewport so feature blocks start below the fold and only
           reveal on scroll. header (~80px) sits above this section. */
        min-height: calc(100vh - 80px);
        min-height: calc(100svh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .overline {
        font-size: 12px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--teal-light);
        margin-bottom: 26px;
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .overline::before {
        content: "";
        width: 36px;
        height: 1px;
        background: var(--teal);
        opacity: 0.6;
      }
      .hero h1 {
        font-family: var(--serif);
        font-weight: 380;
        font-size: clamp(42px, 7.2vw, 84px);
        line-height: 1.04;
        letter-spacing: -0.015em;
        max-width: 14ch;
      }
      .hero h1 em {
        font-style: italic;
        font-weight: 420;
        color: var(--ink);
        white-space: nowrap;
      }
      .hero .lede {
        color: var(--muted);
        margin-top: 28px;
        max-width: 56ch;
        font-size: 17px;
      }
      @media (max-width: 640px) {
        .lede br {
          display: none;
        }
      }
      .ctas {
        margin-top: 40px;
        display: flex;
        gap: 14px;
        align-items: center;
        flex-wrap: wrap;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 14px 30px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        transition:
          transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
          box-shadow 0.25s,
          border-color 0.25s,
          color 0.25s;
      }
      .btn svg {
        width: 18px;
        height: 18px;
        flex: none;
      }
      .btn-primary {
        background: var(--teal);
        color: #06231f;
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
      }
      .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(20, 184, 166, 0.35);
      }
      .btn-secondary {
        border: 1px solid var(--line);
        color: var(--ink);
      }
      .btn-secondary:hover {
        border-color: rgba(94, 234, 212, 0.5);
        color: var(--teal-light);
        transform: translateY(-2px);
      }
      .trust {
        color: var(--faint);
        font-size: 13px;
        margin-top: 18px;
      }

      /* ---- movements (features) ---- */
      .features {
        padding: clamp(90px, 14vh, 150px) 0 0;
      }
      .features .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 44px;
      }
      @media (max-width: 760px) {
        .features .grid {
          grid-template-columns: 1fr;
          gap: 40px;
        }
      }
      .feature {
        border-top: 1px solid var(--line);
        padding-top: 26px;
        position: relative;
      }
      .feature::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        width: 44px;
        height: 1px;
        background: var(--teal);
      }
      .feature h3 {
        font-family: var(--serif);
        font-weight: 480;
        font-size: 21px;
        line-height: 1.25;
        letter-spacing: -0.01em;
        margin-bottom: 12px;
      }
      .feature p {
        color: var(--muted);
        font-size: 14.5px;
      }

      /* ---- hero pill showcase ---- */
      /* stage: faux timeline the pill rides on */
      .panelstage {
        margin: clamp(40px, 6vh, 72px) 0 0;
        position: relative;
        padding-top: 64px;
        /* flex column keeps the full-width timeline and the centred pill on the
           same axis, even when the pill is wider than a squeezed stage */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      /* main timeline — the YouTube progress bar stand-in */
      .panelstage .tl {
        width: 100%;
        height: 5px;
        border-radius: 999px;
        background: rgba(242, 241, 237, 0.16);
        position: relative;
      }
      /* loop region band — hidden until the loop is switched on */
      .panelstage .tl .band {
        position: absolute;
        top: 50%;
        left: 35%;
        width: 30%;
        height: 9px;
        transform: translateY(-50%) scaleX(0);
        transform-origin: 50% 50%;
        background: rgba(20, 184, 166, 0.55);
        border-radius: 2px;
        opacity: 0;
        transition:
          transform 0.4s cubic-bezier(0.34, 1.3, 0.5, 1),
          opacity 0.3s ease;
      }
      /* loop handles — teal blocks with a white ring, straddle the bar */
      .panelstage .tl .handle {
        position: absolute;
        top: 50%;
        width: 10px;
        height: 24px;
        transform: translate(-50%, -50%) scale(0.4);
        background: #14b8a6;
        border: 2px solid #fff;
        border-radius: 6px;
        box-shadow:
          0 0 0 1px rgba(20, 184, 166, 0.6),
          0 2px 8px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transition:
          transform 0.4s cubic-bezier(0.34, 1.3, 0.5, 1),
          opacity 0.3s ease;
      }
      .panelstage .tl .handle.a {
        left: 35%;
      }
      .panelstage .tl .handle.b {
        left: 65%;
      }
      /* main playhead — YouTube-style dot, sweeps the loop region */
      .panelstage .tl .playhead {
        position: absolute;
        top: 50%;
        left: 35%;
        width: 13px;
        height: 13px;
        transform: translate(-50%, -50%);
        background: #2dd4bf;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(45, 212, 191, 0.6);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
      }
      /* armed = loop on: reveal band, handles, playhead */
      .panelstage[data-armed="true"] .tl .band {
        transform: translateY(-50%) scaleX(1);
        opacity: 1;
      }
      .panelstage[data-armed="true"] .tl .handle {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
      }
      .panelstage[data-armed="true"] .tl .playhead {
        opacity: 1;
      }

      /* play/pause control, far left under the timeline — like YouTube's.
         Shows the pause glyph while playing, the play glyph when stopped. */
      .ytplay {
        position: absolute;
        left: 0;
        top: 116px; /* pill row: padding 64 + bar 5 + pill margin 26 + half pill 21 */
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #f2f1ed;
        opacity: 0.92;
      }
      .ytplay svg {
        display: block;
        width: 26px;
        height: 26px;
      }
      .ytplay .i-pause {
        display: none;
      }
      .ytplay[data-playing="true"] .i-play {
        display: none;
      }
      .ytplay[data-playing="true"] .i-pause {
        display: block;
      }

      /* magnified zoom strip — appears above the bar when zoom is pressed */
      .zoomwrap {
        position: absolute;
        left: 0;
        right: 0;
        top: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
        transform: translateY(8px) scaleY(0.55);
        transform-origin: center bottom;
        pointer-events: none;
        transition:
          transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
          opacity 0.28s ease;
      }
      .panelstage[data-zoom="true"] .zoomwrap {
        opacity: 1;
        transform: translateY(0) scaleY(1);
      }
      .zbadge {
        flex: none;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #5eead4;
        background: radial-gradient(
          circle at 50% 50%,
          rgba(20, 184, 166, 0.28),
          rgba(20, 184, 166, 0.08)
        );
        border: 1px solid rgba(94, 234, 212, 0.45);
        box-shadow:
          0 2px 10px rgba(0, 0, 0, 0.45),
          0 0 14px rgba(20, 184, 166, 0.35);
      }
      .zbadge svg {
        width: 20px;
        height: 20px;
      }
      .ztime {
        flex: none;
        color: #5eead4;
        font-family: var(--sans);
        font-size: 11px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.02em;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
      }
      .ztrack {
        flex: 1;
        position: relative;
        height: 11px;
        border-radius: 3px;
        background: linear-gradient(
          180deg,
          rgba(20, 184, 166, 0.16),
          rgba(20, 184, 166, 0.3)
        );
        border: 1px solid rgba(94, 234, 212, 0.45);
        box-shadow:
          0 2px 12px rgba(0, 0, 0, 0.5),
          inset 0 0 0 1px rgba(0, 0, 0, 0.25);
      }
      /* faint hatch — sense of magnified scale */
      .ztrack::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(
          90deg,
          rgba(255, 255, 255, 0.1) 0 1px,
          transparent 1px 22px
        );
      }
      .zfill {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 18%;
        width: 56%;
        border-radius: 2px;
        background: linear-gradient(
          180deg,
          rgba(94, 234, 212, 0.45),
          rgba(20, 184, 166, 0.6)
        );
        box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.55);
      }
      .zcursor {
        position: absolute;
        top: 50%;
        width: 8px;
        height: 21px;
        transform: translate(-50%, -50%);
        background: #14b8a6;
        border: 2px solid #fff;
        border-radius: 4px;
        box-shadow:
          0 0 0 1px rgba(13, 148, 136, 0.6),
          0 2px 8px rgba(0, 0, 0, 0.45);
        z-index: 2;
      }
      .zcursor.a {
        left: 18%;
      }
      .zcursor.b {
        left: 74%;
      }
      .zplayhead {
        position: absolute;
        top: 50%;
        left: 18%;
        width: 18px;
        height: 18px;
        transform: translate(-50%, -50%);
        background: #2dd4bf;
        border-radius: 50%;
        z-index: 1;
      }

      /* speed dial — the vertical tick tape; a stage-level element (so the
         pill's overflow clip can't hide it) positioned over the chip by JS. */
      .speedpop {
        --arm: 0; /* 0..1 reveal of the reset (drag-right) gesture */
        position: absolute;
        left: 0;
        top: 0;
        transform: translate(-50%, calc(-100% - 10px)) scaleY(0.82);
        transform-origin: center bottom;
        opacity: 0;
        pointer-events: none;
        z-index: 8;
        transition:
          transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
          opacity 0.18s ease;
      }
      .speedpop.show {
        opacity: 1;
        transform: translate(-50%, calc(-100% - 10px)) scaleY(1);
      }
      .speedpop .rail {
        display: block;
        position: relative;
        width: 64px;
        height: 148px;
        overflow: hidden;
        /* the rightward reset drag eases the rail aside and dims it */
        opacity: calc(1 - var(--arm) * 0.6);
        transform: translateX(calc(var(--arm) * 14px));
        transition:
          opacity 0.1s ease,
          transform 0.1s ease;
        border-radius: 12px;
        background: rgba(28, 28, 32, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.6);
        box-shadow:
          0 0 0 1px rgba(20, 184, 166, 0.18),
          0 12px 36px rgba(0, 0, 0, 0.55),
          inset 0 1px 0 rgba(255, 255, 255, 0.06);
        -webkit-mask-image: linear-gradient(
          to bottom,
          transparent,
          #000 22px,
          #000 calc(100% - 22px),
          transparent
        );
        mask-image: linear-gradient(
          to bottom,
          transparent,
          #000 22px,
          #000 calc(100% - 22px),
          transparent
        );
      }
      .speedpop .tape {
        position: absolute;
        inset: 0 0 auto 0;
        transition: transform 0.08s cubic-bezier(0.2, 0, 0.2, 1);
      }
      .speedpop .tick {
        position: absolute;
        left: 10px;
        width: 9px;
        height: 1.5px;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.16);
      }
      .speedpop .tick.lab {
        width: 15px;
        background: rgba(255, 255, 255, 0.42);
      }
      .speedpop .tick.home {
        background: #14b8a6;
        box-shadow: 0 0 6px rgba(20, 184, 166, 0.7);
      }
      .speedpop .tick .tlab {
        position: absolute;
        left: 21px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.55);
        font-family: var(--sans);
        font-size: 9.5px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
      }
      .speedpop .tick.home .tlab {
        color: #5eead4;
      }
      .speedpop .needle {
        position: absolute;
        left: 6px;
        right: 6px;
        top: 50%;
        border-top: 2px solid #2dd4bf;
        box-shadow: 0 0 8px rgba(45, 212, 191, 0.55);
      }

      /* reset target — chevrons pointing at a 1× ring off the rail's right
         edge. Revealed by the rightward reset drag (--arm); the ring fills
         teal once armed, and releasing there snaps the rate home. */
      .speedpop .resettarget {
        position: absolute;
        top: 50%;
        left: calc(100% + 6px + var(--arm) * 10px);
        transform: translateY(-50%) scale(calc(0.75 + var(--arm) * 0.25));
        transform-origin: left center;
        opacity: calc(0.3 + var(--arm) * 0.7);
        display: flex;
        align-items: center;
        gap: 5px;
        pointer-events: none;
      }
      .speedpop .chevrons {
        flex: none;
        width: 26px;
        height: 12px;
        animation: chev-nudge 1.4s ease-in-out infinite;
      }
      .speedpop[data-armed="true"] .chevrons {
        animation: none;
      }
      @keyframes chev-nudge {
        0%,
        100% {
          transform: translateX(0);
        }
        50% {
          transform: translateX(3px);
        }
      }
      .speedpop .chevrons path {
        fill: none;
        stroke: #5eead4;
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      /* chevrons light up one-by-one as the drag crosses each third (swipe-to-
         unlock idiom) */
      .speedpop .chevrons path:nth-child(1) {
        opacity: clamp(0.35, calc(var(--arm) * 3), 1);
      }
      .speedpop .chevrons path:nth-child(2) {
        opacity: clamp(0.35, calc(var(--arm) * 3 - 1), 1);
      }
      .speedpop .chevrons path:nth-child(3) {
        opacity: clamp(0.35, calc(var(--arm) * 3 - 2), 1);
      }
      .speedpop .resetcol {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
      }
      .speedpop .resetword {
        color: rgba(255, 255, 255, 0.55);
        font-family: var(--sans);
        font-size: 8.5px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
      }
      .speedpop[data-armed="true"] .resetword {
        color: #5eead4;
      }
      .speedpop .resetring {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(28, 28, 32, 0.85);
        border: 2px solid rgba(94, 234, 212, 0.65);
        color: #5eead4;
        font-family: var(--sans);
        font-size: 12px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
        transition:
          background 0.12s ease,
          color 0.12s ease,
          transform 0.12s ease,
          box-shadow 0.12s ease;
      }
      .speedpop[data-armed="true"] .resetring {
        background: #14b8a6;
        color: #06302b;
        transform: scale(1.12);
        box-shadow:
          0 4px 18px rgba(20, 184, 166, 0.6),
          0 0 22px rgba(20, 184, 166, 0.5);
      }

      /* the recreated control pill — mirrors the real on-video panel */
      .epanel {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 26px;
        padding: 5px;
        border-radius: 999px;
        background: rgba(38, 38, 42, 0.92);
        box-shadow:
          0 10px 34px rgba(0, 0, 0, 0.55),
          inset 0 0 0 1px rgba(242, 241, 237, 0.06);
      }
      .epanel .ebtn {
        flex: none;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(242, 241, 237, 0.08);
        color: rgba(242, 241, 237, 0.55);
        padding: 0;
      }
      .epanel .ebtn svg {
        width: 17px;
        height: 17px;
      }
      .epanel .ebtn.on {
        background: rgba(20, 184, 166, 0.2);
        color: var(--teal);
      }
      /* sliding cluster — wordmark when off, controls when on. Two slots that
         each collapse to zero width; the pill width is their sum, so it grows
         as the wordmark folds and the controls open (mirrors the real panel). */
      .epanel .ecluster {
        display: flex;
        align-items: center;
        white-space: nowrap;
      }
      .epanel .ewordmark,
      .epanel .econtrols {
        display: flex;
        align-items: center;
        overflow: hidden;
      }
      /* wordmark cross-fades in place; controls fade in only after the slot
         finishes widening (delay ≈ the width duration) — mirrors the real
         panel. Turning ON: the wordmark fades out fast (before its slot clips,
         so it reads as a fade not a wipe), then the width collapses. */
      .epanel .ewordmark {
        transition:
          max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          opacity 0.14s ease;
      }
      .epanel .econtrols {
        gap: 6px;
        transition:
          max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          opacity 0.16s ease 0.46s;
      }
      /* collapsing: controls fade out fast and first, before the slot narrows */
      .epanel[data-on="false"] .econtrols {
        transition:
          max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          opacity 0.12s ease;
      }
      .epanel .ewordmark {
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: 17px;
        color: #fff;
        padding: 0 8px;
      }
      /* base = ON: controls open, wordmark folded (no-JS / reduced motion) */
      .epanel .ewordmark {
        max-width: 0;
        opacity: 0;
        padding: 0;
      }
      .epanel .econtrols {
        max-width: 340px;
        opacity: 1;
      }
      /* OFF state, driven by JS during the intro */
      .epanel[data-on="false"] .ewordmark {
        max-width: 120px;
        opacity: 1;
        padding: 0 8px;
        /* turning OFF: let the slot widen first, then fade the wordmark in */
        transition:
          max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          opacity 0.22s ease 0.16s;
      }
      .epanel[data-on="false"] .econtrols {
        max-width: 0;
        opacity: 0;
      }
      .epanel[data-on="false"] .epower {
        background: rgba(242, 241, 237, 0.08);
        color: rgba(242, 241, 237, 0.55);
      }
      .epanel .ebtn {
        transition:
          background 0.25s ease,
          color 0.25s ease,
          transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }
      /* the two outer buttons roll outward as the cluster opens — power spins
         counter-clockwise, help clockwise, tracking the pill's expansion. */
      .epanel[data-on="true"] .epower {
        transform: rotate(-360deg);
      }
      .epanel[data-on="true"] .ehelp {
        transform: rotate(360deg);
      }
      .epanel .emodes,
      .epanel .espeed {
        position: relative;
        display: flex;
        gap: 2px;
        padding: 2px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.34);
        box-shadow:
          inset 0 1px 2px rgba(0, 0, 0, 0.55),
          inset 0 0 0 1px rgba(242, 241, 237, 0.05);
      }
      .epanel .emode {
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: rgba(242, 241, 237, 0.62);
        font-family: var(--sans);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 7px 14px;
      }
      .epanel .emode.active {
        background: var(--teal);
        color: #0a0a0a;
      }
      .epanel .espeed-val {
        min-width: 46px;
        height: 27px;
        display: grid;
        place-items: center;
        color: rgba(242, 241, 237, 0.8);
        font-family: var(--sans);
        font-size: 12px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        transition: color 0.15s ease;
      }
      /* off 1× — highlight the active rate teal */
      .epanel .espeed-val.off {
        color: var(--teal-light);
      }

      /* guided-tour cursor + click ring */
      .ecursor {
        position: absolute;
        top: 0;
        left: 0;
        width: 24px;
        height: 24px;
        margin: -2px 0 0 -3px;
        pointer-events: none;
        opacity: 0;
        z-index: 5;
        transform: translate(0, 0);
        transition:
          transform 0.62s cubic-bezier(0.45, 0.05, 0.2, 1),
          opacity 0.3s ease;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
      }
      .ecursor.show {
        opacity: 1;
      }
      .ecursor.drag {
        transition:
          transform 0.2s linear,
          opacity 0.3s ease;
      }
      /* no transform lag — used while dragging the zoom cursors so the pointer
         stays exactly on the handle it is moving */
      .ecursor.snap {
        transition: opacity 0.3s ease;
      }
      .ecursor svg {
        width: 100%;
        height: 100%;
        display: block;
      }
      .ecclick {
        position: absolute;
        top: 0;
        left: 0;
        width: 34px;
        height: 34px;
        margin: -17px 0 0 -17px;
        border-radius: 50%;
        border: 2px solid var(--teal-light);
        pointer-events: none;
        opacity: 0;
        z-index: 4;
      }
      .ecclick.go {
        animation: ecclickpulse 0.5s ease-out;
      }
      @keyframes ecclickpulse {
        from {
          opacity: 0.85;
          transform: translate(var(--cx, 0), var(--cy, 0)) scale(0.35);
        }
        to {
          opacity: 0;
          transform: translate(var(--cx, 0), var(--cy, 0)) scale(1.35);
        }
      }

      /* Below 500px, shrink the pill's *actual* size (not just a visual
         transform) so it de-crowds AND stays narrow enough to leave room for
         the play button at the far left — keeping the play button in the DOM
         so the cursor tour never breaks. The timeline/zoom strip stay full
         width. */
      @media (max-width: 500px) {
        .panelstage {
          padding-top: 54px;
        }
        .epanel {
          gap: 4px;
          padding: 4px;
        }
        .epanel .ebtn {
          width: 26px;
          height: 26px;
        }
        .epanel .ebtn svg {
          width: 14px;
          height: 14px;
        }
        .epanel .emode {
          padding: 6px 9px;
          font-size: 10px;
        }
        .epanel .espeed-val {
          min-width: 38px;
          height: 23px;
          font-size: 10.5px;
        }
        .epanel .ewordmark {
          font-size: 15px;
        }
        .ytplay {
          width: 26px;
          height: 26px;
        }
        .ytplay svg {
          width: 22px;
          height: 22px;
        }
        .zbadge {
          width: 26px;
          height: 26px;
        }
        .zbadge svg {
          width: 17px;
          height: 17px;
        }
        .ztime {
          font-size: 10px;
        }
      }
      /* tighter still — drop the zoom time labels and trim the pill further */
      @media (max-width: 430px) {
        .ztime {
          display: none;
        }
        .epanel .emode {
          padding: 5px 7px;
          font-size: 9.5px;
        }
        .epanel .ebtn {
          width: 24px;
          height: 24px;
        }
        .epanel .espeed-val {
          min-width: 34px;
        }
      }
      /* below 400px it's too small to read well — hide the showcase; the hero
         headline + CTAs carry the page */
      @media (max-width: 400px) {
        .stagewrap {
          display: none;
        }
      }

      /* ---- shortcuts ---- */
      .shortcuts {
        padding: clamp(90px, 14vh, 150px) 0;
      }
      .shortcuts h2 {
        font-family: var(--serif);
        font-weight: 420;
        font-size: clamp(26px, 3.6vw, 36px);
        letter-spacing: -0.01em;
        margin-bottom: 14px;
      }
      .shortcuts h2 em {
        font-style: italic;
        color: var(--teal-light);
      }
      .modes-note {
        color: var(--muted);
        font-size: 15px;
        max-width: 62ch;
        margin-bottom: 36px;
      }
      kbd {
        display: inline-block;
        background: rgba(242, 241, 237, 0.05);
        border: 1px solid rgba(242, 241, 237, 0.16);
        border-bottom-width: 2px;
        border-radius: 7px;
        padding: 4px 12px;
        min-width: 44px;
        text-align: center;
        font-family: ui-monospace, "SF Mono", monospace;
        font-size: 13px;
        color: var(--ink);
        flex-shrink: 0;
      }
      kbd.pressed {
        background: rgba(20, 184, 166, 0.4);
        border-color: var(--teal-light);
        color: #fff;
        transform: translateY(1px);
      }

      /* try-it demo */
      .tabs {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }
      .tab {
        font: inherit;
        font-size: 14px;
        cursor: pointer;
        background: none;
        border: 1px solid var(--line);
        color: var(--muted);
        padding: 9px 18px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition:
          border-color 0.25s,
          color 0.25s,
          background 0.25s;
      }
      .tab kbd {
        min-width: 0;
        padding: 2px 8px;
        font-size: 12px;
        pointer-events: none;
      }
      .tab:hover {
        color: var(--ink);
      }
      .tab:focus,
      #demo-key:focus {
        outline: none;
      }
      .tab.active {
        border-color: rgba(94, 234, 212, 0.5);
        color: var(--teal-light);
        background: rgba(20, 184, 166, 0.08);
      }
      .demo-desc {
        color: var(--muted);
        font-size: 15px;
        max-width: 60ch;
        min-height: 46px;
        margin-top: 22px;
      }
      .demo-desc strong {
        color: var(--ink);
        font-weight: 500;
      }
      .demo-stage {
        margin-top: 16px;
        padding: 34px 30px 26px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(242, 241, 237, 0.02);
      }
      .mtrack {
        position: relative;
        height: 3px;
        border-radius: 2px;
        background: rgba(242, 241, 237, 0.12);
      }
      .mregion {
        position: absolute;
        left: 15%;
        right: 15%;
        top: 50%;
        height: 7px;
        transform: translateY(-50%);
        border-radius: 1px;
        background: rgba(20, 184, 166, 0.35);
      }
      .mdot {
        position: absolute;
        top: 50%;
        left: 15%;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #2dd4bf;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 10px rgba(45, 212, 191, 0.6);
      }
      .demo-hint {
        margin-top: 26px;
        display: flex;
        align-items: center;
        gap: 14px;
        color: var(--faint);
        font-size: 13px;
      }
      #demo-key {
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: none;
      }
      /* ---- privacy ---- */
      .privacy {
        padding: clamp(20px, 4vh, 50px) 0 clamp(70px, 12vh, 120px);
        max-width: 64ch;
      }
      .privacy h2 {
        font-family: var(--serif);
        font-weight: 420;
        font-size: clamp(26px, 3.6vw, 36px);
        letter-spacing: -0.01em;
        margin-bottom: 14px;
      }
      .privacy-lede {
        color: var(--ink);
        font-size: 17px;
        margin-bottom: 22px;
      }
      .privacy-list {
        list-style: none;
        padding: 0;
        display: grid;
        gap: 12px;
      }
      .privacy-list li {
        color: var(--muted);
        font-size: 14.5px;
        padding-left: 22px;
        position: relative;
      }
      .privacy-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.65em;
        width: 8px;
        height: 1px;
        background: var(--teal);
      }
      .privacy-list strong {
        color: var(--ink);
        font-weight: 500;
      }
      .privacy-note {
        color: var(--faint);
        font-size: 13.5px;
        margin-top: 26px;
      }
      .privacy-note a,
      footer a {
        color: var(--muted);
        text-decoration: none;
        border-bottom: 1px solid var(--line);
        transition: color 0.25s;
      }
      .privacy-note a:hover,
      footer a:hover {
        color: var(--teal-light);
      }

      /* ---- footer ---- */
      footer {
        border-top: 1px solid var(--line);
        padding: 30px 0 40px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        color: var(--faint);
        font-size: 13px;
      }
      footer .fm {
        font-family: var(--serif);
        font-style: italic;
        color: var(--muted);
      }

      /* ---- entrance ---- */
      @media (prefers-reduced-motion: no-preference) {
        .rise {
          opacity: 0;
          transform: translateY(18px);
          animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
        }
        .d1 {
          animation-delay: 0.08s;
        }
        .d2 {
          animation-delay: 0.18s;
        }
        .d3 {
          animation-delay: 0.28s;
        }
        .d4 {
          animation-delay: 0.4s;
        }
        .d5 {
          animation-delay: 0.55s;
        }
        @keyframes rise {
          to {
            opacity: 1;
            transform: none;
          }
        }

        /* scroll-reveal — only armed once JS adds .reveal-ready, so
           no-JS users always see content */
        .reveal-ready .reveal {
          opacity: 0;
          transform: translateY(18px);
          transition:
            opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
            transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
        }
        .reveal-ready .reveal.in {
          opacity: 1;
          transform: none;
        }
        .reveal-ready .features .grid .feature:nth-child(2) {
          transition-delay: 0.08s;
        }
        .reveal-ready .features .grid .feature:nth-child(3) {
          transition-delay: 0.16s;
        }
        .reveal-ready .features .grid .feature:nth-child(4) {
          transition-delay: 0.24s;
        }
        .reveal-ready .features .grid .feature:nth-child(5) {
          transition-delay: 0.32s;
        }
        .reveal-ready .features .grid .feature:nth-child(6) {
          transition-delay: 0.4s;
        }
      }
