/* =========================================================
   NoLimits — legal pages (privacy, terms, acceptable use)
   ========================================================= */
:root {
  --neon: #49f264;
  --black: #000;
  --white: #fff;
  --ink: #050505;
  --muted-dark: rgba(5, 5, 5, .55);
  --line: rgba(5, 5, 5, .1);
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Nav */
.lnav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--black); color: var(--white);
}
.lnav__logo {
  font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -.06em; text-decoration: none;
  font-variation-settings: "opsz" 96, "wdth" 100; padding-right: .06em;
  background: linear-gradient(180deg, #f4f3ee 48%, rgba(244, 243, 238, .5) 96%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lnav__back { font-size: 15px; font-weight: 600; text-decoration: none; opacity: .7; transition: opacity .2s; }
.lnav__back:hover { opacity: 1; }

/* Content */
.legal-page { background: var(--white); padding: 72px 20px 96px; }
.legal-container { max-width: 820px; margin: 0 auto; }
.legal-meta { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--neon); color: var(--black); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.legal-title { margin: 0 0 12px; font-size: clamp(40px, 7vw, 72px); line-height: .95; letter-spacing: -.04em; font-weight: 600; }
.legal-effective { margin: 0 0 48px; color: var(--muted-dark); font-size: 14px; }

.legal-body { font-size: 16px; line-height: 1.7; font-weight: 400; color: #2a2b2c; }
.legal-body h2 { margin: 48px 0 14px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; color: var(--ink); scroll-margin-top: 80px; }
.legal-body h3 { margin: 28px 0 10px; font-size: 19px; line-height: 1.25; font-weight: 600; color: var(--ink); scroll-margin-top: 80px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { font-weight: 700; color: var(--ink); }
.legal-body a { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-body .highlight { margin: 0 0 16px; padding: 16px 18px; border-left: 3px solid var(--neon); background: #f5f5f3; border-radius: 0 8px 8px 0; }

.toc { margin: 0 0 40px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; }
.toc-title { margin-bottom: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-dark); }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-body th, .legal-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-body th { background: #f5f5f3; font-weight: 600; color: var(--ink); }

/* Footer */
.lfoot { padding: 32px 20px; background: var(--black); color: rgba(255, 255, 255, .5); font-size: 14px; line-height: 1.5; }
.lfoot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.lfoot__links a { color: var(--white); text-decoration: none; font-weight: 600; }
.lfoot__links a:hover { color: var(--neon); }
.lfoot p { margin: 0; }

@media (max-width: 640px) {
  .legal-page { padding: 48px 16px 72px; }
  .lnav, .lfoot { padding-left: 16px; padding-right: 16px; }
  .toc ol { columns: 1; }
  .legal-body { font-size: 15px; }
  .legal-body h2 { font-size: 22px; }
}

/* Open details still to be filled in */
.legal-body mark.todo { padding: 1px 6px; border-radius: 4px; background: #fff3a8; color: var(--ink); font-weight: 600; }
