@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

* {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at top left, rgba(28, 74, 135, 0.6), transparent 26%),
        radial-gradient(circle at right center, rgba(63, 120, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #020814 0%, #061221 54%, #020814 100%);
    color: #f4f8ff;
    font-size: 15px;
    line-height: 1.55;
}

.legal-container {
    min-height: 100vh;
    padding: 4rem 1.25rem;
    padding-top: calc(4rem + 120px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.legal-content {
    width: min(920px, 100%);
    color: #e8f0ff;
    padding: clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.88), rgba(8, 18, 38, 0.72));
    border: 1px solid rgba(130, 213, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(83, 199, 255, 0.3);
}

.legal-header h1 {
    font-family: 'Barlow Condensed', Impact, sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 0.94;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: #ffffff;
    letter-spacing: 0;
}

.legal-header p {
    font-size: 1.05rem;
    color: #b0d4ff;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.legal-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(11, 24, 49, 0.66);
    border-left: 4px solid #53c7ff;
    transition: all 0.3s ease;
}

.legal-section:hover {
    background: rgba(11, 24, 49, 0.78);
    border-left-color: #6ccfff;
    box-shadow: 0 10px 30px rgba(83, 199, 255, 0.12);
}

.legal-section h2 {
    font-family: 'Barlow Condensed', Impact, sans-serif;
    font-size: 1.9rem;
    line-height: 1.1;
    color: #b0d4ff;
    margin: 0 0 1rem 0;
    font-weight: 600;
    letter-spacing: 0;
}

.legal-section p,
.legal-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: #c3dbff;
    margin: 0;
}

.legal-section ul {
    margin: 1rem 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.legal-section ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.4rem;
}

.legal-section ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #53c7ff;
    font-weight: bold;
}

.legal-section a {
    color: #53c7ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    border-bottom: 1px solid rgba(83, 199, 255, 0.35);
}

.legal-section a:hover {
    color: #7ed8ff;
    border-bottom-color: #7ed8ff;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(83, 199, 255, 0.2);
}

.legal-footer p {
    font-size: 0.95rem;
    color: #7a9cc9;
    margin: 0.5rem 0;
}

.legal-footer a {
    color: #53c7ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-footer a:hover {
    color: #7ed8ff;
}

/* Navbar styling for legal pages */
.navbar {
    background: linear-gradient(90deg, rgba(0, 8, 20, 0.96) 0%, rgba(0, 29, 61, 0.96) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: calc(100% - 4rem);
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(83, 199, 255, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    gap: 3rem;
    backdrop-filter: blur(12px);
}

.navbar .plpng {
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    position: absolute;
    left: 2rem;
}

.navbar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: #b0d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

.navbar ul li a:hover {
    color: #53c7ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #b0d4ff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 1.5rem;
        width: calc(100% - 3rem);
        gap: 1.5rem;
    }

    .navbar .plpng {
        height: 40px;
    }

    .navbar-center {
        gap: 1.5rem;
    }

    .navbar ul {
        gap: 1rem;
    }

    .navbar ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
        width: calc(100% - 2rem);
        justify-content: flex-start;
        gap: 1rem;
    }

    .navbar .plpng {
        height: 35px;
        position: static;
    }

    .hamburger {
        display: flex;
    }

    .navbar-center {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(0, 8, 20, 0.98) 0%, rgba(0, 29, 61, 0.98) 100%);
        border-bottom: 1px solid rgba(78, 163, 255, 0.15);
        padding: 1rem;
        gap: 0;
        z-index: 999;
        justify-content: flex-start;
    }

    .navbar-center.active {
        display: flex;
    }

    .navbar ul {
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(78, 163, 255, 0.1);
    }

    .navbar ul:last-of-type {
        border-bottom: none;
    }

    .navbar ul li {
        padding: 0.5rem 1rem;
    }

    .navbar ul li a {
        font-size: 0.9rem;
    }

    .legal-container {
        padding: 2rem 1rem;
        padding-top: calc(2rem + 180px);
    }

    .legal-content {
        max-width: 100%;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-header p {
        font-size: 1rem;
    }

    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.8rem;
        width: calc(100% - 1.6rem);
    }

    .navbar .plpng {
        height: 30px;
    }

    .navbar-center {
        top: 60px;
        padding: 0.8rem 0;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .navbar ul li {
        padding: 0.4rem 0.8rem;
    }

    .navbar ul li a {
        font-size: 0.85rem;
    }

    .legal-container {
        padding: 1.5rem 1rem;
        padding-top: calc(1.5rem + 180px);
    }

    .legal-header h1 {
        font-size: 1.55rem;
    }

    .legal-header p {
        font-size: 0.9rem;
    }

    .legal-section {
        padding: 1rem;
        margin-bottom: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.1rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 0.9rem;
    }
}

/* Legal pages follow the same open reading layout as the home page. */
* {
    font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

body {
    background: #020814;
}

.navbar {
    width: 100%;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: rgba(0, 8, 20, 0.94);
    border-bottom: 1px solid rgba(83, 199, 255, 0.16);
    box-shadow: none;
}

.navbar ul li a {
    color: #b0d4ff;
}

.navbar ul li a:hover {
    color: #53c7ff;
}

.legal-container {
    padding: 8rem 1.25rem 5rem;
}

.legal-content {
    width: min(880px, 100%);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.legal-header {
    text-align: left;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(224, 235, 232, 0.2);
}

.legal-header h1,
.legal-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

.legal-header h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-header p,
.legal-section p,
.legal-section li {
    color: #c3dbff;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 0 0 0 1.5rem;
    border-radius: 0;
    background: transparent;
    border-left: 2px solid #53c7ff;
    transition: border-color 0.25s ease;
}

.legal-section:hover {
    background: transparent;
    border-left-color: #7ed8ff;
    box-shadow: none;
}

.legal-section h2 {
    color: #f3f1e9;
}

.legal-section a,
.legal-footer a {
    color: #53c7ff;
}

.legal-section a:hover,
.legal-footer a:hover {
    color: #7ed8ff;
}

.legal-footer {
    text-align: left;
    border-top: 1px solid rgba(224, 235, 232, 0.16);
}
        order: 3;
        text-align: center;
    }
}
