/*
  Leevet — waiting-list landing page
  Plain CSS, mobile-first. No build step, no framework.
*/

:root {
  --bg: #fbf7f1;
  --text: #241f1b;
  --muted: #5b5650;
  --teal: #1f4b41;
  --teal-soft: #e4eeea;
  --accent: #c2410c;
  --accent-contrast: #ffffff;
  --whatsapp: #25d366;
  --border: #e5ddd0;
  --surface: #ffffff;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  font-size: 17px;
}

a {
  color: var(--teal);
}

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

/* ---------- Header ---------- */

.site-header {
  padding: 1.5rem 1.25rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */

.hero {
  padding: 1.5rem 1.25rem 2.5rem;
}

.hero-inner {
  max-width: 60rem;
  margin: 0 auto;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
  color: var(--text);
  overflow-wrap: break-word;
}

@media (min-width: 400px) {
  .hero-text h1 {
    font-size: 2rem;
  }
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.cta-link {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 0.4rem;
}

.cta-link:hover,
.cta-link:focus-visible {
  background: #a3380a;
}

/* ---------- Jungle visual ----------
   Decorative representation of "many channels, one place".
   Purely visual; the same information is already in the text above,
   so this block is aria-hidden. */

.jungle {
  margin-top: 2.5rem;
}

.jungle-board {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 1rem 0;
}

.node {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.node-whatsapp {
  background: #e9fbf0;
  border-color: #bdeccf;
  color: #0f5132;
  font-weight: 600;
}

.node-icon {
  width: 16px;
  height: 16px;
  fill: var(--whatsapp);
  flex-shrink: 0;
}

.node-target {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- Value ---------- */

.value {
  padding: 0 1.25rem 2.5rem;
}

.value p {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
}

/* ---------- Waitlist ---------- */

.waitlist {
  padding: 2rem 1.25rem 3rem;
  background: var(--teal-soft);
}

.waitlist h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-intro {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

#waitlist-form {
  max-width: 34rem;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input[type="email"] {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: var(--surface);
  color: var(--text);
}

input[type="email"]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.consent {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

button[type="submit"] {
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: 0.4rem;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: #a3380a;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.waitlist-success {
  max-width: 34rem;
  margin: 0 auto;
  font-weight: 600;
  color: var(--teal);
}

.waitlist-error {
  max-width: 34rem;
  margin: 0 auto 1rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 0.3rem;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.footer-meta a {
  color: var(--muted);
}

/* ---------- Desktop ---------- */

@media (min-width: 800px) {
  body {
    font-size: 18px;
  }

  .site-header,
  .hero,
  .value {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.75rem;
  }

  .jungle {
    margin-top: 0;
  }

  .jungle-board {
    min-height: 280px;
  }

  .node {
    position: absolute;
  }

  .node-school {
    top: 0;
    left: 10%;
    transform: rotate(-4deg);
  }

  .node-sport {
    top: 15%;
    right: 5%;
    transform: rotate(3deg);
  }

  .node-email {
    top: 48%;
    left: 0;
    transform: rotate(2deg);
  }

  .node-calendar {
    top: 62%;
    right: 15%;
    transform: rotate(-3deg);
  }

  .node-whatsapp {
    top: 32%;
    left: 28%;
    font-size: 1rem;
    padding: 0.55rem 1rem;
  }

  .node-target {
    bottom: 0;
    left: 38%;
  }

  .waitlist {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
