:root { color-scheme: light dark; }
body.public-page {
  align-items: center;
  background: #f4f5f8;
  box-sizing: border-box;
  color: #111317;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  margin: 0;
  min-height: 100dvh;
  padding: 24px;
  text-align: center;
}
body.public-home { overflow: hidden; }
body.public-card-page { min-height: 100vh; }
.public-home main,
.public-deep-link main {
  max-width: 520px;
}
.public-card-page main {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(20, 24, 35, 0.12);
  max-width: 420px;
  padding: 32px;
  text-align: center;
}
.brand-icon {
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(5, 63, 33, 0.22);
  display: block;
  height: 88px;
  margin: 0 auto 24px;
  width: 88px;
}
.eyebrow {
  color: #8a9099;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.public-home h1 {
  font-size: 48px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px;
}
.public-deep-link h1 {
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
}
.public-card-page h1 {
  font-size: 28px;
  margin: 0 0 12px;
}
.public-page p {
  color: #626873;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 28px;
}
.public-card-page p {
  font-size: 16px;
  margin: 0 0 24px;
}
.public-small-text {
  color: #8a9099;
  font-size: 13px;
  margin: 18px 0 0;
}
#turnstile-challenge {
  display: flex;
  justify-content: center;
}
.public-button {
  background: #111317;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 700;
  padding: 13px 20px;
  text-decoration: none;
}
.public-home .public-button {
  display: inline-block;
  font-weight: 800;
  padding: 14px 22px;
}
.public-card-page .public-button {
  background: #0a84ff;
}
dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  margin: 0 0 24px;
}
dl div {
  background: #f4f5f8;
  border-radius: 16px;
  padding: 14px 12px;
}
dt {
  color: #7b828d;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 6px;
}
dd {
  color: #111317;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}
@media (prefers-color-scheme: dark) {
  body.public-page { background: #0d0f12; color: #f7f7f8; }
  body.public-home,
  body.public-card-page { background: #111317; color: #f7f8fb; }
  .brand-icon { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34); }
  .public-card-page main { background: #1c1f26; box-shadow: none; }
  .public-page p { color: #a5abb5; }
  .public-home p,
  .public-card-page p { color: #b4bac4; }
  .public-button { background: #f7f7f8; color: #111317; }
  .public-home .public-button { background: white; color: #111317; }
  .public-card-page .public-button { background: #0a84ff; color: white; }
  dl div { background: #262a33; }
  dd { color: #f7f8fb; }
}