/* schedulenerd.com until the app goes live there (SECURITY_AND_DATA_PLAN.md Stage G). */

@font-face {
  font-family: "Nunito Sans";
  font-weight: 900;
  font-display: swap;
  src: url("fonts/nunito-sans-latin-900-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #e8f5f7;
  background-image:
    linear-gradient(to right, rgb(0 106 112 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(0 106 112 / 0.07) 1px, transparent 1px);
  background-size: 56px 40px;
  color: #250147;
  font:
    400 1.0625rem/1.6 "Atkinson Hyperlegible",
    system-ui,
    sans-serif;
  text-align: center;
}

main {
  flex: 1;
  width: min(640px, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

img {
  width: min(320px, 80%);
  height: auto;
}

.badge {
  font:
    500 0.8rem/1 "IBM Plex Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f9cd79;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

h1 {
  margin: 0;
  font:
    900 clamp(2rem, 5vw, 2.8rem)/1.12 "Nunito Sans",
    system-ui,
    sans-serif;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: #006a70;
  text-underline-offset: 0.18em;
}
a:hover {
  color: #250147;
}
:focus-visible {
  outline: 3px solid #00c8cf;
  outline-offset: 3px;
  border-radius: 4px;
}

.button {
  display: inline-block;
  font:
    900 1rem/1 "Nunito Sans",
    system-ui,
    sans-serif;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: #fc5350;
  color: #250147;
  text-decoration: none;
}
.button:hover {
  background: #250147;
  color: #fdfdfd;
}

.small {
  font-size: 0.95rem;
}

footer {
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #68717a;
}
footer a {
  color: inherit;
}
