/* Fonts are self-hosted (SIL Open Font Licence, see fonts/OFL-*.txt).
   Copied from Hazel's @hazel/fonts package; no Google Fonts requests. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("/fonts/prompt-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1e2a5e;
  --klein-blue: #1624a1;
  --platinum: #d8dbe2;
  --white: #ffffff;
  --text: #1e2a5e;
  --muted: #4a5170;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Prompt", var(--font-body);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  background: var(--platinum);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.card {
  width: 100%;
  max-width: 40rem;
  padding: 3rem 2.5rem;
  background: var(--white);
  border-radius: 1rem;
  text-align: center;
}

.logo {
  margin: 0 0 1.25rem;
  line-height: 0;
}

.logo img {
  width: 100%;
  max-width: 26rem;
  height: auto;
}

.lead {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  line-height: 1.3;
  color: var(--navy);
}

.badge {
  display: inline-block;
  margin: 0 0 1.75rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--klein-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.card p:not(.lead):not(.badge) {
  margin: 0 auto 0.75rem;
  max-width: 32rem;
}

a {
  color: var(--klein-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--navy);
}

a:focus-visible {
  outline: 3px solid var(--klein-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 30rem) {
  .card {
    padding: 2rem 1.25rem;
  }
}
