*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #000; --text: #fff;
  --muted: rgba(255,255,255,0.38);
  --muted2: rgba(255,255,255,0.18);
  --border: rgba(255,255,255,0.09);
  --ph: #141414;
  --f: "GT Walsheim Medium","GT Walsheim Medium Placeholder","Plus Jakarta Sans",sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--f); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── LEGAL HEADER ── */
.legal-header {
  padding: 140px 48px 80px;
  border-bottom: 1px solid var(--border);
  max-width: 1120px;
  margin: 0 auto;
}
.legal-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .8px;
  text-transform: uppercase; margin-bottom: 32px;
}
.legal-header h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800; line-height: .96; letter-spacing: -2px;
  margin-bottom: 32px;
}
.legal-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.legal-date {
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.legal-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  padding: 3px 10px;
}

/* ── LEGAL BODY ── */
.legal-wrap {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
  padding-bottom: 120px;
}

/* ── TOC ── */
.legal-toc {
  padding: 60px 0 60px 48px;
  position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); overflow-y: auto;
}
.legal-toc h3 {
  font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.legal-toc nav { display: flex; flex-direction: column; gap: 4px; position: static; height: auto; padding: 0; }
.legal-toc nav a {
  font-size: 13px; color: rgba(255,255,255,0.35); font-weight: 600; text-decoration: none;
  padding: 7px 12px; border-radius: 8px; transition: color .15s, background .15s;
  line-height: 1.4;
}
.legal-toc nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.legal-toc nav a.active { color: #fff; background: rgba(255,255,255,0.07); }

/* ── CONTENT ── */
.legal-content {
  padding: 60px 48px 0 60px;
  border-left: 1px solid var(--border);
}

.legal-section { margin-bottom: 72px; }
.legal-section:last-child { margin-bottom: 0; }

.section-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 12px; display: block;
}
.legal-section h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: 15px; color: var(--muted); line-height: 1.75; font-weight: 500;
  margin-bottom: 18px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section p strong {
  color: rgba(255,255,255,0.75); font-weight: 700;
}

.legal-section ul, .legal-section ol {
  margin: 0 0 18px 0; padding-left: 0; list-style: none;
}
.legal-section ul li, .legal-section ol li {
  font-size: 15px; color: var(--muted); line-height: 1.75; font-weight: 500;
  padding: 7px 0 7px 20px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.legal-section ul li:last-child, .legal-section ol li:last-child { border-bottom: none; }
.legal-section ul li::before {
  content: "–"; position: absolute; left: 0; color: rgba(255,255,255,0.18); font-weight: 700;
}
.legal-section ol { counter-reset: list-item; }
.legal-section ol li { counter-increment: list-item; }
.legal-section ol li::before {
  content: counter(list-item, decimal-leading-zero) ".";
  position: absolute; left: 0; font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.2); top: 9px; letter-spacing: .5px;
}

/* sub clause rows */
.clause { display: flex; gap: 20px; margin-bottom: 16px; }
.clause:last-child { margin-bottom: 0; }
.clause-num {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.22);
  flex-shrink: 0; width: 36px; padding-top: 2px; letter-spacing: .2px;
}
.clause-body {
  font-size: 15px; color: var(--muted); line-height: 1.75; font-weight: 500; flex: 1;
}
.clause-body strong { color: rgba(255,255,255,0.75); font-weight: 700; }

/* note block */
.legal-note {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 18px 22px;
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; font-weight: 500;
  margin-top: 28px;
}

/* final clause */
.legal-final {
  margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--border);
}
.legal-final p {
  font-size: 14px; color: rgba(255,255,255,0.3); line-height: 1.8; font-weight: 500;
}

/* ── FOOTER ── */
footer { padding: 28px 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; }
.fcopy { font-size: 13px; color: var(--muted); font-weight: 500; position: absolute; left: 48px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links a.active { color: rgba(255,255,255,0.7); }
.ftg { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s; position: absolute; right: 48px; }
.ftg:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .legal-header { padding: 110px 20px 60px; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .legal-content { padding: 40px 20px 0; border-left: none; }
  footer { padding: 24px 20px; }
  .fcopy { position: static; }
  .ftg { position: static; }
  .footer-links { order: -1; }
}
@media(max-width: 600px) {
  .legal-header h1 { letter-spacing: -1px; }
  footer { flex-direction: column; gap: 16px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .fcopy, .ftg { position: static; }
}
