:root {
  color: #17191f;
  background: #fafaf8;
  font-family:
    Inter, "SF Pro Display", "SF Pro Text", "Segoe UI Variable",
    "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fafaf8;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgb(255 255 255 / 92%) 0 24%, transparent 65%),
    linear-gradient(145deg, rgb(255 255 255 / 65%), transparent 46%),
    #fafaf8;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.43;
  background-image:
    radial-gradient(circle, rgb(20 22 28 / 10%) 0 0.45px, transparent 0.6px),
    radial-gradient(circle, rgb(224 41 59 / 4%) 0 0.4px, transparent 0.55px),
    radial-gradient(circle, rgb(20 22 28 / 6%) 0 0.35px, transparent 0.55px);
  background-position: 0 0, 4px 5px, 8px 2px;
  background-size: 7px 7px, 11px 11px, 13px 17px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  padding:
    max(2rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
  text-align: center;
}

.identity {
  display: flex;
  width: min(100%, 42rem);
  flex-direction: column;
  align-items: center;
  animation: settle-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.company-icon {
  display: block;
  width: clamp(3.25rem, 8vw, 4rem);
  height: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid rgb(20 22 28 / 4%);
  border-radius: 22%;
  box-shadow:
    0 1px 1px rgb(20 22 28 / 3%),
    0 12px 34px rgb(20 22 28 / 7%);
}

h1 {
  margin: 0;
  color: #14161c;
  font-size: clamp(2.35rem, 7vw, 4rem);
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 1;
}

.tagline {
  margin: clamp(1.15rem, 3vw, 1.5rem) 0 0;
  color: #5d6068;
  font-size: clamp(0.82rem, 3.7vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.6;
}

.contact {
  margin-top: clamp(1.65rem, 4vw, 2.15rem);
  padding: 0.15rem 0 0.22rem;
  border-bottom: 1px solid rgb(224 41 59 / 28%);
  color: #25272e;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.5;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.contact:hover {
  border-color: #e0293b;
  color: #b91f30;
}

.contact:focus-visible {
  border-color: transparent;
  border-radius: 0.2rem;
  outline: 2px solid #e0293b;
  outline-offset: 0.3rem;
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 30rem) {
  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  h1 {
    letter-spacing: -0.045em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity {
    animation: none;
  }

  .contact {
    transition: none;
  }
}

@media (forced-colors: active) {
  body,
  body::before {
    background: Canvas;
  }

  .company-icon {
    box-shadow: none;
  }
}
