:root {
    --background: #f5f7fb;
    --primary: #1e88e5;
    --primary-dark: #176fc0;
    --text: #172033;
    --muted: #5f6d82;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-family: Inter, Manrope, Geist, "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    --hero-unit: min(1rem, calc((100vw - 0.2rem) / 29));
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--background);
    display: flex;
    flex-direction: column;
}

.page {
    flex: 1;
    display: grid;
    place-items: center;
    padding: calc(var(--hero-unit) * 3) 0.1rem;
}

.hero {
    width: min(100%, 39.5rem);
    max-width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
    font-size: var(--hero-unit);
}

.logo {
    width: 9.875em;
    height: auto;
    margin-bottom: 1.36em;
    filter: drop-shadow(0 0.7rem 1.2rem rgba(30, 136, 229, 0.08));
}

h1,
p {
    margin: 0;
}

h1 {
    font-size: 3.95em;
    line-height: 1.02;
    font-weight: 660;
    letter-spacing: 0;
}

.tagline {
    margin-top: 0.95em;
    font-size: 1.18em;
    line-height: 1.45;
    color: rgba(23, 111, 192, 0.78);
    font-weight: 520;
}

.message {
    max-width: 33em;
    margin-top: 1.8em;
    font-size: 1.48em;
    line-height: 1.55;
    font-weight: 580;
}

.supporting {
    max-width: 31em;
    margin-top: 1.15em;
    color: var(--muted);
    font-size: 1.08em;
    line-height: 1.68;
    font-weight: 400;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25em;
    min-width: 8.4em;
    margin-top: 3.05em;
    padding: 0.88em 1.6em;
    border: 1px solid rgba(23, 111, 192, 0.1);
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 0.65rem 1.45rem rgba(30, 136, 229, 0.14);
    font-size: 0.98em;
    font-weight: 620;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
    background: var(--primary-dark);
    box-shadow: 0 0.72rem 1.55rem rgba(30, 136, 229, 0.17);
    transform: translateY(-0.5px);
}

.button:focus-visible {
    outline: 3px solid rgba(30, 136, 229, 0.28);
    outline-offset: 4px;
}

.button[aria-disabled="true"] {
    cursor: not-allowed;
}

.footer {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 0 1rem calc(var(--hero-unit) * 1.5);
    color: var(--muted);
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .button {
        transition: none;
    }
}
