:root {
  color-scheme: only light;
  --cream: #f4ece0;
  --black: #000;
  --aqua: #61d0e9;
  --red: #ff0000;
  --yellow: #ffa31a;
  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: "Geist", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--mono);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bar {
  display: flex;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  font-size: clamp(14px, 1.6vw, 20px);
  text-transform: uppercase;
}
.bar--bold { font-weight: 700; }
.bar a { color: inherit; text-decoration: none; }
.bar a:hover { text-decoration: underline; }

main {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 72px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo: vector is stored upright and rotated 75deg in the design */
.logo {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 2939.7 / 2307.75;
}
.logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 57.67%;
  height: 112.19%;
  transform: translate(-50%, -50%) rotate(75deg);
}

/* Hero: green wavy box with headline + signup inside */
.hero {
  position: relative;
  width: min(100%, 640px);
  margin-top: -4%;
  padding: clamp(56px, 10vw, 96px) clamp(28px, 7vw, 72px);
  color: #fff;
}
.hero__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.badge { position: absolute; display: grid; place-items: center; z-index: 1; }
.badge img { width: 100%; height: 100%; grid-area: 1 / 1; }
.badge span {
  grid-area: 1 / 1;
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: .95;
}
.badge--meat { width: clamp(84px, 18vw, 120px); aspect-ratio: 362 / 352; right: -4%; top: -8%; transform: rotate(5deg); }
.badge--meat span { color: #fff; font-size: clamp(13px, 3vw, 18px); }
.badge--honest { width: clamp(110px, 24vw, 160px); aspect-ratio: 464 / 300; left: -2%; bottom: -8%; }
.badge--honest span { color: var(--black); font-size: clamp(11px, 2.6vw, 16px); transform: rotate(-10deg); }

.pill {
  position: absolute;
  right: 4%;
  bottom: -3%;
  z-index: 1;
  background: var(--aqua);
  color: var(--black);
  border-radius: 999px;
  padding: .5em 1.2em;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(11px, 2.6vw, 16px);
  transform: rotate(1deg);
  white-space: nowrap;
}

.intro { position: relative; text-align: center; width: 100%; }
.intro h2 {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 8vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.intro > p {
  font-weight: 600;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.4;
  max-width: 460px;
  margin: 20px auto 0;
}

.signup {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 28px auto 0;
}
.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 14px 20px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
}
.signup input:focus { outline: 3px solid var(--aqua); outline-offset: 2px; }
.signup button {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
  cursor: pointer;
  white-space: nowrap;
}
.signup button:hover { background: var(--aqua); color: var(--black); }
.signup button:disabled { opacity: .5; cursor: wait; }

.msg { min-height: 1.4em; margin-top: 12px; font-size: 14px; font-weight: 700; }
.msg--ok { color: #fff; }
.msg--err { color: var(--yellow); }

.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 480px) {
  .signup { flex-direction: column; }
}
