/* The landing site's look (landing/src/styles/site.css), cut down to one page. Fonts are
 * self-hosted, so the page makes no third-party requests. */
@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f9f7f2;
  --text: #4f4540;
  --muted: #6f625b;
  --primary: #1d637d;
  --link: #1d637d;
  --link-hover: #174f64;
  --accent: #fdeccf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1b19;
    --text: #f3ece6;
    --muted: #bcaea6;
    --primary: #6cb8d4;
    --link: #8fcbe0;
    --link-hover: #b3dcec;
    --accent: #3d3524;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Nunito",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
main {
  max-width: 34rem;
  text-align: center;
}
.logo {
  display: block;
  margin: 0 auto 1rem;
}
.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
}
h1 {
  margin: 0.75rem 0 0.5rem;
  font-family: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.1;
  color: var(--primary);
}
.lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
}
p {
  color: var(--muted);
}
.lead {
  color: var(--text);
}
a {
  color: var(--link);
  font-weight: 700;
  text-underline-offset: 0.2em;
  /* The address is long: let it wrap on a narrow phone rather than overflow. */
  overflow-wrap: anywhere;
}
a:hover {
  color: var(--link-hover);
}
a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  border-radius: 4px;
}
