/* Echo: a spring morning. Pale sky into warm light, one green, one typeface, a lot of air. */
:root {
  --ink: #1c2a24;
  --muted: #5d6c65;
  --line: rgba(28, 42, 36, 0.12);
  --leaf: #2f8a57;
  --leaf-soft: rgba(47, 138, 87, 0.12);
  --paper: rgba(255, 255, 255, 0.72);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font: 400 17px/1.55 var(--font);
  color: var(--ink);
  background: #f7faf4;
  -webkit-font-smoothing: antialiased;
}

/* Morning light: sky at the top, warm towards the bottom, the sun just rising on the right. */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vmax 40vmax at 88% -8%, rgba(255, 214, 128, 0.55), transparent 60%),
    radial-gradient(40vmax 30vmax at -10% 30%, rgba(255, 221, 230, 0.45), transparent 60%),
    radial-gradient(50vmax 30vmax at 50% 110%, rgba(214, 238, 205, 0.7), transparent 65%),
    linear-gradient(180deg, #e2f0fd 0%, #f2f8f1 42%, #fbf8ee 100%);
}

a {
  color: inherit;
}
.sr,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.top,
main,
.foot {
  width: min(760px, 100% - 48px);
  margin-inline: auto;
}

/* ---------------------------------------------------------------- header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.mark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  /* The name, echoing. */
  text-shadow:
    0.09em 0 0 rgba(47, 138, 87, 0.28),
    0.18em 0 0 rgba(47, 138, 87, 0.12);
}
.lang {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.lang:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: clamp(48px, 12vh, 120px) 0 clamp(56px, 10vh, 96px);
  animation: rise 0.8s ease-out both;
}
/* Each line of the headline stays whole; the size follows the screen so the longer Spanish line fits. */
h1 span {
  display: block;
  white-space: nowrap;
}
h1 {
  margin: 0;
  font-size: min(8.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede {
  max-width: 34ch;
  margin: 22px 0 36px;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--muted);
}

/* ---------------------------------------------------------------- form */
.join {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}
.join input[type='email'] {
  flex: 1 1 240px;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.join input[type='email']:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px var(--leaf-soft);
}
.join button {
  height: 52px;
  padding: 0 24px;
  font: 600 16px var(--font);
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.join button:hover {
  background: var(--leaf);
}
.join button:active {
  transform: scale(0.98);
}
.join button:focus-visible,
.lang:focus-visible,
.mark:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}
.join.busy button {
  opacity: 0.6;
  pointer-events: none;
}
.note {
  flex-basis: 100%;
  margin: 4px 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.join.done .note {
  color: var(--leaf);
  font-weight: 600;
}
.join.bad .note {
  color: #b4492f;
}

/* ---------------------------------------------------------------- features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.features h2,
.plan h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.features p,
.plan p {
  margin: 0;
  color: var(--muted);
}

/* ---------------------------------------------------------------- pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: clamp(56px, 10vh, 96px) 0;
}
.plan {
  padding: 26px 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}
.plan .price {
  margin: 10px 0 6px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plan:last-child {
  border-color: rgba(47, 138, 87, 0.35);
}

/* ---------------------------------------------------------------- footer, 404 */
.foot {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.lost {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
}
.lost .mark {
  font-size: 40px;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }
  .join button {
    flex: 1 1 100%;
  }
  .note {
    margin-left: 4px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}
