@font-face {
    font-family: 'Ndot57';
    src: url('assets/fonts/Ndot57Caps-Regular.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'NType82';
    src: url('assets/fonts/NType82-Regular.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'SpaceMonoLocal';
    src: url('assets/fonts/SpaceMono-Regular.otf') format('opentype');
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: #000;
    color: #fff;
    font-family: 'SpaceMonoLocal', monospace;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.07), transparent 34rem),
        radial-gradient(circle, rgba(255, 255, 255, 0.11) 0.55px, transparent 0.65px) 0 0 / 25px 25px,
        #000;
    -webkit-font-smoothing: antialiased;
}

.legal-shell {
    width: min(100% - 32px, 860px);
    margin: 0 auto;
    padding: 34px 0 70px;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 46px;
}

.legal-brand {
    color: #fff;
    font-family: 'Ndot57', monospace;
    font-size: clamp(1.05rem, 4vw, 1.45rem);
    letter-spacing: 0.03em;
    text-decoration: none;
}

.legal-back {
    color: rgba(255, 255, 255, 0.62);
    font-family: 'NType82', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-card {
    padding: clamp(24px, 6vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    background: rgba(12, 12, 14, 0.9);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
}

.legal-kicker {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.43);
    font-family: 'Ndot57', monospace;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 34px;
    font-family: 'Ndot57', monospace;
    font-size: clamp(2.35rem, 9vw, 4.9rem);
    font-weight: 400;
    line-height: 0.96;
    text-transform: uppercase;
}

h2 {
    margin: 38px 0 12px;
    font-family: 'NType82', monospace;
    font-size: 0.92rem;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

p,
li,
address {
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(0.82rem, 2.5vw, 0.94rem);
    font-style: normal;
    line-height: 1.75;
}

p {
    margin: 0 0 16px;
}

ul {
    margin: 12px 0 20px;
    padding-left: 22px;
}

a {
    color: #fff;
    text-underline-offset: 3px;
}

.legal-meta {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.7rem;
}

@media (max-width: 540px) {
    .legal-shell {
        width: min(100% - 24px, 860px);
        padding-top: 22px;
    }

    .legal-nav {
        margin-bottom: 28px;
    }

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