/* The workspace demo, for now a window that says "in development" (2026-11-17). The earlier
   interactive demo (the design ZIP workspace, its runtime and data) is in
   archive/demo-2026-11-17/ until the new workspace demo is added. The window is a picture: plain
   boxes in the shape of a workspace, nothing in it can be pressed, and it has the same layout on
   phones, tablets and desktops. Used on the home page and on /platform/demo/. */
.dev-window { position: relative; border: 1px solid var(--n4); border-radius: 16px; overflow: hidden; background: var(--n1); user-select: none; }
.dev-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--n4); background: var(--n2); color: var(--n9); font-size: 14px; }
.dev-window-body { position: relative; display: grid; gap: clamp(14px, 2vw, 22px); padding: clamp(16px, 2.6vw, 32px); min-height: clamp(380px, 46vw, 560px); align-content: start; pointer-events: none; }
/* The shape of a workspace: a header row, a row of tabs, a title and a list. */
.dev-window-body i { display: block; border-radius: 8px; background: var(--n3); }
.dev-row { display: flex; align-items: center; gap: 12px; }
.dev-row .dev-logo { width: 132px; height: 28px; }
.dev-row .dev-pill { width: 92px; height: 34px; border-radius: 999px; }
.dev-row .dev-pill:first-of-type { background: var(--n5); }
.dev-row .dev-end { width: 36px; height: 36px; margin-left: auto; border-radius: 50%; }
.dev-title { width: min(260px, 60%); height: 30px; }
.dev-list { display: grid; border: 1px solid var(--n3); border-radius: 12px; background: var(--n0); }
.dev-list > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 90px; gap: 20px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--n3); }
.dev-list > div:first-child { border-top: 0; }
.dev-list i { height: 14px; }
.dev-list i:nth-child(1) { width: 70%; height: 18px; }
.dev-list i:nth-child(2) { width: 55%; }
.dev-list i:nth-child(3) { height: 24px; border-radius: 999px; }
/* The message sits over the picture, on a soft veil of the page colour. */
.dev-window-note { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: color-mix(in srgb, var(--n1) 72%, transparent); }
.dev-window-note h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--n10); }
.dev-window-note p { max-width: 440px; color: var(--n9); font-size: 17px; line-height: 1.55; }
.dev-window-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--n4); font-size: 16px; }
.dev-window-footer p { color: var(--n8); }
@media (max-width: 760px) {
  .dev-window { border-radius: 12px; }
  .dev-window-bar { padding: 12px 14px; }
  .dev-row .dev-logo { width: 104px; }
  .dev-row .dev-pill { width: 68px; }
  .dev-row .dev-pill:nth-of-type(n + 4) { display: none; }
  .dev-list > div { grid-template-columns: minmax(0, 1fr) 72px; gap: 8px 14px; padding: 14px; }
  .dev-list i:nth-child(2) { grid-column: 1; grid-row: 2; }
  .dev-list i:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .dev-list > div:nth-child(n + 5) { display: none; }
  .dev-window-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media print { .dev-window-body > :not(.dev-window-note) { display: none; } .dev-window-note { position: static; } }

/* The demo page: a short introduction above the same window. */
.demo-site-page { background: var(--n0); }
.demo-intro { padding-block: 84px 44px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
.demo-intro h1 { margin-top: 18px; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.055em; font-weight: 600; }
.demo-intro-copy > p { max-width: 470px; color: var(--n8); font-size: 19px; line-height: 1.6; }
.demo-intro-copy .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; }
.demo-environment { padding-bottom: clamp(64px, 8vw, 110px); }
@media (max-width: 850px) {
  .demo-intro { padding-block: 48px 32px; grid-template-columns: 1fr; gap: 22px; }
  .demo-intro-copy > p { font-size: 17px; max-width: 560px; }
}
