:root {
    --bg: #050505;
    --fg: #f5f5f5;
    --muted: rgba(245, 245, 245, 0.6);
    --accent: #d9b650;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--fg);
    padding: 3rem 0;
}

.legal-container {
    max-width: 760px;
    width: min(100% - 3rem, 760px);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(217, 182, 80, 0.22);
    background: rgba(10, 10, 10, 0.92);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legal-container h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.legal-meta {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.legal-container section {
    margin: 0;
}

.legal-container h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 4vw, 1.7rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(217, 182, 80, 0.85);
}

.legal-container p,
.legal-container ul,
.legal-container ol {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    line-height: 1.75;
    color: var(--fg);
    margin: 0 0 1rem;
    padding: 0;
}

.legal-container ul,
.legal-container ol {
    padding-left: 1.35rem;
}

.legal-container li {
    margin-bottom: 0.6rem;
}

.legal-highlight {
    margin: 0 0 1.75rem;
    padding: 1.1rem 1.4rem;
    border-left: 3px solid var(--accent);
    background: rgba(217, 182, 80, 0.08);
    text-align: left;
}

.legal-confirm {
    margin: 1.5rem 0 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}
.legal-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(217, 182, 80, 0.85);
    text-decoration: none;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(217, 182, 80, 0.4);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.legal-home:hover,
.legal-home:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(217, 182, 80, 0.12);
}

.legal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legal-actions--top .legal-meta {
    text-align: right;
}

.legal-actions--bottom {
    justify-content: center;
}
.legal-placeholder {
    margin: 0;
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    line-height: 1.8;
    color: var(--muted);
}
