
        :root {
            --deep-indigo: #0f0c1d;
            --indigo-gradient: linear-gradient(180deg, #16122e 0%, #0f0c1d 100%);
            --jade-green: #00a86b;
            --ghost-white: #f4f0ff;
            --ethereal-dim: rgba(244, 240, 255, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, sans-serif;
        }

        body, html {
            background: var(--deep-indigo);
            color: var(--ghost-white);
            height: 100%;
            width: 100%;
            overflow: hidden;
        }

        .app-container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            padding: 24px;
            justify-content: space-between;
            /* Sudden background shift: fast duration, sharp curve */
            transition: background 0.15s cubic-bezier(0.19, 1, 0.22, 1);
        }

        /* Tuning states for background shifts */
        .tuning-state-1 { background: #120e26; }
        .tuning-state-active { background: #1a143d; }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            opacity: 0;
            transition: opacity 1.5s ease;
        }

        .logo-text {
            font-size: 1.2rem;
            letter-spacing: 2px;
            font-weight: 300;
        }

        .ajna-icon {
            width: 20px;
            height: 20px;
            border: 2px solid var(--jade-green);
            border-radius: 50% 0;
            transform: rotate(45deg);
        }

        /* Float-up greeting area */
        .greeting-area {
            text-align: center;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 10%;
        }

        .greeting-text {
            font-size: 1.5rem;
            font-weight: 300;
            line-height: 1.4;
            margin-bottom: 12px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .sub-text {
            color: var(--jade-green);
            font-size: 0.85rem;
            letter-spacing: 1px;
            text-transform: lowercase;
            opacity: 0;
            transition: opacity 1.5s ease 0.5s; /* Delays subtext pay-in */
        }

        /* Input block */
        .input-container {
            padding-bottom: 20px;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 1s ease 1s; /* Delays input pay-in */
        }

        .input-wrapper {
            position: relative;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .fragment-input {
            width: 100%;
            background: transparent;
            border: none;
            padding: 18px;
            color: var(--ghost-white);
            font-size: 1rem;
            outline: none;
            text-align: center;
        }

        .jade-accent {
            position: absolute;
            bottom: 0;
            left: 10%;
            right: 10%;
            height: 1px;
            background: var(--jade-green);
            box-shadow: 0 0 8px var(--jade-green);
            transform: scaleX(0);
            transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .fragment-button {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px;
    color: var(--ghost-white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    outline: none;
    cursor: pointer;
    transition: letter-spacing 0.5s ease, opacity 0.3s ease;
}

/* Hover state: subtle expansion of the "fragment" */
.fragment-button:hover {
    letter-spacing: 4px;
    opacity: 1;
}

/* Active state: sudden mirror tuning click */
.fragment-button:active {
    transform: scale(0.98);
}

/* Button-specific wrapper override if needed */
.button-wrapper {
    cursor: pointer;
    transition: border 0.3s ease;
}

.button-wrapper:hover {
    border: 1px solid rgba(0, 168, 107, 0.3); /* Soft jade glow on hover */
}

        /* Utility visibility classes */
        .reveal { opacity: 1 !important; transform: translateY(0) !important; }
        .accent-expand { transform: scaleX(1) !important; }

        /* Tablet restriction */
        @media only screen and (min-width: 1025px) {
            body::after {
                content: "the mirror is too wide for this space. return via mobile.";
                position: fixed; top: 0; left: 0; width: 100%; height: 100%;
                background: var(--deep-indigo); display: flex; justify-content: center;
                align-items: center; z-index: 100; text-align: center;
            }
        }