:root {
  --cream: #f8edcf;
  --cream-soft: rgba(248, 237, 207, 0.86);
  --cream-line: rgba(248, 237, 207, 0.72);
  --ink: #04130d;
  --green: #063521;
  --gold: #c99a28;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.splash {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.splash-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -3;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 74% 54%, rgba(0, 0, 0, 0) 0 28%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 36%, rgba(0, 0, 0, 0.04) 68%, rgba(0, 0, 0, 0.16) 100%);
}

.topline {
  position: absolute;
  top: clamp(22px, 3.2vw, 48px);
  left: clamp(22px, 3.8vw, 58px);
  right: clamp(22px, 3.8vw, 58px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}

.sb-link {
  display: block;
  width: clamp(48px, 4.3vw, 78px);
  aspect-ratio: 1;
}

.sb-link img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(93%) sepia(15%) saturate(683%) hue-rotate(352deg) brightness(107%) contrast(96%);
}

.topline p {
  margin: 8px 0 0;
  color: var(--cream-soft);
  font-size: clamp(0.66rem, 0.82vw, 0.88rem);
  font-weight: 650;
  letter-spacing: 0.48em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.teaser {
  position: absolute;
  left: clamp(86px, 14.3vw, 248px);
  top: 27.5%;
  width: min(430px, 32vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.wordmark {
  display: block;
  width: min(390px, 100%);
  height: auto;
  filter: brightness(0) invert(93%) sepia(15%) saturate(683%) hue-rotate(352deg) brightness(107%) contrast(96%);
}

.butter-mark {
  width: 40px;
  height: auto;
  margin: 22px 0 25px;
  opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(63%) sepia(59%) saturate(590%) hue-rotate(4deg) brightness(93%) contrast(91%);
}

.launch-line {
  margin: 0 0 28px;
  color: var(--cream-soft);
  font-size: clamp(0.88rem, 1.08vw, 1.16rem);
  font-weight: 520;
  letter-spacing: 0.52em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.signup {
  display: grid;
  width: min(520px, 100%);
  min-height: 56px;
  grid-template-columns: minmax(0, 1fr) 172px;
  border: 1px solid var(--cream-line);
  background: rgba(0, 0, 0, 0.18);
}

.signup label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.company-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.signup input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 0 25px;
  outline: none;
  font-size: 0.7rem;
  font-weight: 680;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.signup input::placeholder {
  color: var(--cream-soft);
  opacity: 1;
}

.signup button {
  border: 0;
  border-left: 1px solid var(--cream-line);
  background: rgba(248, 237, 207, 0.96);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.signup button:hover {
  background: #fff6dc;
}

.signup.is-submitting button {
  cursor: wait;
}

.form-status {
  min-height: 1em;
  margin: 15px 0 0;
  color: var(--cream-soft);
  font-size: 0.62rem;
  font-weight: 680;
  letter-spacing: 0.26em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.social {
  display: inline-block;
  margin-top: 27px;
  color: var(--cream-soft);
  font-size: clamp(0.72rem, 0.86vw, 0.92rem);
  font-weight: 620;
  letter-spacing: 0.34em;
  line-height: 1.2;
  text-transform: uppercase;
}

.social:hover {
  color: var(--cream);
}

@media (max-width: 900px) {
  .splash {
    min-height: 100svh;
  }

  .splash-image {
    object-position: 64% center;
  }

  .shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 34%, rgba(0, 0, 0, 0.1) 76%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.05));
  }

  .topline {
    align-items: flex-start;
  }

  .topline p {
    max-width: 230px;
    letter-spacing: 0.28em;
  }

  .teaser {
    left: 50%;
    top: auto;
    bottom: clamp(28px, 7vh, 62px);
    width: min(520px, calc(100vw - 40px));
    transform: translateX(-50%);
  }

  .wordmark {
    width: min(320px, 82vw);
  }

  .butter-mark {
    margin: 17px 0 20px;
  }
}

@media (max-width: 560px) {
  .topline {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .sb-link {
    width: 48px;
  }

  .topline p {
    max-width: 182px;
    margin-top: 5px;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .teaser {
    width: calc(100vw - 34px);
  }

  .launch-line {
    margin-bottom: 20px;
    font-size: 0.74rem;
    letter-spacing: 0.36em;
  }

  .signup {
    min-height: 102px;
    grid-template-columns: 1fr;
  }

  .signup input {
    min-height: 52px;
    padding: 0 18px;
    text-align: center;
  }

  .signup button {
    min-height: 50px;
    border-left: 0;
    border-top: 1px solid var(--cream-line);
  }

  .social {
    margin-top: 16px;
  }
}
