:root {
    --primary-dark: #1a3838;
    --primary-light: #2d5555;
    --accent-blue: #c9a672;
    --light-blue: #d4b896;
    --white: #ffffff;
    --light-bg: #f9f7f4;
    --text-dark: #1a3838;
    --text-light: #f5f2ed;
    --card-shadow: 0 20px 40px rgba(26, 56, 56, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, var(--light-bg) 0%, #f2ede6 100%);
    color: var(--text-dark);
    line-height: 1.75;
}

.legal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    padding: 54px 20px 70px;
    position: relative;
    overflow: hidden;
}

.legal-header::before,
.legal-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 166, 114, 0.22);
}

.legal-header::before {
    width: 260px;
    height: 260px;
    top: -110px;
    right: -40px;
}

.legal-header::after {
    width: 170px;
    height: 170px;
    bottom: -65px;
    left: 5%;
}

.container {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.brand {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-link {
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.2;
}

.effective-date {
    font-size: 1rem;
    opacity: 0.95;
}

.legal-content {
    padding: 40px 20px 60px;
}

.policy-card {
    background: var(--white);
    border: 1px solid rgba(26, 56, 56, 0.08);
    border-radius: 22px;
    box-shadow: var(--card-shadow);
    padding: 28px;
}

.policy-card + .policy-card {
    margin-top: 22px;
}

.policy-intro {
    margin-bottom: 18px;
    color: rgba(26, 56, 56, 0.9);
}

.policy-list {
    list-style: none;
}

.policy-list li {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--accent-blue);
    background: linear-gradient(135deg, #fffaf2, #ffffff);
    border-radius: 12px;
}

.policy-list h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.policy-list p {
    color: rgba(26, 56, 56, 0.92);
}

.policy-list p + p {
    margin-top: 8px;
}

.inline-list {
    padding-left: 18px;
    margin-top: 8px;
}

.inline-list li {
    margin-bottom: 6px;
}

.footer-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: rgba(26, 56, 56, 0.75);
}

@media (max-width: 700px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-card {
        padding: 22px;
    }

    .policy-list li {
        padding: 14px;
    }
}
