.public-page {
  box-sizing: border-box;
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: clamp(2rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2rem);
  font-family: "DM Sans", system-ui, sans-serif;
  color: #f4f4f6;
}

body:has(.public-page) {
  margin: 0;
  background: #141416;
  color-scheme: dark;
}

.public-page-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.public-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.public-page h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.public-page p {
  max-width: 64ch;
  margin: 0 0 1.25rem;
  color: #b8b8c0;
  line-height: 1.65;
}

.public-page section {
  border-top: 1px solid #3b3b40;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.public-page-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 0.75rem;
  background: #9a3f28;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.public-page-action:hover { background: #a6472f; }
.public-page a:focus-visible { outline: 2px solid #ec9e84; outline-offset: 4px; }
