/* Shared styles for the legal pages (imprint, privacy, terms). Mirrors index.html. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #050505;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.14);
    --grey: #8a8a8a;
    --grey-light: #b8b8b8;
    --grey-dark: #4a4a4a;
    --white: #f2f2f2;
    --green: #3dff8b;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--white);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; }

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 26px; width: auto; }
.nav-back {
    color: var(--grey);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
.nav-back:hover { color: var(--green); }

main {
    flex: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.eyebrow {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--green);
    margin-bottom: 14px;
}

h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.updated { color: var(--grey-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; margin-bottom: 48px; }

h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 44px 0 12px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }

p, li { color: var(--grey-light); font-weight: 300; font-size: 16px; }
p { margin-bottom: 14px; }
ul { margin: 0 0 14px 20px; }
li { margin-bottom: 6px; }
strong { color: var(--white); font-weight: 600; }

main a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(61, 255, 139, 0.35); }
main a:hover { border-bottom-color: var(--green); }

address {
    font-style: normal;
    color: var(--white);
    font-size: 16px;
    padding: 20px 24px;
    border: 1px solid var(--line-strong);
    background: #0d0d0d;
    margin-bottom: 14px;
}

footer {
    padding: 48px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-logo svg { height: 20px; width: auto; opacity: 0.7; }
.footer-links { display: flex; gap: 28px; list-style: none; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--grey); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--green); }
.footer-copy { color: var(--grey-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; }

@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    main { padding: 48px 20px 72px; }
    footer { padding: 36px 20px; flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
