
        /* === ROOT VARIABLES === */
        :root {
            --color-primary: var(--ink);
            --color-primary-light: var(--ink-2);
            --color-primary-glow: rgba(22, 22, 22, 0.25);
            --color-secondary: var(--ink);
            --color-secondary-light: var(--ink-2);
            --color-secondary-glow: rgba(22, 22, 22, 0.25);
            --color-dark: var(--ink);
            --color-surface: var(--paper);
            --color-muted: var(--ink-3);
            --color-slate: var(--ink-2);
            --color-slate-50: var(--paper-2);
            --color-slate-100: var(--paper-3);
            --color-slate-200: var(--rule);
            --color-slate-500: var(--ink-3);
            --color-slate-600: var(--ink-2);
            --color-slate-700: var(--ink-2);
            --color-slate-800: var(--ink);
            --color-slate-900: var(--ink);

            /* Responsive spacing */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            --space-3xl: 4rem;
            --space-4xl: 6rem;

            --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
            --shadow-glow: 0 0 20px var(--color-primary-glow);
            --shadow-card: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

            /* Responsive font sizes */
            --font-xs: clamp(0.75rem, 2vw, 0.8125rem);
            --font-sm: clamp(0.8125rem, 2.2vw, 0.875rem);
            --font-base: clamp(0.875rem, 2.5vw, 1rem);
            --font-lg: clamp(1rem, 3vw, 1.125rem);
            --font-xl: clamp(1.125rem, 3.5vw, 1.25rem);
            --font-2xl: clamp(1.25rem, 4vw, 1.5rem);
            --font-3xl: clamp(1.5rem, 5vw, 2rem);
            --font-4xl: clamp(2rem, 6vw, 3rem);
        }

        /* === BASE RESET === */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--color-surface);
            color: var(--color-dark);
            overflow-x: hidden;
            font-size: var(--font-base);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* === UTILITY CLASSES === */
        .container {
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        @media (min-width: 640px) {
            .container {
                max-width: 640px;
            }
        }

        @media (min-width: 768px) {
            .container {
                max-width: 768px;
            }
        }

        @media (min-width: 1024px) {
            .container {
                max-width: 1024px;
            }
        }

        @media (min-width: 1280px) {
            .container {
                max-width: 1200px;
            }
        }

        .max-w-5xl {
            max-width: 64rem;
        }

        .max-w-6xl {
            max-width: 72rem;
        }

        /* === GLASS MORPHISM === */
        .glass {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.9);
            box-shadow: var(--shadow-soft);
        }

        .glass.shadow-lg {
            box-shadow: var(--shadow-lg);
        }

        /* === NAVIGATION === */
        .nav-animate {
            opacity: 0;
            animation: nav-slide-down 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
            animation-delay: 0.1s;
        }

        @keyframes nav-slide-down {
            0% {
                opacity: 0;
                transform: translateY(-20px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* === NAV WRAPPER === */
        .nav-wrapper {
            position: fixed;
            top: 0.5rem;
            left: 0;
            right: 0;
            z-index: 50;
            display: flex;
            justify-content: center;
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }

        @media (min-width: 480px) {
            .nav-wrapper {
                top: 0.75rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        @media (min-width: 1024px) {
            .nav-wrapper {
                top: 1rem;
            }
        }

        /* === NAV INNER === */
        .nav-inner {
            border-radius: 0.75rem;
            padding: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 64rem;
        }

        @media (min-width: 480px) {
            .nav-inner {
                border-radius: 1rem;
                padding: 0.75rem 1rem;
            }
        }

        @media (min-width: 768px) {
            .nav-inner {
                padding: 1rem 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .nav-inner {
                padding: 1rem 2rem;
            }
        }

        /* === LOGO === */
        .logo-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
            min-height: 44px;
            text-decoration: none;
        }

        @media (min-width: 480px) {
            .logo-link {
                gap: 0.75rem;
            }
        }

        .logo-img {
            width: 1.75rem;
            height: auto;
            object-fit: contain;
        }

        @media (min-width: 480px) {
            .logo-img {
                width: 2rem;
            }
        }

        @media (min-width: 768px) {
            .logo-img {
                width: 2.25rem;
            }
        }

        @media (min-width: 1024px) {
            .logo-img {
                width: 2.5rem;
            }
        }

        .logo-text {
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: -0.025em;
            color: var(--color-slate-800);
        }

        @media (min-width: 480px) {
            .logo-text {
                font-size: 1.125rem;
            }
        }

        @media (min-width: 768px) {
            .logo-text {
                font-size: 1.25rem;
            }
        }

        .logo-text-light {
            font-weight: 400;
            color: var(--color-slate-500);
        }

        /* === DESKTOP NAVIGATION === */
        .desktop-nav {
            display: none;
            align-items: center;
            gap: 1.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-slate-600);
        }

        @media (min-width: 1024px) {
            .desktop-nav {
                display: flex;
            }
        }

        @media (min-width: 1280px) {
            .desktop-nav {
                gap: 2.5rem;
            }
        }

        .nav-link {
            position: relative;
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: var(--color-primary);
        }

        .nav-link-underline {
            position: absolute;
            bottom: -0.25rem;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-primary);
            transition: width 0.3s ease;
        }

        .nav-link:hover .nav-link-underline {
            width: 100%;
        }

        /* === RIGHT ACTIONS === */
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        @media (min-width: 480px) {
            .nav-actions {
                gap: 0.75rem;
            }
        }

        /* === PRIMARY BUTTON === */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary));
            color: var(--paper);
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: var(--font-sm);
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px -8px var(--color-primary-glow);
        }

        .btn-primary-sm {
            display: none;
            font-size: 0.75rem;
        }

        @media (min-width: 480px) {
            .btn-primary-sm {
                display: inline-flex;
                font-size: 0.875rem;
            }
        }

        /* === MENU TOGGLE === */
        .menu-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 44px;
            min-height: 44px;
            padding: 0.625rem;
            border-radius: 0.5rem;
            color: var(--color-slate-700);
            background: none;
            border: none;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        @media (min-width: 480px) {
            .menu-toggle {
                padding: 0.75rem;
                border-radius: 0.75rem;
            }
        }

        @media (min-width: 1024px) {
            .menu-toggle {
                display: none;
            }
        }

        .menu-toggle:hover {
            color: var(--color-primary);
        }

        .menu-icon {
            width: 18px;
            height: 18px;
        }

        @media (min-width: 480px) {
            .menu-icon {
                width: 20px;
                height: 20px;
            }
        }

        .hidden {
            display: none !important;
        }

        /* === MOBILE MENU === */
        .mobile-menu {
            position: fixed;
            top: 80px;
            left: var(--space-md);
            right: var(--space-md);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: var(--space-lg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transform: translateY(-20px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 40;
        }

        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-inner {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        @media (min-width: 480px) {
            .mobile-menu-inner {
                gap: 0.75rem;
            }
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            min-height: 44px;
            color: var(--color-slate-800);
            font-weight: 600;
            padding: 0.625rem 0.75rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }

        @media (min-width: 480px) {
            .mobile-nav-link {
                padding: 0.75rem 1rem;
                border-radius: 0.75rem;
                font-size: 1rem;
            }
        }

        .mobile-nav-link:hover {
            background-color: rgba(22, 22, 22, 0.1);
            color: var(--color-primary);
        }

        .mobile-menu-divider {
            border: none;
            border-top: 1px solid var(--color-slate-200);
            margin: 0.5rem 0;
        }

        .mobile-cta {
            justify-content: center;
            font-size: 0.875rem;
        }

        @media (min-width: 480px) {
            .mobile-cta {
                font-size: 1rem;
            }
        }

        /* === BACKGROUND ANIMATIONS === */
        .live-bg {
            position: fixed;
            inset: 0;
            z-index: -1;
            overflow: hidden;
            background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper-3) 100%);
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.25;
            animation: blob 10s infinite;
            will-change: transform;
        }

        .blob-1 {
            width: clamp(250px, 40vw, 500px);
            height: clamp(250px, 40vw, 500px);
            background: linear-gradient(135deg, rgba(22, 22, 22, 0.2), rgba(22, 22, 22, 0.1));
            top: -10%;
            right: -5%;
        }

        .blob-2 {
            width: clamp(200px, 35vw, 400px);
            height: clamp(200px, 35vw, 400px);
            background: linear-gradient(135deg, rgba(22, 22, 22, 0.15), rgba(36, 90, 120, 0.08));
            bottom: -10%;
            left: -10%;
            animation-delay: 3s;
        }

        .blob-3 {
            width: clamp(175px, 30vw, 350px);
            height: clamp(175px, 30vw, 350px);
            background: linear-gradient(135deg, rgba(22, 22, 22, 0.12), rgba(9, 152, 149, 0.06));
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: 6s;
        }

        @keyframes blob {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }

            25% {
                transform: translate(20px, -30px) scale(1.05);
            }

            50% {
                transform: translate(-15px, 15px) scale(0.95);
            }

            75% {
                transform: translate(-20px, -20px) scale(1.02);
            }
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--color-primary);
            border-radius: 50%;
            opacity: 0.3;
            animation: particle-float 12s ease-in-out infinite;
        }

        @keyframes particle-float {

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

            10% {
                opacity: 0.3;
            }

            90% {
                opacity: 0.3;
            }

            100% {
                transform: translateY(-100px) scale(1);
                opacity: 0;
            }
        }

        /* === RESPONSIVE NAV ADJUSTMENTS === */

        /* Mobile (< 480px) */
        @media (max-width: 479px) {
            .mobile-menu {
                top: 70px;
                left: 12px;
                right: 12px;
                padding: var(--space-md);
                border-radius: 16px;
            }

            .btn-primary {
                padding: 10px 18px;
                font-size: 13px;
            }
        }

        /* Small tablets (480px - 767px) */
        @media (min-width: 480px) and (max-width: 767px) {
            .mobile-menu {
                top: 76px;
                left: 16px;
                right: 16px;
                padding: var(--space-lg);
            }
        }

        /* Tablets (768px - 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .mobile-menu {
                top: 80px;
                left: 24px;
                right: 24px;
                max-width: 400px;
                margin-left: auto;
            }
        }

        /* iPad Pro Portrait (1024x1366) */
        @media (min-width: 768px) and (max-width: 1024px) {
            .mobile-menu {
                display: none;
            }

            .blob-1 {
                width: 400px;
                height: 400px;
            }

            .blob-2 {
                width: 350px;
                height: 350px;
            }

            .blob-3 {
                width: 300px;
                height: 300px;
            }
        }

        /* iPad Pro Landscape (1366x1024) */
        @media (width: 1366px) and (height: 1024px) {
            .blob-1 {
                width: 450px;
                height: 450px;
            }

            .blob-2 {
                width: 380px;
                height: 380px;
            }

            .blob-3 {
                width: 320px;
                height: 320px;
            }
        }

        /* Large screens (1024px+) */
        @media (min-width: 1024px) {
            .mobile-menu {
                display: none;
            }
        }
    

        /* Particle positions, previously six inline style attributes in header.php */
        .particle-1 { left: 15%; animation-delay: 0s; }
        .particle-2 { left: 35%; animation-delay: 4s; }
        .particle-3 { left: 55%; animation-delay: 2s; }
        .particle-4 { left: 75%; animation-delay: 6s; }
        .particle-5 { left: 90%; animation-delay: 3s; }

        /* The mobile Plus button is a link as well as a button, so it needs a
           two-class rule to keep its white label after the inline style went. */
        .mobile-nav-link.btn-primary { color: var(--paper); }
