:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8f8f8f;
  --line: #1b1b1b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 32px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transform: translateY(-2vh);
}

.logo {
  width: 74px;
  height: 74px;
  display: block;
}

.wordmark {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 34px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: center;
  padding-bottom: 4px;
}

.footer a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: color 140ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--fg);
}

.legal-page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 70px;
}

.legal-brand .logo {
  width: 34px;
  height: 34px;
}

.legal-brand span {
  font-size: 13px;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
}

h1 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 42px;
  letter-spacing: 0.04em;
}

.legal-block {
  margin-bottom: 34px;
}

.legal-block h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.legal-block p {
  margin: 0;
  color: #dedede;
  font-size: 15px;
  line-height: 1.7;
}

.legal-block a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--fg);
}

@media (max-width: 640px) {
  .site-shell {
    padding: 24px 18px;
  }

  .brand {
    gap: 22px;
  }

  .logo {
    width: 62px;
    height: 62px;
  }

  .wordmark {
    font-size: 18px;
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }

  .legal-page {
    width: min(100% - 36px, 760px);
    padding-top: 36px;
  }

  .legal-brand {
    margin-bottom: 50px;
  }
}