:root {
    --indigo-900: #1E1B4B;
    --indigo-700: #4338CA;
    --indigo-600: #4F46E5;
    --indigo-300: #C7D2FE;
    --indigo-100: #EEF0FF;
    --white: #FFFFFF;
    --font-display: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--indigo-900);
    background:
        radial-gradient(circle at 15% 20%, var(--indigo-100) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, var(--indigo-100) 0%, transparent 45%),
        var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.container {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border: 1px solid var(--indigo-100);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    box-shadow: 0 30px 60px -20px rgba(67, 56, 202, 0.18);
    overflow: hidden;
}

/* Chain-link motif echoing the favicon, sitting quietly behind the content */
.container::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border: 14px solid var(--indigo-300);
    border-radius: 50%;
    opacity: 0.35;
}

.container::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -50px;
    width: 140px;
    height: 140px;
    border: 14px solid var(--indigo-100);
    border-radius: 50%;
}

.container>* {
    position: relative;
    z-index: 1;
}

h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

h3 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    color: #52527A;
    margin-bottom: 36px;
}

/* Action row */
.actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Primary: solid indigo, mirrors the favicon fill */
.btn-primary {
    background: var(--indigo-600);
    color: var(--white);
    box-shadow: 0 10px 20px -8px rgba(79, 70, 229, 0.55);
}

.btn-primary:hover {
    background: var(--indigo-700);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -8px rgba(79, 70, 229, 0.6);
}

/* Outline: echoes the favicon's white strokes */
.btn-outline {
    background: var(--white);
    color: var(--indigo-600);
    border: 2px solid var(--indigo-300);
}

.btn-outline:hover {
    border-color: var(--indigo-600);
    transform: translateY(-2px);
}

/* Ghost: quiet, low-emphasis action like Log Out */
.btn-ghost {
    background: transparent;
    color: #7A7AA6;
    border: 2px solid transparent;
}

.btn-ghost:hover {
    color: var(--indigo-700);
    background: var(--indigo-100);
}

.btn:focus-visible {
    outline: 3px solid var(--indigo-300);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .container {
        padding: 40px 28px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}