:root {
  --theo-background: #FAF8F4;
  --theo-coral: #F0523B;
  --theo-heading: #202524;
  --theo-secondary: #707070;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  background: var(--theo-background);
  color: var(--theo-heading);
  font-family: 'Outfit', system-ui, sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* Centred in the space above the footer; bottom padding lifts it slightly above centre */
main {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0 12vh;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 0 60px;
}

h1 {
  margin: 0 0 24px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}

p {
  max-width: 37.5rem;
  margin: 0;
  color: var(--theo-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

footer {
  padding: 24px 0 40px;
  color: var(--theo-secondary);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .logo { width: 300px; }
  h1 { font-size: 3.25rem; }
  p { font-size: 1.25rem; }
}
