:root {
  --ink: #101417;
  --muted: #58666c;
  --paper: #f2f4f3;
  --white: #fff;
  --line: #d9dfde;
  --blue: #073d5c;
  --cyan: #20a6c7;
  --signal: #f2a000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }

.legal-header { position: sticky; z-index: 20; top: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 64px); color: var(--white); background: rgba(10, 18, 23, .96); border-bottom: 1px solid rgba(255,255,255,.12); }
.legal-brand { display: block; width: 92px; }
.legal-brand img { display: block; width: 100%; filter: brightness(0) invert(1); }
.back-link { padding-bottom: 4px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--cyan); }

.legal-hero { min-height: 430px; display: grid; align-items: end; padding: 96px 20px 72px; color: var(--white); background: #0c171d; }
.legal-hero > div { width: min(1080px, 100%); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; }
h1 { max-width: 940px; margin: 0; font-size: clamp(44px, 7vw, 82px); line-height: 1; font-weight: 600; }
.lead { max-width: 780px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: 18px; }

.terms { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 84px 0 110px; }
.version { margin: 0 0 42px; color: var(--muted); font-size: 12px; font-weight: 700; }
.terms section { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.45fr); column-gap: 70px; padding: 38px 0; border-top: 1px solid var(--line); }
.terms h2 { grid-row: 1 / span 4; margin: 0; font-size: 22px; line-height: 1.25; font-weight: 650; }
.terms h2 span { display: block; margin-bottom: 24px; color: var(--cyan); font-size: 10px; font-weight: 850; }
.terms p { grid-column: 2; margin: 0 0 16px; color: #344249; font-size: 15px; }
.terms p:last-child { margin-bottom: 0; }

.legal-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px clamp(20px, 4vw, 64px); color: var(--white); background: var(--ink); }
.legal-footer img { width: 180px; filter: brightness(0) invert(1); }
.legal-footer div { display: flex; flex-wrap: wrap; gap: 22px; }
.legal-footer a { color: rgba(255,255,255,.68); font-size: 12px; text-decoration: none; }

@media (max-width: 720px) {
  .legal-hero { min-height: 400px; padding-bottom: 54px; }
  h1 { font-size: 46px; }
  .lead { font-size: 16px; }
  .terms { width: min(100% - 32px, 1080px); padding: 64px 0 80px; }
  .terms section { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .terms h2 { grid-row: auto; }
  .terms h2 span { margin-bottom: 14px; }
  .terms p { grid-column: 1; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}
