        :root {
            --bg-from: #1e3c72;
            --bg-to:   #2a5298;
            --text:    #ffffff;
            --text-dim: rgba(255,255,255,0.55);
            --glass:        rgba(255,255,255,0.10);
            --glass-border: rgba(255,255,255,0.15);
            --btn:          rgba(255,255,255,0.15);
            --btn-hover:    rgba(255,255,255,0.25);
            --track:        rgba(255,255,255,0.20);
            --track-thumb:  #ffffff;
        }
        body.dark {
            --bg-from: #0f1117;
            --bg-to:   #1a1d27;
            --text:    #e2e8f0;
            --text-dim: rgba(226,232,240,0.45);
            --glass:        rgba(255,255,255,0.04);
            --glass-border: rgba(255,255,255,0.07);
            --btn:          rgba(255,255,255,0.07);
            --btn-hover:    rgba(255,255,255,0.12);
            --track:        rgba(255,255,255,0.12);
            --track-thumb:  #e2e8f0;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-to) 100%);
            min-height: 100vh;
            color: var(--text);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding-bottom: 3.5rem;
            transition: background .3s;
        }

        /* Hero card */
        .hero-card {
            background: var(--glass);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.25);
            padding: 3rem 3.5rem 2.8rem;
            text-align: center;
            max-width: 500px;
            width: calc(100% - 2rem);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .hero-logo {
            width: min(260px, 70vw);
            height: auto;
            object-fit: contain;
            margin-bottom: 0.5rem;
        }

        .hero-title {
            font-family: 'Roboto', sans-serif;
            font-size: 2rem;
            font-weight: 300;
            letter-spacing: 0.08em;
        }

        .hero-tagline {
            font-size: 0.95rem;
            color: var(--text-dim);
            line-height: 1.5;
            white-space: nowrap;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.75rem;
            padding: 0.65rem 1.6rem;
            background: var(--btn);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            color: var(--text);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            backdrop-filter: blur(8px);
            transition: background .15s, transform .15s, border-color .15s;
        }
        .cta-btn:hover {
            background: var(--btn-hover);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        .cta-btn svg {
            width: 16px; height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* Footer */
        footer {
            margin-top: 2.5rem;
            font-size: 0.72rem;
            color: var(--text-dim);
            letter-spacing: 0.04em;
        }

        /* Theme toggle */
        .theme-toggle {
            position: fixed;
            bottom: 1.2rem;
            right: 1rem;
            display: flex;
            align-items: center;
            gap: 0.45rem;
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            padding: 0.35rem 0.7rem;
            color: var(--text);
            cursor: pointer;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            backdrop-filter: blur(16px);
            z-index: 10;
            transition: background .15s, border-color .15s;
            font-family: inherit;
        }
        .theme-toggle:hover { background: var(--btn-hover); }
        .theme-track {
            width: 28px; height: 16px;
            background: var(--track);
            border-radius: 8px;
            position: relative;
            transition: background .2s;
            flex-shrink: 0;
        }
        .theme-track::after {
            content: '';
            position: absolute;
            width: 11px; height: 11px;
            background: var(--track-thumb);
            border-radius: 50%;
            top: 2.5px; left: 2.5px;
            transition: transform .2s;
        }
        body.dark .theme-track { background: #22c55e; }
        body.dark .theme-track::after { transform: translateX(12px); }

        /* Cookie info pill */
        .cookie-bar {
            position: fixed;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.35rem 0.7rem 0.35rem 0.85rem;
            background: rgba(0,0,0,0.45);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50px;
            font-size: 0.65rem;
            color: rgba(255,255,255,0.5);
            letter-spacing: 0.02em;
            white-space: nowrap;
            max-width: calc(100vw - 2rem);
            z-index: 50;
            transition: opacity .3s, transform .3s;
        }
        .cookie-bar.hidden {
            opacity: 0;
            transform: translateX(-50%) translateY(0.5rem);
            pointer-events: none;
        }
        .cookie-bar a {
            color: rgba(255,255,255,0.65);
            text-decoration: none;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        .cookie-bar a:hover { color: rgba(255,255,255,0.9); }
        .cookie-bar button {
            background: none;
            border: none;
            color: rgba(255,255,255,0.35);
            cursor: pointer;
            font-size: 0.7rem;
            line-height: 1;
            padding: 0;
            margin-left: 0.1rem;
            transition: color .15s;
            font-family: inherit;
        }
        .cookie-bar button:hover { color: rgba(255,255,255,0.8); }
        /* Su schermi stretti la riga unica non ci sta: testo a capo */
        @media (max-width: 600px) {
            .cookie-bar {
                white-space: normal;
                border-radius: 16px;
                line-height: 1.45;
                text-align: left;
            }
        }
