/* The setup steps' look (mock N in docs/signup-looks-v4.html): a white page with a dark green strip on top and a big
   soft green curve, green headings and picks, coral buttons with squarer corners, and the Outfit font. Only while
   the setup shows (body.on-setup). The first step adds the kind-of-business tiles and the booking page preview. */
.on-setup {
  --pick: #2f6b3a; --pick-soft: #edf5ec; --line: #e5ebe8; --act: #e4574f; --act-dark: #cf4a42; --deep: #1f4f4a; --strip: #2c5a55;
  background: #fff; font-family: "Outfit", system-ui, sans-serif;
}
.on-setup::before { content: ""; position: fixed; right: -260px; top: -160px; width: 780px; height: 780px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(160deg, #e3f0e2, #cfe4e0); }
.on-setup .top { border-top: 8px solid var(--strip); background: color-mix(in srgb, #fff 70%, transparent); }
.on-setup .brand i { background: var(--pick); }
.on-setup .card { border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -34px rgba(31, 45, 43, .35); }
.on-setup .form-card h1 { color: var(--pick); font-size: 34px; font-weight: 600; letter-spacing: -.015em; }
.on-setup .btn { border-radius: 6px; font-weight: 600; }
.on-setup .btn-main { background: var(--act); }
.on-setup .btn-main:hover { background: var(--act-dark); }
.on-setup .btn-light { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.on-setup :focus-visible { outline-color: var(--pick); }

/* the first step: tiles beside the preview */
.narrow.has-side { max-width: 1180px; }
.setup-grid { display: grid; gap: 30px; align-items: start; }
.has-side .setup-grid { grid-template-columns: 1fr 320px; }
.type-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.type-tile { --h: 220; position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); text-align: left; font-size: 14px; font-weight: 500; line-height: 1.25; transition: box-shadow .2s, background .2s, transform .3s var(--ease); }
.type-tile:hover { box-shadow: inset 0 0 0 1px #c3d1cc; }
.type-tile:active { transform: scale(.97); }
.type-tile[aria-pressed="true"] { background: var(--pick-soft); box-shadow: inset 0 0 0 2px var(--pick); }
.type-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: hsl(var(--h) 85% 94%); color: hsl(var(--h) 55% 40%); }
.type-ic .ico { width: 18px; height: 18px; }
.type-tick { position: absolute; top: -7px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--pick); color: #fff; display: none; place-items: center; }
.type-tick .ico { width: 12px; height: 12px; stroke-width: 3; }
.type-tile[aria-pressed="true"] .type-tick { display: grid; }

/* the booking page preview: a phone showing the page as customers will see it */
.setup-side { position: sticky; top: 96px; }
.pv-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.pv-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, #fff); }
.pv-phone { width: 300px; border-radius: 40px; background: #1f2d2b; padding: 10px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .5); }
.pv-screen { position: relative; height: 540px; border-radius: 31px; overflow: hidden; background: #fff; }
.pv-cover { --h: 220; position: relative; height: 120px; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h) 80% 88%), hsl(calc(var(--h) + 30) 75% 80%)); }
.pv-big { position: absolute; right: -16px; bottom: -22px; color: hsl(var(--h) 50% 45% / .25); }
.pv-big .ico { width: 120px; height: 120px; stroke-width: 1.4; }
.pv-head { position: relative; display: flex; flex-direction: column; padding: 0 18px; margin-top: -26px; }
.pv-av { --h: 220; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: hsl(var(--h) 55% 40%); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.pv-av .ico { width: 24px; height: 24px; }
.pv-name { margin-top: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pv-meta { font-size: 12px; color: var(--muted); }
.pv-list { display: grid; gap: 8px; padding: 14px 18px 0; }
.pv-svc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #f3f5f4; font-size: 13px; animation: pv-in .45s var(--ease) both; }
.pv-svc b { display: block; font-weight: 600; }
.pv-svc span { color: var(--muted); font-size: 12px; }
.pv-svc em { font-style: normal; font-weight: 700; }
.pv-book { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--act); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 -18px 18px 6px #fff; }
.pv-note { width: 300px; margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
@keyframes pv-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .pv-svc { animation: none; } }

/* Look J (mock J in docs/signup-looks-v4.html), shown with /join/?look=j while the two looks are compared: soft lilac
   and blush, an Archivo heading with a fine line under it, purple pill buttons. */
.on-setup.look-j { --pick: #5b4bd1; --pick-soft: #efecfc; --line: #ece4f0; --act: #5b4bd1; --act-dark: #4a3bc0; --deep: #4a3f6b;
  background: #f6e9f7; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.on-setup.look-j::before { right: -140px; top: -160px; width: 620px; height: 620px; background: radial-gradient(circle, #f3c6e3, transparent 65%); }
.on-setup.look-j .top { border-top: 0; background: color-mix(in srgb, #f6e9f7 80%, transparent); }
.on-setup.look-j .card { border-radius: 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -26px rgba(74, 63, 107, .3); }
.on-setup.look-j .form-card h1 { font-family: "Archivo", sans-serif; font-size: 36px; font-weight: 600; letter-spacing: -.03em; color: var(--deep); }
.on-setup.look-j .form-card h1::after { content: ""; display: block; max-width: 280px; height: 1px; margin-top: 16px; background: #dccfe3; }
.on-setup.look-j .btn { border-radius: 99px; font-weight: 700; }
.on-setup.look-j .btn-light { background: #fff; color: var(--deep); box-shadow: inset 0 0 0 1px #dccfe3; }
.on-setup.look-j .type-tile { border-radius: 14px; }
.on-setup.look-j .pv-phone { background: var(--deep); }
.on-setup.look-j .pv-cover { background: linear-gradient(135deg, #f7d6ea, #d9d2fb); }
.on-setup.look-j .pv-book { border-radius: 99px; }
.on-setup.look-j .btn-main:disabled { background: #c9c1ec; opacity: 1; }

/* Sign-up's first step, "What do you offer?" (mock docs/signup-centred-v6.html): on the page itself, centred; pick all
   that apply from 12 cards, each with a line of examples, then "Something else" as a pill. */
.on-setup.look-j:has(.setup-centred) { background: #faf8fb; }
.setup-centred { max-width: 1040px; margin: 34px auto 0; text-align: center; }
.step-label { font: 500 12px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.setup-centred h1 { margin: 14px 0 12px; font: 600 40px/1.1 "Archivo", sans-serif; letter-spacing: -.03em; color: var(--deep); }
.setup-centred .sub { margin: 0; color: var(--ink); font-size: 16px; }
.setup-centred h1:focus { outline: none; } /* focused by the page after each step, for screen readers */
.offer-picks { margin-top: 36px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; text-align: left; }
.offer, .offer-else { background: var(--surface); color: var(--deep); box-shadow: inset 0 0 0 1px #e7e1ec, 0 1px 2px rgba(0, 0, 0, .03); transition: box-shadow .2s, background .2s, transform .3s var(--ease); }
.offer { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 16px; border-radius: 12px; text-align: left; line-height: 1.25; }
.offer > .ico { width: 22px; height: 22px; flex: none; stroke-width: 1.6; }
.offer-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.offer-txt b { font-size: 15px; font-weight: 600; color: var(--ink); }
.offer-txt small { font-size: 12.5px; color: var(--muted); }
.offer-else { display: inline-flex; align-items: center; gap: 10px; height: 46px; margin-top: 18px; padding: 0 20px 0 14px; border-radius: 99px; font-size: 15px; font-weight: 500; }
.offer:hover, .offer-else:hover { box-shadow: inset 0 0 0 1px #cdbfd8, 0 6px 16px -10px rgba(74, 63, 107, .35); }
.offer:active, .offer-else:active { transform: scale(.98); }
.offer[aria-pressed="true"], .offer-else[aria-pressed="true"] { background: var(--pick-soft); box-shadow: inset 0 0 0 2px var(--pick); }
.offer[aria-pressed="true"] > .ico { color: var(--pick); }
.offer-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px #d5cce0; }
.offer .offer-tick { margin-left: auto; }
.offer-else .offer-tick { width: 20px; height: 20px; }
.offer-tick .ico { width: 13px; height: 13px; stroke-width: 3; }
[aria-pressed="true"] > .offer-tick { background: var(--pick); color: #fff; box-shadow: none; }
.centred-acts { margin-top: 26px; }
.centred-acts .btn { height: 54px; padding: 0 38px; font-size: 16px; }

/* Sign-up's second step (join-steps.js): about you and your business. */
.back-pill { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 6px 12px 6px 8px; border-radius: 99px; color: var(--muted); font-size: 14px; font-weight: 500; }
.back-pill:hover { background: color-mix(in srgb, var(--pick) 8%, transparent); color: var(--ink); }
.back-pill .ico { width: 16px; height: 16px; stroke-width: 2; }
.about-form { display: grid; gap: 2px; max-width: 560px; margin: 30px auto 0; text-align: left; }
.about-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-form .field input { background: var(--surface); box-shadow: inset 0 0 0 1px #e7e1ec; }
.about-form .field input:focus { box-shadow: inset 0 0 0 2px var(--pick); }
.about-form .btn { justify-self: center; height: 54px; padding: 0 38px; font-size: 16px; }
/* "Where is it?": 8 state chips, radio buttons underneath (join-steps.js statesHtml) */
.states-field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.states-field legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.state-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.state-chip { position: relative; }
.about-form .state-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; box-shadow: none; }
.state-chip span { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px #e7e1ec; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.state-chip input:checked + span { background: var(--ink); color: var(--surface); box-shadow: none; }
.state-chip input:focus-visible + span { outline: 2px solid var(--pick); outline-offset: 2px; }

@media (max-width: 980px) {
  .has-side .setup-grid { grid-template-columns: 1fr; }
  .setup-side { position: static; display: flex; flex-direction: column; align-items: center; }
  .type-tiles { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-centred h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .type-tiles { grid-template-columns: repeat(2, 1fr); }
  #setup-form.row2 { grid-template-columns: 1fr; gap: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .about-pair { grid-template-columns: 1fr; gap: 0; }
  .on-setup .form-card h1 { font-size: 28px; }
  .on-setup::before { right: -420px; top: -300px; }
}
