/* Journnah website — shared legal-page shell (Almanac) */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
:root { --page: #FBF8F2; --gut: clamp(20px, 5vw, 64px); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--page); color: var(--ink-900); line-height: 1.5; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
a { color: inherit; text-decoration: none; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.ac { font-style: italic; color: var(--brand); }
.rule { height: 1px; background: var(--ink-900); opacity: 0.12; border: 0; }

/* header */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(251,248,242,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brandlock { display: flex; align-items: center; gap: 11px; }
.brandlock .wm { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink-900); }
.brandlock .wm .dot { color: var(--accent); }
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a { font-size: 14px; font-weight: 600; color: var(--text-muted); }
nav.main a:hover, nav.main a.here { color: var(--brand); }
svg.mk { display: block; }

/* legal page */
.legal { padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.legal .wrap { max-width: 760px; }
.legal-head { margin-bottom: 30px; }
.legal-head h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.025em; margin: 14px 0 12px; }
.legal-head .meta { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--text-subtle); }

.legal-body .standfirst { font-size: clamp(17px, 2vw, 20px); line-height: 1.62; color: var(--text-body); }
.legal-body .rule { margin: 30px 0; }
.legal-body h2 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; margin: 36px 0 12px; display: flex; align-items: baseline; gap: 12px; }
.legal-body h2 .num { font-style: italic; font-weight: 500; color: var(--brass-600); font-size: 19px; flex: 0 0 auto; }
.legal-body p { font-size: 16px; line-height: 1.68; color: var(--text-body); margin-bottom: 14px; }
.legal-body p strong { color: var(--ink-900); font-weight: 700; }
.legal-body a { color: var(--brand); border-bottom: 1px solid var(--brass-200); padding-bottom: 1px; }
.legal-body a:hover { border-color: var(--brand); }
.legal-body ul { list-style: none; margin: 0 0 16px; }
.legal-body li { font-size: 16px; line-height: 1.6; color: var(--text-body); padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); }
.legal-body li::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-500); }
.legal-body li strong { color: var(--ink-900); }
.legal-body .closing { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--text-muted); margin-top: 22px; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; }
footer.site .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site .chapter { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--text-muted); }
footer.site .links { display: flex; gap: 22px; }
footer.site .links a { font-size: 13px; font-weight: 600; color: var(--text-muted); }
footer.site .links a:hover { color: var(--brand); }
footer.site .folio { font-size: 13px; color: var(--text-subtle); }

@media (max-width: 720px) { nav.main { display: none; } }
