@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url(fonts/montserrat-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }

:root {
  --forest: #0F3D32; --forest-deep: #0A2C24; --sage: #4E7D6B; --terracotta: #D97756; --sand: #EDE8DF;
  --mist: #B9C9C1; --ok: #BFE0CF; --err: #FFB59E;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--forest-deep); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Montserrat", system-ui, sans-serif; color: var(--sand); line-height: 1.6;
  background: radial-gradient(120% 90% at 50% 0%, #144a3d 0%, var(--forest) 45%, var(--forest-deep) 100%);
  overflow-x: hidden;
}
a { color: var(--sand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

/* soft terracotta light behind the cactus, slowly breathing */
.glow {
  position: fixed; left: 50%; top: 18vh; width: 560px; height: 560px; margin-left: -280px; pointer-events: none;
  background: radial-gradient(circle, rgba(217, 119, 86, .16), rgba(217, 119, 86, 0) 65%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }

.top, .bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px clamp(16px, 4vw, 48px);
}
.wordmark { height: 40px; width: auto; }
.contact { font-size: 14px; text-decoration: none; opacity: .85; }
.contact:hover { opacity: 1; text-decoration: underline; }

.stage {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2vh 16px 48px; max-width: 760px; margin: 0 auto; width: 100%;
}

/* cactus grows pad by pad, then the fruit appears */
.cactus { width: clamp(110px, 18vw, 150px); height: auto; overflow: visible; margin-bottom: 10px; }
.pad { fill: var(--sand); transform: scale(0); animation: grow .9s cubic-bezier(.2, .9, .25, 1.15) forwards; }
.p1 { animation-delay: .15s; }
.p2 { animation-delay: .45s; }
.p3 { animation-delay: .75s; }
.fruit { fill: var(--terracotta); transform: scale(0); animation: grow .6s cubic-bezier(.3, 1.6, .5, 1) 1.35s forwards; }
@keyframes grow { to { transform: scale(1); } }

.eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: 12px; color: var(--terracotta); margin: 12px 0 0; font-weight: 500; }
h1 { font-size: clamp(34px, 6.4vw, 62px); line-height: 1.08; font-weight: 500; margin: 14px 0 18px; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 2vw, 18px); font-weight: 300; color: var(--mist); max-width: 36em; margin: 0 0 34px; }

.fade { opacity: 0; transform: translateY(10px); animation: rise .8s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .6s; } .d2 { animation-delay: .72s; } .d3 { animation-delay: .84s; }
.d4 { animation-delay: .96s; } .d5 { animation-delay: 1.08s; } .d6 { animation-delay: 1.2s; }

/* signup */
.signup { width: 100%; max-width: 560px; }
.row {
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(237, 232, 223, .08); box-shadow: inset 0 0 0 1px rgba(237, 232, 223, .22);
  transition: box-shadow .2s;
}
.row:focus-within { box-shadow: inset 0 0 0 1.5px var(--terracotta); }
input[type=email], input.secondary {
  font: 400 16px "Montserrat", sans-serif; color: var(--sand); background: transparent; border: 0; outline: 0;
}
input[type=email] { flex: 1; min-width: 0; padding: 12px 18px; }
input::placeholder { color: rgba(237, 232, 223, .5); }
button {
  font: 500 15px "Montserrat", sans-serif; color: #fff; background: var(--terracotta); border: 0; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; white-space: nowrap; transition: background .2s, transform .1s;
}
button:hover { background: #c96a4b; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .6; cursor: wait; }
input.secondary {
  display: block; width: 100%; margin-top: 10px; padding: 12px 22px; border-radius: 999px; font-size: 15px;
  background: rgba(237, 232, 223, .05); box-shadow: inset 0 0 0 1px rgba(237, 232, 223, .14);
}
input.secondary:focus { box-shadow: inset 0 0 0 1.5px var(--terracotta); }
.consent { display: flex; justify-content: center; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--mist); margin-top: 14px; text-align: left; }
.consent input { margin-top: 3px; accent-color: var(--terracotta); flex: none; }
.status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; font-weight: 500; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

.perks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14px; color: var(--mist); }
.perks li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); margin-right: 9px; vertical-align: middle; }

.aside { margin: 40px 0 0; font-size: 14px; color: var(--mist); max-width: 34em; }
.aside strong { color: var(--sand); font-weight: 500; }

.bottom { font-size: 12px; color: var(--mist); letter-spacing: .04em; }
.bottom > span:first-child { letter-spacing: .3em; }

/* prose page */
.prose { max-width: 720px; margin: 0 auto; padding: 20px 16px 64px; color: var(--mist); }
.prose h1 { color: var(--sand); font-size: 36px; }
.prose h2 { color: var(--sand); font-size: 20px; font-weight: 500; margin-top: 32px; }

@media (max-width: 560px) {
  .row { flex-direction: column; border-radius: 22px; }
  button { width: 100%; }
  .contact { display: none; }
  .bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pad, .fruit, .fade { animation: none; transform: none; opacity: 1; }
  .glow { animation: none; }
}
