/* Shared styling for Reminth's legal pages.
 *
 * Deliberately self-contained and free of any external request - no Google
 * Fonts, no CDN, nothing. A privacy policy that phones a third party out to
 * render itself is not a privacy policy anyone should believe, and these
 * pages have to work for someone who has blocked everything. The typefaces
 * fall back to the same system stack the main site already names as its
 * fallback, so it still reads as the same site.
 */
:root {
  --bg: #0c0909;
  --bg-2: #120d0d;
  --surface: #181213;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #fbf3ef;
  --text-dim: #b9a9a3;
  /* Lightened from the main site's #86756f, which fails AA on this
     background - the least readable text on a page should not be the
     legal text. */
  --text-mute: #8a969c;
  --accent: #ff4a1c;
  --accent-2: #ffb38a;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 9, 9, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--text); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 32px; height: 32px; display: block; filter: drop-shadow(0 0 10px rgba(255, 74, 28, 0.5)); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: #04212a;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
}
.back {
  font-size: 14px; color: var(--text-dim);
  padding: 8px 13px; border-radius: 9px; border: 1px solid var(--border-2);
}
.back:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }

main { padding: 56px 0 72px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}
h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 42px); line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 14px;
}
.updated { color: var(--text-mute); font-size: 14px; margin: 0 0 8px; }
.summary {
  margin: 26px 0 40px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  color: var(--text-dim); font-size: 15px;
}
.summary b { color: var(--text); font-weight: 600; }

h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.01em;
  margin: 44px 0 12px; padding-top: 22px;
  border-top: 1px solid var(--border);
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-size: 16px; font-weight: 600; margin: 26px 0 8px; color: var(--text); }
p { color: var(--text-dim); margin: 0 0 14px; }
p b, li b { color: var(--text); font-weight: 600; }
ul { color: var(--text-dim); padding-left: 22px; margin: 0 0 14px; }
li { margin: 0 0 9px; }
code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13.5px; color: var(--text);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px;
}
.note {
  margin: 20px 0; padding: 15px 18px;
  border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0;
  background: rgba(255, 74, 28, 0.05); color: var(--text-dim); font-size: 15px;
}

.site-footer { border-top: 1px solid var(--border); padding: 30px 0 48px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between; align-items: center;
}
.site-footer span, .site-footer a { font-size: 13.5px; color: var(--text-mute); }

@media (max-width: 560px) {
  main { padding: 36px 0 52px; }
  .site-header .wrap { height: 58px; }
}
