/* Shared styles for the standalone legal pages (/privacy, /cookies, /terms,
   /rights, /entity). Mirrors the look of the former in-page legal modal:
   a white "paper" card on the dark Sunzu background. */

@font-face {
  font-family: 'Ulm Grotesk';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/UlmGrotesk-Medium.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
}

:root {
  --g:   linear-gradient(90deg, #fbb335 0%, #ff274f 46%, #9f22d4 100%);
  --red: #ff274f;
  --ink: #f0ecf8;
  --bg:  #0a0810;
  --ft:  'Ulm Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;
  --fb:  'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  --fm:  'JetBrains Mono','Courier New',monospace;
  --w:   880px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fb);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Header ── */
.lg-hdr { background: #07050e; border-bottom: 1px solid rgba(255,255,255,.08); }
.lg-hdr-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lg-logo img { height: 26px; width: auto; }
.lg-back { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.lg-back:hover { color: #fff; }

/* ── Paper card ── */
.lg-main { flex: 1; width: 100%; max-width: var(--w); margin: 0 auto; padding: 48px 24px 64px; }
.lg-card {
  background: #fff;
  color: #14101e;
  border-radius: 16px;
  padding: 52px 56px 60px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.lg-eyebrow {
  font-family: var(--ft);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9a93ab;
}
.lg-eyebrow a { color: inherit; }
.lg-eyebrow a:hover { color: var(--red); }
.lg-title {
  font-family: var(--ft);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -.02em;
  color: #14101e;
  margin: 10px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e7e3ee;
}

/* ── Document body (matches former .legal-body) ── */
.lg-body { font-family: var(--fb); font-size: 15px; line-height: 1.7; color: #544c63; }
.lg-body h3 {
  font-family: var(--ft);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #14101e;
  margin: 28px 0 8px;
}
.lg-body ul, .lg-body ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}
.lg-body ul { list-style: disc; }
.lg-body ol { list-style: decimal; }
.lg-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(255,39,79,.35);
}
.lg-body p + p { margin-top: 10px; }
.lg-body strong { color: #14101e; }

/* ── Cross-links to the other legal documents ── */
.lg-other {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
}
.lg-other a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.lg-other a:hover { color: #fff; }
.lg-other a[aria-current="page"] {
  background: var(--g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer ── */
.lg-ftr { position: relative; background: #07050e; }
.lg-ftr::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g);
}
.lg-ftr-in { max-width: var(--w); margin: 0 auto; padding: 26px 24px; }
.lg-ftr p { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.5); }
.lg-ftr a { color: rgba(255,255,255,.72); text-decoration: underline; }
.lg-ftr a:hover { color: #fff; }

@media (max-width: 640px) {
  .lg-main { padding: 28px 16px 48px; }
  .lg-card { padding: 34px 24px 40px; border-radius: 14px; }
  .lg-title { font-size: 25px; }
}
