@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2"), url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.woff2") format("woff2"), url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bowlby One SC";
  src: url("assets/fonts/BowlbyOneSC-Regular.woff2") format("woff2"), url("assets/fonts/BowlbyOneSC-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #171717;
  --cream: #f7f1db;
  --olive: #74703d;
  --line: rgba(247, 241, 219, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  color: var(--cream);
  background: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

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

.launch-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(390px, 1fr) auto;
  overflow: hidden;
  background: var(--ink);
}

.launch-backdrop,
.launch-shade {
  position: absolute;
  inset: 0;
}

.launch-backdrop {
  z-index: -3;
}

.launch-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  animation: settle-frame 10s ease-out both;
}

.launch-shade {
  z-index: -2;
  background:
    linear-gradient(to top, rgba(23, 23, 23, 0.65) 0%, rgba(23, 23, 23, 0) 30%),
    linear-gradient(102deg, rgba(23, 23, 23, 0.82) 0%, rgba(23, 23, 23, 0.68) 38%, rgba(23, 23, 23, 0.3) 72%, rgba(23, 23, 23, 0.38) 100%);
}

.launch-header {
  min-height: 106px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 18px clamp(28px, 4vw, 70px);
  border-bottom: 1px solid var(--line);
}

.launch-wordmark {
  grid-column: 2;
  width: 208px;
  display: block;
}

.launch-wordmark img {
  width: 100%;
  height: 62px;
  display: block;
  object-fit: contain;
}

.launch-status {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.launch-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 0 rgba(247, 241, 219, 0.58);
  animation: status-pulse 2.2s ease-out infinite;
}

.launch-content {
  align-self: end;
  width: min(880px, 100%);
  display: grid;
  gap: 30px;
  padding: 64px clamp(28px, 5vw, 84px) 48px;
}

.launch-eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.launch-copy h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: 4.7rem;
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.launch-copy h1 span {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-line 0.75s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.launch-copy h1 span:last-child {
  color: var(--cream);
  animation-delay: 0.12s;
}

.launch-intro {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.launch-form {
  max-width: 680px;
}

.launch-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

.launch-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  background: rgba(23, 23, 23, 0.54);
}

.launch-form input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  color: var(--cream);
  border: 0;
  outline: 0;
  background: transparent;
}

.launch-form input::placeholder {
  color: rgba(247, 241, 219, 0.68);
}

.launch-form input:focus-visible {
  box-shadow: inset 0 0 0 2px var(--cream);
}

.launch-form button {
  min-height: 58px;
  padding: 0 24px;
  color: var(--cream);
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--olive);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

.launch-form button:hover,
.launch-form button:focus-visible {
  color: var(--ink);
  outline: 0;
  background: var(--cream);
}

.launch-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.launch-message {
  min-height: 22px;
  margin: 8px 0 0;
  color: rgba(247, 241, 219, 0.8);
  font-size: 0.75rem;
}

.launch-message.is-success {
  color: var(--cream);
  font-weight: 600;
}

.launch-message.is-error {
  color: #fff;
  font-weight: 600;
}

.launch-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 0 clamp(28px, 4vw, 70px) 28px;
}

.launch-stages {
  max-width: 690px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.launch-stages li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 13px 8px 0 0;
  color: rgba(247, 241, 219, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.launch-stages li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--cream);
}

.launch-stages .is-complete,
.launch-stages .is-active {
  color: var(--cream);
}

.launch-stages .is-complete::before {
  width: 100%;
}

.launch-stages .is-active::before {
  animation: stage-progress 2.8s ease-in-out infinite alternate;
}

.launch-stages span {
  font-size: 0.66rem;
}

.launch-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  max-width: 470px;
  color: rgba(247, 241, 219, 0.76);
  font-size: 0.7rem;
}

.launch-links a:hover,
.launch-links a:focus-visible {
  color: var(--cream);
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .launch-copy h1 {
    font-size: 3.5rem;
  }

  .launch-footer {
    grid-template-columns: 1fr;
  }

  .launch-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .launch-shell {
    grid-template-rows: auto minmax(560px, 1fr) auto;
  }

  .launch-backdrop img {
    object-position: 64% center;
  }

  .launch-shade {
    background:
      linear-gradient(to bottom, rgba(23, 23, 23, 0.5) 0%, rgba(23, 23, 23, 0.55) 32%, rgba(23, 23, 23, 0.72) 62%, rgba(23, 23, 23, 0.8) 100%);
  }

  .launch-header {
    min-height: 78px;
    grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
    padding: 10px 18px;
  }

  .launch-wordmark {
    grid-column: 2;
    width: 142px;
  }

  .launch-wordmark img {
    height: 50px;
  }

  .launch-status {
    grid-column: 3;
    font-size: 0.58rem;
  }

  .launch-content {
    width: 100%;
    gap: 24px;
    padding: 52px 18px 30px;
  }

  .launch-eyebrow {
    font-size: 0.72rem;
  }

  .launch-copy h1 {
    min-width: 0;
    font-size: 2.05rem;
    line-height: 1;
  }

  .launch-intro {
    max-width: 560px;
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .launch-form-row {
    grid-template-columns: 1fr;
    border: 0;
    background: transparent;
  }

  .launch-form input,
  .launch-form button {
    min-height: 52px;
  }

  .launch-form input {
    border: 1px solid var(--line);
    background: rgba(23, 23, 23, 0.58);
  }

  .launch-form button {
    border-left: 0;
  }

  .launch-footer {
    gap: 22px;
    padding: 0 18px 20px;
  }

  .launch-stages li {
    padding-right: 4px;
    font-size: 0.62rem;
  }

  .launch-links {
    gap: 8px 14px;
    font-size: 0.65rem;
  }

  .launch-links span {
    flex-basis: 100%;
  }
}

@media (max-width: 370px) {
  .launch-copy h1 {
    font-size: 1.85rem;
  }

  .launch-status {
    max-width: 74px;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes reveal-line {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle-frame {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes status-pulse {
  70% { box-shadow: 0 0 0 9px rgba(247, 241, 219, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 241, 219, 0); }
}

@keyframes stage-progress {
  from { width: 28%; }
  to { width: 78%; }
}
