/* ── Fulgira Legal / Info Page Shared Styles ────────────────────────── */

/* ── Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --void: #0a0a0f;
    --deep: #111119;
    --nebula: #1a1a2e;
    --stardust: #c9b8a8;
    --gold: #d4a574;
    --light-gold: #e8c9a0;
    --pearl: #f0ebe4;
    --white: #faf8f5;
    --accent: #8b7355;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--void);
    color: var(--pearl);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── Starfield ── */
.starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: var(--stardust);
    animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
    0%   { opacity: 0.1;  transform: scale(0.8); }
    100% { opacity: var(--max-op); transform: scale(1.2); }
}

/* ── Page Hero ── */
.legal-hero {
    position: relative;
    z-index: 1;
    padding: 9rem 2rem 5rem;
    text-align: center;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.04) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.legal-hero-label {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.legal-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.legal-hero-meta {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--stardust);
    opacity: 0.4;
}

/* ── Divider ── */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.12;
    position: relative;
    z-index: 1;
}

/* ── Legal Content Body ── */
.legal-body {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem 6rem;
}

.legal-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Section headings ── */
.legal-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-top: 3.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.35;
}

.legal-inner h2:first-child {
    margin-top: 0;
}

.legal-inner h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
}

/* ── Body text ── */
.legal-inner p {
    font-size: 0.925rem;
    font-weight: 300;
    color: rgba(240, 235, 228, 0.72);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

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

.legal-inner ul,
.legal-inner ol {
    margin: 0.8rem 0 1.2rem 1.5rem;
}

.legal-inner li {
    font-size: 0.925rem;
    font-weight: 300;
    color: rgba(240, 235, 228, 0.72);
    line-height: 1.85;
    margin-bottom: 0.45rem;
}

.legal-inner a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 165, 116, 0.25);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.legal-inner a:hover {
    color: var(--light-gold);
    border-color: rgba(212, 165, 116, 0.6);
}

.legal-inner strong {
    font-weight: 500;
    color: rgba(240, 235, 228, 0.88);
}

/* ── Section divider rule ── */
.section-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(212, 165, 116, 0.1), transparent);
    margin: 3rem 0;
}

/* ── Highlight box ── */
.legal-highlight {
    background: rgba(212, 165, 116, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.12);
    border-left: 2px solid rgba(212, 165, 116, 0.4);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
    color: rgba(240, 235, 228, 0.8);
}

/* ── Table of Contents ── */
.toc {
    background: rgba(212, 165, 116, 0.03);
    border: 1px solid rgba(212, 165, 116, 0.08);
    padding: 2rem 2.25rem;
    margin-bottom: 3.5rem;
}

.toc-title {
    font-size: 0.62rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.toc li {
    margin-bottom: 0.35rem;
}

.toc a {
    font-size: 0.82rem;
    color: rgba(240, 235, 228, 0.5);
    border-bottom: none;
    letter-spacing: 0.02em;
}

.toc a:hover {
    color: rgba(212, 165, 116, 0.75);
    border-bottom: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .legal-hero {
        padding: 7rem 1.5rem 4rem;
    }
    .legal-body {
        padding: 3.5rem 1.5rem 4.5rem;
    }
}
