:root {
  color-scheme: dark;
  --page: #050505;
  --text: rgba(255,255,255,0.88);
  --muted: rgba(255,255,255,0.58);
  --dim: rgba(255,255,255,0.36);
  --line: rgba(255,255,255,0.13);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(20,24,29,0.36), transparent 360px),
    var(--page);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,0.84);
  backdrop-filter: blur(16px);
}

.legal-nav img {
  width: auto;
  height: 26px;
}

.legal-back {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: #fff;
}

.legal-shell {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 130px;
}

.legal-kicker {
  margin: 0 0 22px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Michroma", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.25;
}

.legal-updated {
  margin: 24px 0 72px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.legal-intro {
  margin: 0 0 64px;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.8;
}

.legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1.6;
}

p,
li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.legal-contact {
  color: rgba(255,255,255,0.82);
  text-underline-offset: 4px;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .legal-nav {
    min-height: 76px;
    padding: 0 20px;
  }

  .legal-nav img {
    height: 22px;
  }

  .legal-shell {
    width: min(100% - 40px, 760px);
    padding: 72px 0 96px;
  }

  .legal-updated {
    margin-bottom: 52px;
  }

  .legal-intro {
    font-size: 16px;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 40px, 1180px);
  }
}
