/* Shared look of the legal pages (privacy.html, consent.html); colours and fonts match landing.html */
:root {
    --glass: #edf4f1;
    --paper: #f8fbfa;
    --ink: #10261e;
    --moss: #173d30;
    --muted: #4b665b;
    --line: #cfddd7;
    --line-strong: #9fb5ac;
    --cherry-btn: #d6290d;
    --cherry-hover: #b8230b;
    --display: 'Unbounded', 'Arial Black', sans-serif;
    --text: 'Onest', 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    background: var(--glass);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--moss);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    text-decoration-color: var(--line-strong);
}

a:hover {
    text-decoration-color: var(--moss);
}

:focus-visible {
    outline: 3px solid var(--moss);
    outline-offset: 3px;
    border-radius: 6px;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.top {
    background: rgba(237, 244, 241, 0.82);
    border-bottom: 1px solid rgba(207, 221, 215, 0.7);
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--moss);
    letter-spacing: -0.01em;
}

.brand img {
    height: 30px;
    width: auto;
}

.back {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ===== Document ===== */
.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.doc h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.6rem, 4.4vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--moss);
    overflow-wrap: break-word;
}

.doc .edition {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.doc h2 {
    margin: 44px 0 14px;
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--moss);
}

.doc h3 {
    margin: 28px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.doc p,
.doc ul,
.doc ol {
    margin-top: 12px;
}

.doc ul,
.doc ol {
    padding-left: 1.4em;
}

.doc li + li {
    margin-top: 6px;
}

.doc .lead {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

/* Purpose cards: "who / what data / why / basis / how long" */
.purpose {
    margin-top: 16px;
    padding: 18px 22px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.purpose h3 {
    margin-top: 0;
}

.purpose dl {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 8px 18px;
    margin-top: 10px;
    font-size: 0.98rem;
}

.purpose dt {
    color: var(--muted);
}

@media (max-width: 600px) {
    .purpose dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .purpose dd + dt {
        margin-top: 10px;
    }
}

.requisites {
    list-style: none;
    padding-left: 0 !important;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--line);
    padding: 32px 0 40px;
}

.foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 32px;
    color: var(--muted);
    font-size: 0.92rem;
}

.foot-row .brand {
    font-size: 0.95rem;
}

.foot-row .brand img {
    height: 24px;
}
