:root {
    --c-bg: #ffffff;
    --c-text: #1f2937;
    --c-muted: #6b7280;
    --c-accent: #2563eb;
    --c-accent-dark: #1d4ed8;
    --c-border: #e5e7eb;
    --c-surface: #f9fafb;
    --radius: 6px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.5;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
}

.navbar {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--c-accent);
    text-decoration: none;
}

.tagline {
    color: var(--c-muted);
    font-size: 0.9rem;
}

.hero h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.lead {
    color: var(--c-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.status {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.5rem;
    background: var(--c-surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    max-width: 480px;
    margin: 0 0 1.5rem;
}

.status dt {
    font-weight: 600;
    color: var(--c-muted);
}

.status dd {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.btn {
    display: inline-block;
    background: var(--c-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.btn:hover {
    background: var(--c-accent-dark);
}

.next {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
}

.next h2 {
    margin-top: 0;
}

footer {
    border-top: 1px solid var(--c-border);
    margin-top: 3rem;
    background: var(--c-surface);
    color: var(--c-muted);
}

/* Hide the validation-summary box when there are no errors. ASP.NET Core adds
   the .validation-summary-valid class on a clean page load; without this the
   styled (alert/flash) container would render as an empty coloured box. */
.validation-summary-valid {
    display: none;
}
