* {
            box-sizing: border-box;
        }

        html {
            min-height: 100%;
            background: var(--aegis-background);
        }

        body {
            min-height: 100vh;
            margin: 0;
            color: var(--aegis-text);
            font-family:
                Inter,
                ui-sans-serif,
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;
            background:
                radial-gradient(
                    circle at 15% 15%,
                    rgba(63, 203, 255, 0.08),
                    transparent 30%
                ),
                radial-gradient(
                    circle at 85% 85%,
                    rgba(214, 40, 57, 0.09),
                    transparent 32%
                ),
                var(--aegis-background);
        }

        .page-grid {
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: 0.12;
            background-image:
                linear-gradient(rgba(63, 203, 255, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(63, 203, 255, 0.15) 1px, transparent 1px);
            background-size: 48px 48px;
            mask-image: linear-gradient(to bottom, black, transparent 85%);
        }

        .page-shell {
            position: relative;
            z-index: 1;
            display: flex;
            min-height: 100vh;
            flex-direction: column;
        }

        .site-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            padding: 28px 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .brand-mark {
            position: relative;
            display: grid;
            width: 64px;
            height: 56px;
            place-items: center;
            color: white;
            font-size: 18px;
            font-weight: 800;
            letter-spacing: 0.12em;
            background:
                linear-gradient(
                    145deg,
                    rgba(63, 203, 255, 0.16),
                    rgba(214, 40, 57, 0.16)
                );
            clip-path: polygon(
                25% 0,
                75% 0,
                100% 50%,
                75% 100%,
                25% 100%,
                0 50%
            );
        }

        .brand-mark::before {
            position: absolute;
            inset: 2px;
            content: "";
            background: var(--aegis-background);
            clip-path: inherit;
        }

        .brand-mark span {
            position: relative;
            z-index: 1;
            text-shadow: 0 0 16px rgba(63, 203, 255, 0.55);
        }

        .brand-name {
            margin: 0;
            font-size: 15px;
            font-weight: 750;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .brand-subtitle {
            margin: 4px 0 0;
            color: var(--aegis-muted);
            font-size: 11px;
            letter-spacing: 0.19em;
            text-transform: uppercase;
        }

        .login-link {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            padding: 11px 18px;
            color: var(--aegis-text);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-decoration: none;
            text-transform: uppercase;
            background: rgba(18, 25, 34, 0.88);
            border: 1px solid var(--aegis-border);
            border-radius: 8px;
            transition:
                transform 150ms ease,
                border-color 150ms ease,
                background 150ms ease;
        }

        .login-link:hover {
            transform: translateY(-2px);
            border-color: var(--aegis-cyan);
            background: var(--aegis-panel-light);
        }

        .login-link svg {
            width: 16px;
            height: 16px;
        }

        .hero {
            display: grid;
            flex: 1;
            grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
            gap: 56px;
            align-items: center;
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            padding: 60px 0 90px;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 22px;
            color: var(--aegis-cyan);
            font-size: 12px;
            font-weight: 750;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        .eyebrow-dot {
            width: 8px;
            height: 8px;
            background: var(--aegis-green);
            border-radius: 50%;
            box-shadow: 0 0 14px rgba(61, 220, 132, 0.75);
        }

        .hero-title {
            max-width: 760px;
            margin: 0;
            font-size: clamp(48px, 7vw, 88px);
            font-weight: 800;
            letter-spacing: -0.055em;
            line-height: 0.98;
        }

        .hero-title span {
            display: block;
            color: transparent;
            background: linear-gradient(
                90deg,
                var(--aegis-text),
                #b8c6d6 50%,
                var(--aegis-cyan)
            );
            background-clip: text;
        }

        .hero-description {
            max-width: 650px;
            margin: 28px 0 0;
            color: var(--aegis-muted);
            font-size: 17px;
            line-height: 1.8;
        }

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

        .primary-action,
        .secondary-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 0 22px;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-decoration: none;
            text-transform: uppercase;
            border-radius: 8px;
            transition:
                transform 150ms ease,
                box-shadow 150ms ease,
                border-color 150ms ease;
        }

        .primary-action {
            color: white;
            background: linear-gradient(
                135deg,
                var(--aegis-red),
                var(--aegis-red-bright)
            );
            border: 1px solid var(--aegis-red-bright);
            box-shadow: 0 14px 32px rgba(214, 40, 57, 0.2);
        }

        .primary-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 38px rgba(214, 40, 57, 0.28);
        }

        .secondary-action {
            color: var(--aegis-muted);
            background: transparent;
            border: 1px solid var(--aegis-border);
        }

        .secondary-action:hover {
            transform: translateY(-2px);
            color: var(--aegis-text);
            border-color: var(--aegis-cyan);
        }

        .console-panel {
            position: relative;
            padding: 28px;
            overflow: hidden;
            background:
                linear-gradient(
                    155deg,
                    rgba(24, 33, 44, 0.96),
                    rgba(13, 18, 25, 0.96)
                );
            border: 1px solid var(--aegis-border);
            border-radius: 16px;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
        }

        .console-panel::before {
            position: absolute;
            top: 0;
            left: 0;
            width: 48%;
            height: 2px;
            content: "";
            background: linear-gradient(
                90deg,
                var(--aegis-cyan),
                transparent
            );
        }

        .console-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--aegis-border);
        }

        .console-heading h2 {
            margin: 0;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .system-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--aegis-green);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .system-status span {
            width: 7px;
            height: 7px;
            background: var(--aegis-green);
            border-radius: 50%;
            box-shadow: 0 0 12px rgba(61, 220, 132, 0.7);
        }

        .system-status span.is-attention {
            background: var(--aegis-red);
            box-shadow: 0 0 12px rgba(214, 40, 57, 0.7);
        }

        .status-list {
            display: grid;
            gap: 12px;
            margin-top: 22px;
        }

        .status-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 72px;
            padding: 16px 18px;
            background: rgba(9, 13, 18, 0.58);
            border: 1px solid rgba(40, 52, 66, 0.88);
            border-radius: 10px;
            transition:
                transform 150ms ease,
                border-color 150ms ease;
        }

        .status-card:hover {
            transform: translateY(-2px);
            border-color: rgba(63, 203, 255, 0.52);
        }

        .status-card-label {
            margin: 0;
            color: var(--aegis-muted);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .status-card-value {
            margin: 6px 0 0;
            color: var(--aegis-text);
            font-size: 15px;
            font-weight: 750;
        }

        .status-indicator {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            border: 1px solid var(--aegis-border);
            background: var(--aegis-panel);
            clip-path: polygon(
                25% 0,
                75% 0,
                100% 50%,
                75% 100%,
                25% 100%,
                0 50%
            );
        }

        .status-indicator::after {
            width: 8px;
            height: 8px;
            content: "";
            border-radius: 50%;
        }

        .status-indicator.online::after {
            background: var(--aegis-green);
            box-shadow: 0 0 12px rgba(61, 220, 132, 0.8);
        }

        .status-indicator.pending::after {
            background: var(--aegis-muted);
        }

        .status-indicator.failed::after,
        .status-indicator.warning::after {
            background: var(--aegis-red);
            box-shadow: 0 0 12px rgba(214, 40, 57, 0.75);
        }

        .console-footer {
            display: flex;
            justify-content: space-between;
            margin-top: 22px;
            color: #596777;
            font-family:
                "JetBrains Mono",
                Consolas,
                monospace;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .site-footer {
            display: flex;
            justify-content: space-between;
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            padding: 24px 0 30px;
            color: #586575;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            border-top: 1px solid rgba(40, 52, 66, 0.65);
        }

        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
                padding-top: 40px;
            }

            .console-panel {
                max-width: 650px;
            }
        }

        @media (max-width: 600px) {
            .site-header,
            .hero,
            .site-footer {
                width: min(100% - 28px, 1180px);
            }

            .site-header {
                padding-top: 18px;
            }

            .brand-name {
                font-size: 12px;
            }

            .brand-subtitle {
                font-size: 9px;
            }

            .brand-mark {
                width: 54px;
                height: 48px;
                font-size: 15px;
            }

            .login-link {
                padding: 10px 12px;
                font-size: 11px;
            }

            .hero {
                gap: 40px;
                padding-bottom: 56px;
            }

            .hero-description {
                font-size: 15px;
            }

            .hero-actions {
                flex-direction: column;
            }

            .primary-action,
            .secondary-action {
                width: 100%;
            }

            .console-panel {
                padding: 20px;
            }

            .console-heading {
                align-items: flex-start;
                flex-direction: column;
                gap: 12px;
            }

            .site-footer {
                flex-direction: column;
                gap: 10px;
            }
        }
