/* ── Main content layout ──────────────────────────────── */
main {
    flex: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 6vw 80px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ── Page label ───────────────────────────────────────── */
.page-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* ── Page heading ─────────────────────────────────────── */
h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* ── Last updated ─────────────────────────────────────── */
.last-updated {
    font-size: 0.8rem;
    color: var(--text-subtle);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

/* ── Language tabs ────────────────────────────────────── */
.lang-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.lang-tab {
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s;
    letter-spacing: 0.03em;
}
.lang-tab:hover { color: var(--text-main); border-color: rgba(255, 255, 255, 0.15); }
.lang-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.lang-content { display: none; }
.lang-content.active { display: block; }

/* ── Intro box ────────────────────────────────────────── */
.intro-box {
    padding: 1.25rem 1.5rem;
    background: rgba(79, 70, 229, 0.07);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    margin-bottom: 2rem;
}
.intro-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Content sections ─────────────────────────────────── */
.content-section {
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.content-section:last-child { margin-bottom: 0; }

h2 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

p, address {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: normal;
}
p + p { margin-top: 0.65rem; }

address span { display: block; }

/* ── Legal basis pill ─────────────────────────────────── */
.legal-basis {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #818CF8;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 4px;
    padding: 0.25rem 0.65rem;
    line-height: 1.5;
}
.legal-basis + .legal-basis { margin-left: 0.4rem; }

/* ── Callout block ────────────────────────────────────── */
.callout {
    margin-top: 0.85rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--accent);
    border-radius: 0 8px 8px 0;
}
.callout p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Lists ────────────────────────────────────────────── */
.content-section ul {
    margin: 0.6rem 0 0.2rem 1.2rem;
}
.content-section ul li {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── Sub-sections (privacy-policy.html) ──────────────── */
.sub-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.sub-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

/* ── Inline links ─────────────────────────────────────── */
a.inline-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a.inline-link:hover { color: var(--accent-hover); }

/* ── Info row (legal-notice.html) ────────────────────── */
.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 768px) {
    main { padding: 120px 5vw 60px; }
    .legal-basis + .legal-basis { margin-left: 0; margin-top: 0.4rem; }
}
