:root {
  --background: #000000;
  --white: #ffffff;
  --accent: #99968c;
  --page-padding: 60px;
  --transition: 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

::selection {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.intro-test {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: var(--background);
  cursor: pointer;
}

.intro-test.is-dismissed {
  display: none;
}

.intro-test[hidden] {
  display: none;
}

.intro-animation {
  width: min(400px, 70vw);
  aspect-ratio: 1;
  opacity: 0;
  transition: opacity 1300ms ease;
}

.intro-test.is-visible .intro-animation {
  opacity: 1;
}

.intro-animation svg {
  overflow: visible !important;
}

.page {
  min-height: 100vh;
  padding: var(--page-padding);
}

.site-header {
  min-height: 39px;
}

.logo {
  display: block;
  width: 90px;
  height: auto;
}

.motion-ready .logo {
  opacity: 0;
  transition: opacity 300ms ease;
}

.hero {
  margin-top: 121px;
}

.hero-title {
  max-width: 780px;
  margin: 0;
  font-size: 28.6px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.02em;
}

.motion-ready .hero-title,
.motion-ready .cta {
  opacity: 0;
  transform: translateY(8px);
}

.motion-ready .hero-title {
  transition:
    opacity 600ms ease 100ms,
    transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1) 100ms;
}

.motion-ready .cta {
  transition:
    color var(--transition),
    opacity 600ms ease 230ms,
    transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1) 230ms;
}

.motion-ready.is-content-visible .logo,
.motion-ready.is-content-visible .hero-title,
.motion-ready.is-content-visible .cta {
  opacity: 1;
  transform: none;
}

.hero-line {
  display: block;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 90px;
  color: var(--accent);
  font-size: 23.5px;
  line-height: 1.2;
  text-decoration: none;
  transition: color var(--transition);
}

.arrow {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.arrow svg {
  display: block;
  width: 42px;
  height: auto;
}

.cta:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    color: var(--white);
  }

  .cta:hover .arrow {
    transform: translateX(8px);
  }

  .cta.is-clicked {
    color: var(--accent);
  }

  .cta.is-clicked .arrow {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .arrow {
    transition: none;
  }

  .intro-test {
    display: none;
  }

  .intro-animation {
    transition: none;
  }

  .motion-ready .logo,
  .motion-ready .hero-title,
  .motion-ready .cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero-line {
    display: inline;
  }
}

@media (max-width: 600px) {
  :root {
    --page-padding: 20px;
  }

  .site-header {
    min-height: 32px;
  }

  .page {
    padding-top: 32px;
  }

  .logo {
    width: 66px;
  }

  .hero {
    margin-top: 100px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(18px, 4.6vw, 20px);
    line-height: 1.6;
    letter-spacing: -0.02em;
  }

  .cta {
    gap: 7px;
    margin-top: 68px;
    font-size: 16px;
    white-space: nowrap;
  }

  .arrow svg {
    width: 31px;
  }
}
