.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Section rhythm inside a band */
.stack {
    display: flex;
    flex-direction: column;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-error { color: var(--color-error); }
.text-success { color: var(--green-deep); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

.hidden { display: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link — first focusable element in the document */
.skip-link {
    position: absolute;
    left: var(--space-sm);
    top: -100px;
    z-index: 100;
    background: var(--green-bright);
    color: var(--ink);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    transition: top 0.15s;
}

.skip-link:focus {
    top: var(--space-xs);
    color: var(--ink);
}
