@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
}

:root {
  --bg: #f6f7f9;
  --fg: #172b45;
  --muted: #556174;
  --accent: #d4f578;
  --rule: #5f7a12;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d131c;
    --fg: #f1f3f6;
    --muted: #9ba7b8;
    --rule: #d4f578;
  }
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--fg);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { text-align: center; max-width: 36rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 0.375rem;
  background: var(--accent);
  color: #172b45;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 16vw, 7rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.lede {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.125rem);
  line-height: 1.6;
}

.rule {
  display: block;
  width: 3rem;
  height: 3px;
  margin: 2rem auto 0;
  border-radius: 2px;
  background: var(--rule);
}
