@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --bg: #07111b;
    --panel: rgba(13, 24, 37, 0.95);
    --line: rgba(148, 186, 255, 0.16);
    --text: #f4f8ff;
    --muted: #93a7bd;
    --primary: #59f0d1;
}

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

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(108, 168, 255, 0.16), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(89, 240, 209, 0.12), transparent 24%),
        linear-gradient(180deg, #08111c 0%, #07111b 45%, #040a12 100%);
    min-height: 100vh;
    line-height: 1.7;
}

.legal-wrap {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 28px 16px 64px;
}

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

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.legal-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.legal-back {
    color: #b3e4ff;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.legal-back:hover {
    color: var(--primary);
}

.legal-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.legal-eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(137, 192, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #cce4ff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.legal-card h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.legal-updated {
    color: var(--muted);
    font-size: 0.86rem;
    margin: 8px 0 24px;
}

.legal-card h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin: 30px 0 10px;
    color: #eaf4ff;
}

.legal-card p {
    color: #cbd8e8;
    margin-bottom: 12px;
}

.legal-card ul {
    margin: 4px 0 14px;
    padding-left: 22px;
    color: #cbd8e8;
}

.legal-card li {
    margin-bottom: 8px;
}

.legal-card a {
    color: #b3e4ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-card a:hover {
    color: var(--primary);
}

.legal-card strong {
    color: #eaf4ff;
    font-weight: 600;
}

.legal-foot {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted) !important;
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .legal-card {
        padding: 26px 20px;
        border-radius: 20px;
    }
}
