/* =========================================================================
   Legal document pages (Algemene voorwaarden, Privacyverklaring)
   Ported from the Claude Design template. Chrome is global (style.css);
   everything else is scoped under the reusable .at-legal body class.
   ========================================================================= */

body.at-legal {
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

/* -------------------------------------------------------------------------
   Typography (overrides the generic global .h1/.h2/.eyebrow)
   ------------------------------------------------------------------------- */

.at-legal .h1 {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.0;
    font-size: clamp(36px, 4.4vw, 52px);
    margin: 0;
}
.at-legal .h2 {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(24px, 2.2vw, 30px);
    color: var(--ink);
    margin: 0;
}
.at-legal .lead   { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.at-legal .mono   { font-family: 'IBM Plex Mono', monospace; }
.at-legal .accent { color: var(--accent); }
.at-legal .muted  { color: var(--ink-soft); }

.at-legal .eyebrow {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.at-legal .eyebrow-light {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   Sections + head band
   ------------------------------------------------------------------------- */

.at-legal .sec { padding: 88px 0; }

.at-legal .head-band { background: var(--accent); color: #fff; }
.at-legal .head-band .h1 { color: #fff; }
.at-legal .crumbs {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.at-legal .crumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.7); }
.at-legal .crumbs a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   Document layout: sticky TOC + article
   ------------------------------------------------------------------------- */

.at-legal .docgrid { display: grid; grid-template-columns: 0.42fr 1.58fr; gap: 64px; align-items: start; }

.at-legal .toc { position: sticky; top: 110px; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.at-legal .toc a {
    display: flex;
    gap: 12px;
    padding: 11px 2px;
    text-decoration: none;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    transition: 0.15s;
}
.at-legal .toc a:hover { color: var(--accent); padding-left: 6px; }
.at-legal .toc .tn { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent); min-width: 22px; }

.at-legal .notice {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 48px;
}
.at-legal .notice-h { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-legal .notice-d { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

.at-legal .article { display: flex; flex-direction: column; gap: 48px; }
.at-legal .clause { scroll-margin-top: 96px; }
.at-legal .clause-h { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.at-legal .clause-n { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--accent); font-weight: 500; }
.at-legal .clause-t { font-family: 'Archivo', system-ui, sans-serif; font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.at-legal .clause p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.at-legal .clause p + p { margin-top: 14px; }
.at-legal .clause ul { margin: 14px 0 0; padding-left: 22px; }
.at-legal .clause li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 7px; }

/* -------------------------------------------------------------------------
   Closing CTA bar
   ------------------------------------------------------------------------- */

.at-legal .cta-band { background: var(--accent); color: #fff; }
.at-legal .cta-band .h2 { color: #fff; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .at-legal .sec { padding: 56px 0; }
    .at-legal .docgrid { grid-template-columns: 1fr; gap: 32px; }
    .at-legal .toc { position: static; display: none; }
}
