:root {
  --bg:       #080a0f;
  --bg2:      #0d1018;
  --bg3:      #111420;
  --surface:  #141824;
  --border:   #1e2436;
  --border2:  #252d42;
  --text:     #dde1f0;
  --text2:    #7a82a0;
  --text3:    #3d4560;
  --accent:   #f52f55;
  --accent2:  #d91f42;
  --glow:     rgba(245,47,85,.18);
  --green:    #22c98a;
  --amber:    #f59e0b;
  --purple:   #8b5cf6;
  --cyan:     #06b6d4;
}

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

html { scroll-behavior: smooth; }

/* Deliberately no grid/noise overlay here (unlike landing.html) -- these are
   long-form reading pages, not a marketing hero, and that decorative
   texture fights sustained reading rather than supporting it. */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── LOGO (shared with landing.html) ── */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.logo-text span { color: var(--accent); }

/* ── TOP NAV ── */
.legal-nav {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-nav .back-link {
  color: var(--text2);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}
.legal-nav .back-link:hover { color: var(--text); }

/* ── PAGE HEADER ── */
.legal-header { max-width: 720px; margin: 0 auto; padding: 56px 24px 0; }
.legal-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.legal-meta { color: var(--text3); font-size: 13px; }

/* ── DISCLAIMER BANNER ── */
.disclaimer-banner {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 18px 24px 18px 20px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.disclaimer-banner .icon { color: var(--amber); font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.disclaimer-banner p { color: var(--text2); font-size: 13.5px; line-height: 1.65; }
.disclaimer-banner strong { color: var(--text); }

/* ── TABLE OF CONTENTS ── */
.legal-toc {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
}
.legal-toc div { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.legal-toc ol { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.legal-toc a { color: var(--text2); font-size: 13.5px; text-decoration: none; transition: color .15s; }
.legal-toc a:hover { color: var(--accent); }

/* ── BODY COPY ── */
.legal-body { max-width: 720px; margin: 0 auto; padding: 8px 24px 88px; }
.legal-body h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 21px;
  margin: 44px 0 14px;
  color: var(--text);
  scroll-margin-top: 24px;
}
.legal-body h2:first-child { margin-top: 8px; }
.legal-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 26px 0 10px;
  color: var(--text);
}
.legal-body p, .legal-body li { color: var(--text2); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--accent); }
.legal-body ul, .legal-body ol.body-list { padding-left: 22px; margin-bottom: 14px; }
.legal-body .callout {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 18px 0;
}
.legal-body .callout p:last-child { margin-bottom: 0; }

/* ── FOOTER (shared with landing.html) ── */
footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--text3); font-size: 13px; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 13px; color: var(--text3); }

@media (max-width: 640px) {
  .legal-header h1 { font-size: 27px; }
  .legal-toc ol { grid-template-columns: 1fr; }
}
