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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===========================
   LEGAL PAGE
   =========================== */

.legal-page {
    min-height: 100vh;
    padding: 60px 24px 120px;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #98989F;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 48px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #FFFFFF;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 72px;
}

.legal-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    transition: opacity 0.2s ease;
}

.legal-logo:hover {
    opacity: 0.8;
}

.legal-logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.legal-logo span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-title {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #98989F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: #747476;
    font-size: 14px;
    font-weight: 400;
}

/* Sections */
.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1A1A1A;
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.legal-section p {
    color: #98989F;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.legal-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #98989F;
    font-size: 15px;
    line-height: 1.7;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #444444;
}

.legal-section li strong {
    color: #FFFFFF;
    font-weight: 600;
}

.legal-link {
    color: #FF615A;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 0.8;
}

/* Footer */
.legal-footer {
    margin-top: 64px;
    padding: 28px 32px;
    background: #191919;
    border: 1px solid #282828;
    border-radius: 16px;
    text-align: center;
}

.legal-footer p {
    color: #98989F;
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 640px) {
    .legal-page {
        padding: 40px 20px 80px;
    }

    .legal-header {
        margin-bottom: 48px;
    }

    .legal-section {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .legal-footer {
        padding: 24px 20px;
    }
}
