/* ==========================================================
   08 · White-label: amber panel, copy + live brand switcher
   recolouring a mini client portal (canvas 600 × 520)
   ========================================================== */

.whitelabel { padding: 120px 0 40px; }
.wl-box {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: stretch;
  padding: 20px;
  border-radius: 34px;
  /* reference language: grey shell, blue rising from the bottom */
  background:
    linear-gradient(180deg, rgba(104,104,255,0) 40%, rgba(84,110,255,.18) 72%, rgba(70,100,255,.6) 100%),
    #EEF0F5;
  border: 1px solid var(--border);
}
.wl-stage { order: 1; align-self: center; padding: 28px 0 28px 28px; }
.wl-copy {
  order: 2;
  padding: 44px 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, #FFFFFF 55%, rgba(255,255,255,.88));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, var(--shadow-md);
  align-content: center;
}
.wl-copy { display: grid; gap: 22px; justify-items: start; }
.wl-copy .h2 { text-wrap: balance; }
.wl-copy .muted-line { color: #7F879B; }
.wl-copy .lead { color: var(--ink-600); max-width: 44ch; }
.wl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-800); }
.wl-list li { display: flex; align-items: center; gap: 10px; }
.wl-list .i { color: var(--cobalt-500); width: 18px; height: 18px; }

.wl-try { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 10px 12px 10px 16px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--shadow-sm); }
.wl-try-l { font-size: 14px; font-weight: 500; color: var(--ink-800); }
.wl-swatches { display: flex; gap: 8px; }
.sw {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, var(--s1), var(--s2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 0 var(--white);
  transition: transform .15s ease, box-shadow .2s ease;
}
.sw:hover { transform: translateY(-1px); }
.sw[aria-checked="true"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 2px var(--white), 0 0 0 4px var(--s1); }
.sw:focus-visible { outline: 2px solid var(--ink-950); outline-offset: 4px; }

/* ---------- Preview ----------
   What white-label actually changes, shown as the client meets it:
   the sign-in page on the agency's domain (split auth layout, the
   agency's own photography), the invoice email from the agency's own
   address (after Square's "client view"), and the domain row as a
   settings page lists it (after Vercel). The switcher recolours
   --b1/--b2/--soft and swaps mark, photo, name, domain and sender. */
.wl-stage { position: relative; }
.wl-canvas {
  --b1: #2F6BFF; --b2: #1843BD; --soft: #EEF1FF;
  --g-200: #EBEBEB; --g-500: #8F8F8F; --g-600: #666; --g-900: #171717;
  width: 600px; height: 520px; position: relative; transform-origin: 0 0;
  font-family: "Geist", var(--font-body); font-size: 12.5px; color: var(--g-900);
}
.wl-canvas .mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; }
.wl-canvas :is(.wp-go, .wp-mark) { transition: background-color .45s ease, color .45s ease; }
.wp-photo img { transition: opacity .35s ease; }

.wp-browser { position: absolute; left: 0; top: 0; width: 560px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 4px rgba(16,24,48,.05), 0 30px 60px -30px rgba(20,50,140,.4); }
.wp-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; background: #FAFAFA; border-bottom: 1px solid var(--g-200); }
.wp-bar .br-dots { width: auto; }
.wp-url { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; margin-left: 40px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--g-200); color: var(--g-500); font-size: 11.5px; }
.wp-url .i { color: var(--g-500); }
.wp-url em { font-style: normal; color: var(--g-900); }

.wp-auth { display: grid; grid-template-columns: 1fr 236px; height: 330px; }
.wp-form { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 24px; }
.wp-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--b1), var(--b2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 2px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.12); }
.wp-mark svg { width: 56%; height: 56%; fill: currentColor; }
.wp-mark.sm { width: 26px; height: 26px; border-radius: 7px; }
.wp-h { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.wp-form > p { margin: 4px 0 18px; color: var(--g-600); }
.wp-field { display: grid; gap: 6px; width: 100%; font-size: 12px; color: var(--g-600); font-weight: 500; }
.wp-in { display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--g-200); color: var(--g-900); font-weight: 400; }
.wp-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 34px; margin-top: 10px; border-radius: 7px; background: var(--b1); color: #fff; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.wp-go.sm { width: auto; height: 30px; padding: 0 14px; margin-top: 12px; align-self: flex-start; }
.wp-fine { margin-top: auto; font-size: 11.5px; color: var(--g-500); }
.wp-photo { position: relative; overflow: hidden; border-left: 1px solid var(--g-200); }
.wp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wp-mail { position: absolute; z-index: 2; right: 0; top: 262px; width: 318px; padding: 14px 16px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 4px rgba(16,24,48,.05), 0 24px 48px -20px rgba(20,50,140,.38); display: flex; flex-direction: column; }
.wm-from { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--g-200); }
.wm-from b { display: block; font-weight: 500; } .wm-from small { display: block; color: var(--g-500); font-size: 11.5px; }
.wm-t { margin-left: auto; color: var(--g-500); font-size: 11.5px; }
.wm-h { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.wp-mail p { margin: 4px 0 0; color: var(--g-600); }

.wp-dom { position: absolute; left: 0; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 8px 20px -10px rgba(20,50,140,.3); color: var(--g-900); }
.wp-dom > .i { color: var(--g-500); }
.wd-ok { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--g-200); color: #237A3B; font-size: 12px; font-weight: 500; }
.wd-ok i { width: 7px; height: 7px; border-radius: 50%; background: #2EA44F; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .wl-box { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .wl-copy { order: 0; }
  .wl-stage { max-width: 600px; width: 100%; justify-self: center; padding: 12px 0; }
}
@media (max-width: 767px) {
  .whitelabel { padding: 72px 0 24px; }
  .wl-box { padding: 8px; border-radius: 24px; gap: 20px; }
  .wl-copy { padding: 28px 20px; border-radius: 18px; }
  .wl-list { font-size: 15px; }
  .wl-try { width: 100%; justify-content: space-between; }
}
