:root {
    --bg: #0d1015;
    --surface: rgba(20, 24, 31, 0.86);
    --surface-alt: rgba(255, 255, 255, 0.04);
    --text: #eef2f7;
    --muted: #aab3c0;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #8cb5ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        linear-gradient(180deg, rgba(8, 11, 16, 0.7) 0%, rgba(8, 11, 16, 0.88) 100%),
        url("assets/technical-circuit-8k.jpg") center/cover fixed;
    color: var(--text);
    min-height: 100vh;
}

a {
    color: inherit;
}

.legal-shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 80px;
}

.legal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.legal-brand {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.legal-back {
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.legal-eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.legal-card h1 {
    font-size: clamp(34px, 6vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.legal-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.legal-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 36px;
}

.legal-section + .legal-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.legal-section h2 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li + li,
.legal-section p + p {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .legal-shell {
        width: min(100% - 24px, 960px);
        padding: 20px 0 56px;
    }

    .legal-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-card {
        padding: 24px;
        border-radius: 22px;
    }
}
