:root {
    color-scheme: light;
    --ink: #10161c;
    --organic: #0b1b29;
    --accent: #a85a12;
    --accent-hover: #82440d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header { background: var(--organic); }
.header-inner {
    display: flex;
    min-height: 92px;
    max-width: 1360px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: auto;
    padding: 12px 20px;
}
.brand {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}
.brand span { color: #f0b774; }
.brand:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.legal-language-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    padding: 2px;
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.legal-language-switch > * {
    display: inline-flex;
    min-width: 40px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
}
.legal-language-switch .current { background: #fff; color: var(--organic); }
.legal-language-switch a { color: #fff; }
.legal-language-switch a:hover { color: #f0b774; }
.language-mobile-row { display: none; }
.legal-mobile-language {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 27, 41, .2);
    border-radius: 999px;
    color: var(--organic);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}
.legal-mobile-language:hover { color: var(--accent); }
.back-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    background: var(--accent);
    padding: 8px 16px;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.back-link:hover { background: var(--accent-hover); color: #fff; }
.back-link svg { width: 16px; height: 16px; flex: none; }
.back-link svg, .back-link span { position: relative; left: -1px; }
.back-label-mobile { display: none; }

.legal-main { max-width: 820px; margin: auto; padding: 48px 24px 80px; }
h1, h2 { font-family: Barlow, Arial, sans-serif; }
h1 {
    margin: 0;
    color: var(--accent);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.13;
    text-align: center;
    text-wrap: balance;
}
.legal-content { margin-top: 44px; }
.legal-content h2 {
    margin: 32px 0 10px;
    color: var(--accent);
    font-size: clamp(1.4rem, 3vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}
.legal-content p { margin: 0 0 16px; }
.copy-email {
    border: 0;
    background: none;
    padding: 0;
    color: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.copy-email:hover { color: var(--accent-hover); }
.copy-email:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-footer {
    background: var(--organic);
    padding: 28px 24px;
    color: #fff;
    text-align: center;
}
.site-footer nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .7); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: #f0b774; }
.site-footer p { margin: 16px 0 0; font-size: 14px; }
.site-footer p span { display: block; }

.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 60;
    border-radius: 999px;
    background: var(--accent);
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
}
.copy-toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 768px) {
    .header-inner { min-height: 96px; gap: 20px; padding-inline: 48px; }
    .back-link { min-height: 38px; padding: 6px 20px; font-size: 16px; font-weight: 700; }
    .back-link svg { width: 20px; height: 20px; }
    .site-footer nav { flex-direction: row; justify-content: center; gap: 24px; }
    .site-footer p span { display: inline; }
}

@media (min-width: 1024px) {
    .header-inner { padding-inline: 80px; }
}

@media (max-width: 520px) {
    .brand { font-size: 17px; }
    .legal-main { padding: 36px 20px 64px; }
    .legal-content { margin-top: 32px; }
}

@media (max-width: 767px) {
    .back-label-mobile { display: inline; }
    .back-label-desktop { display: none; }
    .legal-language-switch { display: none; }
    .language-mobile-row { display: flex; justify-content: flex-end; padding: 8px 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .copy-toast { transition: none; }
}

