:root {
  color-scheme: light;
  --acid: #dcff00;
  --pink: #ff16a4;
  --ink: #111111;
  --paper: #fffdf6;
  --display: "Arial Black", Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--acid);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--body);
}

button,
input {
  font: inherit;
}

.poster {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.34), transparent 19rem),
    var(--acid);
}

.topline,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  border-bottom: 3px solid var(--ink);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  display: grid;
  min-height: 58svh;
  flex: 1;
  grid-template-rows: 1fr auto;
  padding: clamp(1.25rem, 3vw, 3rem);
}

.mark {
  position: absolute;
  top: clamp(1.2rem, 3vw, 3rem);
  right: clamp(1rem, 3vw, 3rem);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 5rem);
  font-style: italic;
  letter-spacing: -0.18em;
}

.brand {
  align-self: center;
  max-width: 100%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(6rem, 19vw, 23rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.78;
  overflow-wrap: normal;
  white-space: nowrap;
}

.pitch {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.32em 0.45em 0.24em;
  background: var(--pink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.8vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.category {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(0.85rem, 1.4vw, 1.15rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
}

.signup {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(20rem, 1.4fr);
  border-block: 3px solid var(--ink);
  background: var(--paper);
}

.signup-copy,
.signup-form {
  padding: clamp(1.4rem, 3vw, 3rem);
}

.signup-copy {
  border-right: 3px solid var(--ink);
  background: var(--pink);
}

.signup-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.signup h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

.signup-form {
  align-self: center;
}

.signup-form label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 3px solid var(--ink);
  background: white;
}

.form-row input {
  min-width: 0;
  height: 4.25rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.form-row:focus-within {
  box-shadow: 0 0 0 4px var(--acid);
}

.form-row button {
  min-height: 4.25rem;
  padding: 0 1.6rem;
  border: 0;
  border-left: 3px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-row button:hover {
  background: var(--pink);
  color: var(--ink);
}

.form-row button:focus-visible {
  outline: 4px solid var(--acid);
  outline-offset: -7px;
}

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

.form-status {
  min-height: 1.3em;
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-status[data-state="error"] {
  color: #a10030;
  font-weight: 800;
}

.form-status[data-state="success"] {
  width: fit-content;
  padding: 0.25rem 0.4rem;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
}

.trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

footer {
  border-bottom: 0;
}

.consent-settings {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.consent-settings:focus-visible,
.consent-actions button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.consent-banner {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 3vw, 3rem);
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner strong {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.consent-banner p {
  max-width: 78ch;
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.consent-actions {
  display: flex;
  gap: 0.5rem;
}

.consent-actions button {
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 2px solid var(--ink);
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.consent-actions button[data-consent="granted"] {
  background: var(--ink);
  color: white;
}

@media (max-width: 720px) {
  .hero {
    min-height: 50svh;
  }

  .brand {
    font-size: clamp(4.7rem, 22vw, 10rem);
    letter-spacing: -0.075em;
    line-height: 0.88;
  }

  html[data-variant="debannd"] .brand {
    font-size: clamp(4.2rem, 18vw, 8.5rem);
  }

  .pitch,
  .signup {
    grid-template-columns: 1fr;
  }

  .category {
    display: none;
  }

  .signup-copy {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .signup h2 br {
    display: none;
  }
}

@media (max-width: 470px) {
  .topline span:last-child,
  footer span:last-child {
    display: none;
  }

  .hero {
    min-height: 42svh;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row button {
    border-top: 3px solid var(--ink);
    border-left: 0;
  }

  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-actions button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  .pitch,
  .signup {
    animation: enter 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .pitch {
    animation-delay: 80ms;
  }

  .signup {
    animation-delay: 150ms;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
  }
}
