:root {
  color: #171714;
  background: #e9e9e4;
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: url("assets/landing.jpg") center / cover no-repeat;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), rgba(0,0,0,.06) 55%, rgba(255,255,255,.5));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: clamp(44px, 5vw, 70px);
  height: clamp(44px, 5vw, 70px);
  object-fit: contain;
}

.brand span {
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 500;
  letter-spacing: -.04em;
}

main {
  align-self: center;
  justify-self: center;
  width: min(800px, 100%);
  padding: clamp(48px, 10vh, 120px) 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 18px 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(70px, 8.5vw, 118px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
}

.intro {
  max-width: 440px;
  margin: 30px 0 0 5px;
  font-size: clamp(20px, 2vw, 20px);
  line-height: 1.45;
}

.signup {
  display: flex;
  width: min(550px, 100%);
  margin: 36px 0 0;
  padding: 6px;
  border: 1px solid rgba(23,23,20,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 40px rgba(37,32,22,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.signup:focus-within {
  border-color: rgba(23,23,20,.42);
  box-shadow: 0 12px 40px rgba(37,32,22,.08), 0 0 0 3px rgba(255,255,255,.28);
}

.signup input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: inherit;
  background: transparent;
  font: inherit;
}

.signup input::placeholder { color: rgba(23,23,20,.55); }

.signup button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 15px 23px;
  color: #fff;
  background: #171714;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.signup button:hover { background: #3b3b35; transform: translateY(-1px); }
.signup button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}
.signup input:focus-visible { outline: none; }

.signup button:focus-visible {
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: -4px;
}

.status {
  min-height: 20px;
  margin: 12px 0 0 10px;
  font-size: 13px;
}

.status--success { color: #245d35; }
.status--error { color: #8a2929; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 580px) {
  .page { padding: 24px; }
  main { padding: clamp(40px, 8vh, 56px) 0; }
  h1 { font-size: clamp(48px, 16vw, 70px); }
  .signup {
    display: grid;
    width: 100%;
    border-radius: 24px;
  }
  .signup input { min-height: 52px; padding: 0 16px; }
  .signup button { width: 100%; border-radius: 10px 10px 20px 20px; }
}

@media (max-width: 360px) {
  .page { padding: 18px; }
  h1 { font-size: clamp(44px, 15vw, 54px); }
  .eyebrow,
  .intro,
  .status { margin-left: 0; }
}

@media (max-height: 700px) and (orientation: landscape) {
  main { padding-block: 32px; }
}
