:root {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: #f6f8fb;
  color: #17202a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 20px;
  padding: 24px;
}

.card {
  box-sizing: border-box;
  width: min(100%, 820px);
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.08);
}

.public-home .card {
  width: min(100%, 560px);
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

h2 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 14px;
  color: #4d5f73;
  line-height: 1.55;
}

nav {
  margin-top: 24px;
}

a {
  color: #0f6b5f;
  font-weight: 700;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.lead {
  font-size: 16px;
}

.back {
  margin-bottom: 24px;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0f1419;
    color: #eef3f8;
  }
  .card {
    background: #151d26;
    border-color: #2c3a49;
    box-shadow: none;
  }
  p {
    color: #b7c4d2;
  }
  a {
    color: #4fd2bd;
  }
}
