@font-face {
  font-family: "IBM Plex Sans";
  src: url("/_astro/ibm-plex-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/_astro/ibm-plex-sans-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  font-family: "IBM Plex Sans", sans-serif;
  color: #1e2422;
  background: #f7f9f8;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

main {
  display: grid;
  min-height: 100svh;
  padding: 3rem 1.5rem;
  place-items: center;
}

.intro {
  display: grid;
  width: min(100%, 42rem);
  gap: 2rem;
}

.logo {
  display: block;
  width: clamp(7.5rem, 28vw, 10rem);
  height: auto;
}

.copy {
  display: grid;
  gap: 1rem;
}

.copy > * {
  margin: 0;
}

.site-name {
  color: #236d55;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.copy > :last-child {
  max-width: 38rem;
  color: #515957;
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #f7f9f8;
    background: #202624;
  }

  .site-name {
    color: #65c5a4;
  }

  .copy > :last-child {
    color: #d6dcda;
  }
}

@media (max-width: 30rem) {
  main {
    padding: 2rem 1rem;
    place-items: center start;
  }

  .intro {
    gap: 1.5rem;
  }
}
