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

:root {
    --lp-forest: #0e1a0e;
    --lp-gold:   #c4943a;
    --lp-ivory:  #f8f4eb;
}

body {
    background-color: var(--lp-forest);
    color: var(--lp-ivory);
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.legal-page {
    min-height: 100vh;
    padding: 72px 0 120px;
}

.legal-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 244, 235, 0.45);
    text-decoration: none;
    margin-bottom: 48px;
    transition: color 0.2s ease;
}
.legal-back:hover { color: var(--lp-gold); }
.legal-back__arrow {
    display: inline-block;
    width: 20px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width 0.2s ease;
}
.legal-back__arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}
.legal-back:hover .legal-back__arrow { width: 28px; }

.legal-label {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(196, 148, 58, 0.6);
    margin-bottom: 16px;
}

.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--lp-ivory);
    margin-bottom: 48px;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal-divider {
    width: 48px;
    height: 1px;
    background: var(--lp-gold);
    opacity: 0.4;
    margin-bottom: 48px;
}

/* Rendered legal content */
.legal-body { color: rgba(248, 244, 235, 0.75); }

.legal-body h1,
.legal-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--lp-ivory);
    margin-top: 48px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.legal-body h1 { font-size: 28px; }
.legal-body h2 { font-size: 22px; }

.legal-body h3,
.legal-body h4,
.legal-body h5,
.legal-body h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(196, 148, 58, 0.8);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-body p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.legal-body ul,
.legal-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.legal-body li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 8px;
}

.legal-body a {
    color: var(--lp-gold);
    text-decoration: underline;
    text-decoration-color: rgba(196, 148, 58, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.legal-body a:hover { text-decoration-color: var(--lp-gold); }

.legal-body strong { color: var(--lp-ivory); font-weight: 500; }

.legal-body hr {
    border: none;
    border-top: 1px solid rgba(248, 244, 235, 0.08);
    margin: 36px 0;
}

/* Footer bar (comes from layout) */
.lp-footer-bar {
    border-top: 1px solid rgba(248, 244, 235, 0.07);
    padding: 20px 24px;
}
.lp-footer-bar__inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(248, 244, 235, 0.3);
}
.lp-footer-bar__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-footer-bar__nav a {
    color: rgba(248, 244, 235, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.lp-footer-bar__nav a:hover { color: var(--lp-gold); }

@media (min-width: 768px) {
    .legal-page { padding: 100px 0 160px; }
    .legal-container { padding: 0 48px; }
    .legal-body p,
    .legal-body li { font-size: 16px; }
}
