/* policy.css — Orin privacy policy page.
 *
 * Additions only, on the kit's own tokens (--white --ink --orange --green
 * --magenta --font from spectrum.css). Nothing in the kit's system is
 * overridden, in the same spirit as lsw.css.
 *
 * The page is a document, so it optimises for reading: a single measured
 * column, generous line-height, and lists that stay lists.
 */

.policy-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
    border-bottom: 2px solid var(--ink);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 20;
}

.policy-topbar a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.policy-topbar a:hover {
    color: var(--orange);
}

.policy-topbar .policy-mark {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.policy-topbar nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.policy {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 28px 96px;
    color: var(--ink);
}

.policy-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 14px;
}

.policy-title {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    margin: 0 0 14px;
    font-weight: 700;
}

.policy-meta {
    font-size: 15px;
    opacity: 0.65;
    margin: 0 0 44px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--ink);
}

.policy section {
    margin: 0 0 40px;
}

.policy h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 700;
}

/* The orange rule is the kit's own accent used as a section marker. */
.policy h2::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    background: var(--orange);
    margin-bottom: 12px;
}

.policy p,
.policy li {
    font-size: 16.5px;
    line-height: 1.68;
}

.policy p {
    margin: 0 0 16px;
}

.policy ul,
.policy ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.policy li {
    margin-bottom: 10px;
}

.policy li > ul,
.policy li > ol {
    margin-top: 10px;
}

.policy strong {
    font-weight: 700;
}

.policy a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.policy a:hover {
    color: var(--orange);
}

.policy-note {
    font-size: 15px;
    opacity: 0.7;
    border-left: 4px solid var(--ink);
    padding-left: 16px;
}

.policy-back {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 2px solid var(--ink);
    font-weight: 600;
}

/* The back-to-top control (standing SOP) is styled by lsw.css; the page has no
 * dark band for it to invert over, so it stays ink throughout. */
.policy .to-top,
body > .to-top {
    z-index: 30;
}

@media (max-width: 640px) {
    .policy {
        padding: 36px 20px 80px;
    }
    .policy-topbar {
        padding: 14px 20px;
    }
    .policy-topbar nav {
        gap: 14px;
    }
}
