@font-face {
    font-family: 'Neue Machina';
    src: url('/assets/NeueMachina-Regular.woff2') format('woff2'),
         url('/assets/NeueMachina-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    min-height: 100%;
    background: #121212;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    background: #121212;
    color: #ffffff;
    font-family: 'Public Sans', Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    width: 100%;
    min-height: 112px;
    padding: 1.35rem 2.4rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    background: #121212;
}

.logo-container {
    line-height: 0;
    flex-shrink: 0;
    margin-top: -1rem;
}

.logo-container a {
    display: inline-block;
    text-decoration: none;
}

.logo {
    width: 165px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.3rem;
    padding-top: 0.55rem;
    flex-wrap: wrap;
}

.site-nav a,
.site-nav button {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #aaaaaa;
    border: 1px solid #777777;
    background: transparent;
    padding: 0.85rem 1rem;
    min-width: 104px;
    text-align: center;
    transition: color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav button:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.legal-page {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.8rem 3rem 4.5rem;
}

.legal-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.85);
}

.page-eyebrow {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #f1c978;
    margin-bottom: 1rem;
}

.legal-hero {
    padding-bottom: 2.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2.3rem;
}

.legal-hero h1 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: clamp(46px, 6.5vw, 86px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -2.4px;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.legal-lead {
    max-width: 880px;
    font-size: 20px;
    line-height: 1.45;
    color: #e2e2e2;
    margin-bottom: 1rem;
}

.legal-date {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #888888;
}

.legal-content {
    max-width: 980px;
}

.legal-content h2 {
    font-size: 29px;
    line-height: 1.18;
    color: #ffffff;
    margin: 2.2rem 0 0.85rem;
    letter-spacing: -0.5px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 20px;
    line-height: 1.25;
    color: #f1c978;
    margin: 1.35rem 0 0.55rem;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    line-height: 1.72;
    color: #d4d4d4;
}

.legal-content p + p {
    margin-top: 0.8rem;
}

.legal-content strong {
    color: #ffffff;
}

.legal-content code {
    padding: 0.12rem 0.32rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8d657;
    font-family: Consolas, monospace;
    font-size: 0.92em;
}

.legal-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

th,
td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.55;
}

th {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

td {
    color: #d4d4d4;
}

tr:last-child td {
    border-bottom: 0;
}

.site-footer {
    position: relative;
    width: 100%;
    padding: 1rem 2rem 1.1rem;
    background: #121212;
    color: #8d8d8d;
    text-align: center;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
}

.site-footer a {
    color: #8d8d8d;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-contact,
.footer-copy {
    display: block;
}

.footer-contact span {
    margin: 0 0.35rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin: 0.75rem auto 0.55rem;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.42rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #9d9d9d;
    text-decoration: none;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-button:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 860px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem 1.5rem 1.25rem;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .legal-page {
        padding: 2.2rem 1.5rem 3.5rem;
    }

    .legal-lead {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .logo {
        width: 142px;
    }

    .site-nav {
        width: 100%;
        gap: 0.65rem;
    }

    .site-nav a,
    .site-nav button {
        font-size: 10px;
        padding: 0.65rem 0.7rem;
        min-width: auto;
    }

    .legal-hero h1 {
        font-size: 42px;
        letter-spacing: -1.4px;
    }

    .legal-content h2 {
        font-size: 24px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }

    .footer-button {
        width: 100%;
        max-width: 260px;
        font-size: 9px;
    }
}
