/* Colors follow the app's design tokens (canvas, text) and the logo's wordmark. */
:root {
  --canvas: #F6F4F1;
  --heading: #674C3B;
  --text: #57534D;
  --text-muted: #6B665F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111312;
    --heading: #FAE7D3;
    --text: #B5B0A9;
    --text-muted: #9C978F;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
}

.logo {
  display: block;
  width: min(72vw, 320px);
  height: auto;
}

h1 {
  margin: 40px 0 8px;
  color: var(--heading);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p {
  margin: 0;
  max-width: 34ch;
  font-size: 1.125rem;
}

.en {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
