* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --spacing: 18px;
    --brand-red: #6B1414;
    --brand-blue: #1D63A8;
    --bg-color: #F5F5EF;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-sub: #555555;
    --text-muted: #6e6e6e;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.header-spacer {
    width: 100%;
    visibility: hidden;
    pointer-events: none;
    padding: var(--spacing);
    font-size: 0.775rem;
    line-height: 1.4;
}

.maintenance-container {
    width: 100%;
    max-width: 580px;
    padding: 0 var(--spacing);
    display: grid;
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    margin: auto 0;
}

.logo-wrapper {
    margin-bottom: clamp(24px, 4vh, 36px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.page-heading {
    font-size: clamp(1.25rem, 2.2vw + 0.6rem, 1.45rem);
    font-weight: 500;
    margin: 0;
    color: var(--text-main);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.page-subheading {
    font-size: clamp(0.925rem, 1vw + 0.65rem, 1rem);
    font-weight: 400;
    margin: clamp(12px, 2vh, 16px) 0 0 0;
    color: var(--text-sub);
    line-height: 1.55;
    max-width: 460px;
    text-wrap: balance;
}

footer {
    width: 100%;
    padding: var(--spacing);
    text-align: center;
    font-size: 0.775rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    line-height: 1.4;
}

@media (max-width: 600px) {
    :root {
        --spacing: 14px;
    }

    .logo {
        max-height: 48px;
    }

    .page-subheading {
        max-width: 90%;
    }

    footer,
    .header-spacer {
        font-size: 0.725rem;
    }
}
