/* =============================================================================
   Legal pages (EN): Terms (en/terms.php), Privacy (en/privacy.php), Refunds (en/refund.php)
   Cream walkthrough theme — builds on en/css/walkthrough.css + en/css/account.css
   (.iw-main, .iw-bg, .iw-container, .iw-page-head, .font-script, .font-serif-title).
   ============================================================================= */

.lg-container { max-width: 50rem; }

.lg-doc {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(199, 149, 68, 0.22);
    border-radius: 1.5rem;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 24px 48px -34px rgba(120, 90, 40, 0.4);
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.75;
}
@media (min-width: 640px) { .lg-doc { padding: 2.75rem 3rem; } }

.lg-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(199, 149, 68, 0.1);
    border: 1px solid rgba(199, 149, 68, 0.22);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a6224;
}
.lg-updated svg { width: 0.85rem; height: 0.85rem; }

.lg-doc h2 {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 2.25rem 0 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(199, 149, 68, 0.18);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    color: #292524;
}
.lg-doc h2:first-of-type { margin-top: 0.5rem; padding-top: 0; border-top: 0; }
.lg-doc h2 .lg-num {
    flex-shrink: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c79544;
    letter-spacing: 0.04em;
}
@media (min-width: 640px) { .lg-doc h2 { font-size: 1.5rem; } }

.lg-doc p { margin: 0 0 1rem; }
.lg-doc strong { color: #292524; font-weight: 600; }

.lg-doc ul { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.lg-doc li { position: relative; margin: 0 0 0.6rem; padding-left: 1.4rem; }
.lg-doc li::before {
    content: '';
    position: absolute;
    left: 0.2rem;
    top: 0.72em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #c79544;
    opacity: 0.75;
}

.lg-doc a { color: #a67a36; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(199, 149, 68, 0.4); text-underline-offset: 3px; }
.lg-doc a:hover { color: #8a6224; text-decoration-color: currentColor; }

.lg-callout {
    display: flex;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(199, 149, 68, 0.08);
    border: 1px solid rgba(199, 149, 68, 0.22);
    font-size: 0.88rem;
    line-height: 1.65;
}
.lg-callout svg { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; color: #c79544; }
.lg-callout p { margin: 0; }

.lg-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}
.lg-links a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(168, 162, 158, 0.45);
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
    color: #57534e;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.lg-links a:hover, .lg-links a[aria-current="page"] { border-color: #c79544; color: #8a6224; }
