/* css/legal.css — privacy policy / terms (hero comes from site.css via .page-header) */

.skip {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 9999;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: top .2s ease;
}
.skip:focus { top: 12px; }

.page-header { padding-bottom: 48px; }
.page-updated { margin-top: 14px; font-size: 15px; }

.doc-body { max-width: 820px; margin: 0 auto 40px; padding: 0 24px; }

.intro-text { font-size: 18px; line-height: 1.7; color: var(--color-slate-600); max-width: 68ch; }

.callout {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 22px;
    border: 1px solid var(--lp-line);
    border-radius: 24px;
    background: var(--color-white);
}
.callout-dot {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    flex-shrink: 0;
}
.callout-text { flex: 1; align-self: center; font-size: 15px; line-height: 1.6; color: var(--color-slate-700); }

/* table of contents */
.toc { margin-top: 32px; border: 1px solid var(--lp-line); border-radius: 28px; background: var(--color-white); overflow: hidden; }
.toc-label { padding: 18px 26px 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.toc ul { list-style: none; margin: 0; padding: 0 0 8px; }
.toc a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 26px;
    font-size: 15px;
    color: var(--color-slate-600);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.toc a:hover { background: var(--lp-bg); color: var(--lp-ink); }
.toc a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.toc a::after {
    content: '';
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-right: 1.5px solid var(--color-slate-400);
    border-top: 1.5px solid var(--color-slate-400);
    transform: rotate(45deg);
}

/* sections */
.section-group { margin-top: 32px; }
.section-label { padding: 0 8px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.section-card { border: 1px solid var(--lp-line); border-radius: 28px; background: var(--color-white); overflow: hidden; }
.section-row { padding: 24px 28px; border-bottom: 1px solid var(--color-slate-100); scroll-margin-top: 96px; }
.section-row:last-child { border-bottom: none; }
.row-title { margin-bottom: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--lp-ink); }
.row-body { font-size: 15px; line-height: 1.75; color: var(--color-slate-600); overflow-wrap: anywhere; }

/* contact */
.doc-hr { margin: 56px 0 0; border: none; border-top: 1px solid var(--lp-line); }
.section-h2 { margin: 32px 0 0; padding: 0 8px; font-family: var(--lp-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--lp-ink); }
.contact-card { margin-top: 18px; border: 1px solid var(--lp-line); border-radius: 28px; background: var(--color-white); overflow: hidden; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--color-slate-100); }
.contact-row:last-child { border-bottom: none; }
.contact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-slate-100);
    color: var(--color-primary);
    flex-shrink: 0;
}
.contact-detail { flex: 1; font-size: 15px; line-height: 1.6; color: var(--color-slate-600); }
.contact-detail a { color: var(--color-primary); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 600px) {
    .doc-body { padding: 0 16px; }
    .section-row { padding: 20px 20px; }
    .toc a, .contact-row { padding-inline: 20px; }
    .toc-label { padding-inline: 20px; }
}

@media print {
    .navbar, .footer, .skip { display: none !important; }
    .page-header::before, .page-header::after { display: none; }
    .section-card, .callout, .contact-card, .toc { border: 1px solid #ccc; }
}
