  :root {
            color-scheme: dark;
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: #101010;
            color: #f2f2f2;
            font-synthesis: none;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            --muted: #b8b8b8;
            --line: #303030;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            min-width: 320px;
            margin: 0;
        }

        a {
            color: inherit;
        }

        .wrap {
            width: min(1120px, calc(100% - 40px));
            margin-inline: auto;
        }

        .site-header {
            border-bottom: 1px solid #222;
        }

        .nav {
            min-height: 76px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            letter-spacing: .12em;
            text-decoration: none;
        }

        .brand img {
            width: 38px;
            height: 38px;
            border-radius: 11px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 26px;
            color: var(--muted);
            font-size: .92rem;
        }

        .nav-links a,
        .footer-inner a {
            text-decoration: none;
        }

        .nav-links a:hover,
        .text-link:hover {
            color: #fff;
        }

        .button {
            min-height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            border: 1px solid transparent;
            border-radius: 3px;
            background: #f2f2f2;
            color: #101010;
            font-weight: 700;
            text-decoration: none;
            transition: background .18s ease;
        }

        .button:hover {
            background: #d0d0d0;
        }

        .button.secondary {
            border-color: var(--line);
            background: transparent;
            color: #f2f2f2;
        }

        .button.secondary:hover {
            background: #202020;
        }

        .landing-page #navbar .guest-actions .guest-signup-button {
            padding: 10px 16px;
            border: 1px solid #f2f2f2 !important;
            border-radius: 3px;
            background: #f2f2f2 !important;
            color: #101010 !important;
            font-weight: 700;
        }

        .landing-page #navbar .guest-actions .guest-signup-button:hover {
            background: #d0d0d0 !important;
            border-color: #d0d0d0 !important;
            color: #101010 !important;
        }

        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 48px;
            padding-block: 112px 96px;
        }

        h1 {
            max-width: 680px;
            margin: 24px 0;
            font-size: clamp(3.2rem, 7vw, 6.4rem);
            font-weight: 600;
            line-height: .96;
            letter-spacing: -.075em;
        }

        #hero-title {
            font-size: clamp(3.2rem, 7vw, 6.4rem);
            font-weight: 600;
            line-height: .96;
            letter-spacing: -.075em;
        }

        .hero-copy {
            max-width: 570px;
            color: #aaa;
            font-size: 1rem;
            line-height: 1.85;
        }

        .actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 34px;
        }

        .hero-note {
            margin-top: 16px;
            color: #777;
            font-size: .85rem;
        }

        .hero-art {
            position: relative;
            aspect-ratio: 3 / 2;
            overflow: hidden;
            background: #000;
        }

        .hero-art img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
            filter: grayscale(1);
        }

        .art-caption {
            padding-top: 16px;
        }

        .art-caption strong {
            display: block;
            margin-bottom: 4px;
            font-size: .9rem;
            font-weight: 500;
        }

        .art-caption span {
            color: #777;
            font-size: .82rem;
        }

        .content-section {
            padding-block: 104px;
            border-top: 1px solid #222;
        }

        .section-heading {
            max-width: 700px;
            margin-bottom: 48px;
        }

        .section-heading h2 {
            margin: 18px 0 14px;
            font-size: clamp(2.4rem, 5vw, 4.2rem);
            font-weight: 500;
            line-height: 1.05;
            letter-spacing: -.06em;
        }

        .section-heading p {
            color: var(--muted);
            line-height: 1.75;
        }

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

        .feature {
            padding-top: 22px;
            border-top: 1px solid #444;
        }

        .feature h3 {
            margin: 28px 0 12px;
            font-size: 1.25rem;
            font-weight: 500;
        }

        .feature p {
            margin: 0;
            color: var(--muted);
            line-height: 1.7;
        }

        .start-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 48px;
        }

        .start-image {
            width: 100%;
            aspect-ratio: 3 / 2;
            display: block;
            object-fit: contain;
            background: #000;
            filter: grayscale(1);
        }

        .start-layout .section-heading {
            margin: 0;
        }

        .download-panel {
            max-width: 760px;
            margin-inline: auto;
            text-align: center;
        }

        .download-panel h2 {
            margin: 18px 0;
            font-size: clamp(2.6rem, 5vw, 4.5rem);
            font-weight: 500;
            line-height: 1;
            letter-spacing: -.06em;
        }

        .download-panel p {
            max-width: 620px;
            margin: 0 auto;
            color: #aaa;
            line-height: 1.8;
        }

        .download-panel .button {
            margin-top: 28px;
        }

        .site-footer {
            padding-block: 28px;
            border-top: 1px solid #222;
            color: #777;
            font-size: .9rem;
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .text-link {
            color: #d0d0d0;
        }

        .logo {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.13em;
            white-space: nowrap;
        }

        /* =========================================
           LANDING INTRO
        ========================================= */
/* =========================================
   LANDING INTRO (TRUE HANDWRITING EFFECT)
========================================= */

.landing-intro {
    text-align: center;
    padding: 80px 0 60px;
}

.landing-intro h1 {
    margin: 0 auto 20px;
    line-height: 1.15;
}

.handwriting-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
    overflow: visible;
}

.intro-title-text {
    font-family: 'Dancing Script', cursive;
    font-size: 80px;
    font-weight: 500;
    fill: url(#goldGradient); /* Fallback or inline fill */
    letter-spacing: 0;
}

.handwritten-text {
    clip-path: inset(0 100% 0 0);
    animation: writeLine 2.8s linear -1s forwards;
}

.landing-intro p {
    font-size: 1.25rem;
    color: var(--text-secondary, var(--muted));
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes writeLine {
    to {
        clip-path: inset(0);
    }
}

        /* =========================================
           RESPONSIVE DESIGN
        ========================================= */

        @media (max-width: 768px) {
            .landing-intro {
                padding: 60px 0 40px;
            }

            .landing-intro p {
                font-size: 1rem;
            }
        }

        @media (max-width: 760px) {
            .nav {
                min-height: 68px;
            }

            .nav-links {
                gap: 14px;
                font-size: .82rem;
            }

            .nav-links .about-link {
                display: none;
            }

            .nav-links .button {
                min-height: 40px;
                padding-inline: 13px;
            }

            .hero {
                grid-template-columns: 1fr;
                gap: 32px;
                padding-block: 72px;
            }

            .feature-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .start-layout {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .content-section {
                padding-block: 72px;
            }
        }

        @media (max-width: 420px) {
            .wrap {
                width: min(calc(100% - 28px), 1120px);
            }

            .intro-title-text {
                font-size: 72px;
            }

            .brand {
                gap: 8px;
                font-size: .88rem;
            }

            .brand img {
                width: 32px;
                height: 32px;
            }

            .nav-links {
                gap: 10px;
            }

            .nav-links .exercise-link {
                display: none;
            }

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

        /* =========================================
           ACCESSIBILITY
        ========================================= */

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

            .handwritten-text {
                animation: none;
                clip-path: none;
            }

        }
