/* Legal pages (privacy, data deletion, legal notice) in the homepage's look.
   Tokens mirror the Claude Design export (design/lia-website.export.html); fonts come from
   /assets/site/fonts.css, which tools/build_site.py extracts from the same export. */
:root {
  --bg: #0B0B10;
  --ink: #F2F1EC;
  --ink-2: #D8D6CE;
  --ink-3: #93928D;
  --s1: rgba(250, 250, 248, 0.04);
  --s2: rgba(250, 250, 248, 0.07);
  --s3: rgba(250, 250, 248, 0.10);
  --ring: rgba(250, 250, 248, 0.13);
  --panel-shadow: inset 0 1px 0 rgba(250, 250, 248, 0.08), 0 0 0 1px rgba(250, 250, 248, 0.11), 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --brand: #10B981;
  --brand-light: #34D399;
  --brand-deep: #0EA371;
  --creator: #8B5CF6;
  --fh: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --fb: 'DM Sans', system-ui, -apple-system, sans-serif;
  --t0: 0.875rem;
  --r-panel: 16px;
  --r-ctl: 10px;
}

html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  min-height: 100vh;
  font-family: var(--fb);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(90% 62% at 50% 0%, #19162C 0%, var(--bg) 72%) no-repeat, var(--bg);
}
a { color: inherit; }
a:hover { color: var(--ink); }

.wrap { width: min(1216px, calc(100% - 48px)); margin: 0 auto; }

/* Nav */
.nav { padding: 20px 0; }
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: var(--ink); }
.logo svg { display: block; width: 22px; height: 22px; }
.word { font-family: var(--fh); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px; border-radius: 8px;
  font-family: var(--fb); font-weight: 600; font-size: var(--t0); line-height: 1;
  text-decoration: none; white-space: nowrap;
  background: linear-gradient(to top, var(--brand-deep), var(--brand)); color: #04120C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(16, 185, 129, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.btn:hover { background: linear-gradient(to top, var(--brand), var(--brand-light)); color: #04120C; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Document */
.doc {
  position: relative;
  box-sizing: border-box;
  width: min(860px, calc(100% - 48px));
  margin: 24px auto 72px;
  padding: 48px 56px;
  border-radius: var(--r-panel);
  background: linear-gradient(rgba(250, 250, 248, 0.065), rgba(250, 250, 248, 0.035));
  box-shadow: var(--panel-shadow);
}
.doc::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 250, 248, 0.28) 50%, transparent);
}
.doc .back-link {
  display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0 8px;
  color: var(--ink-3); font-size: var(--t0); text-decoration: none;
}
.doc .back-link:hover { color: var(--ink); }
.doc h1 {
  margin: 0 0 8px;
  font-family: var(--fh); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance;
}
.doc .doc-meta { margin: 0 0 36px; font-size: var(--t0); color: var(--ink-3); }
.doc h2 {
  margin: 40px 0 12px;
  font-family: var(--fh); font-weight: 600; font-size: 1.25rem; line-height: 1.3;
  letter-spacing: -0.015em; color: var(--ink);
}
.doc h3 { margin: 28px 0 8px; font-family: var(--fh); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.doc p, .doc li { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--brand-light); text-underline-offset: 3px; }
.doc a:hover { color: var(--ink); }

.doc table {
  width: 100%; margin: 16px 0; border-collapse: collapse; font-size: var(--t0);
  display: block; overflow-x: auto;
}
.doc th, .doc td { padding: 10px 12px; text-align: left; vertical-align: top; box-shadow: inset 0 -1px 0 var(--ring); }
.doc th { font-family: var(--fh); font-weight: 600; color: var(--ink); background: var(--s2); }
.doc td { color: var(--ink-2); }

.contact-card {
  margin: 20px 0 0; padding: 20px 24px; border-radius: 12px;
  background: var(--s1); box-shadow: 0 0 0 1px var(--ring);
}
.contact-card p { margin: 4px 0; }

/* Footer: same as the homepage */
.foot { padding: 32px 0 40px; background: rgba(250, 250, 248, 0.03); box-shadow: inset 0 1px 0 rgba(250, 250, 248, 0.08); }
.footrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footlinks { display: flex; gap: 8px; flex-wrap: wrap; }
.footlinks a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 10px; border-radius: 8px;
  color: var(--ink-3); text-decoration: none; font-size: var(--t0);
}
.footlinks a:hover { color: var(--ink); background: var(--s2); }
.copy { color: var(--ink-3); font-size: 0.8125rem; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 12px 0; }
  .doc { width: calc(100% - 32px); margin: 8px auto 48px; padding: 28px 20px; border-radius: 14px; }
  .footrow { flex-direction: column; align-items: flex-start; }
}
