/* xPA.one get-started wizard — 2026-11-22
   Reuses site.css tokens and the template palettes (.p1–.p6 set --t-pri, --t-soft, --t-acc, --t-bg, --t-ink).
   Rule: P2/P3/P4 accent colours are never used as text colour; they only fill buttons and blocks. */

.p1 { --t-btn-ink: #FFFFFF; --t-muted: #4B5563; }
.p2 { --t-btn-ink: #1B1B1B; --t-muted: #4A5A51; }
.p3 { --t-btn-ink: #2A1B20; --t-muted: #5E4B50; }
.p4 { --t-btn-ink: #1C1C1E; --t-muted: #52525B; }
.p5 { --t-btn-ink: #FFFFFF; --t-muted: #44606E; }
.p6 { --t-btn-ink: #FFFFFF; --t-muted: #4B5563; }

/* ---------- Intro ---------- */
.wz-intro { padding: 48px 0 28px; background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); }
.wz-intro h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); }
.wz-lede { margin-top: 12px; font-size: 1.125rem; color: var(--muted); max-width: 640px; }

/* ---------- No-JS fallback ---------- */
.wz-nojs { display: grid; gap: 16px; justify-items: start; max-width: 720px; padding: 8px 0 88px; }
.wz-nojs h2 { font-size: 1.5rem; }
.wz-nojs p { color: var(--muted); }

/* ---------- Wizard shell ---------- */
.wz { padding: 8px 0 96px; }
.wz-progress ol { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.wz-pstep {
  width: 100%; min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 0 0 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 .875rem/1.2 var(--font-body); color: var(--muted);
}
.wz-pstep::before { content: ''; display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--line); }
.wz-pstep .wz-pnum { display: none; }
.wz-pstep.is-done { color: var(--brand); }
.wz-pstep.is-done::before { background: var(--brand); }
.wz-pstep.is-current { color: var(--ink); }
.wz-pstep.is-current::before { background: var(--accent); }
.wz-pstep:disabled { cursor: default; color: #6B7A74; }
.wz-pstep:not(:disabled):hover .wz-plabel { text-decoration: underline; text-underline-offset: 3px; }

.wz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.wz-grid.no-side { grid-template-columns: minmax(0, 1fr); }
.wz-main { min-width: 0; }
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wz-h { padding: 0; font: 700 clamp(1.375rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--font-head); letter-spacing: -0.02em; margin-bottom: 8px; display: block; }
.wz-h:focus { outline: none; }
.wz-h:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.wz-count { display: block; font: 600 .8125rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.wz-help { color: var(--muted); margin-bottom: 20px; }
.wz-step > .ind-grid { margin-top: 20px; }
.wz-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.wz-nav-top { margin-top: 8px; }
.wz-err { color: #B42318; font-weight: 600; font-size: .9375rem; margin-top: 8px; }

/* ---------- Option cards (radio inputs) ---------- */
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt-box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.opt:hover .opt-box { border-color: #A9B8B1; }
.opt input:checked + .opt-box { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--brand); outline-offset: 3px; }
.opt-title { font: 700 1.0625rem/1.3 var(--font-head); color: var(--ink); }
.opt-sub { font-size: .9375rem; color: var(--muted); }
.opt-sub strong { color: var(--ink); font-weight: 600; }
.opt input:checked + .opt-box .opt-title::after { content: ' \2713'; color: var(--brand); }

.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ind-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); margin-bottom: 8px; }
.is-soon { cursor: not-allowed; }
.is-soon .opt-box { background: var(--soft); border-style: dashed; }
.is-soon:hover .opt-box { border-color: var(--line); }
.is-soon .opt-title { color: var(--muted); }
.soon-tag { align-self: flex-start; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #E6EAE8; color: #3D4B46; font-size: .8125rem; font-weight: 600; }

/* ---------- Template cards with mini page sketches ---------- */
.tplx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tplx-opt .opt-box { padding: 0; overflow: hidden; gap: 0; }
.tplx-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; border-top: 1px solid var(--line); }
.tplx-meta { font-size: .8125rem; color: var(--muted); }

.mini { display: flex; flex-direction: column; gap: 7px; padding: 10px; background: var(--t-bg); aspect-ratio: 3 / 4; overflow: hidden; }
.m-bar { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 5px; background: #fff; flex: none; }
.m-bar-dark { background: transparent; padding: 0 0 4px; }
.m-bar-plain { background: transparent; justify-content: space-between; padding: 2px 0; }
.m-logo { width: 14px; height: 14px; border-radius: 4px; background: var(--t-pri); flex: none; }
.m-bar-dark .m-logo { background: #fff; }
.m-logo-lg { width: 34px; height: 34px; border-radius: 50%; }
.m-phone { width: 22px; height: 6px; border-radius: 3px; margin-left: auto; background: var(--t-pri); opacity: .55; }
.m-bar-plain .m-phone { margin-left: 0; }
.m-phone-light { background: #fff; opacity: .7; }
.m-txt { display: block; height: 5px; border-radius: 3px; background: var(--t-ink); opacity: .7; }
.m-faint { opacity: .25; }
.m-head { display: block; height: 9px; width: 90%; border-radius: 3px; background: var(--t-pri); }
.m-head-lg { height: 12px; }
.m-head-light { background: #fff; }
.m-btn { display: block; width: 44%; height: 13px; border-radius: 3px; background: var(--t-acc); flex: none; }
.m-btn-xs { width: 26px; height: 10px; }
.m-pill { border-radius: 999px; }
.m-btn-wide { width: 50%; height: 15px; }
.m-btn-round { border-radius: 6px; width: 36%; }
.m-w30 { width: 30%; } .m-w40 { width: 40%; } .m-w50 { width: 50%; } .m-w60 { width: 60%; } .m-w70 { width: 70%; } .m-w80 { width: 80%; }
.m-row { display: flex; align-items: center; gap: 6px; }
.m-row .m-btn { width: 50%; }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: none; height: 30%; }
.m-col { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.m-img { border-radius: 5px; background: var(--t-pri); opacity: .88; }
.m-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: none; }
.m-trust span { height: 10px; border-radius: 3px; background: var(--t-soft); border: 1px solid rgba(0, 0, 0, .06); }
.m-label { font: 700 8px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--t-ink); opacity: .8; margin-top: 2px; }
.m-cards { display: grid; gap: 5px; flex: none; }
.m-cards span { height: 24px; border-radius: 4px; background: var(--t-soft); border: 1px solid rgba(0, 0, 0, .06); }
.m-cards-4 { grid-template-columns: repeat(4, 1fr); }
.m-cards-3 { grid-template-columns: repeat(3, 1fr); }
.m-cards-big { grid-template-columns: repeat(3, 1fr); }
.m-cards-big span { height: 36px; background: var(--t-soft); border-bottom: 4px solid var(--t-pri); }
.m-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.m-steps span { height: 16px; border-radius: 50px; background: #fff; border: 2px solid var(--t-pri); opacity: .7; }
.m-cta { margin-top: auto; display: flex; justify-content: center; padding: 8px; border-radius: 5px; background: var(--t-soft); }
.m-cover { flex: none; height: 46%; background: var(--t-pri); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.m-cover .m-bar { margin-bottom: auto; }
.m-chips { display: flex; gap: 4px; }
.m-chips span { width: 22%; height: 9px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .85); }
.m-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.m-quotes span { height: 22px; border-radius: 4px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); }
.mini-local { background: var(--t-soft); }
.m-center { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; }
.m-about { display: grid; grid-template-columns: 28px 1fr; gap: 6px; align-items: center; padding: 6px; border-radius: 6px; background: var(--t-bg); }
.m-face { width: 28px; height: 28px; border-radius: 50%; background: var(--t-pri); opacity: .8; }
.m-lines { display: grid; gap: 4px; }
.mini-local .m-cards span { background: var(--t-bg); }
.mini-local .m-cta { background: var(--t-bg); }

/* ---------- Palette cards ---------- */
.pal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pal-chip { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 44px; border-radius: 8px; overflow: hidden; margin-bottom: 8px; border: 1px solid rgba(0, 0, 0, .08); }
.pal-chip span:nth-child(1) { background: var(--t-pri); }
.pal-chip span:nth-child(2) { background: var(--t-acc); }
.pal-chip span:nth-child(3) { background: var(--t-soft); }

/* ---------- Details form ---------- */
.fields { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field > label, .field-label { font-weight: 600; font-size: .9375rem; }
.opt-note { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #74847D; border-radius: 10px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff;
}
.field input::placeholder { color: #6B7A74; }
.field input:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-help { font-size: .875rem; color: var(--muted); }
.field-help:empty { display: none; }
.logo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-box { width: 72px; height: 72px; flex: none; display: grid; place-items: center; border: 1.5px dashed #74847D; border-radius: 12px; background: var(--soft); overflow: hidden; }
.logo-box canvas { width: 100%; height: 100%; }
.logo-box.has-logo { border-style: solid; background: #fff; }
.logo-box.has-logo .logo-empty { display: none; }
.logo-empty { font-size: .75rem; color: var(--muted); }
.logo-ctrl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; position: relative; }
.file-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .file-btn { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Summary ---------- */
.summary { margin: 20px 0 24px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 560px; }
.summary div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: .9375rem; }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary dd.is-empty { font-weight: 400; color: var(--muted); }
.wz-submit { margin-bottom: 12px; }
.wz-soon { max-width: 560px; margin-bottom: 8px; color: var(--ink); }

/* ---------- Live preview ---------- */
.wz-side { position: sticky; top: 88px; min-width: 0; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.pv-heading { font: 700 1rem var(--font-head); display: flex; align-items: center; gap: 8px; }
.pv-sample { font: 600 .75rem var(--font-body); color: #6B4A00; background: #FDF0D2; padding: 2px 8px; border-radius: 999px; }
.pv-toggle { display: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.pv-tbtn { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font: 600 .875rem var(--font-body); cursor: pointer; }
.pv-tbtn[aria-pressed="true"] { background: var(--brand); color: #fff; }
.wz[data-step="5"] .pv-toggle { display: inline-flex; }

.pv-frame { margin-inline: auto; background: #fff; overflow: hidden; }
.pv-frame.is-mobile { max-width: 360px; border: 10px solid var(--ink); border-radius: 32px; box-shadow: var(--shadow); }
.pv-frame.is-desktop { width: 100%; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.pv-chrome { display: none; align-items: center; gap: 6px; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.pv-chrome span:not(.pv-url) { width: 10px; height: 10px; border-radius: 50%; background: #C9D2CD; }
.pv-url { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: #fff; font-size: .75rem; color: var(--muted); }
.is-desktop .pv-chrome { display: flex; }
.pv-scroll { height: 600px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.pv-scroll:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.wz[data-step="5"] .pv-scroll { height: 680px; }

/* Computer view on a narrow screen: lay the page out at 1024px and zoom it down to fit (class set by start.js) */
.pv-canvas { container-type: inline-size; }
.pv-frame.is-zoomed .pv-canvas { width: 1024px; margin-inline: auto; }
.pv-frame.z25 .pv-canvas { zoom: 0.25; }
.pv-frame.z30 .pv-canvas { zoom: 0.3; }
.pv-frame.z35 .pv-canvas { zoom: 0.35; }
.pv-frame.z40 .pv-canvas { zoom: 0.4; }
.pv-frame.z45 .pv-canvas { zoom: 0.45; }
.pv-frame.z50 .pv-canvas { zoom: 0.5; }
.pv-frame.z55 .pv-canvas { zoom: 0.55; }
.pv-frame.z60 .pv-canvas { zoom: 0.6; }
.pv-frame.z65 .pv-canvas { zoom: 0.65; }
.pv-frame.z70 .pv-canvas { zoom: 0.7; }
.pv-frame.z75 .pv-canvas { zoom: 0.75; }
.pv-frame.z80 .pv-canvas { zoom: 0.8; }
.pv-frame.z85 .pv-canvas { zoom: 0.85; }
.pv-frame.z90 .pv-canvas { zoom: 0.9; }
.pv-frame.z95 .pv-canvas { zoom: 0.95; }

/* Step 5: preview takes the full width */
.wz[data-step="5"] .wz-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.wz[data-step="5"] .wz-side { position: static; }
.wz[data-step="5"] .pv-frame.is-desktop { max-width: 1080px; }

/* ---------- The sample storefront (palette tokens only) ---------- */
.pv-site {
  --pv-head: var(--font-head);
  --pv-radius: 6px;
  display: flex; flex-direction: column;
  background: var(--t-bg); color: var(--t-ink);
  font: 400 13px/1.45 var(--font-body);
  min-height: 100%;
}
.pv-site[data-tpl="steady"] { --pv-head: Georgia, 'Times New Roman', serif; --pv-radius: 6px; }
.pv-site[data-tpl="bold"] { --pv-radius: 999px; }
.pv-site[data-tpl="local"] { --pv-head: ui-rounded, 'Plus Jakarta Sans', system-ui, sans-serif; --pv-radius: 12px; background: var(--t-soft); }

.pv-top { order: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .08); position: sticky; top: 0; z-index: 2; }
.pv-logo { width: 28px; height: 28px; flex: none; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: var(--t-pri); }
.pv-logo canvas, .pv-biglogo canvas { width: 100%; height: 100%; background: #fff; }
.pv-initials { color: #fff; font: 700 11px/1 var(--font-head); }
.pv-name { font: 700 13px/1.2 var(--pv-head); color: var(--t-pri); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-call { margin-left: auto; padding: 5px 10px; border: 1.5px solid var(--t-pri); border-radius: var(--pv-radius); color: var(--t-pri); font-weight: 600; font-size: 11px; white-space: nowrap; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: var(--pv-radius); background: var(--t-acc); color: var(--t-btn-ink); font-weight: 700; white-space: nowrap; }
.pv-btn-sm { padding: 6px 10px; font-size: 11px; display: none; }
.pv-call + .pv-btn-sm { margin-left: 0; }
.pv-site[data-tpl="bold"] .pv-top { background: var(--t-pri); border-bottom-color: rgba(255, 255, 255, .15); }
.pv-site[data-tpl="bold"] .pv-name { color: #fff; }
.pv-site[data-tpl="bold"] .pv-call { color: #fff; border-color: #fff; }
.pv-site[data-tpl="bold"] .pv-logo { background: #fff; }
.pv-site[data-tpl="bold"] .pv-initials { color: var(--t-pri); }
.pv-site[data-tpl="bold"] .pv-btn::after { content: ' \2192'; margin-left: 4px; }
.pv-site[data-tpl="local"] .pv-top { background: transparent; border-bottom: 0; }
.pv-site[data-tpl="local"] .pv-top .pv-logo { display: none; }

.pv-hero { order: 1; display: grid; gap: 14px; padding: 22px 16px; }
.pv-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pv-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); }
.pv-title { font: 700 24px/1.15 var(--pv-head); color: var(--t-pri); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pv-intro { color: var(--t-muted); }
.pv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-phone-link { color: var(--t-pri); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pv-biglogo { display: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; place-items: center; background: var(--t-pri); }
.pv-biglogo .pv-initials { font-size: 22px; }
.pv-quick { display: none; gap: 6px; flex-wrap: wrap; }
.pv-quick span { padding: 4px 10px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; font-size: 11px; font-weight: 600; }
.pv-media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 140px; border-radius: 8px; background: var(--t-pri); color: #fff; }
.pv-mono { font: 700 40px/1 var(--pv-head); }
.pv-media-note { font-size: 11px; opacity: .9; }

/* steady hero: text + photo block */
.pv-site[data-tpl="steady"] .pv-hero { background: var(--t-bg); border-bottom: 1px solid rgba(0, 0, 0, .06); }
/* bold hero: full colour cover, white text */
.pv-site[data-tpl="bold"] .pv-hero { background: var(--t-pri); padding: 30px 16px 28px; }
.pv-site[data-tpl="bold"] .pv-title { color: #fff; font: 800 28px/1.08 var(--font-head); letter-spacing: -0.03em; }
.pv-site[data-tpl="bold"] .pv-eyebrow, .pv-site[data-tpl="bold"] .pv-intro { color: #fff; opacity: .92; }
.pv-site[data-tpl="bold"] .pv-phone-link { color: #fff; }
.pv-site[data-tpl="bold"] .pv-quick { display: flex; }
.pv-site[data-tpl="bold"] .pv-media { display: none; }
/* local hero: centred, big logo, no photo frame */
.pv-site[data-tpl="local"] .pv-hero-copy { align-items: center; text-align: center; }
.pv-site[data-tpl="local"] .pv-biglogo { display: grid; }
.pv-site[data-tpl="local"] .pv-actions { justify-content: center; }
.pv-site[data-tpl="local"] .pv-media { display: none; }

.pv-sec { padding: 20px 16px; }
.pv-h { font: 700 16px/1.25 var(--pv-head); color: var(--t-pri); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pv-tag { font: 600 9px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: var(--t-soft); color: var(--t-ink); border: 1px solid rgba(0, 0, 0, .1); }
.pv-text { color: var(--t-muted); overflow-wrap: anywhere; }
.pv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-card { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); }
.pv-card b { color: var(--t-ink); font-weight: 700; }
.pv-card i { font-style: normal; color: var(--t-muted); font-size: 11px; }
.pv-site[data-tpl="bold"] .pv-card { border-bottom: 4px solid var(--t-pri); padding: 16px 12px; }
.pv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pv-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pv-steps b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--t-pri); color: #fff; font-size: 12px; }
.pv-quotes { display: grid; gap: 8px; }
.pv-quote { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 8px; background: #fff; border: 1px dashed rgba(0, 0, 0, .25); }
.pv-quote i { font-style: normal; font-size: 11px; color: var(--t-muted); }
.pv-ph { height: 7px; width: 90%; border-radius: 4px; background: var(--t-soft); border: 1px solid rgba(0, 0, 0, .06); }
.pv-ph-s { width: 60%; }
.pv-about-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.pv-face { width: 52px; height: 52px; border-radius: 50%; background: var(--t-pri); opacity: .85; }
.pv-qa { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.pv-qa b { font-weight: 600; color: var(--t-ink); }
.pv-qa span { color: var(--t-muted); }
.pv-cta { order: 20; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; margin: 8px 16px 16px; border-radius: 10px; background: var(--t-pri); text-align: center; }
.pv-cta strong { color: #fff; font: 700 17px/1.25 var(--pv-head); }
.pv-foot { order: 21; padding: 14px 16px 20px; font-size: 11px; color: var(--t-muted); text-align: center; }

.pv-site[data-tpl="local"] .pv-card, .pv-site[data-tpl="local"] .pv-quote { background: var(--t-bg); }
.pv-site[data-tpl="local"] .pv-tag { background: var(--t-bg); }
.pv-site[data-tpl="steady"] .pv-services, .pv-site[data-tpl="bold"] .pv-process { background: var(--t-soft); }

/* Section order per template (research report §2) */
.pv-about { order: 2; display: none; }
.pv-services { order: 3; }
.pv-process { order: 4; }
.pv-reviews { order: 5; }
.pv-area { order: 6; }
.pv-faq { order: 7; }
.pv-site[data-tpl="local"] .pv-about { display: block; }
.pv-site[data-tpl="local"] .pv-process { display: none; }

/* Wider preview (computer view) */
@container (min-width: 620px) {
  .pv-site { font-size: 14px; }
  .pv-top { padding: 12px 28px; }
  .pv-btn-sm { display: inline-flex; }
  .pv-call { margin-left: auto; }
  .pv-top .pv-btn-sm { margin-left: 0; }
  .pv-top:not(:has(.pv-call:not([hidden]))) .pv-btn-sm { margin-left: auto; }
  .pv-hero { padding: 48px 28px; }
  .pv-site[data-tpl="steady"] .pv-hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .pv-site[data-tpl="steady"] .pv-media { min-height: 240px; }
  .pv-site[data-tpl="bold"] .pv-hero { padding: 64px 28px 56px; }
  .pv-site[data-tpl="bold"] .pv-title { font-size: 44px; max-width: 640px; }
  .pv-site[data-tpl="local"] .pv-title { font-size: 34px; }
  .pv-title { font-size: 36px; }
  .pv-intro { max-width: 520px; }
  .pv-sec { padding: 32px 28px; }
  .pv-h { font-size: 20px; }
  .pv-cards { grid-template-columns: repeat(4, 1fr); }
  .pv-steps { grid-template-columns: repeat(3, 1fr); }
  .pv-quotes { grid-template-columns: 1fr 1fr; }
  .pv-faq .pv-qa { max-width: 680px; }
  .pv-cta { margin: 16px 28px 24px; padding: 36px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .wz-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .tplx-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .wz-grid { grid-template-columns: minmax(0, 1fr); }
  .wz-side { position: static; }
  .tplx-grid { grid-template-columns: repeat(3, 1fr); }
  .pv-scroll { height: 560px; }
}
@media (max-width: 720px) {
  .wz-intro { padding: 32px 0 20px; }
  .wz { padding-bottom: 64px; }
  .wz-progress ol { gap: 4px; margin-bottom: 24px; }
  .wz-pstep { font-size: .75rem; }
  .wz-pstep { position: relative; }
  .wz-pstep .wz-plabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wz-pstep .wz-pnum { display: block; }
  .tplx-grid { grid-template-columns: 1fr; }
  .mini { aspect-ratio: 4 / 3; }
  .pal-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .wz-nav .btn { flex: 1 1 auto; }
  .summary div { grid-template-columns: 1fr; gap: 2px; }
  .wz-submit { width: 100%; }
  .pv-frame.is-mobile { border-width: 8px; border-radius: 26px; }
  .pv-scroll { height: 520px; }
  .wz[data-step="5"] .pv-scroll { height: 560px; }
}
