/* Static legal pages (impressum, privacy, terms).
   Foundation tokens, reset, emoji font, base typography
   live in /base.css and are loaded before this file. */

.page {
    max-width: 800px;
    margin: 0 auto;
}

.header {
    text-align: start;
    margin-bottom: 40px;
    color: var(--pitch);
}

.header h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--pitch);
    letter-spacing: -0.01em;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    line-height: 1.4;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.logo-link:hover {
    opacity: 0.75;
}

.logo-link .emoji {
    font-family: 'Noto Emoji', sans-serif;
    font-size: 0.85em;
    margin-inline-end: 0.15em;
}

.container {
    background: var(--white);
    border-radius: calc(var(--radius) * 2);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 500;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--pitch);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--pitch);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

p { margin-bottom: 14px; color: var(--dun); }

p strong, li strong { color: var(--pitch); }

ul {
    margin: 0 0 15px 22px;
    color: var(--dun);
}

li { margin-bottom: 8px; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

table th,
table td {
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--border);
    color: var(--dun);
    vertical-align: top;
}

table th {
    background: var(--bg-light);
    color: var(--pitch);
    font-weight: 600;
}

.highlight {
    background: var(--bg-light);
    padding: 18px 22px;
    border-radius: var(--radius);
    margin: 24px 0;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
}

.highlight p { margin-bottom: 8px; color: var(--pitch); }
.highlight ul { margin-bottom: 0; }

.footer {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 20px 0 10px;
}

.footer a { color: var(--link); margin: 0 6px; }
.footer a:hover { color: var(--link-hover); }
.footer a.maker,
.footer a.maker:hover {
    margin: 1.75rem auto 0;
    border: none;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 640px) {
    .container { padding: 24px 20px; border-radius: var(--radius); }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.2rem; }
    table { font-size: 0.85rem; }
    table th, table td { padding: 8px 10px; }
}
