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

        :root {
            --bg: #07070A;
            --bg-raised: #0E0E14;
            --surface: #131319;
            --surface-hover: #1A1A22;
            --line: rgba(255, 255, 255, 0.09);
            --line-strong: rgba(255, 255, 255, 0.18);
            --ink: #F6F5FA;
            --muted: #97949F;
            --muted-2: #C8C5D0;

            --violet: #6C5CE7;
            --violet-light: #9C8CFF;
            --violet-glow: rgba(108, 92, 231, 0.35);
            --hud: #43E8D8;

            --coral: #FF6B5E;
            --sky: #4FB8F0;
            --mint: #2FD98A;
            --amber: #F5B942;
            --rose: #F0629A;

            --radius-sm: 12px;
            --radius-md: 18px;
            --radius-lg: 28px;

            --font-display: 'Clash Display', 'General Sans', -apple-system, sans-serif;
            --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        }

        @property --angle {
            syntax: '<angle>';
            inherits: false;
            initial-value: 0deg;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: var(--bg);
            color: var(--ink);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

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

        a {
            color: inherit;
        }

        button {
            font-family: inherit;
        }

        :focus-visible {
            outline: 2px solid var(--violet-light);
            outline-offset: 3px;
            border-radius: 4px;
        }

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

            *,
            *::before,
            *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
            }
        }

        .wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* ===== AMBIENT BACKGROUND LAYERS (fixed, site-wide) ===== */
        .grid-overlay {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: 0.4;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, black 30%, transparent 92%);
            -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, black 30%, transparent 92%);
        }

        #bgFX {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: 0.7;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 1;
            opacity: 0.5;
        }

        /* ===== GLOW BORDER UTILITY ===== */
        .glow-border {
            position: relative;
        }

        .glow-border::after {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: conic-gradient(from var(--angle), transparent 0deg, var(--violet-light) 80deg, var(--hud) 140deg, transparent 230deg);
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.35s ease;
            animation: spin-angle 3.2s linear infinite paused;
            pointer-events: none;
        }

        .glow-border:hover::after {
            opacity: 1;
            animation-play-state: running;
        }

        @keyframes spin-angle {
            to {
                --angle: 360deg;
            }
        }

        /* ===== HEADER ===== */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 10, 0.72);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease, background 0.3s ease;
        }

        header::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--hud), transparent);
            opacity: 0.45;
        }

        header.scrolled {
            border-bottom-color: var(--line);
            background: rgba(7, 7, 10, 0.92);
        }

        nav {
            max-width: 1180px;
            margin: 0 auto;
            padding: 1.1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--ink);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.7rem;
            letter-spacing: -0.01em;
        }

        .logo-blocks {
            display: flex;
            gap: 3px;
            align-items: flex-end;
        }

        .logo-block {
            width: 7px;
            border-radius: 2.5px;
        }

        .logo-block:nth-child(1) {
            height: 15px;
            background: var(--coral);
        }

        .logo-block:nth-child(2) {
            height: 22px;
            background: var(--violet-light);
        }

        .logo-block:nth-child(3) {
            height: 12px;
            background: var(--mint);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        nav a:not(.nav-cta) {
            color: var(--muted);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.94rem;
            transition: color 0.25s;
        }

        nav a:not(.nav-cta):hover {
            color: var(--ink);
        }

        .nav-clock {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            color: var(--hud);
            letter-spacing: 0.04em;
        }

        .nav-cta {
            background: var(--ink);
            color: var(--bg) !important;
            padding: 0.6rem 1.3rem;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            transition: transform 0.25s ease, background 0.25s ease;
        }

        .nav-cta:hover {
            background: var(--violet-light);
            transform: translateY(-1px);
        }

        /* ===== BUTTONS ===== */
        .btn {
            padding: 0.95rem 1.9rem;
            border: none;
            border-radius: 100px;
            font-size: 0.98rem;
            font-weight: 600;
            font-family: var(--font-body);
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--ink);
            color: var(--bg);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
            background: var(--violet-light);
            color: #08070f;
        }

        .btn-secondary {
            background: transparent;
            color: var(--ink);
            border: 1.5px solid var(--line-strong);
        }

        .btn-secondary:hover {
            border-color: var(--violet-light);
            background: rgba(156, 140, 255, 0.08);
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            padding: 9.5rem 0 5rem;
            z-index: 2;
        }

        .hero-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .hero-copy h1 {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 3.6rem;
            line-height: 1.06;
            letter-spacing: -0.02em;
            color: var(--ink);
            margin-bottom: 1.4rem;
            animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .hero-copy p {
            font-size: 1.15rem;
            color: var(--muted);
            max-width: 460px;
            line-height: 1.75;
            margin-bottom: 2.2rem;
            animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
        }

        .hero-ctas {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 1.4rem;
            animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
        }

        .hero-trust {
            font-size: 0.85rem;
            color: var(--muted);
            animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
        }

        @keyframes rise {
            from {
                opacity: 0;
                transform: translateY(22px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-3d-stage {
            position: relative;
            height: 480px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--line);
            animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
            touch-action: none;
        }

        .hero-3d-fallback {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 30% 25%, rgba(108, 92, 231, 0.28) 0%, transparent 55%),
                radial-gradient(circle at 70% 70%, rgba(47, 217, 138, 0.14) 0%, transparent 55%),
                radial-gradient(circle at 75% 20%, rgba(240, 98, 154, 0.14) 0%, transparent 50%);
        }

        .hero-3d-stage::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
        }

        #heroCanvas {
            position: relative;
            width: 100%;
            height: 100%;
            cursor: grab;
            touch-action: none;
        }

        #heroCanvas:active {
            cursor: grabbing;
        }

        .hero-hud {
            position: absolute;
            top: 1.1rem;
            left: 1.2rem;
            display: flex;
            gap: 0.9rem;
            align-items: center;
            font-family: var(--font-mono);
            font-size: 0.72rem;
            letter-spacing: 0.05em;
            color: var(--hud);
            z-index: 2;
            pointer-events: none;
        }

        .hud-pulse {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--mint);
        }

        .hud-pulse::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--mint);
            animation: pulseDot 1.6s ease-in-out infinite;
        }

        @keyframes pulseDot {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.25;
            }
        }

        .hero-3d-hint {
            position: absolute;
            bottom: 1.1rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.78rem;
            color: var(--muted);
            background: rgba(7, 7, 10, 0.55);
            padding: 0.45rem 0.9rem;
            border-radius: 100px;
            border: 1px solid var(--line);
            pointer-events: none;
            backdrop-filter: blur(6px);
            z-index: 2;
        }

        /* ===== TIMELINE DEMO ===== */
        .demo {
            padding: 6rem 0;
            border-top: 1px solid var(--line);
            position: relative;
            z-index: 2;
        }

        .demo-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4.5rem;
            align-items: center;
        }

        .demo-copy h2 {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 2.4rem;
            letter-spacing: -0.015em;
            line-height: 1.15;
            margin-bottom: 1.2rem;
        }

        .demo-copy p {
            color: var(--muted);
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 2rem;
            max-width: 420px;
        }

        .demo-facts {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
        }

        .demo-fact {
            display: flex;
            align-items: flex-start;
            gap: 0.85rem;
            font-size: 0.95rem;
            color: var(--muted-2);
        }

        .demo-fact-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-top: 0.5rem;
            flex-shrink: 0;
        }

        .phone-stage {
            display: flex;
            justify-content: center;
            perspective: 1400px;
        }

        .phone-float {
            animation: floatY 6.5s ease-in-out infinite;
        }

        @keyframes floatY {

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

            50% {
                transform: translateY(-16px);
            }
        }

        .phone-frame {
            width: 264px;
            height: 536px;
            background: #111017;
            border-radius: 42px;
            padding: 10px;
            box-shadow:
                0 0 0 1.5px rgba(255, 255, 255, 0.1),
                0 40px 90px rgba(0, 0, 0, 0.55);
            transform: rotateY(-10deg) rotateX(5deg);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            transform-style: preserve-3d;
        }

        .phone-notch {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 24px;
            background: #111017;
            border-radius: 0 0 16px 16px;
            z-index: 5;
        }

        .phone-screen {
            width: 100%;
            height: 100%;
            background: var(--bg);
            border-radius: 33px;
            overflow: hidden;
            position: relative;
        }

        .phone-ui {
            padding: 36px 10px 10px;
            height: 100%;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .phone-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 4px;
            margin-bottom: 8px;
        }

        .phone-date {
            font-size: 0.65rem;
            font-weight: 700;
            color: var(--ink);
        }

        .phone-date-sub {
            font-size: 0.55rem;
            color: var(--muted);
        }

        .phone-add-btn {
            width: 22px;
            height: 22px;
            border-radius: 7px;
            background: var(--violet);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: white;
            font-weight: 700;
        }

        .time-row {
            display: flex;
            gap: 6px;
            align-items: flex-start;
        }

        .time-label {
            font-size: 0.5rem;
            color: var(--muted);
            width: 22px;
            text-align: right;
            flex-shrink: 0;
            padding-top: 2px;
        }

        .time-line {
            flex: 1;
        }

        .time-divider {
            width: 100%;
            height: 0.5px;
            background: rgba(255, 255, 255, 0.06);
            margin-top: 3px;
        }

        .t-block {
            border-radius: 8px;
            padding: 4px 7px;
            margin-bottom: 2px;
            animation: blockIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        @keyframes blockIn {
            from {
                opacity: 0;
                transform: scaleX(0.7);
            }

            to {
                opacity: 1;
                transform: scaleX(1);
            }
        }

        .t-block-title {
            font-size: 0.52rem;
            font-weight: 700;
            color: white;
        }

        .t-block-dur {
            font-size: 0.45rem;
            color: rgba(255, 255, 255, 0.6);
        }

        /* ===== BENTO FEATURES ===== */
        .features {
            padding: 7rem 0;
            border-top: 1px solid var(--line);
            position: relative;
            z-index: 2;
        }

        .section-head {
            max-width: 560px;
            margin-bottom: 3.5rem;
        }

        .section-head h2 {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 2.5rem;
            letter-spacing: -0.015em;
            line-height: 1.15;
            margin-bottom: 0.9rem;
        }

        .section-head p {
            color: var(--muted);
            font-size: 1.05rem;
            line-height: 1.7;
        }

        .bento {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 250px;
            gap: 1.1rem;
        }

        .bento-item {
            background: var(--surface);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 1.6rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1rem;
            transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
            transform-style: preserve-3d;
            will-change: transform;
        }

        .bento-item::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(156, 140, 255, 0.14), transparent 62%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .bento-item:hover {
            border-color: var(--line-strong);
            background: var(--surface-hover);
        }

        .bento-item:hover::before {
            opacity: 1;
        }

        .bento-item h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.4rem;
        }

        .bento-item p {
            color: var(--muted);
            font-size: 0.87rem;
            line-height: 1.55;
        }

        .bento-widget {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.6rem;
            min-height: 0;
        }

        .widget-hint {
            font-size: 0.72rem;
            color: var(--muted);
            text-align: center;
        }

        .bento-large {
            grid-column: span 2;
            grid-row: span 2;
        }

        .bento-large h3 {
            font-size: 1.4rem;
        }

        .bento-wide {
            grid-column: span 2;
        }

        .bento-tall {
            grid-row: span 2;
        }

        .bento-dot {
            width: 30px;
            height: 30px;
            border-radius: 9px;
        }

        /* --- widget: live drag & resize --- */
        .drag-track {
            position: relative;
            height: 175px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed var(--line-strong);
            border-radius: 10px;
        }

        .drag-block {
            position: absolute;
            left: 6px;
            right: 6px;
            border-radius: 8px;
            cursor: grab;
            touch-action: none;
            display: flex;
            align-items: center;
            padding: 0 10px;
            user-select: none;
        }

        .drag-block:active {
            cursor: grabbing;
        }

        .drag-block span {
            font-size: 0.72rem;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
            pointer-events: none;
        }

        .resize-handle {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 10px;
            cursor: ns-resize;
            touch-action: none;
        }

        .resize-handle::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 2px;
            transform: translateX(-50%);
            width: 22px;
            height: 3px;
            border-radius: 3px;
            background: rgba(0, 0, 0, 0.3);
        }

        /* --- widget: heatmap --- */
        .heatmap-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            width: 100%;
        }

        .heat-cell {
            aspect-ratio: 1;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            padding: 0;
            transition: transform 0.15s ease;
        }

        .heat-cell:hover {
            transform: scale(1.15);
        }

        /* --- widget: streak --- */
        .streak-days {
            display: flex;
            gap: 6px;
        }

        .streak-day {
            width: 27px;
            height: 27px;
            border-radius: 50%;
            border: 1.5px solid var(--line-strong);
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            font-weight: 700;
            color: var(--muted);
            transition: all 0.2s ease;
        }

        .streak-day.done {
            background: var(--coral);
            border-color: var(--coral);
            color: white;
        }

        .streak-count {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--ink);
        }

        /* --- widget: reuse routine --- */
        .routine-demo {
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            align-items: center;
            width: 100%;
        }

        .routine-chip {
            padding: 0.5rem 0.9rem;
            border-radius: 100px;
            background: var(--surface-hover);
            border: 1px solid var(--line-strong);
            font-size: 0.76rem;
            font-weight: 700;
            cursor: grab;
            touch-action: none;
            user-select: none;
        }

        .routine-chip.dragging {
            opacity: 0.35;
        }

        .routine-chip-ghost {
            position: fixed;
            pointer-events: none;
            z-index: 999;
            padding: 0.5rem 0.9rem;
            border-radius: 100px;
            background: var(--violet);
            color: #fff;
            font-size: 0.76rem;
            font-weight: 700;
            transform: translate(-50%, -50%);
        }

        .routine-drop {
            width: 100%;
            border: 1.5px dashed var(--line-strong);
            border-radius: 10px;
            padding: 0.8rem;
            text-align: center;
            font-size: 0.74rem;
            color: var(--muted);
            transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
        }

        .routine-drop.over {
            border-color: var(--mint);
            background: rgba(47, 217, 138, 0.08);
        }

        .routine-drop.filled {
            border-style: solid;
            border-color: var(--mint);
            color: var(--ink);
            background: rgba(47, 217, 138, 0.12);
        }

        /* --- widget: offline toggle --- */
        .offline-widget {
            flex-direction: row;
            align-items: center;
            gap: 1.2rem;
            flex-wrap: wrap;
        }

        .offline-toggle {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.5rem 0.9rem;
            border-radius: 100px;
            border: 1px solid var(--line-strong);
            background: var(--surface-hover);
            cursor: pointer;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ink);
        }

        .offline-toggle-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--mint);
            transition: background 0.2s ease;
        }

        .offline-toggle[aria-pressed="true"] .offline-toggle-dot {
            background: var(--muted);
        }

        .offline-status {
            font-size: 0.8rem;
            color: var(--mint);
            font-weight: 600;
        }

        /* --- widget: planned vs actual --- */
        .compare-demo {
            position: relative;
            width: 100%;
            height: 115px;
            border-radius: 10px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--line);
        }

        .compare-bars {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            gap: 6px;
            padding: 8px;
        }

        .compare-bars .bar {
            flex: 1;
            border-radius: 4px 4px 0 0;
        }

        .compare-actual {
            clip-path: inset(0 50% 0 0);
        }

        .compare-handle {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            background: var(--hud);
            cursor: ew-resize;
            touch-action: none;
        }

        .compare-handle::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--hud);
        }

        /* ===== HOW IT WORKS — INTERACTIVE SCRUBBER ===== */
        .how {
            padding: 7rem 0;
            border-top: 1px solid var(--line);
            position: relative;
            z-index: 2;
        }

        .scrubber {
            margin-bottom: 2.2rem;
        }

        .scrubber-track {
            position: relative;
            height: 4px;
            background: var(--line-strong);
            border-radius: 4px;
            margin: 0 10px;
        }

        .scrubber-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: var(--violet-light);
            border-radius: 4px;
            width: 0%;
        }

        .scrubber-stop {
            position: absolute;
            top: 50%;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--surface);
            border: 2px solid var(--line-strong);
            transform: translate(-50%, -50%);
            cursor: pointer;
            padding: 0;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .scrubber-stop.active {
            border-color: var(--violet-light);
            background: var(--violet-light);
        }

        .scrubber-handle {
            position: absolute;
            top: 50%;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--ink);
            transform: translate(-50%, -50%);
            cursor: grab;
            touch-action: none;
            box-shadow: 0 0 0 6px rgba(156, 140, 255, 0.18);
        }

        .scrubber-handle:active {
            cursor: grabbing;
        }

        .scrubber-panel {
            padding: 2.2rem 0 0;
            border-top: 2px solid var(--line-strong);
            min-height: 160px;
        }

        .scrubber-panel .step-number {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 600;
            color: var(--violet-light);
            display: block;
        }

        .scrubber-panel h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0.9rem 0 0.6rem;
        }

        .scrubber-panel p {
            color: var(--muted);
            line-height: 1.75;
            font-size: 0.98rem;
            max-width: 460px;
        }

        /* ===== CTA / DOWNLOAD ===== */
        .cta-section {
            padding: 8rem 0 6rem;
            text-align: center;
            border-top: 1px solid var(--line);
            position: relative;
            z-index: 2;
        }

        .cta-section h2 {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 3rem;
            letter-spacing: -0.02em;
            margin-bottom: 0.8rem;
        }

        .cta-section p {
            color: var(--muted);
            font-size: 1.1rem;
            margin-bottom: 2.6rem;
        }

        .download-buttons {
            display: flex;
            gap: 1.1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .app-store-btn {
            background: var(--surface);
            border: 1px solid var(--line);
            border-radius: 14px;
            padding: 0.95rem 1.7rem;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            font-weight: 700;
            color: var(--ink);
            text-decoration: none;
            transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
        }

        .app-store-btn:hover {
            transform: translateY(-3px);
            border-color: var(--violet-light);
            background: var(--surface-hover);
        }

        .app-store-btn .store-icon {
            font-size: 1.8rem;
        }

        .app-store-btn small {
            display: block;
            font-size: 0.7rem;
            color: var(--muted);
            font-weight: 500;
        }

        .app-store-btn strong {
            font-size: 1.02rem;
        }

        /* ===== FOOTER ===== */
        footer {
            padding: 3.5rem 2rem 2rem;
            border-top: 1px solid var(--line);
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            justify-content: center;
            margin-bottom: 1.2rem;
        }

        .footer-logo-text {
            font-family: var(--font-display);
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--ink);
        }

        footer p {
            color: var(--muted);
            font-size: 0.9rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.8rem;
            margin: 1.3rem 0;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--muted);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.88rem;
            transition: color 0.25s;
        }

        .footer-links a:hover {
            color: var(--violet-light);
        }

        /* ===== SECTION REVEAL (orchestrated, per-section not per-card) ===== */
        .reveal-section {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== PRO PURCHASE ISSUE PAGE ===== */
        html.promo-mode,
        html.promo-mode body {
            background: var(--bg);
        }

        html.promo-mode body>*:not(#pro-issue-page) {
            display: none !important;
        }

        #pro-issue-page {
            display: none;
            min-height: 100vh;
            padding: 2rem;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        html.promo-mode #pro-issue-page {
            display: flex;
        }

        .pro-issue-glow {
            position: absolute;
            width: 520px;
            height: 520px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(108, 92, 231, 0.16) 0%, transparent 68%);
            top: -220px;
            right: -160px;
            pointer-events: none;
        }

        .pro-issue-card {
            width: min(100%, 620px);
            padding: clamp(2rem, 6vw, 4rem);
            background: rgba(19, 19, 25, 0.9);
            border: 1px solid rgba(108, 92, 231, 0.32);
            border-radius: var(--radius-lg);
            box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(20px);
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .pro-issue-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            background: rgba(108, 92, 231, 0.1);
            border: 1px solid rgba(108, 92, 231, 0.25);
            color: var(--violet-light);
            font-size: 0.78rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }

        .pro-issue-eyebrow-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--amber);
        }

        .pro-issue-card h1 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 6vw, 3.1rem);
            line-height: 1.1;
            letter-spacing: -0.015em;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .pro-issue-card .lead {
            color: var(--muted-2);
            font-size: 1.05rem;
            line-height: 1.75;
            max-width: 500px;
            margin: 0 auto;
        }

        .pro-issue-card .gift {
            margin: 2rem 0;
            padding: 1.5rem;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(156, 140, 255, 0.05));
            border: 1px solid rgba(108, 92, 231, 0.26);
        }

        .pro-issue-card .gift-title {
            color: var(--ink);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.9rem;
        }

        .promo-code {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px dashed rgba(156, 140, 255, 0.5);
            color: var(--ink);
            font-family: var(--font-mono);
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 1.5px;
        }

        .copy-code {
            border: 0;
            border-radius: 9px;
            padding: 0.5rem 0.7rem;
            background: rgba(255, 255, 255, 0.09);
            color: var(--muted-2);
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 700;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .copy-code:hover {
            background: rgba(255, 255, 255, 0.16);
            color: var(--ink);
        }

        .pro-issue-steps {
            text-align: left;
            margin: 1.75rem auto 0;
            max-width: 470px;
            color: var(--muted);
            font-size: 0.92rem;
            line-height: 1.7;
        }

        .pro-issue-steps strong {
            color: var(--muted-2);
        }

        .pro-issue-steps ol {
            margin: 0.75rem 0 0;
            padding-left: 1.25rem;
        }

        .pro-issue-steps li {
            margin-bottom: 0.45rem;
        }

        .pro-issue-note {
            color: var(--muted);
            font-size: 0.82rem;
            line-height: 1.6;
            margin-top: 1.5rem;
        }

        .pro-issue-note strong {
            color: var(--muted-2);
        }

        .pro-issue-back {
            display: inline-block;
            margin-top: 1.75rem;
            color: var(--muted);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 700;
            transition: color 0.2s ease;
        }

        .pro-issue-back:hover {
            color: var(--ink);
        }

        @media(max-width:600px) {
            #pro-issue-page {
                padding: 1rem;
            }

            .pro-issue-card {
                border-radius: 22px;
                padding: 2rem 1.25rem;
            }

            .promo-code {
                font-size: 1.05rem;
            }
        }

        /* ===== RESPONSIVE ===== */
        @media(max-width:960px) {
            .hero-inner {
                grid-template-columns: 1fr;
            }

            .hero-3d-stage {
                order: -1;
                height: 340px;
            }

            .hero-copy h1 {
                font-size: 2.7rem;
            }

            .demo-inner {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .phone-stage {
                order: -1;
            }

            .bento {
                grid-template-columns: repeat(2, 1fr);
                grid-auto-rows: 260px;
            }

            .bento-large {
                grid-column: span 2;
            }
        }

        @media(max-width:600px) {
            nav .nav-links {
                display: none;
            }

            .hero {
                padding: 7.5rem 0 3.5rem;
            }

            .hero-copy h1 {
                font-size: 2.1rem;
                letter-spacing: -0.01em;
            }

            .section-head h2 {
                font-size: 1.9rem;
            }

            .bento {
                grid-template-columns: 1fr;
                grid-auto-rows: auto;
            }

            .bento-item,
            .bento-large,
            .bento-wide,
            .bento-tall {
                grid-column: span 1;
                grid-row: auto;
                min-height: 240px;
            }

            .cta-section h2 {
                font-size: 2.1rem;
            }
        }

/* ===== SEO STRIP ===== */
.seo-strip {
    padding: 5rem 0;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.seo-strip-inner {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(108,92,231,.07), rgba(255,255,255,.02));
}
.seo-kicker {
    display: inline-block;
    margin-bottom: .8rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--hud);
}
.seo-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.seo-strip p { color: var(--muted); max-width: 700px; line-height: 1.8; }
.seo-links { display: grid; gap: .7rem; }
.seo-links a {
    display: block;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted-2);
    text-decoration: none;
    font-weight: 600;
    background: rgba(255,255,255,.02);
    transition: .2s ease;
}
.seo-links a:hover { color: var(--ink); border-color: var(--violet-light); transform: translateX(3px); }
@media(max-width:700px){ .seo-strip-inner{grid-template-columns:1fr; padding:1.4rem;} }
