/* The sample site is the exhibit. Keep its frame quiet, its controls together,
   and the explore link below the viewport rather than on top of the work. */
body :is(.demoBand,.wsPreview) {
  --ps-preview-edge:color-mix(in srgb,var(--ink) 18%,var(--bg));
  --ps-preview-shadow:0 8px 24px color-mix(in srgb,var(--ink) 8%,transparent);
  --ps-preview-wash:color-mix(in srgb,var(--ink) 4%,var(--bg));
}

.homeRefined .heroGrid .demoBand,
.websiteDesign .wsPreview {
  padding:0;
  background:transparent;
  color:var(--ink);
  border:0;
  border-radius:0;
  box-shadow:none;
}

.homeRefined .heroGrid .demoNote { padding:0 0 14px; }
.homeRefined .heroGrid .demoNote span {
  color:var(--dim);
  font-size:13px;
  font-weight:400;
  line-height:1.6;
  max-width:none;
}

.homeRefined .browser {
  background:var(--panel);
  border:1px solid var(--ps-preview-edge);
  border-radius:8px;
  box-shadow:var(--ps-preview-shadow);
}

.homeRefined .browserBar,
.websiteDesign .wsPreviewBar {
  min-height:40px;
  padding:10px 14px;
  background:var(--panel);
  color:var(--dim);
  border-bottom:1px solid var(--line);
  font-size:11px;
  font-weight:500;
}
.homeRefined .browserBar .addr { color:var(--dim); }
.homeRefined .dot { background:var(--dim); opacity:.35; }
/* No fixed ratio: home-features.js sets the height to where the design's
   opening ends, at the design's real width (Jason, 2026-11-11, "wide"). A
   ratio here turned that height back into a width wider than the frame. */
.homeRefined .heroGrid .clip { aspect-ratio:auto; background:var(--panel); }
.homeRefined .heroGrid .exploreDemo {
  position:static;
  display:block;
  padding:0;
  background:none;
  color:var(--ink);
  text-decoration:none;
}
.homeRefined .exploreDemo > span,
.websiteDesign .wsExplore {
  display:block;
  position:static;
  min-height:52px;
  padding:14px 18px;
  margin:0;
  background:var(--panel);
  color:var(--ink);
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  box-shadow:none;
  transform:none;
  text-align:right;
  font-size:13px;
  font-weight:600;
  line-height:1.7;
  white-space:normal;
}
.homeRefined .exploreDemo:hover > span,
.websiteDesign .wsDemoImage:hover .wsExplore { background:var(--panel); color:var(--hand); }
.homeRefined .demoBand .chip {
  background:transparent;
  color:var(--dim);
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  padding-inline:4px;
  box-shadow:none;
}
.homeRefined .demoBand .chip:hover { color:var(--ink); border-color:var(--line); }
.homeRefined .demoBand .chip.on { background:transparent; color:var(--ink); border-color:var(--hand); }
.homeRefined .demoBand :focus-visible { outline-color:var(--hand); }

.websiteDesign .wsPreviewHead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.websiteDesign .wsSampleLabel { padding:0; color:var(--dim); font-size:13px; line-height:1.5; }
.websiteDesign .wsDevices { flex:none; padding:3px; border:1px solid var(--line); border-radius:6px; background:var(--panel); }
.websiteDesign .wsDevices button { min-height:38px; padding:7px 11px; font-size:11px; color:var(--dim); border-radius:3px; }
.websiteDesign .wsDevices button[aria-pressed=true] { background:var(--ink); color:var(--panel); }
.websiteDesign .wsPreviewBar { justify-content:start; gap:18px; border:1px solid var(--ps-preview-edge); border-radius:8px 8px 0 0; }
.websiteDesign .wsPreview .wsDots { color:var(--dim); opacity:.45; }
.websiteDesign .wsDemoImage {
  display:block;
  aspect-ratio:auto;
  background:var(--panel);
  border:1px solid var(--ps-preview-edge);
  border-top:0;
  border-radius:0 0 8px 8px;
  box-shadow:var(--ps-preview-shadow);
  color:var(--ink);
  text-decoration:none;
}
/* The captures used to include a 77px sample strip, cropped here. Since
   2026-11-10 screen-shots photographs the design with its bars hidden, so
   there is no strip, and the crop cut the top off the sample's own header.
   Nothing is cropped now: the screen takes its capture's own shape, and the
   phone picture ends where its design's opening ends (Jason, 2026-11-12). */
.websiteDesign .wsScreen { display:block; overflow:hidden; background:white; }
.websiteDesign .wsScreen > img { display:block; width:100%; max-width:none; height:auto; }
.websiteDesign .wsPreview[data-device=phone] .wsDemoImage { padding:0; background:var(--ps-preview-wash); }
.websiteDesign .wsPreview[data-device=phone] .wsScreen {
  width:min(80%,280px);
  margin:20px auto;
  border:2px solid var(--ink);
  border-radius:8px;
  box-shadow:var(--ps-preview-shadow);
}
.websiteDesign .wsPreview[data-device=phone] .wsExplore { display:block; margin:0; }
.websiteDesign .wsPreview > .wsDetails { margin-top:12px; }
.websiteDesign .wsPreview .wsDetails > summary { font-size:12px; }

@media(max-width:700px) {
  .websiteDesign .wsPreviewHead { flex-wrap:wrap; gap:10px; }
  .websiteDesign .wsDevices button { min-height:44px; }
  .homeRefined .heroGrid .demoNote span { font-size:12px; }
  .homeRefined .exploreDemo > span,.websiteDesign .wsExplore { padding-inline:14px; }
}
