/* ── Legal / Privacy page ─────────────────────────────────── */

header h1 {
    font-size: clamp(34px, 5.5vw, 54px);
    margin: 18px 0 6px;
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
    padding: 4px;
    gap: 4px;
    box-shadow: var(--shadow);
}

.lang-toggle button {
    font-family: var(--font);
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 18px;
    border-radius: 100px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.lang-toggle button.active {
    background: var(--accent);
    color: #fff;
}

.updated {
    color: var(--ink-faint);
    font-size: 13.5px;
    margin-top: 10px;
}

.policy-lead {
    color: var(--ink-soft);
    font-size: 17px;
    max-width: 68ch;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-note {
    margin-top: 24px;
    font-size: 14.5px;
}

.policy-block {
    margin-bottom: 44px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h3 {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -.03em;
    margin-bottom: 16px;
    color: var(--ink);
}

.principles {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 8px 30px;
    margin-top: 28px;
}

.principles a {
    color: var(--accent);
    font-weight: 600;
}

.principles li {
    list-style: none;
    position: relative;
    padding: 18px 0 18px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

.principles li:last-child {
    border-bottom: 0;
}

.principles li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 27px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.principles li b {
    color: var(--ink);
    font-weight: 600;
}

.app-policy {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 32px 34px;
}

.app-policy .ap-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.app-policy .ap-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.app-policy h3 {
    margin: 0;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -.03em;
}

.app-policy .ap-tag {
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-faint);
}

.ap-row {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.ap-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.ap-row .ap-k {
    display: block;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    margin-bottom: 6px;
}

.ap-row p, .ap-row li {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.ap-row ul {
    padding-left: 20px;
    margin-top: 6px;
}

.ap-row ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.ap-row ul li b {
    color: var(--ink);
    font-weight: 600;
}

.contact-line {
    color: var(--ink-soft);
    font-size: 15.5px;
    margin-top: 6px;
}

.contact-line a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

[data-lang-content] {
    display: none;
}

[data-lang-content].active {
    display: block;
}

@media (max-width: 680px) {
    .app-policy {
        padding: 26px 22px;
    }
}
