:root {
  --bg: #fbfaf7;
  --text: #172126;
  --muted: #7a8387;
  --line: rgba(23, 33, 38, 0.14);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at center, #ffffff 0%, var(--bg) 72%);
  line-height: 1.55;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 22px 34px;
}

.logo-link { display: inline-flex; text-decoration: none; }
.logo {
  display: block;
  width: min(560px, 86vw);
  height: auto;
}

.footer-nav {
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.separator { color: var(--muted); }

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 22px 34px;
}
.legal-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px 0 20px;
}
.legal-logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto 36px;
}
h1 {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h2 { margin: 34px 0 10px; font-size: 18px; }
p { margin: 0 0 16px; }
a { color: inherit; }
.small { color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .site { padding-top: 30px; }
  .logo { width: min(420px, 92vw); }
  .footer-nav { padding-top: 34px; font-size: 13px; }
  .legal-card { padding-top: 18px; }
}
