/* ============================================================================
   AnyWeed — Waitlist landing. Pixel-faithful to Figma "Anyweed (Copy)"
   frames 46-325 (desktop 1280), 46-267 (tablet 834), 45-58 (mobile 390).
   Vanilla CSS, no build step. Font substitute for "Muller Next Expanded" is
   Archivo Expanded (brand web font, shared with anyweed-hamcan).
   ========================================================================== */
:root {
  --green-hero: #455612;   /* hero background */
  --green-card: #4b5d12;   /* registration card */
  --green-accent: #75aa3b; /* buttons, gift text */
  --green-ink: #395020;    /* dark green text on white */
  --num-faint: #e1e5dd;    /* giant 1/2/3 */
  --white: #ffffff;
  --fine: #b7b7b7;
  --display: "Muller Next Expanded", 'Archivo Expanded', 'Archivo Black', system-ui, sans-serif;
  --body: "Body Text Large", 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---- brand fonts (self-hosted, woff2) ---- */
@font-face { font-family: "Muller Next Expanded"; src: url("assets/fonts/MullerNextExpanded-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Muller Next Expanded"; src: url("assets/fonts/MullerNextExpanded-Heavy.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Muller Next Expanded"; src: url("assets/fonts/MullerNextExpanded-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Body Text Large"; src: url("assets/fonts/BodyTextLarge-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Body Text Large"; src: url("assets/fonts/BodyTextLarge-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Body Text Large"; src: url("assets/fonts/BodyTextLarge-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Body Text Large"; src: url("assets/fonts/BodyTextLarge-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--white);
  background: var(--green-hero);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, li { margin: 0; padding: 0; }
ol { list-style: none; }
a { text-decoration: none; color: inherit; }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- shared pill button ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  border-radius: 999px; line-height: 1.05; letter-spacing: .01em;
  transition: transform .12s ease, filter .12s ease, background-color .12s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn__arrow { width: 1.05em; height: 1.05em; flex: none; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  isolation: isolate;      /* own stacking context so inner text paints above media */
  background: var(--green-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 44px 0 60px;
}
/* full-bleed smoke/cannabis composite (already green-backed → blends) */
.hero__media {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--green-hero);
  background-image: url("assets/hero.jpg");
  background-repeat: no-repeat;
  background-position: right -3% center;
  background-size: auto 172%;
}
/* soft green wash so the left text stays legible over any smoke */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(69,86,18,.92) 0%, rgba(69,86,18,.72) 30%,
    rgba(69,86,18,.15) 52%, rgba(133,171,43,.06) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1220px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.hero__logo { margin-bottom: clamp(40px, 7vw, 78px); }
.hero__logo img { width: clamp(150px, 16vw, 204px); }

.hero__title {
  font-family: var(--display); font-weight: 800; color: var(--white);
  text-transform: uppercase; line-height: .98; letter-spacing: .005em;
}
.hero__title-sm { display: block; font-size: clamp(38px, 5.4vw, 67px); }
.hero__title-lg { display: block; font-size: clamp(60px, 8.6vw, 107px); margin-top: -.04em; }

.hero__subhead {
  margin-top: clamp(16px, 2.4vw, 26px);
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(18px, 2.1vw, 26px); letter-spacing: .01em;
}
.hero__body {
  margin-top: 14px; max-width: 492px;
  font-weight: 400; text-transform: uppercase; line-height: 1.18;
  font-size: clamp(15px, 1.9vw, 24px);
}

.hero__badge {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(26px, 3.6vw, 40px);
  background: var(--white); color: var(--green-accent);
  border-radius: 999px; padding: 15px 30px;
  max-width: 560px; width: 100%;
}
.hero__badge-icon { width: clamp(46px, 6vw, 74px); height: auto; flex: none; }
.hero__badge span {
  font-family: var(--body); font-weight: 800; text-transform: uppercase;
  line-height: 1.12; font-size: clamp(15px, 1.75vw, 22px);
}

.hero__cta {
  display: flex; margin-top: 14px; width: 100%; max-width: 560px; white-space: nowrap;
  background: var(--green-accent); color: var(--white);
  padding: 18px 30px; font-size: clamp(17px, 2.1vw, 26px); font-weight: 800;
}

/* ====================== BENEFITS + FORM ====================== */
.signup {
  position: relative; background: var(--white); color: var(--green-ink);
  overflow: hidden; padding: clamp(56px, 8vw, 96px) 0;
}
.signup__inner {
  position: relative; z-index: 2;
  max-width: 1120px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(32px, 5vw, 68px);
}

/* decorative buds bleeding off the edges */
.bud { position: absolute; z-index: 1; width: clamp(140px, 18vw, 300px); height: auto; pointer-events: none; }
.bud--left { left: -8%; bottom: -6%; transform: rotate(18deg); }
.bud--right { right: -7%; top: 42%; transform: rotate(-16deg); }

.benefits { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 35px); }
.benefit { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 16px); }
.benefit__num {
  font-family: var(--display); font-weight: 800; color: var(--num-faint);
  line-height: .7; font-size: clamp(72px, 9.5vw, 110px); flex: none;
}
.benefit__title {
  font-family: var(--body); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 2.3vw, 28px); line-height: 1;
}
.benefit__line {
  font-weight: 400; text-transform: uppercase; margin-top: 4px;
  font-size: clamp(13px, 1.5vw, 18px); line-height: 1.15; color: var(--green-ink);
}

/* registration card */
.card {
  background: var(--green-card); color: var(--white);
  border-radius: clamp(34px, 4.8vw, 60px);
  padding: clamp(26px, 3.4vw, 44px) clamp(24px, 3.6vw, 46px);
  justify-self: end; width: 100%; max-width: 556px;
}
.card__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  text-align: center; line-height: 1.05; color: var(--white);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.card__title-lg { display: block; font-size: clamp(44px, 6vw, 66px); }
.card__title-sm { display: block; font-size: clamp(26px, 3.4vw, 36px); }

.form { display: flex; flex-direction: column; gap: 9px; }
.form__input {
  width: 100%; border: 1.5px solid rgba(255,255,255,.1);
  background: var(--white); color: var(--green-ink);
  border-radius: 999px; padding: 15px 30px;
  font-family: var(--body); font-weight: 400; text-align: center;
  text-transform: none; font-size: 20px;
}
.form__input::placeholder { color: var(--green-ink); opacity: .2; text-transform: uppercase; }
.form__input:focus { outline: 3px solid var(--green-accent); outline-offset: 2px; }

.form__turnstile { display: flex; justify-content: center; margin: 6px 0 0; }
.form__turnstile:empty { display: none; }

.form__submit {
  margin-top: 9px; width: 100%; background: var(--green-accent); color: var(--white);
  padding: 15px 30px; font-weight: 800; font-size: clamp(16px, 1.8vw, 22px);
  white-space: nowrap;
}

.form__error {
  margin-top: 10px; text-align: center; color: #ffd7d7;
  font-size: 14px; font-weight: 600;
}

.form__fine {
  margin-top: 18px; text-align: center; color: var(--fine);
  text-transform: uppercase; font-size: clamp(11px, 1.1vw, 14px); line-height: 1.3;
}

/* success state (set by app.js) */
.card--done .card__title { margin-bottom: 16px; }
.card__done { text-align: center; }
.card__done p {
  margin-top: 12px; text-transform: uppercase; font-weight: 400;
  font-size: clamp(15px, 1.7vw, 20px); line-height: 1.25;
}

/* ====================== RESPONSIVE ====================== */

/* ---------- TABLET (768–1199): centered hero, 2-col signup, exact 834 sizes ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero { min-height: 680px; }
  .hero__inner { max-width: 720px; text-align: center; }
  .hero__logo { margin-bottom: 40px; }
  .hero__logo img { margin-inline: auto; }
  .hero__title { line-height: 1.08; }
  .hero__title-sm { font-size: 58px; }
  .hero__title-lg { font-size: 93px; margin-top: -4px; }
  .hero__subhead { font-size: 26px; margin-top: 22px; }
  .hero__body { font-size: 24px; max-width: 510px; margin-inline: auto; }
  .hero__badge { max-width: 560px; margin-inline: auto; }
  .hero__badge span { font-size: 24px; }
  .hero__cta { max-width: 560px; margin-inline: auto; font-size: 28px; }
  .hero::after { background: linear-gradient(180deg, rgba(69,86,18,.82) 0%, rgba(69,86,18,.32) 44%, rgba(69,86,18,.55) 100%); }
  .hero__media { background-position: center 40%; background-size: 150% auto; }

  .signup__inner { grid-template-columns: auto auto; justify-content: center; gap: 44px; }
  .benefit { gap: 5px; }
  .benefit__num { font-size: 63px; }
  .benefit:first-child .benefit__num { font-size: 72px; }
  .benefit__title { font-size: 18px; }
  .benefit__line { font-size: 12px; }
  .card { justify-self: auto; max-width: 361px; border-radius: 40px; padding: 20px 30px; }
  .card__title { margin-bottom: 32px; }
  .card__title-lg { font-size: 42.4px; }
  .card__title-sm { font-size: 23.8px; }
  .form__input { font-size: 16px; padding: 12px 20px; }
  .form__submit { font-size: 16px; padding: 12px 20px; }
  .form__fine { font-size: 9.8px; }
}

/* ---------- MOBILE (<768): single column, centered, exact 390 sizes ---------- */
@media (max-width: 767px) {
  .hero { min-height: 600px; }
  .hero__inner { text-align: center; }
  .hero__logo { margin-bottom: 26px; }
  .hero__logo img { margin-inline: auto; width: 144px; }
  .hero__title { line-height: 1.08; }
  .hero__title-sm { font-size: 30.5px; }
  .hero__title-lg { font-size: 49.5px; margin-top: -2px; }
  .hero__subhead { font-size: 13.2px; margin-top: 14px; }
  .hero__body { font-size: 12px; max-width: 320px; margin: 8px auto 0; }
  .hero__badge { max-width: none; margin-top: 24px; gap: 10px; padding: 10px 20px; }
  .hero__badge-icon { width: 50px; }
  .hero__badge span { font-size: 14px; }
  .hero__cta { max-width: none; padding: 12px 20px; font-size: 16px; }
  .hero::after { background: linear-gradient(180deg, rgba(69,86,18,.8) 0%, rgba(69,86,18,.32) 46%, rgba(69,86,18,.5) 100%); }
  .hero__media { background-position: center 44%; background-size: 170% auto; }

  .signup { padding: 52px 0 40px; }
  .signup__inner { grid-template-columns: 1fr; justify-items: center; gap: 44px; padding: 0 20px; }
  .benefits { width: 100%; max-width: 330px; gap: 23px; }
  .benefit { gap: 5px; }
  .benefit__num { font-size: 63px; }
  .benefit:first-child .benefit__num { font-size: 72px; }
  .benefit__title { font-size: 18px; }
  .benefit__line { font-size: 12px; }
  .card { justify-self: stretch; width: 100%; max-width: none; border-radius: 36px; padding: 40px 24px; }
  .card__title { margin-bottom: 32px; }
  .card__title-lg { font-size: 42.4px; }
  .card__title-sm { font-size: 23.8px; }
  .form { max-width: 321px; margin-inline: auto; }
  .form__input { font-size: 16px; padding: 12px 20px; }
  .form__submit { font-size: 16px; padding: 12px 20px; }
  .form__fine { font-size: 9.8px; }
  .bud--left { left: -18%; bottom: auto; top: 72%; }
  .bud--right { right: -16%; top: 42%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- EXACT Figma desktop type sizes (1280 comp) ---- */
@media (min-width: 1200px) {
  .hero__title { line-height: 1.0; }
  .hero__title-sm { font-size: 66.79px; }
  .hero__title-lg { font-size: 107.1px; margin-top: -6px; }
  .hero__subhead { font-size: 26px; }
  .hero__body { font-size: 24px; }
  .hero__badge span { font-size: 24px; }
  .hero__cta { font-size: 28px; }
  .benefit__num { font-size: 96.97px; }
  .benefit:first-child .benefit__num { font-size: 110.82px; }
  .benefit__title { font-size: 28px; }
  .benefit__line { font-size: 18px; }
  .card__title-lg { font-size: 66px; }
  .card__title-sm { font-size: 36px; }
  .form__submit { font-size: 24px; }
  .form__fine { font-size: 14px; }
}
