@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #1C2B3A;
    --text-color: #33404D;
    --muted-color: #667085;
    --accent-color: #FF6A3D;
    --accent-color-hover: #E8531F;
    --success-color: #12B76A;
    --danger-color: #F04438;
    --bg-color: #EEF1F5;
    --surface-color: #FFFFFF;
    --border-color: #E4E7EC;
    --shadow: 0 20px 45px -20px rgba(16, 24, 40, 0.35), 0 2px 8px rgba(16, 24, 40, 0.06);
    --radius-lg: 20px;
    --radius-md: 12px;
}

/* Ensure predictable sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    width: 100%;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 15% 10%, rgba(255, 106, 61, 0.10), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(28, 43, 58, 0.08), transparent 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.4em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0 0 1em;
}

a {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-color-hover);
}

/* Make SVG icons inherit text color so they respond to :hover color changes */
svg {
    fill: currentColor;
}

/* Page shell: centers a single card on any viewport */
.page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.card {
    width: 100%;
    max-width: 480px;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    text-align: center;
    animation: fade-in-up 0.45s ease-out;
}

.card--wide {
    max-width: 640px;
    text-align: left;
}

.card--wide h3 {
    text-align: center;
}

.card-logo {
    display: block;
    width: 150px;
    margin: 0 auto 1.5rem;
}

.status-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.status-icon.is-success { color: var(--success-color); }
.status-icon.is-danger { color: var(--danger-color); }

.notice {
    background: #FEF3F2;
    border: 1px solid #FEE4E2;
    color: var(--danger-color);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.button {
    display: inline-block;
    height: 2.9em;
    line-height: 2.9em;
    padding: 0 1.4em;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.button:hover {
    background-color: var(--accent-color-hover);
    color: #fff;
}

.site-footer {
    text-align: center;
    padding: 1.25rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
}

.site-footer p {
    color: #fff;
    opacity: 0.8;
    font-size: 0.85em;
    margin: 0;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 560px) {
    .card {
        padding: 2rem 1.5rem;
    }
}
