/* Shared privacy-policy styles */
:root {
    --accent: #173d32;
    --accent-dark: #0f2d25;
    --ink: #19201d;
    --muted: #66716b;
    --line: #e4e9ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: #f4f6f4;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.topbar {
    width: min(100% - 30px, 840px);
    min-height: 56px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: var(--accent);
    font-weight: 650;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.language-switcher {
    display: inline-flex;
    height: 32px;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #dfe5e1;
    border-radius: 999px;
    background: #fff;
}

.language-switcher a {
    width: 30px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.language-switcher .is-active {
    color: #fff;
    background: var(--accent);
}

.language-switcher a:focus-visible,
.back-link:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: min(100% - 30px, 840px);
    max-width: 840px;
    margin: 0 auto 32px;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid #e5e9e6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(25, 32, 29, 0.06);
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h2 {
    margin: 38px 0 12px;
    color: #24342e;
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    scroll-margin-top: 20px;
}

h3 {
    margin: 22px 0 8px;
    color: #2e4038;
    font-size: 1.04rem;
}

p {
    margin: 10px 0;
    color: #4d5954;
    font-size: 16px;
    line-height: 1.72;
}

.last-updated {
    margin: 16px 0 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e9e6;
    color: var(--muted);
    font-size: 0.92rem;
}

.intro,
.glance {
    margin: 0 0 16px;
    padding: 18px 20px;
    background: #edf3ef;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.glance {
    padding-bottom: 12px;
}

.glance p {
    margin: 0 0 6px;
}

.glance ul {
    margin: 6px 0 4px;
}

ul {
    margin: 10px 0 16px;
    padding-left: 1.35rem;
}

li {
    margin: 6px 0;
    padding-left: 3px;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

strong {
    font-weight: 680;
}

.note {
    margin: 16px 0;
    padding: 15px 18px;
    background: #f7f9fb;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.table-wrap {
    margin: 14px 0 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 9px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    line-height: 1.55;
}

th,
td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    background: #f7f9fb;
    font-weight: 680;
}

tr:last-child td {
    border-bottom: 0;
}

td:first-child {
    white-space: nowrap;
    font-weight: 600;
}

.contact {
    margin-top: 16px;
    padding: 20px;
    background: #f7f9fb;
    border: 1px solid var(--line);
    border-radius: 10px;
}

footer {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid #e5e9e6;
    color: var(--muted);
    font-size: 0.88rem;
}

a[href^="mailto:"] {
    overflow-wrap: anywhere;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 10px 14px;
    border: 2px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    background: #fff;
    font-weight: 700;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .topbar {
        width: calc(100% - 20px);
    }

    .container {
        width: calc(100% - 20px);
        margin-bottom: 20px;
        padding: 26px 20px 36px;
        border-radius: 14px;
    }

    h2 {
        margin-top: 32px;
    }

    td:first-child {
        white-space: normal;
    }
}
