    :root {
        --bg: #1a1a1a;
        --panel: #1f1f1f;
        --muted: #8b92a1;
        --text: #eef2ff;
        --accent: #3b82f6;
        --button: #3b82f6;
        --shadow: 0 10px 30px rgba(0, 0, 0, .35);
        --radius: 16px;
    }
    
    * {
        box-sizing: border-box
    }
    
    html,
    body {
        height: 100%
    }
    
    body {
        margin: 0;
        font: 14px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
        background:
        radial-gradient(1200px 600px at 80% -10%, rgba(239, 68, 68, .55), transparent 60%),
        radial-gradient(1000px 500px at 20% -10%, rgba(59, 130, 246, .55), transparent 60%),
        var(--bg);
        color: var(--text);
    }
    
    a {
        color: inherit;
        text-decoration: none
    }
    
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 24px
    }
    
    header.nav {
        display: flex;
        justify-content: space-between;
        padding: 16px 24px;
        backdrop-filter: blur(8px);
        background: rgba(26, 26, 26, 0.7);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1)
    }
    
    .brand {
        font-weight: 700;
        font-size: 2.2rem
    }
    
    .btn {
        padding: 12px 20px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        color: var(--text);
        font-size: 1rem;
        font-weight: 500;
        transition: background 0.2s ease;
        display: inline-block
    }
    
    .btn.primary {
        background: var(--button);
        border-color: var(--button)
    }
    
    .btn.primary:hover {
        background: color-mix(in srgb, var(--button) 85%, white)
    }
    
    .hero {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
        align-items: center;
        padding: 48px 24px
    }
    
    .card {
        background: var(--panel);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 24px
    }
    
    h1 {
        margin: 0 0 8px 0;
        font-size: clamp(28px, 3.5vw, 40px)
    }
    
    h2 {
        margin: 0 0 16px 0;
        font-size: 18px
    }
    
    .muted {
        color: var(--muted)
    }
    
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 16px
    }
    
    .col-6 {
        grid-column: span 6
    }
    
    .feature {
        display: flex;
        gap: 12px;
        align-items: flex-start
    }
    
    .feature .icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--accent);
        display: grid;
        place-items: center;
        flex: 0 0 36px
    }
    
    .feature .icon svg {
        width: 18px;
        height: 18px
    }
    
    .testimonials-wrap {
        margin: 8px 24px;
        text-align: center
    }
    
    .testi-rotator {
        position: relative;
        height: 170px;
        overflow: hidden
    }
    
    .testi {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 24px;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .45s ease, transform .45s ease
    }
    
    .testi.show {
        opacity: 1;
        transform: translateY(0)
    }
    
    .testi .quote {
        font-size: 1.05rem;
        margin-bottom: 10px
    }
    
    .testi .name {
        font-weight: 600
    }
    
    .testi .role {
        color: var(--muted);
        font-size: .9rem
    }
    
    .footer {
        padding: 24px;
        text-align: center;
        color: var(--muted);
        background: var(--bg)
    }
    
    @media (max-width: 900px) {
        .hero {
            grid-template-columns: 1fr
        }
    }
    
    /* =========================================
    Responsive tweaks shared across pages
    ========================================= */
    
    /* Tablet */
    @media (max-width: 900px) {
        .container {
            padding: 16px;
        }
        
        header.nav {
            padding: 12px 16px;
        }
        
        .brand {
            font-size: 1.6rem;
        }
        
        .tagline {
            display: none;
        }
        
        /* hide small greeting text if cramped */
        .card {
            margin: 12px 16px 0;
        }
    }
    
    /* Mobile */
    @media (max-width: 720px) {
        
        /* Header */
        header.nav {
            gap: 8px;
        }
        
        header.nav .right {
            flex-wrap: wrap;
            gap: 8px;
        }
        
        /* Toolbar */
        .toolbar {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
            padding: 16px 16px 0;
        }
        
        .search input {
            width: 100%;
        }
        
        /* Buttons: only make full-width in toolbars/forms/modals (not header) */
        .toolbar .right .btn,
        form .actions .btn,
        .modal footer .btn {
            width: 100%;
            justify-content: center;
        }
        
        /* Tables */
        .card {
            overflow: auto;
        }
        
        /* ensure horizontal scroll if needed */
        table {
            min-width: 720px;
        }
        
        /* prevent squashing columns on tiny screens */
        thead th,
        tbody td {
            padding: 10px;
        }
        
        /* Modals */
        .modal {
            width: 96vw;
        }
        
        .modal .body {
            padding: 14px 16px;
        }
        
        .modal .row {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        
        .modal footer {
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .modal footer>div {
            width: 100%;
            display: flex;
            gap: 8px;
        }
        
        /* Forms */
        label {
            margin-bottom: 4px;
        }
        
        input,
        select,
        textarea {
            font-size: 16px;
        }
        
        /* avoid iOS zoom */
        
        /* Registration/Login specific (safe to include everywhere) */
        .stage {
            width: 96vw;
            min-height: unset;
        }
        
        .slide {
            padding: 32px 20px;
        }
        
        .otp-boxes {
            gap: 8px;
        }
        
        .otp-boxes input {
            width: 44px;
            height: 52px;
            font-size: 1.4rem;
        }
        
        /* Footer */
        .footer {
            padding: 16px;
            line-height: 1.5;
        }
    }
    
    .footer a {
        color: #3b82f6;
        text-decoration: none;
        font-weight: 500;
    }
    
    .footer a:hover {
        text-decoration: underline;
    }