:root {
    --color-background: #f6f7f5;
    --color-text: #1b2420;
    --color-muted: #5a6661;
    --color-brand: #0b5d3b;
    --color-rule: #d9dfdb;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #0f1613;
        --color-text: #e4ebe7;
        --color-muted: #98a6a0;
        --color-brand: #5cbf8c;
        --color-rule: #26322d;
    }
}

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

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    color: var(--color-text);
}

a {
    color: var(--color-brand);
}

.waiting {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.waiting__name {
    margin: 0;
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-brand);
}

.logo {
    width: clamp(7rem, 30vw, 11rem);
    height: auto;
    margin-top: 1.5rem;
}

.logo__line {
    fill: none;
    stroke: var(--color-brand);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo__iris {
    fill: var(--color-brand);
}

.waiting__tagline {
    margin: 1.5rem 0 0;
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    color: var(--color-muted);
}

.site-header {
    padding: 1rem;
    border-bottom: 1px solid var(--color-rule);
}

.site-header__name {
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.page {
    flex: 1;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page h1 {
    margin-top: 0;
    color: var(--color-brand);
}

.page h2 {
    margin-top: 2rem;
    font-size: 1.15rem;
}

.page__updated {
    margin-top: 2.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}
