/* Picker: a Figma-style canvas (dot grid, labelled frames) after the Waida bundle page.
   Each card's preview (.pv--<slug>) shows a small sample of that demo's visual style. */
:root {
  --ink: #09090b; --ink-2: #27272a; --muted: #52525b; --faint: #71717a; --line: #e4e4e7;
  --canvas: #f4f4f5; --dot: rgba(9,9,11,.10); --paper: #fff; --accent: #0158ff;
}
body.picker { background: var(--canvas); color: var(--ink); font: 400 16px/1.55 Geist, Figtree, system-ui, sans-serif; }
.canvas { background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; }
.shell { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px) clamp(48px, 6vw, 88px); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); max-width: 820px; }
.hero__chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: 0 1px 2px rgba(9,9,11,.05); }
.hero__chip span { color: var(--accent); font-size: 10px; }
.hero h1 { margin-top: 22px; font-weight: 700; font-size: clamp(2.4rem, 6.2vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--faint); font-weight: 600; }
.hero__lede { margin-top: 22px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 60ch; }

.group { margin-top: clamp(28px, 4vw, 48px); }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 18px; }
.group__head h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; }
.group__head p { color: var(--faint); font-size: .95rem; }

.grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.frame { display: flex; flex-direction: column; min-width: 0; }
.frame__label { display: flex; align-items: center; gap: 6px; font: 500 12px/1 Geist, system-ui, sans-serif; color: var(--faint); margin: 0 0 8px 2px; }
.frame__icon { color: var(--accent); font-weight: 700; }
.frame__num { margin-left: auto; font-variant-numeric: tabular-nums; }
.card { flex: 1; display: flex; flex-direction: column; background: var(--paper); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(9,9,11,.05);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -22px rgba(1,88,255,.45); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__title { font-weight: 650; font-size: 1.08rem; letter-spacing: -.02em; }
.card__text { margin-top: 6px; color: var(--muted); font-size: .92rem; flex: 1; }
.card__go { margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ---- previews: each demo's own photo, with a type sample in its template's style ---- */
.pv { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9;
  padding: 16px 18px; overflow: hidden; isolation: isolate; color: #fff; background: #222 center / cover no-repeat; }
.pv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.55) 100%); }
.pv__biz { font: 600 10.5px/1 Geist, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.pv__h { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.card:hover .pv { background-size: cover; }
.pv--missed-call-text-back { background-image: url(../missed-call-text-back/img/hero-sm.webp); }
.pv--missed-call-text-back .pv__h { font: 300 clamp(1.5rem, 2.5vw, 2rem)/1 Inter, sans-serif; }
.pv--missed-call-text-back .pv__h::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 10px; background: #ffd12e; border-radius: 3px; }
.pv--instant-reply { background-image: url(../instant-reply/img/ev-sm.webp); }
.pv--instant-reply::before { background: linear-gradient(180deg, rgba(4,20,23,.35), rgba(4,20,23,.8)); }
.pv--instant-reply .pv__h { font: 800 clamp(1.3rem, 2.2vw, 1.7rem)/1 Geist, sans-serif; text-transform: uppercase; color: #5ff2e1; }
.pv--enquiry-logging { background-image: url(../enquiry-logging/img/team-sm.webp); }
.pv--enquiry-logging::before { background: linear-gradient(180deg, rgba(18,12,36,.2), rgba(18,12,36,.75)); }
.pv--enquiry-logging .pv__h { font: 800 clamp(1.6rem, 2.7vw, 2.1rem)/.95 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.pv--daily-call-list { background-image: url(../daily-call-list/img/sunset-sm.webp); }
.pv--daily-call-list .pv__h { font: 600 clamp(1.1rem, 1.9vw, 1.4rem)/1 'JetBrains Mono', monospace; color: #ff7a2f; }
.pv--quote-chasing { background-image: url(../quote-chasing/img/hero-sm.webp); }
.pv--quote-chasing .pv__h { font: 400 clamp(1.5rem, 2.5vw, 2rem)/1 Inter, sans-serif; }
.pv--old-quote-follow-up { background-image: url(../old-quote-follow-up/img/k3-sm.webp); }
.pv--old-quote-follow-up::before { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%, rgba(0,0,0,.4)); }
.pv--old-quote-follow-up .pv__biz { color: #111; }
.pv--old-quote-follow-up .pv__h { font: 600 clamp(1.6rem, 2.7vw, 2.1rem)/1 Inter, sans-serif; letter-spacing: -.05em; }
.pv--old-quote-follow-up .pv__h::after { content: " ✳"; color: #ff5a1f; }
.pv--customer-reactivation { background-image: url(../customer-reactivation/img/hero-sm.webp); }
.pv--customer-reactivation .pv__h { font: 500 clamp(1.5rem, 2.5vw, 1.95rem)/1 Inter, sans-serif; }
.pv--review-requests { background-image: url(../review-requests/img/family-sm.webp); }
.pv--review-requests .pv__h { font: 400 clamp(2rem, 3.6vw, 2.8rem)/1 'Archivo Black', sans-serif; color: #ffe600; letter-spacing: .02em; }
.pv--proposal-drafting { background-image: url(../proposal-drafting/img/greencouch-sm.webp); }
.pv--proposal-drafting .pv__h { font: 700 clamp(1.7rem, 2.8vw, 2.2rem)/.95 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.pv--invoice-creation { background-image: url(../invoice-creation/img/hero-sm.webp); }
.pv--invoice-creation .pv__h { font: 500 clamp(1.4rem, 2.3vw, 1.8rem)/1 Inter, sans-serif; }
.pv--invoice-chasing { background-image: url(../invoice-chasing/img/brick-sm.webp); }
.pv--invoice-chasing .pv__h { font: 700 clamp(1.4rem, 2.3vw, 1.8rem)/1 Inter, sans-serif; }
.pv--invoice-chasing .pv__h::before { content: "↑ "; color: #7fa6ff; }
.pv--email-replies { background-image: url(../email-replies/img/caddy-sm.webp); }
.pv--email-replies .pv__h { font: 400 clamp(1.8rem, 3vw, 2.3rem)/1 'Instrument Serif', serif; font-style: italic; }
.pv--booking-reminders { background-image: url(../booking-reminders/img/fire-sm.webp); }
.pv--booking-reminders::before { background: linear-gradient(180deg, rgba(40,20,10,.35), rgba(40,20,10,.1) 40%, rgba(40,20,10,.7)); }
.pv--booking-reminders .pv__h { font: 400 clamp(1.7rem, 2.8vw, 2.2rem)/1 'Instrument Serif', serif; font-style: italic; color: #ffb27a; }
.pv--job-confirmations { background-image: url(../job-confirmations/img/vannight-sm.webp); }
.pv--job-confirmations .pv__h { font: 800 clamp(1.9rem, 3.2vw, 2.5rem)/.9 'Barlow Condensed', sans-serif; color: #ffa62b; }
.pv--trade-quoting { background-image: url(../trade-quoting/img/yellow-sm.webp); }
.pv--trade-quoting .pv__h { font: 400 clamp(1rem, 1.7vw, 1.3rem)/1 'Archivo Black', sans-serif; text-transform: uppercase; align-self: flex-start; background: #ef5a36; padding: 7px 10px; transform: rotate(-2deg); text-shadow: none; }
/* video links */
.hero__watch { margin-top: 18px; }
.hero__watch a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--accent); text-decoration: none; }
.hero__watch a:hover { text-decoration: underline; }
.frame__vid { margin-left: 8px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 11px; border: 1px solid rgba(1,88,255,.3); border-radius: 999px; padding: 2px 7px; }
.frame__vid:hover { background: rgba(1,88,255,.08); }
