/* Shared styles for the static pages (privacy, terms, 404). Matches the main site's look. */
:root {
  --bg: #000; --card: #0c0c0c; --white: #fff; --dim: #a8a8a8; --muted: #6b6b6b;
  --orange: #fe9a00; --border: rgba(255, 255, 255, 0.08); --border-hover: rgba(255, 255, 255, 0.18);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--dim); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 24px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { max-width: 1100px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--white); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; color: var(--orange); }
.back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--white); font-size: 0.85rem; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.back:hover { text-decoration: none; border-color: var(--orange); background: rgba(254, 154, 0, 0.08); }

.doc { padding: 64px 0 88px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--orange); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { color: var(--white); font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.updated { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.lead { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: 12px; background: var(--card); color: var(--white); }
h2 { margin: 44px 0 12px; color: var(--white); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p + p { margin-top: 12px; }
ul { margin: 12px 0 0 0; padding-left: 0; list-style: none; }
li { position: relative; padding-left: 22px; }
li + li { margin-top: 8px; }
li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
strong { color: var(--white); font-weight: 600; }

.foot { border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.85rem; color: var(--muted); }
.foot .wrap { max-width: 1100px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--dim); }
.foot nav a:hover { color: var(--orange); }

/* 404 */
.nf { min-height: calc(100vh - 64px - 82px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--orange); }
.nf h1 { margin-top: 12px; }
.nf p { margin: 14px auto 0; max-width: 42ch; }
.nf .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: #ffb02e; }
.btn-ghost { border: 1px solid var(--border-hover); color: var(--white); }
.btn-ghost:hover { border-color: var(--orange); }

@media (max-width: 600px) {
  .doc { padding: 44px 0 64px; }
  h2 { margin-top: 36px; }
}

.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo .mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--orange); color: #000; font-size: 0.9rem; font-weight: 800; }

/* Blog post (+ list/paragraph spacing for all static pages) */
.byline { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.byline .author { white-space: nowrap; }
ul + p { margin-top: 12px; }
.post code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875em; color: var(--white); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-radius: 6px; padding: 0.1em 0.4em; }
.post .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.foot nav { flex-wrap: wrap; }
.logo .mark::before { content: "S"; }
