:root {
  color-scheme: dark;
  --background: #000;
  --surface: #111;
  --line: #2a2a2a;
  --text: #f5f5f5;
  --muted: #a3a3a3;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
}

a {
  color: inherit;
}

.home {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px;
  text-align: center;
}

.home-logo {
  width: min(320px, 80vw);
  height: auto;
}

.home h1 {
  margin: 8px 0 12px;
  font-size: 1.75rem;
  line-height: 1.25;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.button:hover {
  opacity: 0.85;
}

.button:focus-visible,
.footer a:focus-visible,
.header a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.header {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 0;
}

.header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.legal {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  overflow-wrap: anywhere;
}

.legal h1 {
  margin: 16px 0 8px;
  font-size: 1.875rem;
  line-height: 1.2;
}

.legal h2 {
  margin: 36px 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--text);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
}

.legal blockquote p {
  margin: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 20px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}
