/* Welcome page. Uses the app's tokens only, so both themes work. */
.wl { max-width: 1080px; margin: 0 auto; display: grid; gap: clamp(40px, 7vw, 88px); }
.wl h1, .wl h2, .wl h3 { margin: 0; }
.wl-muted { color: var(--muted); }

/* Hero */
.wl-hero { display: grid; gap: 24px; align-items: center; padding-top: 8px; }
.wl-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.wl-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--online); }
.wl-hero h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.wl-em { color: var(--accent); }
.wl-lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--muted); max-width: 34em; margin: 16px 0 24px; }
.wl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wl-actions.center { justify-content: center; }
.wl-big { min-height: 52px; padding: 10px 26px; font-size: 1.05rem; border-radius: 12px; }
.wl-fine { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
.wl-hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgb(60 40 20 / 0.18)); }

/* Proof */
.wl-proof {
  display: grid; gap: 14px; justify-items: center; padding: 20px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.wl-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.wl-stats li { display: grid; text-align: center; }
.wl-stats b { font: 700 2rem/1.1 var(--font-display); color: var(--accent); }
.wl-stats span { font-size: 0.9rem; color: var(--muted); }
.wl-top { margin: 0; display: flex; gap: 8px; max-width: 46em; text-align: left; font-size: 0.98rem; }

/* Features */
.wl-main { display: grid; gap: clamp(36px, 6vw, 72px); }
.wl-h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); text-align: center; }
.wl-sub { text-align: center; color: var(--muted); max-width: 36em; margin: -34px auto 0; }
.wl-feature { display: grid; gap: 22px; align-items: center; }
.wl-kicker { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.wl-copy h3 { font-size: clamp(1.45rem, 4vw, 2rem); margin-bottom: 10px; }
.wl-copy p { margin: 0 0 12px; color: var(--muted); }
.wl-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wl-points li { position: relative; padding-left: 26px; }
.wl-points li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.3 2.3 4.7-5' fill='none' stroke='%231f6b54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
:root[data-theme="dark"] .wl-points li::before { filter: brightness(1.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wl-points li::before { filter: brightness(1.7); } }
.wl-art {
  padding: clamp(14px, 3vw, 28px); border-radius: 20px; min-width: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--accent-soft), transparent 70%), var(--surface-2);
  border: 1px solid var(--border);
}
.wl-stage { position: relative; padding-bottom: 8px; }
.wl-illus { display: block; width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.wl-illus.small { max-width: 62%; margin-left: auto; }
.wl-stage .wl-float { position: relative; margin: -34px 0 0; }
.wl-stack { display: grid; gap: 12px; }

/* Vignettes: look like the app's own cards */
.wl-mini {
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 8px; text-align: left;
}
.wl-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wl-mini-sub { font-size: 0.85rem; color: var(--muted); }
.wl-mini-row { display: flex; align-items: center; gap: 10px; }
.wl-rsvp { display: flex; gap: 6px; }
.wl-rsvp span { flex: 1; text-align: center; padding: 7px 4px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 0.88rem; font-weight: 600; }
.wl-rsvp .on { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.wl-board { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wl-board li { display: grid; grid-template-columns: auto 3.2em 1fr auto; align-items: center; gap: 8px; }
.wl-board i { height: 10px; border-radius: 99px; background: var(--accent); width: var(--w); }
.wl-board b { font-variant-numeric: tabular-nums; }
.wl-headline { margin: 0; font: 600 1.1rem/1.35 var(--font-display); }
.wl-chat { gap: 10px; }
.wl-bubble { display: flex; align-items: flex-end; gap: 8px; }
.wl-bubble p { margin: 0; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; }
.wl-bubble.me { justify-content: flex-end; }
.wl-bubble.me p { background: var(--accent); border-color: var(--accent); color: var(--accent-text); border-radius: 14px 14px 4px 14px; }
.wl-search { padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); }
.wl-snip { margin: 0; font-size: 0.93rem; }
.wl-snip mark { background: var(--winner); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* How it works */
.wl-how { display: grid; gap: 28px; }
.wl-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wl-steps li { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.wl-steps b {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font: 700 1.1rem var(--font-display);
}
.wl-steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.wl-steps p { margin: 0; color: var(--muted); }
.wl-phone { display: flex; gap: 10px; justify-content: center; align-items: flex-start; margin: 0; text-align: left; max-width: 38em; justify-self: center; }

/* Closing call */
.wl-cta {
  text-align: center; padding: clamp(32px, 6vw, 56px) 20px; border-radius: 24px; display: grid; gap: 14px; justify-items: center;
  background: var(--accent); color: var(--accent-text);
}
.wl-cta h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.wl-cta p { margin: 0; max-width: 32em; }
.wl-cta .btn { border-color: var(--accent-text); }
.wl-cta .btn.primary { background: var(--accent-text); color: var(--accent); border-color: var(--accent-text); box-shadow: none; }
.wl-cta .btn:not(.primary) { background: transparent; color: var(--accent-text); }
.wl-cta .btn:not(.primary):hover { background: rgb(255 255 255 / 0.14); }

@media (min-width: 760px) {
  .wl-hero { grid-template-columns: 1fr 1.1fr; gap: 32px; }
  .wl-feature { grid-template-columns: 1fr 1fr; gap: 48px; }
  .wl-feature.flip .wl-copy { order: 2; }
  .wl-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .wl-float { animation: wl-bob 6s ease-in-out infinite; }
  @keyframes wl-bob { 50% { transform: translateY(-4px); } }
}
