:root {
  --color-bg: #070708;
  --color-ink: #e8e6e1;
  --color-dim: #6e6a64;
  --color-line: #1c1c1f;
  --color-acc: #c8f54a;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: 16px/1.4 var(--font-sans);
}

.land {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(900px 700px at 72% 28%, #1a1c20 0%, transparent 58%),
    radial-gradient(700px 500px at 18% 80%, #121316 0%, transparent 60%),
    linear-gradient(165deg, #141618 0%, #070708 42%, #0c0d10 100%);
  color: #e8e6e1;
  font-family: var(--font-sans);
}

.land::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
}

.land-spine {
  position: absolute;
  left: 46%;
  top: -8vh;
  height: 116vh;
  width: 2px;
  background: #0a0a0c;
  box-shadow: 1px 0 0 #2a2c31;
}

.land-tick {
  position: absolute;
  left: -1px;
  width: 4px;
  height: 11vh;
  background: #c8f54a;
  box-shadow: 0 0 16px rgba(200, 245, 74, 0.45);
  animation: land-ride 6.5s ease-in-out infinite;
}

.land-shape {
  position: absolute;
  left: 46%;
  transform: translateX(-50%);
  background: #101114;
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.85),
    inset -1px -1px 2px rgba(255, 255, 255, 0.07);
  animation: land-in 0.9s ease both;
}

.land-sq {
  top: 12vh;
  width: 74px;
  height: 74px;
  animation-delay: 0.05s;
}

.land-ci {
  top: 34vh;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  animation-delay: 0.18s;
}

.land-tr {
  top: 54vh;
  width: 86px;
  height: 76px;
  background: transparent;
  box-shadow: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation-delay: 0.32s;
}

.land-tr i {
  position: absolute;
  inset: 3px 4px 3px;
  background: #101114;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  box-shadow: inset 2px 3px 5px rgba(0, 0, 0, 0.8);
}

.land-hx {
  top: 76vh;
  width: 78px;
  height: 86px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation-delay: 0.46s;
}

.land h1 {
  position: absolute;
  right: 7vw;
  top: 14vh;
  margin: 0;
  font-weight: 400;
  font-size: clamp(56px, 7.4vw, 104px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.land-run {
  position: absolute;
  right: 7vw;
  bottom: 9vh;
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.land-run a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.land-run a:hover,
.land-run a:focus-visible {
  color: #c8f54a;
  border-bottom-color: #c8f54a;
  outline: none;
}

@keyframes land-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes land-ride {
  0% {
    top: 6%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: 86%;
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .land-spine,
  .land-shape {
    left: 28%;
  }

  .land h1,
  .land-run {
    right: 6vw;
  }

  .land h1 {
    font-size: 42px;
  }
}

.door {
  max-width: 36rem;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.door p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--color-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea,
button {
  font: inherit;
  color: var(--color-ink);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: #070708;
  color: var(--color-ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--color-acc);
  border-color: var(--color-acc);
}

button {
  justify-self: start;
  padding: 12px 22px;
  border: 1px solid var(--color-acc);
  background: transparent;
  color: var(--color-acc);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

button:focus-visible {
  outline: 1px solid var(--color-acc);
  outline-offset: 3px;
}

.gotcha {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.thanks,
.send-fail {
  margin: 0;
  font-size: 18px;
}

footer {
  padding: 8px 20px 32px;
  color: var(--color-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 360px) {
  .door {
    padding-left: 16px;
    padding-right: 16px;
  }

  .door p,
  .thanks {
    font-size: 16px;
  }
}
