/* The sign-up wizard (Views/Start) — on top of landing.css, whose .lp tokens it uses.
 *
 * Without scripts every step shows, one under the other, and the form simply works. join.js adds
 * .is-js and from then on one step shows at a time, with the live preview beside it (wide) or above
 * it (phone).
 */

.jz { min-height: 100vh; display: flex; flex-direction: column; }
/* Several pieces here lay themselves out with display:flex; [hidden] has to win over all of them. */
.jz [hidden] { display: none !important; }
.jz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- top bar ---------- */
.jz-top { position: sticky; top: 0; z-index: 20; background: var(--lp-card); border-bottom: 1px solid var(--lp-line); }
.jz-top__bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.jz-steps { display: none; margin: 0 auto !important; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--lp-muted); }
.jz-steps li { display: flex; align-items: center; gap: 8px; }
.jz-steps li + li::before { content: ""; width: 32px; height: 2px; background: var(--lp-line-strong); margin-inline-end: 2px; }
.jz-steps__n { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--lp-line-strong); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.jz-steps li.is-now { color: var(--lp-blue); }
.jz-steps li.is-now .jz-steps__n { background: var(--lp-blue); border-color: var(--lp-blue); color: #fff; }
.jz-steps li.is-done { color: var(--lp-ok-ink); }
.jz-steps li.is-done .jz-steps__n { background: var(--lp-ok-soft); border-color: var(--lp-ok-soft); }
.jz-steps li.is-done + li::before { background: var(--lp-ok); }
.jz-count { display: none; margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--lp-muted); }
.jz-exit { margin-inline-start: auto; font-size: 14.5px; font-weight: 600; color: var(--lp-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.jz-exit:hover { color: var(--lp-ink); }
.jz-progress { display: none; height: 4px; background: var(--lp-line); }
.jz-progress span { display: block; height: 100%; width: 25%; background: var(--lp-blue); transition: width .25s; }

.jz.is-js .jz-count { display: inline; }
.jz.is-js .jz-count + .jz-exit { margin-inline-start: 0; }
.jz.is-js .jz-progress { display: block; }
@media (min-width: 900px) {
  .jz.is-js .jz-steps { display: flex; }
  .jz.is-js .jz-count { display: none; }
  .jz.is-js .jz-steps + .jz-count + .jz-exit { margin-inline-start: 0; }
  .jz-top__bar { height: 72px; }
  .jz.is-js .jz-progress { display: none; }
}

/* ---------- layout ---------- */
.jz-main { flex: 1; width: 100%; box-sizing: border-box; display: grid; gap: 20px; align-content: start; padding-block: 20px 40px; }
/* A grid item is as wide as its content by default; the row of sample cards would stretch the whole
   form to its own length instead of scrolling inside it. */
.jz-form { min-width: 0; }
@media (min-width: 1024px) {
  .jz-main { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; padding-block: 40px 56px; align-items: start; }
}

/* ---------- the steps ---------- */
.jz-step { padding-bottom: 8px; }
.jz-step + .jz-step { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--lp-line); }
.jz.is-js .jz-step + .jz-step { margin-top: 0; padding-top: 0; border-top: 0; }
.jz-step[hidden] { display: none; }
.jz-step h1 { font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; outline: none; }
.jz-lead { margin-top: 8px !important; font-size: 16px; line-height: 1.6; color: var(--lp-muted); max-width: 560px; }
.jz-label { display: block; margin-top: 20px; font-size: 14.5px; font-weight: 700; }
.jz-opt { font-weight: 500; color: var(--lp-muted); }
/* A legend ignores its own top margin inside a fieldset, so the fieldset carries the gap. */
.jz-field { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.jz-field > legend { padding: 0; margin-top: 0; }
.jz-input {
  display: block; width: 100%; max-width: 560px; box-sizing: border-box; margin-top: 8px; min-height: 52px; padding: 0 14px;
  border-radius: 14px; border: 1px solid #d3cab6; background: #fff; font: inherit; font-size: 16px; color: var(--lp-ink);
}
.jz-input[dir="ltr"] { text-align: right; }
.jz-input:focus { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .14); }
.jz-err { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #b42318; }
.jz-note { margin-top: 10px !important; font-size: 13.5px; color: var(--lp-muted); }
.jz-note a { color: var(--lp-blue); }

/* A real input, visually replaced: radios and checkboxes stay in the form and the tab order. */
.jz-tile input, .jz-chip input, .jz-style input, .jz-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.jz-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; max-width: 640px; }
@media (min-width: 640px) { .jz-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jz-tile {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border-radius: 16px;
  border: 1px solid var(--lp-line); background: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s;
}
.jz-tile__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #f3efe6; color: var(--lp-muted); display: flex; align-items: center; justify-content: center; }
.jz-tile__ico svg { width: 19px; height: 19px; }
.jz-tile:hover { border-color: var(--lp-line-strong); }
.jz-tile:has(input:checked) { border: 2px solid var(--lp-blue); padding: 7px 9px; background: #f2f6ff; }
.jz-tile:has(input:checked) .jz-tile__ico { background: var(--lp-blue); color: #fff; }
.jz-tile:has(input:focus-visible), .jz-chip:has(input:focus-visible), .jz-style:has(input:focus-visible), .jz-switch:has(input:focus-visible) { outline: 3px solid var(--lp-gold); outline-offset: 2px; }

.jz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 640px; }
.jz-chip { position: relative; cursor: pointer; }
.jz-chip > span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--lp-line-strong); background: #fff; font-size: 15px; font-weight: 600; transition: background .15s, border-color .15s;
}
.jz-chip svg { width: 15px; height: 15px; display: none; }
.jz-chip--home input:checked + span { background: var(--lp-navy); border-color: var(--lp-navy); color: #fff; }
.jz-chip--home input:checked + span svg { display: inline; color: var(--lp-gold); }
.jz-chip--reach input:checked + span { background: var(--lp-blue-soft); border-color: var(--lp-blue); color: var(--lp-blue-deep); }
.jz-chip--reach input:checked + span svg { display: inline; stroke-width: 2.8; }
/* The home city is in the card's area already; its "reach" twin is dimmed rather than offered twice. */
.jz-chip--reach.is-home { opacity: .45; pointer-events: none; }

.jz-switch {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 560px; box-sizing: border-box;
  margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); cursor: pointer;
}
.jz-switch b { display: block; font-size: 15px; }
.jz-switch small { display: block; font-size: 13px; color: var(--lp-muted); }
.jz-switch__track { flex: none; position: relative; width: 48px; height: 28px; border-radius: 14px; background: #d9d4c8; transition: background .15s; }
.jz-switch__track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .15s; }
.jz-switch input:checked ~ .jz-switch__track { background: var(--lp-blue); }
.jz-switch input:checked ~ .jz-switch__track::after { inset-inline-start: 23px; }

.jz-hint {
  display: flex; align-items: flex-start; gap: 10px; max-width: 560px; box-sizing: border-box; margin-top: 18px !important; padding: 12px 14px;
  border-radius: 14px; background: var(--lp-gold-soft); color: var(--lp-gold-ink); font-size: 14px; line-height: 1.5;
}
.jz-hint svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }

.jz-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; max-width: 560px; }
.jz-style { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 14px; border: 1px solid var(--lp-line); background: #fff; font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; }
.jz-style img { width: 100%; height: 56px; object-fit: cover; border-radius: 9px; }
.jz-style:has(input:checked) { border: 2px solid var(--lp-blue); padding: 5px; background: #f2f6ff; }

/* The pictures: wide covers, round images in circles, the chosen one ringed. Uploading needs the
   script, so without it the upload tile is not offered. */
.jz-photos { display: grid; gap: 10px; margin-top: 10px; max-width: 560px; }
.jz-photos--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .jz-photos--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jz-photos--round { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 440px; gap: 12px; }
.jz-photo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--lp-muted); text-align: center; cursor: pointer; }
.jz-photo[hidden] { display: none; }
.jz-photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jz-photo img, .jz-photo__initial, .jz-photo__plus { display: block; width: 100%; box-sizing: border-box; background: #f3efe6; transition: outline-color .15s; outline: 3px solid transparent; outline-offset: 2px; }
.jz-photos--wide img, .jz-photos--wide .jz-photo__plus { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.jz-photos--round img, .jz-photos--round .jz-photo__initial, .jz-photos--round .jz-photo__plus { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.jz-photo__initial { display: flex; align-items: center; justify-content: center; font-family: var(--lp-display); font-size: 26px; font-weight: 800; color: var(--lp-ink); }
.jz-photo__plus { display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px dashed var(--lp-line-strong); color: var(--lp-muted); }
.jz-photo__plus svg { width: 24px; height: 24px; }
.jz-photos--wide .jz-photo__cap {
  position: absolute; bottom: 6px; inset-inline: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(15, 18, 28, .6); color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jz-photos--wide .jz-photo--add .jz-photo__cap { background: none; color: var(--lp-muted); }
.jz-photo:hover img, .jz-photo:hover .jz-photo__initial, .jz-photo:hover .jz-photo__plus { outline-color: var(--lp-line-strong); }
.jz-photo:has(input:checked) img, .jz-photo:has(input:checked) .jz-photo__initial { outline-color: var(--lp-blue); }
.jz-photo:has(input:checked) { color: var(--lp-blue-deep); }
.jz-photo:has(input:focus-visible) img, .jz-photo:has(input:focus-visible) .jz-photo__initial, .jz-photo:has(input:focus-visible) .jz-photo__plus { outline-color: var(--lp-gold); }
.jz-photo--add.is-busy { cursor: progress; opacity: .6; }
.jz:not(.is-js) .jz-photo--add { display: none; }

.jz-free { margin-top: 20px !important; max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--lp-muted); }
.jz-free + .jz-free { margin-top: 8px !important; }
.jz-free b { color: var(--lp-ink); }

.jz-based { margin-top: 6px !important; font-size: 14px; color: var(--lp-muted); }
.jz-based b { color: var(--lp-ink); }
.jz-linkbtn {
  min-height: 32px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--lp-blue);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- step 1: a card to start from ---------- */
/* The cards are the preview on this step, and need the width it would take. */
.jz.is-pick .jz-preview { display: none; }
@media (min-width: 1024px) { .jz.is-pick .jz-main { grid-template-columns: minmax(0, 1fr); } }

/* The fields: a row that swipes on a phone, a list beside the cards on a wide screen. Filtering
   needs the script, so without it the row is not shown and every card is. */
.jz-fields { display: none; }
.jz.is-js .jz-fields {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 18px calc(-1 * clamp(16px, 4vw, 32px)) 0; padding: 2px clamp(16px, 4vw, 32px);
}
.jz-fields::-webkit-scrollbar, .jz-samples::-webkit-scrollbar { display: none; }
.jz-fields button {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--lp-line-strong); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--lp-ink);
  white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s;
}
.jz-fields button span { font-size: 12.5px; color: var(--lp-muted); }
.jz-fields button[aria-pressed="true"] { background: var(--lp-navy); border-color: var(--lp-navy); color: #fff; }
.jz-fields button[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.jz-fields button:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 2px; }

/* The cards: one in the middle and the next peeking in, snapping as they swipe. */
.jz-samples-wrap { margin-top: 0; }
.jz-samples {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * clamp(16px, 4vw, 32px)); padding: 20px calc(50vw - 118px) 8px;
}
.jz-sample { position: relative; flex: 0 0 236px; display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-snap-align: center; cursor: pointer; }
.jz-sample input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jz-sample__tick {
  position: absolute; z-index: 2; top: -11px; inset-inline-end: -9px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--lp-blue); color: #fff; display: none; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--lp-paper), 0 8px 16px -8px rgba(29, 78, 216, .7);
}
.jz-sample__tick svg { width: 18px; height: 18px; stroke-width: 3; }
.jz-sample:has(input:checked) .jz-sample__tick { display: flex; }
.jz-sample:has(input:checked) .jz-mini,
.jz-sample:has(input:checked) .jz-clean { box-shadow: 0 0 0 4px var(--lp-blue), 0 26px 50px -28px rgba(20, 34, 74, .6); }
.jz-sample:has(input:focus-visible) .jz-mini,
.jz-sample:has(input:focus-visible) .jz-clean { outline: 3px solid var(--lp-gold); outline-offset: 7px; }
.jz-sample__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 10px; min-height: 30px; font-size: 13.5px; color: var(--lp-muted); text-align: center; }
.jz-sample__cap b { color: var(--lp-ink); }
.jz-sample__cap a { display: inline-flex; align-items: center; gap: 3px; padding: 6px 0; color: var(--lp-blue); font-weight: 600; text-decoration: none; }
.jz-sample__cap a:hover { text-decoration: underline; }
.jz-sample__cap a svg { width: 14px; height: 14px; }

/* The samples in miniature: card-mini.css, shared with the gallery. */

.jz-clean {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 236px; height: 434px;
  box-sizing: border-box; padding: 0 26px; border-radius: 36px; border: 2px dashed #d3cab6; background: #fbfaf6;
  color: var(--lp-muted); font-size: 13.5px; line-height: 1.5; text-align: center; transition: box-shadow .15s;
}
.jz-clean b { font-size: 16px; color: var(--lp-ink); }
.jz-clean__plus { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--lp-line); color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.jz-clean__plus svg { width: 26px; height: 26px; }

@media (min-width: 1024px) {
  .jz-pick { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 26px; }
  .jz.is-js .jz-fields { position: sticky; top: 96px; flex-direction: column; gap: 6px; overflow: visible; margin: 0; padding: 0; }
  .jz-fields button { justify-content: space-between; min-height: 46px; border-radius: 12px; }
  .jz-samples { flex-wrap: wrap; gap: 30px 26px; overflow: visible; scroll-snap-type: none; margin: 0; padding: 14px 8px 6px; }
}

/* On this step the button stays in reach under however many cards there are, at every width. */
.jz.is-js.is-pick .jz-nav {
  position: sticky; bottom: 0; z-index: 10; justify-content: center; max-width: none; margin: 24px calc(-1 * clamp(16px, 4vw, 32px)) 0;
  padding: 12px clamp(16px, 4vw, 32px) 16px; background: var(--lp-card); border-top: 1px solid var(--lp-line);
}
@media (min-width: 1024px) { .jz.is-pick .jz-nav [data-next] { flex: 0 1 380px; } }

/* ---------- step 4: the account ---------- */
.jz-google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 560px; min-height: 52px; margin-top: 20px;
  border-radius: 14px; border: 1px solid #d3cab6; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: var(--lp-ink); cursor: pointer;
}
.jz-google:hover { border-color: var(--lp-ink); }
.jz-google__g { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--lp-line-strong); display: flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 14px; color: #4285f4; }
.jz-or { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 16px; font-size: 13.5px; color: var(--lp-muted); }
.jz-or::before, .jz-or::after { content: ""; flex: 1; height: 1px; background: var(--lp-line-strong); }
.jz-save { margin-top: 20px; max-width: 560px; }

/* ---------- back / next ---------- */
.jz-nav { display: none; }
.jz.is-js .jz-nav { display: flex; gap: 10px; margin-top: 28px; max-width: 560px; }
.jz-nav [data-next] { flex: 1; }
.jz-nav [hidden] { display: none; }
@media (max-width: 1023px) {
  .jz.is-js .jz-nav {
    position: sticky; bottom: 0; z-index: 10; max-width: none; margin: 24px calc(-1 * clamp(16px, 4vw, 32px)) 0;
    padding: 12px clamp(16px, 4vw, 32px) 16px; background: var(--lp-card); border-top: 1px solid var(--lp-line);
  }
}

/* ---------- the live preview ---------- */
.jz-preview {
  order: -1; display: flex; flex-direction: column; align-items: center; gap: 12px;
  --pv-bg: #f8f1e7; --pv-surface: #fffaf3; --pv-ink: #3a2a1e; --pv-muted: #7a6352; --pv-accent: #8a5a3c; --pv-accent-ink: #fffaf3;
}
.jz-preview__label { display: none; font-size: 13.5px; font-weight: 700; color: var(--lp-blue-deep); }
.jz-phone { width: 100%; }
.jz-card { overflow: hidden; border-radius: 18px; background: var(--pv-bg); color: var(--pv-ink); border: 1px solid var(--lp-line); box-shadow: 0 16px 34px -24px rgba(20, 34, 74, .4); }
.jz-card__cover { display: block; width: 100%; height: 64px; object-fit: cover; }
.jz-card__body { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 0 14px 12px; margin-top: -24px; }
.jz-card__logo {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--pv-surface); background: var(--pv-accent); color: var(--pv-accent-ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--lp-display); font-weight: 800; font-size: 22px;
}
.jz-card__logo { overflow: hidden; }
.jz-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.jz-card__name { align-self: end; padding-top: 26px; font-family: var(--lp-display); font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.jz-card__sub { align-self: start; font-size: 13px; color: var(--pv-muted); }
.jz-card__areas { display: none; }
.jz-card__acts { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 12px; }
.jz-act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--pv-muted); opacity: .45; transition: opacity .2s; }
.jz-act > span { width: 38px; height: 38px; border-radius: 50%; background: var(--pv-surface); border: 1px solid color-mix(in oklab, var(--pv-ink) 12%, transparent); color: var(--pv-ink); display: flex; align-items: center; justify-content: center; }
.jz-act svg { width: 17px; height: 17px; }
.jz-act.is-on { opacity: 1; }
.jz-act.is-on > span { background: var(--pv-accent); border-color: var(--pv-accent); color: var(--pv-accent-ink); }
.jz-card__lock, .jz-card__ready { display: none; }

/* Now, or the sample in full: a two-way switch above the phone, and the sample's picture in a window
   that scrolls through it, the height of the preview. */
.jz-pv-switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.jz-pv-switch[hidden] { display: none; }
.jz-pv-switch button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--lp-muted); cursor: pointer;
}
.jz-pv-switch button svg { width: 15px; height: 15px; }
.jz-pv-switch button[aria-pressed="true"] { background: var(--lp-navy); color: #fff; }
.jz-pv-switch button:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 2px; }
.jz-full {
  width: min(100%, 280px); height: min(56vh, 520px); box-sizing: border-box; margin-inline: auto; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 30px; border: 6px solid #0b0f1a; background: #e9e5dc; scrollbar-width: none;
}
.jz-full::-webkit-scrollbar { display: none; }
.jz-full[hidden] { display: none; }
.jz-full img { display: block; width: 100%; height: auto; }
.jz-full:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 3px; }
.jz-full__note { margin: 0; max-width: 300px; font-size: 13px; line-height: 1.5; color: var(--lp-muted); text-align: center; }
.jz-full__note[hidden] { display: none; }

/* Started from a sample: the preview wears that sample's theme, read from its card-theme-* class. */
.jz-preview.is-template {
  --pv-bg: var(--c-bg); --pv-surface: var(--c-surface); --pv-ink: var(--c-text);
  --pv-muted: var(--c-muted); --pv-accent: var(--c-primary); --pv-accent-ink: var(--c-primary-fg);
}

@media (min-width: 1024px) {
  .jz-preview {
    order: 0; position: sticky; top: 96px; padding: 24px 20px; border-radius: 28px;
    background: linear-gradient(180deg, var(--lp-blue-soft) 0%, var(--lp-paper) 100%); border: 1px solid var(--lp-line);
  }
  .jz-preview__label { display: block; }
  .jz-phone { width: 290px; padding: 10px; border-radius: 44px; background: #0b0f1a; box-shadow: 0 34px 70px -30px rgba(20, 34, 74, .55); }
  .jz-card { border: 0; border-radius: 35px; min-height: 520px; box-shadow: none; }
  .jz-full { width: auto; height: 560px; border: 0; border-radius: 35px; }
  .jz-card__cover { height: 120px; }
  .jz-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -38px; padding: 0 16px 18px; }
  .jz-card__logo { width: 76px; height: 76px; border-width: 4px; font-size: 30px; }
  .jz-card__name { padding-top: 10px; font-size: 20px; }
  .jz-card__areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 10px; }
  .jz-card__areas span { padding: 2px 9px; border-radius: 999px; background: color-mix(in oklab, var(--pv-accent) 14%, var(--pv-surface)); color: var(--pv-ink); font-size: 11.5px; font-weight: 600; }
  .jz-card__acts { width: 100%; margin-top: 18px; }
  .jz-act > span { width: 46px; height: 46px; }
  .jz-card__lock {
    display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; margin-top: 20px; padding: 11px 12px; border-radius: 14px;
    border: 1.5px dashed color-mix(in oklab, var(--pv-ink) 25%, transparent); font-size: 12.5px; color: var(--pv-muted); text-align: start;
  }
  .jz-card__lock svg { width: 15px; height: 15px; flex: none; }

  /* What the sample brings: its photos, dimmed, and a pill that says they wait in the card. */
  .jz-card__ready { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 18px; }
  .jz-card__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; opacity: .42; filter: saturate(.6); }
  .jz-card__thumbs:empty { display: none; }
  .jz-card__thumbs img { width: 100%; height: 62px; object-fit: cover; border-radius: 8px; }
  .jz-card__pill {
    display: flex; align-items: flex-start; gap: 7px; padding: 9px 11px; border-radius: 12px; background: var(--pv-surface);
    border: 1.5px dashed color-mix(in oklab, var(--pv-ink) 25%, transparent); font-size: 12px; line-height: 1.45; color: var(--pv-ink); text-align: start;
  }
  .jz-card__pill svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
}

/* ---------- the page after ---------- */
.jz-done__main { flex: 1; width: 100%; max-width: 620px; box-sizing: border-box; padding-block: 36px 56px; }
.jz-done__hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.jz-done__tick { width: 72px; height: 72px; border-radius: 50%; background: var(--lp-ok-soft); color: var(--lp-ok-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(12, 129, 83, .08); }
.jz-done__tick svg { width: 36px; height: 36px; stroke-width: 2.6; }
.jz-done__hero h1 { margin-top: 20px !important; font-weight: 800; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
.jz-link { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--lp-line); }
.jz-link a { flex: 1; min-width: 0; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--lp-blue-deep); text-align: right; text-decoration: none; }
.jz-link__copy { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--lp-blue-soft); color: var(--lp-blue); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.jz-link__copy.is-done { background: var(--lp-ok-soft); color: var(--lp-ok-ink); }
.jz-link__copy svg { width: 18px; height: 18px; }
.jz-done__share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.jz-done__share .lp-btn { flex: 1 1 160px; }
.jz-wa { background: var(--lp-ok-ink); color: #fff !important; }
.jz-wa:hover { background: #075a39; }
.jz-status { margin-top: 16px !important; padding: 14px 16px !important; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.jz-status li { display: flex; align-items: center; gap: 10px; }
.jz-status li > span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.jz-status li > span svg { width: 14px; height: 14px; stroke-width: 2.6; }
.jz-status__ok { background: var(--lp-ok-soft); color: var(--lp-ok-ink); }
.jz-status__wait { background: var(--lp-gold-soft); color: var(--lp-gold-ink); }
.jz-status__todo { background: var(--lp-blue-soft); color: var(--lp-blue); }
.jz-status a { color: var(--lp-blue); font-weight: 600; }
.jz-ready { margin-top: 16px !important; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); }
.jz-ready h2 { font-weight: 800; font-size: 19px; }
.jz-ready > p { margin-top: 4px !important; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }
.jz-ready ul { margin-top: 12px !important; display: flex; flex-direction: column; gap: 8px; }
.jz-ready li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.jz-ready__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--lp-blue-soft); color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.jz-ready__ico svg { width: 18px; height: 18px; }
.jz-ready__plan { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; background: var(--lp-blue-soft); color: var(--lp-blue-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.jz-ready__plan.is-pro { background: var(--lp-navy); color: #fff; }
.jz-ready__plan.is-free { background: var(--lp-ok-soft); color: var(--lp-ok-ink); }
.jz-ready__more { font-size: 14px; font-weight: 500; color: var(--lp-muted); }

/* Beside the list, the sample in full: a long picture in a phone, scrolling through it on hover. */
.jz-ready.has-full { display: grid; gap: 18px; }
@media (min-width: 560px) { .jz-ready.has-full { grid-template-columns: minmax(0, 1fr) 190px; align-items: start; } }
.jz-ready__full { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-self: center; width: 190px; color: var(--lp-blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.jz-ready__phone { display: block; width: 100%; box-sizing: border-box; padding: 6px; border-radius: 30px; background: #0b0f1a; box-shadow: 0 24px 46px -28px rgba(20, 34, 74, .6); }
.jz-ready__screen { display: block; aspect-ratio: 9 / 18; overflow: hidden; border-radius: 24px; background: #e9e5dc; }
.jz-ready__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
  .jz-ready__screen img { transition: object-position 6s ease-in-out; }
  .jz-ready__full:hover img, .jz-ready__full:focus-visible img { object-position: 50% 100%; }
}
.jz-ready__cap { display: inline-flex; align-items: center; gap: 3px; }
.jz-ready__cap svg { width: 14px; height: 14px; }
.jz-ready__full:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 4px; border-radius: 30px; }
.jz-upsell { position: relative; overflow: hidden; margin-top: 16px; padding: 22px; border-radius: 24px; background: var(--lp-dark); color: #fff; }
.jz-upsell__tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--lp-gold); color: var(--lp-gold-fg); font-size: 12.5px; font-weight: 800; }
.jz-upsell h2 { margin-top: 10px !important; font-weight: 800; font-size: 22px; }
.jz-upsell ul { margin-top: 10px !important; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.jz-upsell li { display: flex; align-items: center; gap: 8px; }
.jz-upsell li svg { width: 16px; height: 16px; color: var(--lp-gold); stroke-width: 2.8; }
.jz-upsell__acts { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.jz-upsell__later { color: rgba(255, 255, 255, .8); font-weight: 600; text-decoration: none; }
.jz-help { margin-top: 18px !important; text-align: center; font-size: 14.5px; color: var(--lp-muted); }
.jz-help a { color: var(--lp-blue); font-weight: 700; }
