@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/vzen-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #080807;
  --foreground: #f2f1ed;
  --page-x: clamp(1.5rem, 3.35vw, 4rem);
  --page-y: clamp(1.5rem, 3.2vw, 3.5rem);
  background: var(--background);
  color: var(--foreground);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
}

.home {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    max(var(--page-y), env(safe-area-inset-top))
    max(var(--page-x), env(safe-area-inset-right))
    max(var(--page-y), env(safe-area-inset-bottom))
    max(var(--page-x), env(safe-area-inset-left));
}

.wordmark {
  grid-column: 1 / 4;
  grid-row: 1;
  width: clamp(7rem, 9.2vw, 9.5rem);
  height: auto;
  display: block;
}

.claim {
  grid-column: 1 / 12;
  grid-row: 2;
  align-self: end;
  max-width: 17em;
  margin: 0 0 clamp(5rem, 14vh, 10rem);
  font-size: clamp(3.5rem, 5.25vw, 6.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.claim__line {
  display: block;
}

.email-action {
  grid-column: 12;
  grid-row: 3;
  justify-self: end;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  margin: -12px -12px -12px 0;
  color: var(--foreground);
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.email-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.email-action:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.email-action:focus-visible {
  opacity: 1;
  outline: 1px solid var(--foreground);
  outline-offset: 4px;
}

@media (max-width: 47.99rem) {
  .home {
    grid-template-columns: 1fr;
  }

  .wordmark,
  .claim,
  .email-action {
    grid-column: 1;
  }

  .wordmark {
    width: clamp(6.5rem, 30vw, 7.5rem);
  }

  .claim {
    max-width: 100%;
    margin-bottom: clamp(4.5rem, 13vh, 7rem);
    font-size: clamp(2.6rem, 11.5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.048em;
    text-wrap: pretty;
  }

  .claim__line {
    display: inline;
  }

  .claim__line + .claim__line::before {
    content: " ";
  }

  .email-action {
    justify-self: end;
  }
}

@media (max-height: 36rem) {
  .claim {
    margin-bottom: clamp(2.5rem, 8vh, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-action {
    transition: none;
  }

  .email-action:hover {
    transform: none;
  }
}
