/* The front door (templates/welcome.html, 2026-10-24): one question, then one short form; an invitation in four steps. */
.wl { max-width: 460px; margin: 0 auto; padding: 8px 0 24px; }
.wl-brand { text-align: center; margin: 10px 0 14px; }
.wl-brand img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.wl-brand p { margin: 8px 0 0; font-weight: 800; letter-spacing: .02em; color: var(--muted); }
.wl-card { position: relative; padding: 22px 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, .2)); }
.wl-card h1 { margin: 0 0 8px; font-size: 1.65em; line-height: 1.15; letter-spacing: -.02em; }
.wl-card h1::before, .wl-card h1::after { display: none; }
.wl-lede { margin: 0 0 16px; color: var(--muted); line-height: 1.45; }
.wl-kick { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }
.wl-note, .wl-err { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; font-size: 15px; line-height: 1.35; }
.wl-note { background: var(--surface-2); }
.wl-err { background: color-mix(in srgb, #e0455a 16%, transparent); color: inherit; border: 1px solid color-mix(in srgb, #e0455a 55%, transparent); }

.wl-choose { display: grid; gap: 12px; margin: 6px 0 12px; }
.wl-choice { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .1s, border-color .15s; }
.wl-choice:hover { border-color: var(--accent); }
.wl-choice:active { transform: scale(.98); }
.wl-choice span { grid-row: 1 / 3; font-size: 30px; text-align: center; }
.wl-choice b { font-size: 18px; } .wl-choice small { color: var(--muted); font-size: 14px; }

.wl-back { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text);
  font-size: 24px; line-height: 1; cursor: pointer; }
.wl-pane[data-pane="signin"] h1, .wl-pane[data-pane="join"] h1 { margin-top: 34px; }
.wl-form { display: grid; gap: 14px; margin: 0; }
.wl-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.wl-form label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.wl-form input[type=text], .wl-form input[type=email], .wl-form input[type=password] { width: 100%; box-sizing: border-box; min-height: 50px; padding: 0 14px;
  border-radius: 13px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 17px; }
.wl-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.wl-form .pw { position: relative; display: block; }
.wl-form .pw .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.wl-agree { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; }
.wl-agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.wl-btn { min-height: 54px; width: 100%; border: 0; border-radius: 15px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.wl-btn.on { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.wl-btn:active { transform: scale(.98); }
.wl-fine { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.wl-switch { margin: 16px 0 0; text-align: center; font-size: 15px; }
.wl-legal { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.wl .hp { position: absolute; left: -9999px; }

.wl-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.wl-points li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; font-size: 15px; }
.wl-points li > span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-size: 18px; }
.wl-points b { color: var(--text); }

.wl-dots { list-style: none; display: flex; gap: 6px; justify-content: center; margin: 0 0 16px; padding: 0; }
.wl-dots li { width: 28px; height: 5px; border-radius: 3px; background: var(--surface-2); transition: background .2s; }
.wl-dots li.on { background: var(--accent); }
.wl-step { animation: wl-in .3s ease; }
.wl-step h1 b { color: var(--accent-text, var(--accent)); }
@keyframes wl-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .wl-card { padding: 20px 16px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .wl-step { animation: none; } }
