/* legal.css — moved from site.css */
html:has(.page-legal) {
    scroll-padding-top: calc(var(--nav-h) + 150px);
}
.legal-page {
    width: min(800px, calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}
.legal-page section {
    padding-bottom: 3.2rem;
    scroll-margin-top: calc(var(--nav-h) + 150px);
}
.legal-page h1 {
    margin: 0 0 1.5rem;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.15;
}
.legal-page h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
}
.legal-page h2 {
    margin: 1.8rem 0 0.75rem;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25;
}
.legal-page p {
    margin: 0 0 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}
.legal-page .legal-studio {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
}
.legal-page .legal-id {
    color: #fff;
    font-weight: 300;
}
.legal-page .legal-id strong {
    font-weight: 700;
    color: #fff;
}
.legal-page .legal-mail-row { color: #fff; }
.legal-mail {
    --arrow-gap: 0px;
    --arrow-size: 18px;
    --arrow-nudge: 0px;
    display: inline-flex;
    align-items: center;
    gap: var(--arrow-gap);
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}
.legal-mail-addr {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.legal-mail-arrow {
    display: block;
    flex: none;
    width: var(--arrow-size);
    height: var(--arrow-size);
    transform: translateY(var(--arrow-nudge));
}
.legal-mail:hover { color: #fff; }

