*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

@font-face {
  font-family: "Advercase";
  src: url("/fonts/AdvercaseFont-Demo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  width: 100%;
  background: #000;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: transparent;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(1.05) saturate(0.85);
  pointer-events: none;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8vh 24px 4vh;
  gap: 5vh;
  overflow-x: hidden;
}

.content > * { min-width: 0; }

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.headline {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.headline svg,
.headline canvas {
  display: block;
  max-width: 100% !important;
  height: auto !important;
}

.manifesto {
  width: 100%;
  max-width: 580px;
  margin: auto auto;
  font-family: "Advercase", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: #fff;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.signup {
  margin: 0 auto;
}

.manifesto p + p {
  margin-top: 1.1em;
}

.signup {
  width: 100%;
  max-width: 360px;
}

.cta,
.email,
.done {
  width: 100%;
  height: 56px;
  line-height: 54px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  vertical-align: middle;
}

.cta,
.done {
  font-size: 13px;
}

.email {
  font-size: 16px;
  outline: none;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: none;
}

.cta {
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.cta:hover,
.cta:focus-visible {
  background: #fff;
  color: #000;
  outline: none;
}

.email::placeholder {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
}

.email.invalid { border-color: #ff3b30; }

.done { cursor: default; }

@media (max-width: 480px) {
  .content {
    padding: 6vh 20px 3vh;
    gap: 4vh;
  }
  .manifesto {
    font-size: 14px;
    line-height: 1.55;
  }
}
