/* ---------------------------------------------------------------------------
   Reneca pre-launch site — prelaunch.css (2026-09-17)

   Rules the pre-launch pages need beyond site.css: the waiting-list section,
   its consent row, the honeypot, the success card and the /join page. Every
   colour, radius, shadow, border, font and duration resolves to a token in
   tokens.css; the spacing figures are inline, matching site.css's convention.
   --------------------------------------------------------------------------- */

.waitlist {
  padding: 130px 0 100px;
}

.wl-card {
  max-width: 720px; /* raw: one reading-width card, centred */
  margin: 60px auto 0;
  background-color: color-mix(in srgb, var(--color-surface) 85%, transparent);
  border: var(--border-hairline) solid var(--color-ink-200);
  border-radius: var(--radius-2xl);
  padding: 40px 38px;
  box-shadow: var(--shadow-card);
}

.wl-card .btn {
  width: 100%;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  color: var(--color-ink-700);
}

/* site.css strips native looks from every .field input; put the checkbox back. */
.field .consent-row input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 3px 0 0;
  border: 0;
  box-shadow: none;
  background: none;
  accent-color: var(--color-accent-purpose);
  cursor: pointer;
}

.field .consent-row input[type='checkbox']:focus {
  box-shadow: none;
}

.consent-row input:focus-visible {
  outline: 2px solid var(--color-accent-purpose);
  outline-offset: 2px;
}

.field.consent.invalid .consent-row {
  color: var(--color-danger);
}

/* The honeypot: off-screen for people, present for scripts that fill every box. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wl-done {
  text-align: center;
}

.wl-done:focus {
  outline: none;
}

.wl-done h3 {
  font-family: var(--font-serif);
  font-size: var(--site-display-sm);
  line-height: 1.3;
  font-weight: 400;
  color: var(--color-ink-900);
  margin-bottom: 12px;
}

.wl-done p {
  font-family: var(--font-serif);
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg--line-height);
  color: var(--color-ink-500);
  max-width: var(--measure-read);
  margin: 0 auto;
}

.wl-done a {
  color: var(--color-accent-purpose);
  text-decoration: none;
  font-weight: 500;
}

.wl-done a:hover {
  text-decoration: underline;
}

/* join.html — the one-line page behind reneca.app/join. */
.join {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--site-gutter);
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-body-lg);
  color: var(--color-ink-700);
}

.join a {
  color: var(--color-accent-purpose);
}

@media (max-width: 640px) {
  .waitlist {
    padding: 90px 0 70px;
  }
  .wl-card {
    padding: 28px 22px;
  }
}
