:root {
  --background: #f2efe7;
  --black: #171714;
  --grey: #77766e;
  --acid: #caff3d;

  --border: rgba(23, 23, 20, 0.16);

  --max-width: 1440px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* --------------------------------
   RESET
-------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;

  background: var(--background);
  color: var(--black);

  font-family: "DM Sans", sans-serif;

  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}


/* --------------------------------
   ACCESSIBILITY
-------------------------------- */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* --------------------------------
   GRAIN
-------------------------------- */

.grain {
  position: fixed;

  inset: -50%;

  z-index: 100;

  pointer-events: none;

  opacity: 0.045;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");

  transform: rotate(4deg);
}


/* --------------------------------
   HEADER
-------------------------------- */

.header {
  width: min(calc(100% - 48px), var(--max-width));

  min-height: 92px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--border);
}


.logo {
  display: flex;
  align-items: center;

  gap: 11px;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: -0.03em;
}


.logo-eyes {
  display: flex;

  gap: 3px;
}

.logo-eyes span {
  width: 11px;
  height: 11px;

  border: 2px solid var(--black);

  border-radius: 50%;
}


.status {
  display: flex;
  align-items: center;

  gap: 9px;

  color: var(--grey);

  font-family: "DM Mono", monospace;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--acid);

  border: 1px solid var(--black);

  box-shadow:
    0 0 0 4px rgba(202, 255, 61, 0.2);
}


/* --------------------------------
   HERO
-------------------------------- */

.hero {
  width: min(calc(100% - 48px), var(--max-width));

  min-height: calc(100svh - 92px);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(380px, 0.9fr);

  align-items: center;

  gap: clamp(40px, 8vw, 150px);

  padding: clamp(70px, 10vw, 130px) 0;
}


/* --------------------------------
   HERO TEXT
-------------------------------- */

.eyebrow {
  margin-bottom: 28px;

  color: var(--grey);

  font-family: "DM Mono", monospace;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 0.11em;
}


h1 {
  max-width: 900px;

  margin: 0;

  font-size: clamp(4rem, 8.3vw, 8.7rem);

  line-height: 0.83;

  letter-spacing: -0.075em;

  font-weight: 600;
}


h1 em {
  font-family: Georgia, serif;

  font-weight: 400;

  letter-spacing: -0.08em;
}


h1 span {
  color: var(--acid);
}


.intro {
  max-width: 480px;

  margin: 42px 0 30px;

  font-size: clamp(17px, 1.5vw, 21px);

  line-height: 1.45;

  letter-spacing: -0.02em;
}


/* --------------------------------
   EMAIL FORM
-------------------------------- */

.signup {
  width: min(100%, 560px);

  display: flex;

  border-bottom: 1px solid var(--black);
}


.signup input {
  flex: 1;

  min-width: 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--black);

  padding: 15px 8px 15px 0;

  font-size: 15px;
}


.signup input::placeholder {
  color: #99978f;
}


.signup button {
  border: 0;

  background: var(--black);

  color: var(--background);

  padding: 13px 17px;

  margin-bottom: 5px;

  display: inline-flex;
  align-items: center;

  gap: 16px;

  font-size: 13px;

  font-weight: 600;

  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}


.signup button span {
  font-size: 18px;
}


.signup button:hover {
  transform: translateY(-3px);

  background: var(--acid);

  color: var(--black);
}


.form-note {
  margin-top: 12px;

  color: var(--grey);

  font-size: 11px;
}


/* --------------------------------
   VISUAL
-------------------------------- */

.hero-visual {
  position: relative;

  min-height: min(62vw, 650px);

  display: grid;

  place-items: center;
}


/* --------------------------------
   CARD
-------------------------------- */

.monkey-card {
  position: relative;

  width: min(32vw, 410px);

  aspect-ratio: 0.78;

  padding: 34px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  background: var(--black);

  color: var(--background);

  transform: rotate(6deg);

  box-shadow:
    20px 25px 0 var(--acid);

  animation: float 6s ease-in-out infinite;
}


.eyes {
  display: flex;

  justify-content: center;

  gap: 12px;
}


.eyes > span {
  width: 54px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  background: var(--background);

  border-radius: 50%;
}


.eyes i {
  width: 16px;

  aspect-ratio: 1;

  display: block;

  border-radius: 50%;

  background: var(--black);

  transition: transform 0.2s ease;
}


.card-content small {
  color: #aaa9a1;

  font-family: "DM Mono", monospace;

  font-size: 10px;

  letter-spacing: 0.1em;
}


.card-content strong {
  display: block;

  margin-top: 18px;

  font-size: clamp(3.2rem, 6vw, 6rem);

  line-height: 0.76;

  letter-spacing: -0.08em;
}


.card-line {
  height: 1px;

  background: #555550;
}


/* --------------------------------
   ORBITS
-------------------------------- */

.orbit {
  position: absolute;

  border: 1px solid var(--border);

  border-radius: 50%;

  pointer-events: none;
}


.orbit-one {
  width: 80%;

  aspect-ratio: 1;

  transform:
    rotate(25deg)
    scaleY(0.43);
}


.orbit-two {
  width: 88%;

  aspect-ratio: 1;

  transform:
    rotate(-40deg)
    scaleY(0.43);
}


/* --------------------------------
   STICKER
-------------------------------- */

.sticker {
  position: absolute;

  right: 3%;
  top: 13%;

  width: 92px;
  height: 92px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--acid);

  border: 1px solid var(--black);

  font-family: "DM Mono", monospace;

  font-size: 12px;

  font-weight: 700;

  line-height: 1.05;

  text-align: center;

  transform: rotate(12deg);
}


/* --------------------------------
   SIDE LABELS
-------------------------------- */

.side-label {
  position: absolute;

  color: var(--grey);

  font-family: "DM Mono", monospace;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


.label-left {
  left: 2%;
  bottom: 16%;

  transform: rotate(-90deg);
}


.label-right {
  right: 3%;
  bottom: 20%;

  transform: rotate(90deg);
}


/* --------------------------------
   TEASER
-------------------------------- */

.teaser {
  width: min(calc(100% - 48px), var(--max-width));

  margin: 0 auto;

  padding: clamp(90px, 13vw, 180px) 0;

  border-top: 1px solid var(--border);

  display: flex;

  justify-content: space-between;

  gap: 40px;
}


.teaser-label {
  font-family: "DM Mono", monospace;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 0.11em;

  color: var(--grey);
}


.teaser h2 {
  margin: 16px 0 0;

  font-size: clamp(3.3rem, 7vw, 7rem);

  line-height: 0.82;

  letter-spacing: -0.07em;

  font-weight: 600;
}


.teaser h2 em {
  font-family: Georgia, serif;

  font-weight: 400;
}


.teaser p {
  align-self: end;

  max-width: 310px;

  margin: 0;

  color: var(--grey);

  font-size: 14px;

  line-height: 1.5;
}


/* --------------------------------
   FOOTER
-------------------------------- */

.footer {
  width: min(calc(100% - 48px), var(--max-width));

  min-height: 100px;

  margin: 0 auto;

  padding: 28px 0;

  border-top: 1px solid var(--border);

  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: var(--grey);

  font-family: "DM Mono", monospace;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


/* --------------------------------
   ANIMATION
-------------------------------- */

@keyframes float {

  0%,
  100% {
    transform: rotate(6deg) translateY(0);
  }

  50% {
    transform: rotate(4deg) translateY(-13px);
  }

}


/* --------------------------------
   TABLET
-------------------------------- */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;

    gap: 60px;

    padding-top: 80px;
  }


  .hero-visual {
    min-height: 520px;
  }


  .monkey-card {
    width: min(60vw, 360px);
  }


  .sticker {
    right: 10%;
  }

}


/* --------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 600px) {

  .header,
  .hero,
  .teaser,
  .footer {
    width: calc(100% - 32px);
  }


  .header {
    min-height: 74px;
  }


  .status span:last-child {
    display: none;
  }


  .hero {
    min-height: auto;

    padding: 70px 0 90px;
  }


  .eyebrow {
    margin-bottom: 23px;
  }


  h1 {
    font-size: clamp(3.45rem, 17vw, 6rem);

    line-height: 0.86;
  }


  .intro {
    margin-top: 30px;

    font-size: 17px;
  }


  /* Mobile form */

  .signup {
    display: block;

    border: 0;
  }


  .signup input {
    width: 100%;

    border-bottom: 1px solid var(--black);

    padding: 14px 0;
  }


  .signup button {
    width: 100%;

    justify-content: space-between;

    margin-top: 9px;

    margin-bottom: 0;

    padding: 16px 18px;
  }


  /* Mobile visual */

  .hero-visual {
    min-height: 390px;
  }


  .monkey-card {
    width: min(70vw, 310px);

    padding: 24px;

    box-shadow:
      13px 17px 0 var(--acid);
  }


  .eyes > span {
    width: 43px;
  }


  .eyes i {
    width: 13px;
  }


  .sticker {
    width: 76px;
    height: 76px;

    right: 0;
    top: 7%;

    font-size: 10px;
  }


  .label-left {
    left: -5%;
    bottom: 12%;
  }


  .label-right {
    right: -3%;
    bottom: 16%;
  }


  /* Teaser */

  .teaser {
    display: block;

    padding: 90px 0;
  }


  .teaser h2 {
    font-size: clamp(3.2rem, 16vw, 5.5rem);
  }


  .teaser p {
    margin-top: 42px;
  }


  /* Footer */

  .footer {
    min-height: 90px;

    flex-direction: column;

    justify-content: center;
  }

}


/* --------------------------------
   REDUCED MOTION
-------------------------------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}