/* Shared styling for the legal pages (aviso legal, privacidad, cookies). */
:root {
    --color-lime: #d2f6a3;
    --color-white: #ffffff;
    --color-text-light: rgba(255, 255, 255, 0.62);
    --color-bg: #0a0a0a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-white);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--color-white);
    text-decoration: none;
}

.legal-back {
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 8px 18px;
    transition: all 0.2s ease;
}

.legal-back:hover { color: var(--color-lime); border-color: var(--color-lime); }

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
    margin: 56px 0 12px;
    font-weight: 700;
}

.legal-updated {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 0 0 48px;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    margin: 48px 0 14px;
    font-weight: 600;
}

p, li { color: rgba(255, 255, 255, 0.8); }
ul { padding-left: 22px; }
li { margin-bottom: 10px; }

a { color: var(--color-lime); }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

th, td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

th { color: var(--color-lime); font-weight: 600; }

.table-scroll { overflow-x: auto; }

/* Anything still needing the owner's real details is wrapped in this,
   so unfinished fields are impossible to miss. */
.placeholder {
    background: rgba(255, 196, 0, 0.14);
    border-bottom: 1px dashed rgba(255, 196, 0, 0.6);
    padding: 1px 5px;
    border-radius: 3px;
    color: #ffd98a;
    font-weight: 600;
}

.legal-footer {
    margin-top: 72px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-footer a { color: var(--color-text-light); text-decoration: none; }
.legal-footer a:hover { color: var(--color-lime); }
