/* ============================================================
   STATIC PAGES — about.html, terms.html, privacy.html
   ============================================================ */

.static-hero {
    background: var(--dark);
    color: #fff;
    padding: 48px 0 40px;
    border-bottom: 3px solid var(--red);
}
.static-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.6px; margin-bottom: 10px; }
.static-hero p { font-size: 0.92rem; color: rgba(255,255,255,0.55); margin-top: 8px; }

.static-body { padding: 56px 0 72px; background: var(--bg); }
.static-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }

/* Sticky sidebar TOC */
.static-toc { position: sticky; top: 88px; }
.static-toc h3 { font-size: 0.72rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.static-toc a { display: block; font-size: 0.83rem; color: var(--text-3); padding: 5px 10px; border-left: 2px solid var(--border); margin-bottom: 2px; transition: color var(--t), border-color var(--t); }
.static-toc a:hover { color: var(--red); border-color: var(--red); }

/* Content */
.static-content { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px 52px; }
.static-section { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.static-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.static-section h2 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.static-section p { font-size: 0.92rem; color: var(--text-2); line-height: 1.85; margin-bottom: 14px; }
.static-section p:last-child { margin-bottom: 0; }
.static-section ul, .static-section ol { margin: 12px 0 14px 20px; }
.static-section li { font-size: 0.92rem; color: var(--text-2); line-height: 1.85; margin-bottom: 6px; }
.static-section strong { color: var(--text); font-weight: 700; }

/* Last updated badge */
.last-updated { display: inline-block; background: var(--red-muted); color: var(--red); font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 32px; }

@media (max-width: 900px) {
    .static-layout { grid-template-columns: 1fr; gap: 32px; }
    .static-toc { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 8px; }
    .static-toc h3 { width: 100%; }
    .static-toc a { border-left: none; border: 1px solid var(--border); border-radius: var(--r-full); padding: 4px 12px; }
    .static-content { padding: 28px 24px; }
}
@media (max-width: 480px) {
    .static-body { padding: 36px 0 48px; }
    .static-content { padding: 22px 18px; }
}

/* Inline text hyperlinks */
.static-section p a,
.static-section li a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}
.static-section p a:hover,
.static-section li a:hover { opacity: 0.75; }

