/* ===========================================================================
   Liefwork — Privacy Policy  ·  "living dark", long-form legal register
   Shares the canonical Brand Identity palette + atmosphere with the waitlist
   splash (Waitlist/styles.css), retuned for a readable prose column.
   Source of record: Draft — Privacy Policy (Legal & Admin). status: draft.
   =========================================================================== */

:root {
  /* — Brand Identity palette (coral-led, NOT green) — */
  --void:       #080A0C;
  --void-2:     #0a0e12;
  --deep-slate: #2A3540;
  --silver:     #A8B4BC;
  --amber:      #E8B96A;
  --periwinkle: #8499B8;
  --star:       #EEF2F8;
  --peach:      #D4927A;
  --teal:       #5ECFBE;

  --ink:       var(--star);
  --ink-soft:  var(--silver);
  --ink-faint: var(--periwinkle);
  --line:      rgba(168, 180, 188, 0.14);
  --line-soft: rgba(168, 180, 188, 0.07);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Menlo", monospace;

  --maxw: 1180px;
  --docw: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ── atmosphere + grain (echoes the waitlist) ── */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(232, 185, 106, 0.08), transparent 55%),
    radial-gradient(100% 70% at 50% 116%, rgba(212, 146, 122, 0.10), transparent 60%),
    linear-gradient(to top, rgba(212, 146, 122, 0.08) 0%, transparent 48%),
    linear-gradient(180deg, var(--void) 0%, var(--void-2) 60%, #06080a 100%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ── topbar ── */
.topbar {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px 32px 0;
  display: flex; align-items: baseline; justify-content: space-between;
}
.wordmark {
  font-family: var(--font-mono);
  font-size: 1.18rem; letter-spacing: 0.02em; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.wordmark-dot { color: var(--amber); }
.topbar-status {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}

/* ── document column ── */
.doc {
  position: relative; z-index: 1;
  max-width: var(--docw); margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) 32px clamp(48px, 8vh, 96px);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); font-weight: 500; margin-bottom: 18px;
}
.doc-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.02;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px;
}
.doc-meta {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-faint);
  margin-bottom: 40px;
}

/* ── the "short version" callout ── */
.callout {
  border: 1px solid rgba(94, 207, 190, 0.30);
  background: rgba(94, 207, 190, 0.06);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 48px;
}
.callout p { color: var(--ink-soft); font-size: 1.02rem; }
.callout strong { color: var(--star); font-weight: 600; }

/* ── body prose ── */
.doc-body h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.18;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 44px 0 14px; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.doc-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-body p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 16px; max-width: 64ch; }
.doc-body strong { color: var(--star); font-weight: 600; }
.doc-body em { font-style: italic; color: var(--ink); }
.doc-body a { color: var(--amber); text-underline-offset: 2px; }
.doc-body a:hover { color: var(--star); }
.doc-body ul { list-style: none; margin: 0 0 18px; padding: 0; max-width: 64ch; }
.doc-body li {
  position: relative; color: var(--ink-soft); font-size: 1.02rem;
  padding-left: 22px; margin-bottom: 10px;
}
.doc-body li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 7px rgba(232, 185, 106, 0.7);
}
.doc-body li strong { color: var(--star); }

/* ── table ── */
.table-wrap { overflow-x: auto; margin: 4px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 520px; }
thead th {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line);
}
tbody td {
  color: var(--ink-soft); padding: 14px; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
tbody td strong { color: var(--star); font-weight: 600; }

/* ── TBD placeholders — amber-flagged so no gap ships unnoticed ── */
.tbd {
  color: var(--amber); font-weight: 600;
  background: rgba(232, 185, 106, 0.10);
  border-bottom: 1px dashed rgba(232, 185, 106, 0.6);
  padding: 1px 4px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.92em;
}

/* ── back link + footer ── */
.doc-back { margin-top: 56px; }
.doc-back a { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink-faint); text-decoration: none; }
.doc-back a:hover { color: var(--amber); }

.site-foot {
  max-width: var(--maxw); margin: 0 auto;
  padding: 34px 32px 48px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-faint);
}
.foot-mark { font-size: 1.0rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--ink-faint); text-decoration: none; }
.foot-links a:hover { color: var(--amber); }

@media (max-width: 480px) {
  .topbar, .doc, .site-foot { padding-left: 22px; padding-right: 22px; }
  .topbar-status { display: none; }
}
