@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque_700Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Figtree";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Figtree_400Regular.ttf") format("truetype");
}

:root {
  --paper: #F3F6F1;
  --ink: #14261F;
  --muted: #55665D;
  --laurel: #1F5C45;
  --rule: #C9D4CB;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1714;
    --ink: #E4ECE6;
    --muted: #9AAAA1;
    --laurel: #7FCFAA;
    --rule: #33443C;
  }
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vh, 72px) 24px;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

main {
  width: 100%;
  max-width: 34rem;
  display: grid;
  justify-items: center;
  text-align: center;
}

.mark {
  width: clamp(152px, 36vw, 248px);
  height: auto;
  color: var(--laurel);
}

.laurel {
  fill: currentColor;
}

.wordmark {
  margin: 28px 0 0;
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  margin: 20px 0 0;
  padding-top: 20px;
  width: 100%;
  border-top: 1px solid var(--rule);
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw + 1.5rem, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.tagline {
  margin: 20px 0 0;
  max-width: 28rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.note {
  margin: 10px 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .wordmark {
    margin-top: 22px;
  }
}
