:root {
    color-scheme: light;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2933;
    background: #f5f7f8;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #f5f7f8;
}

a {
    color: #9b1c1c;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #d9e0e5;
}

.header-inner,
.page-shell,
.footer-inner {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #a61b1b;
    color: #ffffff;
    font-weight: 700;
}

.brand-name {
    font-size: 18px;
    font-weight: 650;
}

.page-shell {
    flex: 1;
    padding: 56px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: #697780;
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 14px;
    max-width: 720px;
    font-size: 30px;
    line-height: 1.25;
}

.lead {
    max-width: 700px;
    margin: 0;
    color: #53626c;
    font-size: 17px;
    line-height: 1.65;
}

.service-band {
    margin-top: 36px;
    padding: 24px 0;
    border-top: 1px solid #d9e0e5;
    border-bottom: 1px solid #d9e0e5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-item strong,
.service-item code {
    display: block;
}

.service-item code {
    margin-top: 7px;
    color: #5e6b73;
    overflow-wrap: anywhere;
}

.note {
    margin: 24px 0 0;
    color: #697780;
    line-height: 1.6;
}

.error-panel {
    max-width: 720px;
    border-top: 4px solid #a61b1b;
    padding-top: 28px;
}

.error-panel h1 {
    color: #202b33;
}

.error-status {
    margin: 0 0 12px;
    color: #8f1d17;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.error-guidance {
    max-width: 700px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #d9e0e5;
    color: #53626c;
    line-height: 1.6;
}

.reference {
    margin: 18px 0 28px;
    padding: 16px 18px;
    border: 1px solid #c8d0d5;
    border-radius: 4px;
    background: #ffffff;
}

.reference span,
.reference code {
    display: block;
}

.reference span {
    margin-bottom: 8px;
    color: #53626c;
    font-size: 13px;
    font-weight: 650;
}

.reference code {
    color: #202b33;
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #d9e0e5;
    color: #697780;
}

.footer-inner {
    padding: 18px 0;
    font-size: 13px;
}

@media (max-width: 680px) {
    .header-inner,
    .page-shell,
    .footer-inner {
        width: min(100% - 28px, 920px);
    }

    .page-shell {
        padding: 38px 0;
    }

    h1 {
        font-size: 25px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
