/*
 * The privacy page: an ordinary scrolling document, in the landing page's colours.
 * Loaded after style.css, whose colour tokens and footer it shares.
 */

.doc-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.doc-header {
    padding: max(20px, env(safe-area-inset-top)) var(--gutter) 0;
}

.doc-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--ink-soft);
    text-decoration: none;
}

.doc-home:hover,
.doc-home:focus-visible {
    color: #fff;
}

.doc {
    flex: 1;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    padding: clamp(32px, 8vh, 72px) 24px 56px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.doc-kicker {
    margin: 0 0 8px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.doc h1 {
    margin: 0;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    color: var(--ink);
}

.doc-updated {
    margin: 8px 0 32px;
    font-size: 0.875rem;
    color: var(--ink-faint);
}

/* The same green-edged panel as the applications box on the landing page. */
.doc-summary {
    padding: 16px 20px;
    border-left: 2px solid var(--accent);
    border-radius: 0 16px 16px 0;
    background: rgba(228, 237, 238, 0.04);
}

.doc-summary p {
    margin: 0;
    color: var(--ink);
}

.doc h2 {
    margin: 40px 0 8px;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--ink);
}

.doc p,
.doc ul {
    margin: 0 0 12px;
}

.doc ul {
    padding-left: 1.25em;
}

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

.doc strong {
    font-weight: 600;
    color: var(--ink);
}

.doc a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
}

.doc a:hover,
.doc a:focus-visible {
    color: #fff;
    border-bottom-color: #fff;
}

.doc a:focus-visible,
.doc-home:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Details still to be filled in (see the top of privacy.php). */
.todo {
    padding: 0 0.25em;
    border-radius: 3px;
    color: var(--ground);
    background: #F2C14E;
}
