/* Shared stylesheet for /privacy and /terms — same brand tokens as index.html,
   toned down for long-form reading. Legal content itself is off-limits to
   restyle-as-rewrite: see README.md Legal pages section before editing these pages. */

:root {
  --ink: #0B0B0D;
  --surface: #15161A;
  --surface-raised: #1F2024;
  --paper: #F2F2F4;
  --soft: #A1A1AA;
  --mute: #8A8A93;
  --warn: #F0B429;
  --teal: #00E5A0;
  --teal-bright: #1AF5B5;
  --teal-dim: #00B87D;
  --line: rgba(255,255,255,0.10);
  --line-faint: rgba(255,255,255,0.05);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(0,229,160,0.30); color: var(--paper); }

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 24px 24px;
}
@media (min-width: 768px) { .page { padding: 36px 56px 32px; } }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}
.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.eyebrow .sep { width: 4px; height: 4px; background: var(--mute); border-radius: 50%; opacity: 0.5; }
.vmark {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--teal);
  text-decoration: none;
}

main.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 0 80px;
}

.doc-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--paper);
}

.doc-meta {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
}
.doc-meta p { margin-top: 2px; }

.doc-intro {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--soft);
}

.callout {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 24px;
}
.callout .callout-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 8px;
}
.callout.warn .callout-title { color: var(--warn); }
.callout p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--soft);
}

h2.section {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-top: 40px;
  margin-bottom: 12px;
}

h3.subsection {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
  margin-top: 22px;
  margin-bottom: 8px;
}

main.doc p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--soft);
  max-width: 68ch;
}
main.doc p + p { margin-top: 14px; }

main.doc ul {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 0;
  list-style: none;
}
main.doc ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft);
  max-width: 66ch;
  margin-bottom: 8px;
}
main.doc ul li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--mute);
}

main.doc a {
  color: var(--teal-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,160,0.3);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  main.doc a:hover { color: var(--teal); border-color: var(--teal); }
}
main.doc a:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }

.cross-link {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-faint);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cross-link a { border-bottom: 1px solid var(--line); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0 6px;
  border-top: 1px solid var(--line-faint);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.social { display: flex; gap: 18px; }
.social a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .social a:hover { color: var(--teal); border-color: var(--teal); }
}
.social a:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
