/* ---------------------------------------------------------------------------
   Contact, Privacy, Disclaimer.
   ---------------------------------------------------------------------------
   These pages have one job: be read and believed. So they borrow the mono
   eyebrow and hairline rules from the Why page to stay in the family, and
   spend nothing else — a single measure, generous line height, and headings
   that let you skim to the clause you came for. Legal text that looks designed
   reads as though it's hiding something.
--------------------------------------------------------------------------- */

.doc {
    max-width: 720px;
    margin: 0 auto;
    padding: 62px 22px 120px;
}

.doc-eyebrow {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--violet);
}

.doc h1 {
    margin: 18px 0 0;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.doc-lede {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.doc-updated {
    margin-top: 26px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--card-brd);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--faint);
}

.doc h2 {
    margin: 46px 0 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.022em;
}

.doc h3 {
    margin: 28px 0 8px;
    font-size: 16px;
    font-weight: 650;
}

.doc p,
.doc li {
    font-size: 15.5px;
    line-height: 1.72;
    color: #c2c6d6;
}

.doc p {
    margin: 0 0 14px;
}

.doc ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.doc li {
    margin-bottom: 8px;
}

.doc li::marker {
    color: var(--faint);
}

.doc b,
.doc strong {
    color: var(--txt);
    font-weight: 650;
}

.doc a {
    color: var(--txt);
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 92, 246, 0.5);
}

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

/* A clause that carries real risk gets the amber rail — the same signal the
   Why page uses for its limits, so the warning reads consistently sitewide. */
.doc-note {
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid var(--card-brd);
    border-left: 2px solid rgba(245, 182, 81, 0.55);
    border-radius: 0 14px 14px 0;
    background: rgba(245, 182, 81, 0.04);
}
.doc-note p:last-child {
    margin-bottom: 0;
}

/* --- Contact form -------------------------------------------------------- */
.doc-form {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.doc-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--txt);
}

.doc-field .hint {
    font-weight: 400;
    color: var(--faint);
}

.doc-field input,
.doc-field select,
.doc-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--txt);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--card-brd);
    border-radius: 11px;
    outline: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease;
}

.doc-field textarea {
    min-height: 168px;
    resize: vertical;
    line-height: 1.6;
}

.doc-field input:focus,
.doc-field select:focus,
.doc-field textarea:focus {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.06);
}

.doc-field input::placeholder,
.doc-field textarea::placeholder {
    color: var(--faint);
}

/* Bot bait. Hidden from people and from assistive tech; a bot fills it in
   because it fills everything in, and the server drops that submission. */
.doc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.doc-send {
    justify-self: start;
    padding: 13px 26px;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--violet), var(--indigo));
    transition:
        transform 0.16s ease,
        filter 0.16s ease;
}
.doc-send:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.doc-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.doc-status {
    font-size: 14.5px;
    line-height: 1.6;
    padding: 13px 16px;
    border-radius: 11px;
    display: none;
}
.doc-status.show {
    display: block;
}
.doc-status.ok {
    color: var(--up);
    background: var(--up-soft);
    border: 1px solid rgba(22, 209, 149, 0.3);
}
.doc-status.err {
    color: var(--down);
    background: var(--down-soft);
    border: 1px solid rgba(255, 93, 108, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .doc-send,
    .doc-field input,
    .doc-field textarea {
        transition: none;
    }
    .doc-send:hover:not(:disabled) {
        transform: none;
    }
}

@media (max-width: 700px) {
    .doc {
        padding: 44px 16px 90px;
    }
}
