:root {
    --bg: #f7f2e8;
    --card: #fffaf0;
    --ink: #16110d;
    --muted: #6f6258;
    --accent: #8f1d17;
    --accent-dark: #56100d;
    --line: #221a14;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top, rgba(143, 29, 23, 0.12), transparent 34rem),
        var(--bg);
}

.site-header,
.site-footer {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header {
    padding: 1.25rem 0;
}

.site-footer {
    padding: 1.25rem 0 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.brand {
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    gap: 0.75rem;
}

.site-nav a,
.pill {
    border: 2px solid var(--line);
    border-radius: 999px;
    color: var(--card);
    background: var(--accent);
    box-shadow: 0 3px 0 var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0.6rem 1rem;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.site-nav a:hover,
.pill:hover {
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--line);
    background: var(--accent-dark);
}

.page-shell {
    width: min(1100px, calc(100% - 32px));
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.hero-card {
    width: min(760px, 100%);
    border: 3px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, var(--card), #f4ead8);
    box-shadow: 12px 12px 0 rgba(22, 17, 13, 0.15);
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.hero-card.compact {
    width: min(620px, 100%);
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.25rem, 7vw, 5rem);
    line-height: 0.95;
}

.lead {
    max-width: 42rem;
    margin: 1.25rem auto 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.status-grid > div {
    border: 2px solid rgba(34, 26, 20, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.45);
    padding: 1rem;
}

.label {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-grid strong {
    display: block;
    margin-top: 0.25rem;
    overflow-wrap: anywhere;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        flex: 1;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }
}
