.error-main {
    display: grid;
    min-height: 78vh;
    padding: 48px 24px;
    place-items: center;
}

.error-content {
    width: min(100%, 620px);
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(52, 42, 31, .08);
}

.error-eyebrow {
    margin: 0 0 16px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.error-content h1 {
    margin: 0 0 14px;
    color: var(--ink);
    font: 700 clamp(34px, 7vw, 52px)/1.1 Manrope, sans-serif;
}

.error-message {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.error-home-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 0 20px;
    border-radius: 13px;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.error-home-link:hover {
    background: #d95830;
}

.error-details {
    margin-top: 28px;
    color: var(--muted);
    font-size: 14px;
}

.error-details pre {
    overflow: auto;
    max-height: 280px;
    padding: 16px;
    border-radius: 12px;
    background: var(--soft);
    white-space: pre-wrap;
}

.legal-page .static-main {
    display: grid;
    min-height: 78vh;
    padding: 48px 24px;
    place-items: center;
}

.legal-page .static-container {
    width: min(100%, 820px);
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(52, 42, 31, .08);
}

.legal-page .static-eyebrow {
    margin: 0 0 16px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-page .static-container h1 {
    margin: 0 0 24px;
    color: var(--ink);
    font: 700 clamp(34px, 7vw, 48px)/1.1 Manrope, sans-serif;
}

.legal-page .static-content {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-page .static-content h2,
.legal-page .static-content h3 {
    margin: 1.7em 0 .6em;
    color: var(--ink);
    font-family: Manrope, sans-serif;
}

.legal-page .static-content a {
    color: #d95830;
    text-decoration: underline;
    text-underline-offset: 3px;
}


.legal-page .site-header .header-inner {
    width: min(var(--max), calc(100% - 48px));
}

.legal-page .main-nav {
    margin-right: clamp(22px, 5vw, 90px);
}

.legal-page .static-main {
    min-height: 0;
    padding: clamp(48px, 7vw, 88px) 24px;
}

.legal-page .static-container {
    margin-inline: auto;
}

.legal-page .site-footer {
    padding-block: 24px;
}

@media (max-width: 680px) {
    .legal-page .site-header .header-inner {
        width: calc(100% - 36px);
    }

    .legal-page .main-nav {
        margin-right: 0;
    }
}
