/* Legal and help pages: privacy, terms, aviso legal, guidelines, ayuda, delete-account, 404.
   Builds on style.css's .page column: Black titles, plain reading text, hairlines instead of cards. */

.legal-content .page-intro + .legal-section,
.legal-content .page-intro + .help-lines { margin-top: 48px; }
.legal-lang-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.legal-lang-note a { font-weight: 600; }

.legal-section { margin-top: 44px; scroll-margin-top: 32px; }
.legal-section h2 { font-weight: 800; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 12px; }
.legal-section p,
.legal-section ul,
.legal-section ol { color: var(--ink-soft); }
.legal-section p + p,
.legal-section p + ul,
.legal-section p + ol,
.legal-section ul + p,
.legal-section ol + p { margin-top: 12px; }
.legal-section ul,
.legal-section ol { padding-left: 1.3em; }
.legal-section li + li { margin-top: 8px; }
.legal-section li::marker { color: var(--house); }
.legal-section strong { color: var(--ink); }

.legal-content a:not(.button):not(.help-line) {
    color: var(--house);
    font-weight: 600;
    text-underline-offset: 2px;
}
.legal-content code { font-size: 0.9em; background: var(--slip); padding: 1px 5px; }

/* The few passages a reader must not miss (crisis lines, deleting from the web) sit on a paper slip. */
.crisis-box,
.legal-highlight {
    padding: 24px 26px;
    background: var(--slip);
    box-shadow: 2px 3px 0 var(--shadow);
}
.crisis-box a { color: var(--ink); white-space: nowrap; }
.guidelines-content .legal-section:target h2 { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.legal-action { margin-top: 20px; }

/* Website-only part of the privacy policy, dated separately from the app policy */
.legal-website { border-top: 1px solid var(--hairline); padding-top: 40px; }
.legal-section-date { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 12px; }

/* Need help now? The numbers in Black, the urgent one in ink. */
.help-lines { list-style: none; display: grid; gap: 12px; margin-bottom: 16px; }
.help-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 22px;
    padding: 18px 22px;
    border: 1.5px solid var(--ink);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--ink);
    text-decoration: none;
}
.help-line:hover { background: var(--slip); }
.help-line-number { font-weight: 900; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.help-line-number--web { font-size: 1.3rem; }
.help-line-text { display: flex; flex-direction: column; flex: 1 1 220px; }
.help-line-label { font-weight: 700; }
.help-line-desc { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.help-line--urgent { background: var(--ink); color: var(--paper); }
.help-line--urgent:hover { background: var(--house); border-color: var(--house); }
.help-line--urgent .help-line-desc { color: var(--night-soft); }

.not-found-help { margin-top: 28px; color: var(--ink-soft); }
.not-found-help a { color: var(--house); font-weight: 600; }

@media (max-width: 760px) {
    .legal-section { margin-top: 36px; }
    .legal-section h2 { font-size: 19px; }
    .help-line { padding: 16px 18px; }
    .help-line-number { font-size: 1.7rem; }
    .crisis-box, .legal-highlight { padding: 20px; }
}
