@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/outfit-700.woff2') format('woff2'); }

* { box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #7C6FF7;
  --table-bg: #f7f7f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161a;
    --text: #ececec;
    --text-muted: #9a9a9a;
    --border: #2c2c32;
    --table-bg: #1e1e24;
  }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
}

.legal-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-header a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
}

.legal-header img {
  width: 22px;
  height: 22px;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 100px;
  line-height: 1.65;
  font-size: 15px;
}

.legal-wrap h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 24px 0 8px;
  line-height: 1.25;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 24px;
}

.legal-wrap h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.legal-wrap h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal-wrap p {
  margin: 0 0 14px;
  color: var(--text);
}

.legal-wrap ul, .legal-wrap ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-wrap li {
  margin-bottom: 6px;
}

.legal-wrap strong {
  font-weight: 600;
}

.legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}

.legal-wrap th, .legal-wrap td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}

.legal-wrap th {
  background: var(--table-bg);
  font-weight: 600;
}

.legal-wrap a {
  color: var(--accent);
  text-decoration: none;
}

.legal-wrap a:hover {
  text-decoration: underline;
}

.legal-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
  color: var(--text-muted);
  font-size: 13px;
}
