:root {
    color-scheme: light;
    --ink: #18212b;
    --muted: #5f6b76;
    --line: #d9dee3;
    --paper: #ffffff;
    --canvas: #f2f4f5;
    --accent: #c84e18;
    --accent-dark: #98350d;
    --agency: #176b62;
    --agency-dark: #0e514a;
    --focus: #0b6fc2;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--canvas);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
}

a {
    color: inherit;
}

.shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(20px, 5vw, 72px);
    color: #fff;
    background: #18212b;
    border-bottom: 4px solid var(--accent);
}

.topbar--agency {
    background: #123b38;
    border-bottom-color: var(--agency);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
}

.brand__context {
    color: #cbd2d8;
    font-size: .82rem;
    font-weight: 600;
}

.stage {
    width: min(100% - 40px, 760px);
    margin: auto;
    padding: 54px 0;
}

.panel {
    padding: clamp(28px, 5vw, 52px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 14px 34px rgba(24, 33, 43, .08);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.surface--agency .eyebrow {
    color: var(--agency-dark);
}

h1 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.lead {
    max-width: 58ch;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .92rem;
}

.status__mark {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: var(--accent);
    border-radius: 50%;
}

.surface--agency .status__mark {
    background: var(--agency);
}

.footer {
    padding: 18px 24px;
    color: var(--muted);
    font-size: .78rem;
    text-align: center;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: -9999px;
    z-index: 20;
    padding: 10px 14px;
    color: #fff;
    background: var(--focus);
    border-radius: 4px;
}

.skip-link:focus {
    left: 8px;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .topbar {
        min-height: 60px;
        padding: 12px 20px;
    }

    .brand {
        display: grid;
        gap: 0;
    }

    .stage {
        width: min(100% - 24px, 760px);
        padding: 24px 0;
    }

    .panel {
        padding: 26px 22px;
    }
}

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