/* Legal pages (terms, privacy, refund) and the 404: long-form prose on the
   same shell as the marketing pages. Reads the tokens in site.css. */

.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}
.legal .updated {
    font-size: 12.5px; color: var(--rq-faint);
    margin-bottom: 8px;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.legal h1 {
    font-family: var(--rq-font-display);
    font-variation-settings: "opsz" 144;
    font-weight: 600;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.05; letter-spacing: -0.035em;
    color: var(--rq-paper-100);
    margin: 0 0 32px;
}
.legal .lede {
    font-size: 16px; color: var(--rq-sub); line-height: 1.65;
    padding: 18px 20px; border: 1px solid var(--rq-line);
    border-radius: 12px; background: rgba(255,255,255,.03);
    margin-bottom: 40px;
}
.legal h2 {
    font-family: var(--rq-font-display);
    font-variation-settings: "opsz" 144;
    font-weight: 600;
    font-size: 24px; letter-spacing: -0.02em;
    color: var(--rq-paper-100);
    margin: 40px 0 14px;
}
.legal p, .legal li {
    color: var(--rq-sub); font-size: 15px; line-height: 1.7;
    margin: 0 0 14px;
}
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #9eb8ff; border-bottom: 1px solid rgba(158,184,255,.3); }
.legal a:hover { color: #c9d6ff; border-bottom-color: #c9d6ff; }
.legal strong { color: var(--rq-paper-100); font-weight: 600; }
.legal table {
    width: 100%; border-collapse: collapse; margin: 14px 0 24px;
    font-size: 14px;
}
.legal th, .legal td {
    text-align: left; padding: 12px 14px;
    border-bottom: 1px solid var(--rq-line);
    color: var(--rq-sub);
}
.legal th {
    color: var(--rq-paper-100); font-weight: 700; font-size: 12.5px;
    letter-spacing: .05em; text-transform: uppercase;
    background: rgba(255,255,255,.03);
}

/* 404 */
.not-found {
    max-width: 760px; margin: 0 auto;
    padding: 96px 24px 120px;
}
.not-found .code {
    font-family: var(--rq-font-display);
    font-variation-settings: "opsz" 144;
    font-weight: 600;
    font-size: clamp(64px, 12vw, 120px);
    line-height: 1; margin: 0 0 8px;
    background-image: linear-gradient(120deg, var(--rq-blue-200) 0%, var(--rq-gold-400) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found h1 {
    font-family: var(--rq-font-display);
    font-variation-settings: "opsz" 144;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.03em; line-height: 1.1;
    color: var(--rq-paper-100);
    margin: 0 0 16px; max-width: 18ch;
}
.not-found p { color: var(--rq-sub); font-size: 16px; line-height: 1.6; max-width: 52ch; margin: 0 0 28px; }
.not-found .actions { display: flex; gap: 10px; flex-wrap: wrap; }
