/* ── Shared styles for document pages (privacy, support) ──
   Matches the landing page's type + palette, but scrollable. */

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

html {
  background: #0a0a0a;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 88px) clamp(20px, 5vw, 40px) 120px;
}

/* ── Masthead ── */
.doc-head {
  padding-bottom: clamp(28px, 5vh, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: clamp(32px, 6vh, 56px);
}

.doc-home {
  display: inline-block;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.3s ease;
}

.doc-home:hover {
  color: #fff;
}

.doc-coords {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
}

h1 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin-top: clamp(28px, 5vh, 44px);
}

.doc-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 12px;
}

.lede {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 24px;
}

/* ── Sections ── */
section {
  margin-top: clamp(36px, 6vh, 56px);
}

h2 {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}

h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 28px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

p:last-child, ul:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
  margin-bottom: 16px;
}

li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ── Callout ── */
.note {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
  padding: 18px 22px;
  margin: 24px 0;
}

.note p:last-child {
  margin-bottom: 0;
}

/* ── Definition rows (what we collect / FAQ) ── */
.rows {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

.row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.row-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.row p:last-child {
  margin-bottom: 0;
}

/* ── Contact block ── */
.contact {
  margin-top: 20px;
  font-size: 15px;
}

.contact a {
  color: rgba(255, 255, 255, 0.95);
}

/* ── Footer ── */
.doc-foot {
  margin-top: clamp(56px, 9vh, 88px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: baseline;
}

.doc-foot a, .doc-foot span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  border-bottom: none;
}

.doc-foot a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.doc-foot .sig {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.28);
  margin-left: auto;
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .doc-foot .sig { margin-left: 0; width: 100%; }
}
