/* ==========================================================================
   UniFluent — legal documents (privacy, terms, cookie policy)
   --------------------------------------------------------------------------
   Replaces the small per-file inline <style> blocks (extracted 2026-08,
   restyled to the dark brand). Load order: brand.css first, then this.
   Base typography (Fraunces headings, Inter body, dark ground) comes from
   brand.css; this sheet is just the document shell.
   ========================================================================== */

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(6.5rem, 14vh, 8.5rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 8vh, 4.5rem);
}

.header {
    margin-bottom: clamp(2rem, 5vh, 3rem);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
}

.container h1 {
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--uf-text-faint, rgba(206, 206, 215, 0.42));
}

.container h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin: 2.25rem 0 0.9rem;
}

.container h3 {
    font-size: 1.12rem;
    margin: 1.6rem 0 0.7rem;
}

.container p,
.container li {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(224, 224, 232, 0.85);
}

.container p {
    margin-bottom: 1.1rem;
}

.container ul,
.container ol {
    margin: 0.8rem 0 1.4rem;
    padding-inline-start: 1.5rem;
}

.container li {
    margin-bottom: 0.45rem;
}

.container a {
    color: var(--uf-indigo-soft, #8b8dff);
}

/* Table of contents (terms) */

.toc {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.4rem 1.75rem;
    margin: 1.5rem 0 2rem;
}

.toc h3 {
    margin: 0 0 0.8rem;
}

.toc ol {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.toc a {
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* Cookie table */

.container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    overflow: hidden;
}

.container th {
    background: rgba(85, 87, 232, 0.16);
    color: var(--uf-text, #f4f4f7);
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    text-align: start;
    padding: 0.75rem 1rem;
}

.container td {
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    color: rgba(224, 224, 232, 0.85);
}

/* Contact block */

.contact-info {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.4rem 1.75rem;
    margin: 2rem 0;
}

.contact-info h3 {
    margin-top: 0;
}

/* Cookie-settings button (cookie policy) */

.settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 999px;
    background: var(--uf-indigo, #5557e8);
    color: #fff;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s var(--uf-ease, ease), background-color 0.3s var(--uf-ease, ease);
}

.settings-btn:hover {
    background: #6668ff;
    transform: translateY(-2px);
}

/* Back link */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--uf-indigo-soft, #8b8dff);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Mini footer links (cookie policy) */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
}

.footer-links a {
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--uf-text, #f4f4f7);
}
