:root {
    --bg: #0b0b0f;
    --panel: #141419;
    --text: #ffffff;
    --muted: #b9b9c3;
    --accent: #ff4500;
    --border: rgba(255, 69, 0, .65);
    --shadow: 0 25px 60px rgba(0, 0, 0, .75);
    --radius: 22px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    line-height: 1.7;
}


.legal-page {
    max-width: 1200px;
    margin: 70px auto 80px;
    padding: 0 18px 40px;
}

.legal-card {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 69, 0, .13), transparent 60%),
        linear-gradient(145deg, rgba(5, 5, 8, .92), rgba(12, 8, 6, .96));
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    padding: 36px 32px 32px;
    backdrop-filter: blur(8px);
}


.legal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 69, 0, .45);
    opacity: .45;
    pointer-events: none;
}


.legal-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 0, 0, .55);
}

.legal-card h1 {
    margin: 0 0 6px;
    font-size: 30px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0, 0, 0, .7);
}

.legal-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}


.legal-content {
    position: relative;
    z-index: 1;
}

.legal-two-columns {
    display: grid;
    gap: 26px;
    margin-bottom: 10px;
}

@media (min-width: 900px) {
    .legal-two-columns {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

.legal-section {
    padding: 18px 0 16px;
    position: relative;
}

.legal-section+.legal-section {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.legal-section h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--accent);
    letter-spacing: .05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-section h2::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}


.legal-section p {
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px;
}


.legal-label {
    margin-top: 12px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.legal-list {
    margin: 6px 0 8px 0;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 18px;
    margin: 4px 0;
    font-size: 14px;
    color: var(--muted);
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(255, 69, 0, .7);
}

.legal-section a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 69, 0, .6);
    padding-bottom: 1px;
}

.legal-section a:hover {
    border-bottom-style: solid;
}

@media (max-width: 600px) {
    .legal-card {
        padding: 26px 18px 22px;
    }

    .legal-card h1 {
        font-size: 24px;
    }
}