@font-face {
  font-family: "DinaRemasterII";
  src: url("/fonts/DinaRemasterII.ttc");
  font-weight: 400 900;
  font-display: block;
}

:root {
  color-scheme: light;

  --text: #17212b;
  --green: #16804a;
  --page-gutter: clamp(18px, 2.2vw, 34px);
  --launch-label-size: 144px;
  --launch-arrow-size: 60px;
  --launch-height: 56px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;

  display: grid;
  grid-template-rows: auto 1fr auto;

  background: #ffffff;
  color: var(--text);

  font-family:
    "DinaRemasterII", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav,
.hero,
.site-note {
  width: min(calc(100% - (var(--page-gutter) * 2)), 1440px);
  margin-inline: auto;
}

.site-nav {
  position: relative;
  z-index: 3;

  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;

  color: #7a8881;
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 1;

  min-height: 0;

  display: grid;
  place-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;

  width: min(100%, 1120px);
  padding: clamp(26px, 4vh, 52px) 0 clamp(42px, 8vh, 92px);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  transform: translateY(clamp(12px, 3vh, 34px));
}

.hero-copy::after {
  width: calc(var(--launch-label-size) + var(--launch-arrow-size));
  min-height: var(--launch-height);
  margin-top: clamp(36px, 5.5vh, 66px);

  content: "";
}

h1 {
  margin: 0;

  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
}

.launch-button {
  position: fixed;
  z-index: 4;
  top: 75svh;
  left: 50%;

  width: calc(var(--launch-label-size) + var(--launch-arrow-size));

  display: inline-flex;
  overflow: hidden;

  border-radius: 16px;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  box-shadow: 0 12px 30px rgb(23 33 43 / 0.08);

  transform: translate(-50%, -50%);
}

.launch-label,
.launch-arrow {
  min-height: var(--launch-height);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.launch-label {
  z-index: 1;

  width: var(--launch-label-size);
  flex: 0 0 var(--launch-label-size);
  padding: 0 26px;

  background: var(--text);

  white-space: nowrap;
}

.launch-arrow {
  z-index: 2;

  width: var(--launch-arrow-size);
  flex: 0 0 var(--launch-arrow-size);

  background: var(--green);

  font-size: 30px;
  font-weight: 300;
}

.launch-arrow-icon {
  display: inline-flex;

  animation: launch-arrow-prompt 1.8s ease-in-out infinite;
}

.launch-button:is(:hover, :focus-visible) .launch-arrow {
  transform: translateX(calc(0px - var(--launch-label-size)));
}

.launch-button:is(:hover, :focus-visible) .launch-arrow-icon {
  animation: none;
}

.launch-button:is(:hover, :focus-visible) .launch-label {
  transform: translateX(var(--launch-arrow-size));
}

.launch-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@keyframes launch-arrow-prompt {
  0%,
  58%,
  86%,
  100% {
    transform: translateX(0);
  }

  72% {
    transform: translateX(6px);
  }
}

.market-visual {
  position: fixed;
  z-index: 0;
  inset: 0;

  width: 100vw;
  height: 100svh;
  object-fit: cover;
  object-position: center;

  transform: scale(1.08);

  pointer-events: none;
  user-select: none;
}

.site-note {
  position: relative;
  z-index: 3;

  padding-right: clamp(0px, 46vw, 700px);
  padding-bottom: clamp(28px, 3.2vh, 40px);

  color: #5f6d66;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 20px;
    --launch-label-size: 132px;
    --launch-arrow-size: 56px;
    --launch-height: 54px;
  }

  .site-nav {
    min-height: 68px;

    font-size: 11px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .nav-meta {
    gap: 10px;
  }

  .hero-copy {
    padding: clamp(22px, 3vh, 40px) 0 clamp(36px, 7vh, 72px);

    transform: translateY(clamp(6px, 1.5vh, 18px));
  }

  h1 {
    font-size: clamp(60px, 14vw, 92px);
    line-height: 0.95;
  }

  h1 span {
    display: inline;
  }

  .launch-button {
    border-radius: 14px;

    font-size: 13px;
  }

  .hero-copy::after {
    margin-top: clamp(32px, 5vh, 54px);
  }

  .launch-label {
    padding: 0 22px;
  }

  .market-visual {
    object-position: 54% center;

    transform: scale(1.14);
  }

  .site-note {
    max-width: 580px;
    padding-right: 28vw;
    padding-bottom: 28px;

    font-size: 11px;
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 18px;
  }

  .site-nav {
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .nav-meta > span:first-child {
    display: none;
  }

  .hero-copy {
    padding: 20px 0 clamp(32px, 6vh, 58px);

    transform: none;
  }

  h1 {
    font-size: clamp(54px, 13.6vw, 74px);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .market-visual {
    object-position: 56% center;

    transform: scale(1.2);
  }

  .site-note {
    padding-right: 0;
    padding-bottom: 24px;

    font-size: 10px;
  }
}

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

  .launch-arrow-icon {
    animation: none;
  }
}
