:root {
  --ink: #12181d;
  --muted: #5f6d76;
  --line: #dfe5e8;
  --accent: #0a78ff;
  --paper: #fff;
  --bg: #eef2f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

main {
  width: min(920px, calc(100% - 40px));
  margin: 48px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(17, 25, 31, 0.09);
}

.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid #2a3740;
  background: #12191f;
  color: #fff;
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-header-mark img {
  display: block;
  width: 70px;
  height: auto;
}

section {
  padding: clamp(32px, 6vw, 70px);
}

h1 {
  margin: 0 0 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 {
  margin: 38px 0 12px;
  color: #1d2a33;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

ul {
  padding-left: 21px;
}

strong {
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #005fcf;
}

.legal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 28px max(20px, calc((100vw - 920px) / 2));
  background: #0e151a;
}

.legal-footer img {
  display: block;
  width: 500px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  main {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  section {
    padding: 38px 22px 60px;
  }
}
