:root {
  --bg: #060606; --surface: #0b0b0b; --elevated: #161616;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #d8d5d0; --text2: #9c9994; --text3: #6b6864; --green: #1fad80;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-hdr {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 44px);
  background: rgba(6,6,6,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-hdr img { height: 22px; width: auto; display: block; }
.legal-hdr .back { font-size: 13px; font-weight: 500; color: var(--text2); }
.legal-hdr .back:hover { color: var(--text); text-decoration: none; }

main { max-width: 760px; margin: 0 auto; padding: 52px 20px 60px; }
h1 { font-size: clamp(26px, 4.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: #fff; margin-bottom: 6px; text-wrap: balance; }
.meta { color: var(--text2); font-size: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 38px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; font-weight: 600; color: #fff; margin: 18px 0 6px; }
p, li { font-size: 15.5px; margin-bottom: 10px; text-wrap: pretty; }
ul { padding-left: 22px; margin-bottom: 10px; }
strong { color: #fff; font-weight: 600; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: #fff; font-weight: 600; }

footer { max-width: 760px; margin: 40px auto 0; color: var(--text3); font-size: 13px; border-top: 1px solid var(--line); padding: 22px 20px 48px; }
footer a { color: var(--text2); }
