/* The property itself is the demo: a readable, responsive public-page viewport. */
.landing-demo-live, .landing-demo-screenshot, .landing-demo-dialog, .landing-demo-page {
  --ld-canvas: #f7f9fc;
  --ld-surface: #fff;
  --ld-ink: #17243b;
  --ld-muted: #526279;
  --ld-line: #dce3eb;
  --ld-primary: #2457d6;
  color: var(--ld-ink);
  font-family: Assistant, Arial, sans-serif;
}
.landing-demo-live[hidden], .landing-demo-live [hidden], .landing-demo-screenshot[hidden] { display: none !important; }
.landing-demo-screenshot {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--ld-canvas);
  cursor: zoom-in;
  text-align: start;
}
.landing-demo-screenshot > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: contain; }
.landing-demo-enlarge {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--ld-line);
  border-radius: 12px;
  background: var(--ld-surface);
  box-shadow: 0 3px 16px #17243b10;
  font-size: 15px;
  font-weight: 600;
}
.landing-demo-live svg, .landing-demo-enlarge svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.landing-demo-screenshot:focus-visible { outline: 3px solid var(--ld-primary); outline-offset: -4px; }
.landing-demo-screenshot:hover .landing-demo-enlarge { color: var(--ld-primary); border-color: var(--ld-primary); }
.landing-demo-live { background: var(--ld-surface); }
.landing-demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 24px; background: var(--ld-canvas); border-bottom: 1px solid var(--ld-line); }
.landing-demo-address { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; font-size: 16px; font-weight: 600; }
.landing-demo-address svg { color: var(--ld-muted); }
.landing-demo-address > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-demo-open { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 9px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--ld-line); border-radius: 12px; background: var(--ld-surface); color: var(--ld-primary); text-decoration: none; font-size: 15px; font-weight: 600; }
.landing-demo-open:hover { border-color: var(--ld-primary); background: #f0f4ff; }
.landing-demo-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 11px 24px; border-bottom: 1px solid var(--ld-line); }
.landing-demo-navigation > span { color: var(--ld-muted); font-size: 15px; }
.landing-demo-navigation nav { display: flex; flex-wrap: wrap; gap: 4px; }
.landing-demo-navigation button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ld-ink); font: 600 15px Assistant, Arial, sans-serif; cursor: pointer; }
.landing-demo-navigation button:hover { background: var(--ld-canvas); color: var(--ld-primary); }
.landing-demo-live :is(a,button):focus-visible { outline: 3px solid var(--ld-primary); outline-offset: 3px; }
.landing-demo-viewport { position: relative; height: min(760px, 82svh); min-height: 460px; background: var(--ld-canvas); }
.landing-demo-viewport iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--ld-surface); }
.landing-demo-status { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 40px 24px; background: var(--ld-canvas); text-align: center; }
.landing-demo-status > img { width: 44px; height: 44px; margin-bottom: 20px; }
.landing-demo-status h3 { margin: 0 0 12px; color: var(--ld-ink); font: 500 clamp(22px, 3vw, 29px)/1.4 Heebo, Arial, sans-serif; }
.landing-demo-status p { max-width: 40ch; margin: 0; color: var(--ld-muted); font-size: 18px; line-height: 1.6; }
.landing-demo-retry { margin-top: 24px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 12px; background: var(--ld-primary); color: #fff; font: 600 16px Assistant, Arial, sans-serif; cursor: pointer; }
.landing-demo-note { margin: 0; padding: 13px 24px; border-top: 1px solid var(--ld-line); color: var(--ld-muted); background: var(--ld-surface); font-size: 14px; line-height: 1.6; }
.landing-demo-dialog { width: min(1480px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--ld-line); border-radius: 20px; background: var(--ld-surface); box-shadow: 0 24px 90px #17243b33; }
.landing-demo-dialog::backdrop { background: #17243bb8; }
.landing-demo-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; background: var(--ld-surface); border-bottom: 1px solid var(--ld-line); }
.landing-demo-dialog h2 { margin: 0; font: 500 17px/1.5 Heebo, Arial, sans-serif; }
.landing-demo-dialog button { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ld-line); border-radius: 12px; background: var(--ld-canvas); color: var(--ld-ink); font: 600 16px Assistant, Arial, sans-serif; cursor: pointer; }
.landing-demo-dialog button span { font-size: 25px; line-height: 1; }
.landing-demo-dialog button:focus-visible { outline: 3px solid var(--ld-primary); outline-offset: 3px; }
.landing-demo-dialog-image { overflow: auto; background: var(--ld-canvas); }
.landing-demo-dialog-image img { display: block; width: 100%; min-width: 920px; height: auto; }
.landing-demo-page { box-sizing: border-box; margin: 0; background: var(--ld-canvas); }
.landing-demo-page * { box-sizing: border-box; }
.landing-demo-page-header { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; margin-inline: auto; }
.landing-demo-page-header a { color: var(--ld-ink); text-decoration: none; font-size: 16px; }
.landing-demo-back { display: inline-flex; align-items: center; gap: 8px; }
.landing-demo-back svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.landing-demo-page-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px !important; font-weight: 700; }
.landing-demo-page-header h1 { margin: 0; font: 500 18px/1.5 Heebo, Arial, sans-serif; }
.landing-demo-page main { max-width: 1440px; padding: 0 24px 24px; margin-inline: auto; }
.landing-demo-page .landing-demo-live { overflow: hidden; border: 1px solid var(--ld-line); border-radius: 20px; }
.landing-demo-page .landing-demo-viewport { height: calc(100dvh - 240px); min-height: 480px; }
.landing-demo-page .landing-demo-page-skip { position: fixed; top: 8px; right: 8px; z-index: 20; transform: translateY(-160%); padding: 10px 18px; background: white; color: var(--ld-ink); }
.landing-demo-page .landing-demo-page-skip:focus { transform: translateY(0); }
@media (max-width: 620px) {
  .landing-demo-bar { align-items: flex-start; flex-direction: column; gap: 9px; padding: 14px 16px; }
  .landing-demo-open { align-self: stretch; }
  .landing-demo-navigation { padding: 10px 12px; gap: 6px; }
  .landing-demo-navigation > span { padding-inline: 4px; font-size: 14px; }
  .landing-demo-navigation nav { width: 100%; justify-content: space-between; }
  .landing-demo-navigation button { padding-inline: 9px; }
  .landing-demo-viewport { height: 72svh; min-height: 500px; }
  .landing-demo-note { padding: 12px 16px; }
  .landing-demo-enlarge { inset-inline-end: 10px; bottom: 10px; padding: 8px 11px; font-size: 13px; }
  .landing-demo-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .landing-demo-dialog-bar { padding: 10px 12px; gap: 12px; }
  .landing-demo-dialog h2 { font-size: 14px; }
  .landing-demo-page-header { flex-wrap: wrap; padding: 15px 16px; gap: 10px 20px; }
  .landing-demo-page-header h1 { order: 3; flex-basis: 100%; font-size: 17px; }
  .landing-demo-page main { padding: 0 10px 10px; }
  .landing-demo-page .landing-demo-live { border-radius: 16px; }
  .landing-demo-page .landing-demo-bar { min-height: 50px; padding: 12px 16px; }
  .landing-demo-page .landing-demo-viewport { height: calc(100dvh - 300px); min-height: 480px; }
}
