:root {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171312;
  background: #f9ded5;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100svh;
  overflow: hidden;
  background: #f9ded5 url("./assets/hero-background.webp") center / cover no-repeat;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 42px 0 40px;
}
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { font-size: 43px; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.x-link {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 9px 24px rgba(52,34,29,.12);
  transition: transform 160ms ease, background-color 160ms ease;
}
.x-link:hover, .x-link:focus-visible { transform: translateY(-2px); background: #fff; }
.x-link img { width: 22px; height: 22px; object-fit: contain; }

main { position: relative; min-height: 100svh; overflow: hidden; }
.hero-copy {
  position: relative;
  z-index: 5;
  width: min(690px, 50vw);
  padding: clamp(170px, 28vh, 325px) 0 48px 70px;
}
h1 {
  margin: 0;
  width: 108%;
  font-size: clamp(60px, 5.5vw, 82px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
  transform: scaleX(1.07);
  transform-origin: left center;
}
.hero-copy > p {
  margin: clamp(22px, 3vh, 32px) 0 0;
  color: #3f3734;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1.42;
}
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px;
  width: min(500px, 100%);
  height: 56px;
  margin-top: clamp(20px, 2.8vh, 28px);
  overflow: hidden;
  border: 1px solid rgba(142,118,108,.3);
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 25px rgba(74,43,34,.09);
}
.waitlist input {
  min-width: 0;
  padding: 0 22px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #211b19;
  font-size: 15px;
}
.waitlist input::placeholder { color: #8b8b8b; }
.waitlist input:focus { box-shadow: inset 0 0 0 2px rgba(207,111,85,.25); }
.waitlist button {
  border: 0;
  background: #d66f52;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.waitlist button:hover { background: #c45d42; }
.waitlist.is-complete button { background: #416f55; }
.form-note {
  display: block;
  margin-top: 14px;
  color: #8d8581;
  font-size: 12px;
  line-height: 1.4;
}
.form-note.is-error { color: #a43d2e; }

.hero-art { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.coin { position: absolute; display: block; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(91,48,37,.14)); }
.coin-aapl { left: 66.5%; top: 17.5%; width: 10.2%; }
.coin-tesla { left: 83.2%; top: 13.6%; width: 14.2%; }
.coin-spacex { left: 73.3%; top: 31.8%; width: 20%; }
.coin-root { left: 59.8%; top: 57.5%; width: 19.2%; }
.coin-nvda { left: 83.5%; top: 64.2%; width: 12.4%; }
.coin-msft { left: 88.4%; top: 78.2%; width: 9%; }

@media (max-width: 900px) {
  body { min-width: 0; overflow-x: hidden; overflow-y: auto; }
  .site-header { padding: 22px 22px 0; }
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 30px; }
  .x-link { width: 46px; height: 46px; border-radius: 12px; }
  main { min-height: max(100svh, 940px); }
  .hero-copy { width: 100%; padding: 150px 26px 500px; }
  h1 { width: 100%; max-width: 620px; font-size: clamp(52px, 11vw, 72px); transform: none; }
  .hero-copy > p { margin-top: 28px; font-size: 20px; }
  .waitlist { grid-template-columns: 1fr 145px; width: min(560px, 100%); }
  .coin-aapl { left: 5%; top: 62%; width: 18%; }
  .coin-tesla { left: 70%; top: 53%; width: 27%; }
  .coin-spacex { left: 43%; top: 60%; width: 35%; }
  .coin-root { left: 18%; top: 70%; width: 36%; }
  .coin-nvda { left: 65%; top: 75%; width: 22%; }
  .coin-msft { left: 78%; top: 84%; width: 16%; }
}
@media (max-width: 560px) {
  .site-header { padding: 18px 18px 0; }
  .brand { gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 27px; }
  .x-link { width: 42px; height: 42px; border-radius: 11px; }
  .x-link img { width: 18px; height: 18px; }
  main { min-height: max(100svh, 860px); }
  .hero-copy { padding: 122px 20px 410px; }
  h1 { max-width: 100%; font-size: clamp(38px, 11.5vw, 50px); line-height: 1.04; letter-spacing: -.05em; }
  .hero-copy > p { margin-top: 22px; font-size: 16px; line-height: 1.5; }
  .hero-copy > p br { display: none; }
  .waitlist { grid-template-columns: 1fr; width: 100%; height: auto; margin-top: 22px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .waitlist input, .waitlist button { height: 52px; border-radius: 10px; }
  .waitlist input { border: 1px solid rgba(142,118,108,.3); background: rgba(255,255,255,.9); }
  .waitlist button { margin-top: 10px; }
  .form-note { max-width: 300px; margin-top: 13px; font-size: 11px; }
  .coin { filter: drop-shadow(0 12px 18px rgba(91,48,37,.13)); }
  .coin-aapl { left: 5%; top: 62%; width: 24%; }
  .coin-tesla { left: 68%; top: 57%; width: 34%; }
  .coin-spacex { left: 39%; top: 63%; width: 45%; }
  .coin-root { left: 7%; top: 73%; width: 43%; }
  .coin-nvda { left: 65%; top: 77%; width: 29%; }
  .coin-msft { left: 77%; top: 87%; width: 21%; }
}

@media (max-width: 360px) {
  .hero-copy { padding-inline: 17px; }
  h1 { font-size: 37px; }
  .coin-root { left: 4%; }
  .coin-spacex { left: 37%; }
}
