.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 1000;
    padding: 10px 14px;
    background: var(--color-ink);
    color: #fff;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 16px;
}

.site-header,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.site-nav form {
    margin: 0;
}

.brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-ink);
    font-weight: 800;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

main {
    width: 100%;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-6) 0;
    color: var(--color-muted-text);
    font-size: 0.9rem;
}

.section-band {
    padding: var(--space-7) 0;
    background: #e7f0ef;
}

.page-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: var(--space-6) 0 var(--space-7);
}

.compact-page {
    min-height: 50vh;
    display: grid;
    align-content: center;
    gap: var(--space-3);
}

.page-header {
    max-width: 720px;
    margin-bottom: var(--space-5);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.section-header h2 {
    margin-bottom: 0;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
}

.stack {
    display: grid;
    gap: var(--space-5);
}

@media (max-width: 780px) {
    .site-header,
    .site-footer {
        width: min(100% - 24px, 1180px);
    }

    .site-header,
    .site-footer,
    .section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

