/* Shared styles for the simple pages: 404, thank-you, privacy policy */
:root {
  --void: #05040b; --panel: #120f22; --line: rgba(244, 241, 255, .12);
  --star: #f4f1ff; --mist: #a7a3c1; --flare: #ff8a1f; --nova: #ff3d9a;
  --grad: linear-gradient(100deg, #2f7bff, #8b3dff 32%, #ff3d9a 64%, #ff8a1f);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(60% 50% at 50% 0%, rgba(139, 61, 255, .2), transparent 70%), var(--void);
  color: var(--star); font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.65;
}
a { color: var(--star); text-decoration-color: var(--nova); text-underline-offset: 3px; }
a:hover { color: var(--flare); }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; border-radius: 4px; }
em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }

/* Centered message pages (404, thank-you) */
body.center { display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.center main { display: grid; justify-items: center; gap: 14px; max-width: 520px; }
.center img { width: min(260px, 70vw); height: auto; }
.code { margin: 12px 0 0; font-family: ui-monospace, Menlo, monospace; letter-spacing: .3em; color: var(--flare); }
.center h1 { margin: 0; font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 800; font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; }
.center p { margin: 0; color: var(--mist); }
.btn {
  margin-top: 12px; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #fff;
  background: var(--grad);
}
.btn:hover { color: #fff; }

/* Long-form legal page */
.doc-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 24px 16px; }
.doc-header img { height: 40px; width: auto; }
.doc-header a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--mist); }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 96px; }
.doc h1 { margin: 24px 0 8px; font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 800; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.doc .meta { margin: 0 0 32px; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.doc .lead { font-size: 1.15rem; color: var(--star); }
.doc h2 { margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.doc p, .doc li { color: #d9d5ec; max-width: 68ch; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--star); }
.callout { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 15, 34, .7); }
.callout p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-family: ui-monospace, Menlo, monospace; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 500; }
td { color: #d9d5ec; }
.doc-footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); color: var(--mist); font-size: .85rem; }
