/* Imprint page styles aligned with project pages */

:root {
    --bg: #1e1e1e;
    --text: #eaeaea;
    --text-strong: #ffffff;
    --muted: #bdbdbd;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Synonym', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Layout mirrors project pages */
.legal-page {
    width: 100vw;
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    justify-content: center;
    padding: 48px 0;
    box-sizing: border-box;
}

.legal-container {
    display: grid;
    grid-template-columns: minmax(48px, 60px) 1fr;
    column-gap: 32px;
    row-gap: 24px;
    max-width: 1100px;
    width: 100%;
    margin: 0 32px;
    align-items: start;
}

.legal-label {
    font-family: 'Synonym';
    font-weight: 200;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--text-strong);
    font-size: 4rem;
    min-width: 60px;
    text-align: center;
    position: sticky;
    top: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
}

.legal-content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-header h1 {
    margin: 0;
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 2.8rem;
    color: var(--text-strong);
}

.back-link {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--text-strong);
}

h2 {
    color: var(--text-strong);
    font-weight: 400;
    font-size: 1.4rem;
    margin: 16px 0 8px;
}

h3 {
    color: var(--text-strong);
    font-weight: 400;
    font-size: 1.1rem;
    margin: 8px 0 4px;
}

p {
    line-height: 1.65;
    margin: 0 0 10px;
}

a {
    color: var(--muted);
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .legal-page {
        padding: 24px 0;
    }

    .legal-container {
        display: grid;
        grid-template-columns: minmax(36px, 44px) 1fr;
        column-gap: 16px;
        row-gap: 12px;
        margin: 0 16px;
        align-items: start;
    }

    .legal-label {
        font-size: 2.4rem;
        line-height: 2.4rem;
        min-width: 44px;
    }

    .legal-header h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.1;
    }
}