@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;0,900&family=Nunito+Sans:wght@400;600;700;800&family=Press+Start+2P&display=swap");

:root {
    --ink: #101a35;
    --ink-soft: #425477;
    --line: #cbd9e8;
    --ice: #f4fbff;
    --white: #fff;
    --purple: #6258df;
    --green: #2ed47a;
    --display: "Barlow Condensed", sans-serif;
    --body: "Nunito Sans", sans-serif;
    --pixel: "Press Start 2P", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ice); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ice); font-family: var(--body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--purple); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #4038bd; }

.legal-header {
    min-height: 82px;
    padding: 8px clamp(24px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--ink);
    border-bottom: 4px solid #293963;
}
.legal-brand img { width: 108px; height: 66px; display: block; object-fit: contain; }
.legal-nav { display: flex; gap: clamp(18px, 3vw, 36px); }
.legal-nav a { color: #c8d5ef; font-family: var(--pixel); font-size: 8px; line-height: 1.5; text-decoration: none; text-transform: uppercase; }
.legal-nav a[aria-current="page"] { color: var(--green); }

.legal-main { padding: clamp(52px, 8vw, 100px) 22px; }
.legal-document { width: min(100%, 820px); margin: 0 auto; }
.legal-title { margin-bottom: 58px; padding-bottom: 36px; border-bottom: 4px solid var(--ink); }
.legal-eyebrow { margin: 0 0 18px; color: var(--purple); font-family: var(--pixel); font-size: 9px; line-height: 1.7; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(58px, 9vw, 94px); font-weight: 900; letter-spacing: -.035em; line-height: .9; text-transform: uppercase; }
.legal-updated { display: block; margin-top: 24px; color: #637392; font-size: 14px; font-weight: 700; }
section { margin-top: 46px; }
h2 { margin: 0 0 14px; font-family: var(--display); font-size: 32px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; }
h3 { margin: 28px 0 8px; font-size: 18px; line-height: 1.35; }
p { margin: 12px 0; color: var(--ink-soft); }
ul { margin: 14px 0; padding-left: 25px; color: var(--ink-soft); }
li { margin: 8px 0; padding-left: 6px; }
li::marker { color: var(--purple); }
strong { color: var(--ink); }
code { padding: 2px 6px; color: var(--ink); background: #e4eef7; border-radius: 4px; font-size: .9em; }

.legal-footer {
    min-height: 76px;
    padding: 20px clamp(24px, 6vw, 96px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #9eaed0;
    background: #080d1c;
    font-size: 13px;
    font-weight: 700;
}
.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.legal-footer a { color: white; }

@media (max-width: 620px) {
    body { font-size: 16px; }
    .legal-header { min-height: 68px; padding: 5px 20px; }
    .legal-brand img { width: 88px; height: 55px; }
    .legal-nav { gap: 14px; }
    .legal-nav a { font-size: 6px; }
    .legal-main { padding: 48px 20px 70px; }
    .legal-title { margin-bottom: 46px; }
    h1 { font-size: 56px; }
    h2 { font-size: 28px; }
    .legal-footer { flex-direction: column; align-items: flex-start; }
    .legal-footer nav { justify-content: flex-start; }
}
