:root {
  color-scheme: light;
  --text: #171717;
  --muted: #626262;
  --border: #d9d9d9;
  --button: #171717;
  --button-text: #ffffff;
  --background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

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

.page {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 72px 24px 40px;
}

.document {
  width: min(100%, 720px);
  text-align: center;
}

.eyebrow,
.lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 0 0 32px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
  font-size: 1.06rem;
}

ul {
  display: inline-block;
  margin: 0 auto 22px;
  padding-left: 22px;
  text-align: left;
}

li {
  margin: 0 0 12px;
  font-size: 1.06rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.links a,
.language-toggle,
.secondary-link {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  text-decoration: none;
}

.links a,
.language-toggle {
  border: 1px solid var(--button);
  color: var(--button-text);
  background: var(--button);
  cursor: pointer;
}

.secondary-link {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--background);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 42px;
}

@media (max-width: 560px) {
  .page {
    align-items: flex-start;
    padding: 44px 18px 28px;
  }

  .document {
    width: 100%;
  }

  h1 {
    margin-bottom: 26px;
  }

  p,
  li {
    font-size: 1rem;
  }

  .actions,
  .links {
    flex-direction: column;
    align-items: stretch;
  }
}
