/* ============================================================
   LEGAL PAGES — privacy.html and terms.html.

   These two are the only long-form prose pages in the site root
   (posts get posts/post.css instead), and they are structurally
   identical, so their styling lives here rather than inline twice.
   Loaded after site.css, which it inherits every token from.
   ============================================================ */

/* ============ PAGE HEAD ============ */
.page-head { padding: 180px 0 0; }
.page-head .container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.page-title {
    font-family: 'Anton', sans-serif; font-size: clamp(38px, 4vw, 68px);
    font-weight: 400; text-transform: uppercase; line-height: 1.02;
    letter-spacing: -0.5px; color: var(--cream); margin-bottom: 20px;
}
.legal-updated {
    font-size: 12px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}

/* ============ PROSE ============ */
.legal-section { padding-top: 80px; }
.legal-body { max-width: 720px; }

.legal-body h2 {
    font-family: 'Anton', sans-serif; font-size: 26px; font-weight: 400;
    text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
    color: var(--cream);
    margin: 64px 0 20px; padding-top: 28px;
    border-top: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-body h3 {
    font-family: 'Epilogue', sans-serif; font-size: 15px; font-weight: 600;
    letter-spacing: .04em; color: var(--cream);
    margin: 32px 0 10px;
}

.legal-body p {
    font-size: 16.5px; line-height: 1.72; font-weight: 300;
    color: var(--text-secondary); margin-bottom: 18px;
}
.legal-body ul { margin: 0 0 18px; padding-left: 22px; }
.legal-body li {
    font-size: 16.5px; line-height: 1.72; font-weight: 300;
    color: var(--text-secondary); margin-bottom: 10px;
}
.legal-body li::marker { color: var(--orange); }
.legal-body strong { font-weight: 600; color: var(--cream); }

.legal-body a {
    color: var(--orange); text-decoration: none;
    border-bottom: 1px solid rgba(216, 87, 42, 0.35);
    transition: color .3s ease, border-color .3s ease;
}
.legal-body a:hover { color: var(--orange-hover); border-bottom-color: var(--orange-hover); }

/* ============ MOBILE ============ */
@media (max-width: 768px) {
    .page-head { padding: 140px 0 0; }
    .page-head .container { padding: 0 24px; }
    .legal-section { padding-top: 56px; }
    .legal-body h2 { font-size: 22px; margin-top: 48px; }
    .legal-body p, .legal-body li { font-size: 16px; }
}
/* landscape phones: height is the scarce axis, and this is a page you land
   on, so the fixed nav has to stop eating the title. Last in the file — a
   667x375 SE matches the width block above as well and the height rules
   must win. */
@media (max-height: 520px) {
    .page-head { padding-top: 92px; }
}
