/*
 * Layout of the public website: what the design system leaves to the page
 * (container, skip link, mobile menu without JavaScript, footer).
 */
*, *::before, *::after {
    box-sizing: border-box;
}

img, svg {
    max-width: 100%;
}

.vs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.vs-skip-link {
    position: absolute;
    left: var(--space-4);
    top: -100px;
    z-index: 20;
    padding: var(--space-3) var(--space-4);
    background: var(--surface-deep);
    color: var(--on-deep);
    border-radius: var(--radius-md);
}

.vs-skip-link:focus {
    top: var(--space-2);
}

/* Logo placeholder until the real logo file is provided */
.vs-logo {
    gap: var(--space-2);
    color: var(--logo-black);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
}

/* Mobile menu: a native <details>, so it works without JavaScript */
.vs-header {
    position: sticky;
}

.vs-menu > summary {
    list-style: none;
}

.vs-menu > summary::-webkit-details-marker {
    display: none;
}

.vs-menu .vs-icon-close, .vs-menu[open] .vs-icon-open {
    display: none;
}

.vs-menu[open] .vs-icon-close {
    display: block;
}

.vs-menu .vs-drawer {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

@media (width >= 1080px) {
    .vs-menu {
        display: none;
    }
}

/* Footer */
.vs-footer {
    background: var(--surface-deep);
    color: var(--on-deep-muted);
    border-top: 4px solid var(--accent);
}

.vs-footer-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-7) var(--space-5);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
    font-size: 15px;
    line-height: 22px;
}

.vs-footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.vs-footer-col p {
    margin: 0;
}

.vs-footer-brand {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    color: var(--on-deep);
}

.vs-footer-title {
    font-weight: 700;
    color: var(--on-deep);
}

.vs-footer a {
    color: var(--on-deep-muted);
}

.vs-footer a:hover {
    color: var(--on-deep);
}

.vs-footer .vs-footer-phone {
    color: var(--on-deep);
    font-weight: 600;
}

/* Text read by screen readers only */
.vs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
