/* Pipsly demo: the welcome page (demo.pipsly.app). Pipsly's own tokens (shared/css/tokens.css), monochrome. */
html, body { background: var(--bg); color: var(--text, #F2F3F5); }
body { margin: 0; font-family: var(--font); -webkit-font-smoothing: antialiased; }
.wl { max-width: 760px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); box-sizing: border-box; }
.wl-top { display: flex; align-items: center; gap: 10px; }
.wl-logo { height: 34px; width: auto; display: block; }
.demo-pill { font: 700 11px/1 var(--font); letter-spacing: .14em; padding: 6px 9px; border-radius: 999px; color: var(--accent-ink, #0A0A0A);
  background: linear-gradient(180deg, #FFFFFF, #C9CCD1); box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 6px 18px rgba(201,204,209,.18); }
.wl-lang { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: inherit; font: 600 13px var(--font); cursor: pointer; }
.wl-lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wl-hero { padding: clamp(36px, 9vw, 84px) 0 22px; }
.wl-kicker { margin: 0 0 10px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.wl-hero h1 { margin: 0; font: 400 clamp(44px, 11vw, 78px)/.98 var(--font-display); letter-spacing: -.01em; }
.wl-hero h1 { background: linear-gradient(180deg, #fff 35%, #A9AEB5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-lead { margin: 16px 0 0; max-width: 34em; color: var(--accent-2); font-size: 17px; line-height: 1.5; }
.wl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .wl-pick { grid-template-columns: 1fr; } }
.wl-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: start; padding: 20px 18px 18px;
  border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: inherit; cursor: pointer;
  font: inherit; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; min-height: 150px; }
.wl-card:hover { border-color: rgba(255,255,255,.28); box-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06) inset; }
.wl-card:active { transform: scale(.985); }
.wl-card[disabled] { opacity: .6; cursor: progress; }
.wl-card b { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.wl-card small { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 26em; }
.wl-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: #0A0A0A; }
.wl-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-go { position: absolute; inset-inline-end: 18px; top: 22px; font-style: normal; font-size: 20px; color: var(--muted); }
[dir="rtl"] .wl-go { transform: scaleX(-1); }
.wl-card.busy .wl-go { animation: wl-spin 1s linear infinite; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-sub { margin: 14px 0 0; text-align: center; }
.wl-link { background: none; border: 0; color: var(--accent-2); font: 500 15px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.wl-msg { min-height: 22px; margin: 8px 0 0; text-align: center; color: var(--accent-2); font-size: 14px; }
.wl-msg.bad { color: var(--bad); }
.wl-notes { list-style: none; margin: 28px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.wl-notes li { color: var(--muted); font-size: 14px; line-height: 1.45; padding-inline-start: 22px; position: relative; }
.wl-notes li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); }
.wl-notes b { color: var(--accent-2); font-weight: 600; }
.wl-foot { margin-top: 22px; color: #6B6F76; font-size: 12px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .wl-card, .wl-card.busy .wl-go { transition: none; animation: none; } }
