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

:root {
  color-scheme: light;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #202020;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.home {
  position: relative;
}

.home main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 40px 24px 64px;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5.5vh, 56px);
}

.field {
  display: block;
  width: clamp(240px, 72vw, 336px);
  max-width: 100%;
  height: auto;
  overflow: visible;
  fill: #202020;
  touch-action: pan-y;
}

.accent {
  fill: #c56b3d;
}

.home h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

::selection {
  color: #202020;
  background: #f3e0d5;
}

.home-footer {
  position: absolute;
  inset: auto 0 16px;
  text-align: center;
}

.home-footer a {
  display: inline-block;
  padding: 10px 14px;
  color: #707070;
  font-size: 12px;
  line-height: 24px;
  text-decoration: none;
}

.home-footer a:hover {
  color: #202020;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid #c56b3d;
  outline-offset: 5px;
}

@media (max-height: 500px) and (min-width: 600px) {
  .home main {
    padding-block: 28px 68px;
  }

  .identity {
    gap: 24px;
  }

  .field {
    width: 220px;
  }

  .home h1 {
    font-size: 28px;
  }
}
