/* Climb Companion — shared site styles */
:root {
  --ink: #1c1b1a;
  --panel: #242321;
  --panel-line: rgba(237,232,222,0.10);
  --cream: #ede8de;
  --cream-dim: rgba(237,232,222,0.62);
  --amber: #e8a33d;
  --amber-strong: #f0b25c;
  --paper: #ffffff;
  --text: #1c1b1a;
  --text-dim: #5b5b58;
  --line: #e7e3da;
  --link: #b5741e;
  --radius: 14px;
  --wrap: 1080px;
  --wrap-narrow: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }

/* ---------- shared header (used on legal pages, light) ---------- */
.site-header {
  background: var(--ink);
  color: var(--cream);
}
.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-header nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-header nav a { color: var(--cream-dim); text-decoration: none; }
.site-header nav a:hover { color: var(--cream); }
.site-header nav a.pill {
  border: 1px solid rgba(237,232,222,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--cream);
}

/* ---------- legal document pages (light) ---------- */
.doc-wrap { max-width: var(--wrap-narrow); margin: 0 auto; padding: 48px 24px 96px; }
.doc-wrap h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc-wrap .subtitle { color: var(--text-dim); font-size: 15px; margin: 0 0 28px; }
.doc-wrap h2 { font-size: 18px; margin: 34px 0 8px; border-top: 1px solid var(--line); padding-top: 22px; }
.doc-wrap h2:first-of-type { border-top: none; padding-top: 0; }
.doc-wrap p { margin: 0 0 14px; font-size: 15.5px; color: #2c2b29; }
.doc-wrap .updated { color: var(--text-dim); font-size: 13px; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 16px; }
.doc-wrap .placeholder { background: #fbe9cf; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
