
.brand-site .demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.brand-site .demo-intro > h2 { padding-top: 18px; border-top: 4px solid var(--ink); }
.brand-site .demo-lead { margin-top: 16px; font-size: 19px; line-height: 1.5; max-width: 30em; }
.brand-site .demo-actions { display: none; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
html.js .brand-site .demo-actions { display: flex; }
.brand-site .demo-start { font: inherit; font-weight: 600; font-size: 18px; border: 0; cursor: pointer; }
.brand-site .demo-start.is-off { display: none; }
.brand-site .demo-start:hover, .brand-site .demo-start:active { background: var(--brand-dark, var(--ink)); color: #fff; }
.brand-site .demo-free { font-weight: 600; }
.brand-site .demo-note { margin-top: 18px; max-width: 30em; font-size: 15px; color: var(--muted); }
.brand-site .demo-langs { margin-top: 10px; max-width: 30em; font-size: 15px; color: var(--muted); }
.brand-site .demo-nojs { margin-top: 18px; max-width: 30em; color: var(--muted); }
html.js .brand-site .demo-nojs { display: none; }
.brand-site .demo-request { margin-top: 18px; }
.brand-site .demo-preview { margin: 0; }
.brand-site .demo-preview img { display: block; width: 100%; height: auto; }
.brand-site .demo-preview.is-live { cursor: pointer; }
.brand-site .brand-hero-demo { display: inline-block; padding-block: 10px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; white-space: nowrap; }
.brand-site .brand-hero-demo:hover, .brand-site .brand-hero-demo:active { text-decoration-thickness: 2px; }
@media (max-width: 960px) {
  .brand-site .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .brand-site .demo-start { width: 100%; justify-content: space-between; }
}
html.demo-lock, html.demo-lock body { overflow: hidden; }
.demo-dlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #243044; color: #fff; overflow: hidden; font-family: inherit; }
@supports (height: 100dvh) { .demo-dlg { height: 100dvh; } }
.demo-dlg[open] { display: flex; flex-direction: column; }
.demo-dlg::backdrop { background: #243044; }
.demo-dlg :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.demo-bar { flex: none; display: flex; align-items: center; gap: 8px 20px; min-height: 52px; box-sizing: border-box; padding: 4px var(--gut, 32px); padding-top: max(4px, env(safe-area-inset-top)); background: var(--brand-dark, #380F1D); color: #fff; }
.demo-notice { display: block; flex: 0 1 auto; margin: 0; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .35); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--brand-on-dark, #F3E6DC); }
.demo-dlg.is-failed .demo-notice { display: none; }
.demo-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.demo-dlg:not(.is-free) .demo-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.demo-title:focus, .demo-done-title:focus { outline: none; }
.demo-row { display: none; min-width: 0; }
.demo-dlg.is-guide .demo-row-guide { display: grid; flex: 1 1 auto; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "count tip skip"; align-items: center; gap: 4px 20px; }
.demo-dlg.is-free .demo-row-free { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 24px; }
.demo-dlg.is-free .demo-title { flex: 0 1 auto; }
.demo-dlg.is-done .demo-row-done { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.demo-count { grid-area: count; margin: 0; font-size: 14px; font-weight: 600; color: var(--brand-accent, #FD5C2E); white-space: nowrap; }
.demo-tip { grid-area: tip; margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.demo-skip { grid-area: skip; justify-self: end; min-height: 44px; margin: 0; padding: 0 4px; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.demo-skip:hover { text-decoration-thickness: 2px; }
.demo-dlg.is-wait .demo-skip { visibility: hidden; }
.demo-dlg.is-wait .demo-frame { visibility: hidden; }
.demo-free-note { margin: 0; flex: 1 1 18em; font-size: 15px; color: var(--brand-on-dark, #F3E6DC); }
.demo-free-note[hidden] { display: none; }
.demo-free-req, .demo-free-page { display: inline-block; padding-block: 10px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.demo-free-req:hover, .demo-free-page:hover { text-decoration-thickness: 2px; }
.demo-free-page[hidden] { display: none; }
.demo-done-text { min-width: 0; }
.demo-done-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; color: #fff; }
.demo-done-time { margin: 2px 0 0; font-size: 15px; color: var(--brand-on-dark, #F3E6DC); }
.demo-done-time:empty { display: none; }
.demo-done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.demo-bar .brand-btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.demo-bar .brand-btn:hover, .demo-bar .brand-btn:active { background: #fff; color: var(--ink, #1A1C20); }
.demo-again { min-height: 44px; padding: 10px 18px; border: 1.5px solid #fff; border-radius: var(--radius, 6px); background: transparent; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.demo-again:hover, .demo-again:active { background: #fff; color: var(--ink, #1A1C20); }
.demo-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius, 6px); background: transparent; color: #fff; cursor: pointer; }
.demo-x:hover, .demo-x:active { background: #fff; color: var(--ink, #1A1C20); }
.demo-x svg { width: 18px; height: 18px; }
.demo-lang { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; box-sizing: border-box; padding: 0 10px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius, 6px); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.demo-lang svg { flex: none; width: 18px; height: 18px; }
.demo-lang-select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 16px; -webkit-appearance: none; appearance: none; }
.demo-lang:hover, .demo-lang:active { background: #fff; color: var(--ink, #1A1C20); }
.demo-dlg .demo-lang:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.demo-lang-select option { color: var(--ink, #1A1C20); background: #fff; }
.demo-dlg.is-done .demo-lang { display: none; }
@media (min-width: 900px) {
  .demo-done-title { font-size: 19px; line-height: 1.2; }
  .demo-done-time { margin-top: 1px; font-size: 14px; line-height: 1.3; }
  .demo-dlg.is-done .demo-row-done { flex-wrap: nowrap; gap: 8px 16px; }
  .demo-done-text { flex: 1 1 auto; }
  .demo-done-actions { flex: none; flex-wrap: nowrap; gap: 12px; }
  .demo-bar .brand-btn, .demo-again { min-height: 44px; padding-block: 0; line-height: 1.2; white-space: nowrap; }
  .demo-free-req, .demo-free-page { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; line-height: 1.2; }
  .demo-free-note { line-height: 1.3; }
}
@media (max-width: 1279.98px) {
  .demo-notice { max-width: 11em; }
}
@media (max-width: 899.98px) {
  .demo-notice { max-width: 9em; }
  .demo-dlg.is-done .demo-bar { flex-wrap: wrap; row-gap: 2px; }
  .demo-dlg.is-done .demo-row-done { flex: 1 1 0%; }
  .demo-dlg.is-done .demo-notice { order: 1; flex: 1 0 100%; max-width: none; padding-left: 0; border-left: 0; }
}
@media (min-width: 900px) and (max-width: 1279.98px) {
  .demo-done-title { font-size: 17px; }
  .demo-done-time { font-size: 13px; }
  .demo-bar .brand-btn, .demo-again { padding-inline: 14px; font-size: 15px; }
  .demo-bar .brand-btn { gap: 10px; }
}
.demo-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #243044; }
.demo-frame { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; border: 0; background: #243044; transform-origin: 0 0; }
.demo-dlg.is-device, .demo-dlg.is-device .demo-stage { background: #1B1D21; }
.demo-device { position: absolute; left: 0; top: 0; display: block; max-width: none; pointer-events: none; -webkit-user-select: none; user-select: none; }
.demo-dlg:not(.is-device) .demo-device { display: none; }
.demo-rotate { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; box-sizing: border-box; background: #243044; color: #fff; text-align: center; }
.demo-rotate[hidden] { display: none; }
.demo-rotate-art { width: 112px; height: 112px; }
.demo-rotate-arrow { opacity: .75; }
.demo-rotate-phone { transform-box: view-box; transform-origin: 60px 60px; }
.demo-rotate-text { margin: 0; max-width: 20em; font-size: 19px; font-weight: 600; line-height: 1.35; }
.demo-portrait { min-height: 44px; padding: 10px 18px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius, 6px); background: transparent; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.demo-portrait:hover, .demo-portrait:active { background: #fff; color: var(--ink, #1A1C20); }
.demo-dlg.is-rotate .demo-frame { visibility: hidden; }
.demo-ring { position: absolute; left: 0; top: 0; z-index: 1; box-sizing: border-box; border: 4px solid #fff; border-radius: 11px; box-shadow: 0 0 0 3px var(--brand-dark, #380F1D); pointer-events: none; }
.demo-ring[hidden] { display: none; }
@media (max-width: 760px) {
  .demo-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 12px; min-height: 0; padding: 8px 16px 10px; padding-top: max(8px, env(safe-area-inset-top)); }
  .demo-bar > .demo-row, .demo-dlg.is-free .demo-bar > .demo-title { grid-column: 1; grid-row: 1; }
  .demo-dlg.is-free .demo-bar > .demo-row-free { grid-row: 2; }
  .demo-x { grid-column: 2; grid-row: 1; margin-left: 0; }
  .demo-notice { grid-column: 1; grid-row: 2; align-self: center; max-width: none; padding-left: 0; border-left: 0; font-size: 13px; line-height: 1.25; }
  .demo-dlg.is-free .demo-notice { grid-row: 3; }
  .demo-lang { grid-column: 2; grid-row: 2; justify-self: end; height: 36px; }
  .demo-dlg.is-free .demo-lang { grid-row: 3; }
  .demo-dlg.is-failed .demo-lang { grid-column: 1 / -1; justify-self: start; }
  .demo-dlg.is-free .demo-title { align-self: center; }
  .demo-dlg.is-guide .demo-row-guide { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "count skip" "tip tip"; column-gap: 12px; row-gap: 2px; }
  .demo-count { align-self: center; }
  .demo-tip { font-size: 16px; min-height: 2.7em; }
  .demo-skip { font-size: 14px; }
  .demo-dlg.is-free .demo-row-free { justify-content: flex-start; grid-column: 1 / -1; }
  .demo-done-title { font-size: 18px; }
  .demo-done-actions { gap: 8px 12px; }
}
@media (max-height: 500px) {
  .demo-bar { min-height: 0; padding-block: 4px; }
  .demo-tip { font-size: 15px; }
  .demo-dlg.is-guide .demo-row-guide { row-gap: 0; }
  .demo-done-title { font-size: 17px; }
  .demo-done-time { font-size: 14px; }
  .demo-bar .brand-btn, .demo-again { min-height: 40px; padding: 8px 14px; font-size: 15px; }
}
.demo-dlg.is-land .demo-bar { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 10px; min-height: 0; max-height: 40px; padding: 2px 12px; padding-top: 2px; }
.demo-dlg.is-land .demo-bar > * { grid-column: auto; grid-row: auto; }
.demo-dlg.is-land.is-guide .demo-row-guide { flex: 1 1 auto; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "count tip skip"; gap: 0 10px; }
.demo-dlg.is-land .demo-count { font-size: 12px; }
.demo-dlg.is-land .demo-tip { min-height: 0; font-size: 13px; line-height: 1.2; }
.demo-dlg.is-land .demo-skip { min-height: 36px; font-size: 13px; }
.demo-dlg.is-land .demo-lang { height: 36px; padding: 0 8px; font-size: 13px; justify-self: auto; }
.demo-dlg.is-land .demo-notice { flex: 0 1 auto; max-width: 9.5em; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); font-size: 11px; line-height: 1.2; }
.demo-dlg.is-land .demo-x { width: 36px; height: 36px; margin-left: 0; }
.demo-dlg.is-land.is-free .demo-row-free { flex: 1 1 auto; flex-wrap: nowrap; justify-content: flex-end; gap: 0 16px; }
.demo-dlg.is-land.is-free .demo-title { font-size: 15px; }
.demo-dlg.is-land .demo-free-note { font-size: 13px; line-height: 1.2; }
.demo-dlg.is-land .demo-free-req, .demo-dlg.is-land .demo-free-page { padding-block: 0; font-size: 13px; line-height: 36px; }
.demo-dlg.is-land.is-done .demo-bar { flex-wrap: nowrap; }
.demo-dlg.is-land.is-done .demo-row-done { flex: 1 1 auto; flex-wrap: nowrap; gap: 0 12px; }
.demo-dlg.is-land.is-done .demo-notice { order: 0; flex: 0 1 auto; max-width: 9.5em; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); }
.demo-dlg.is-land .demo-done-text { flex: 1 1 auto; min-width: 0; }
.demo-dlg.is-land .demo-done-title { font-size: 14px; line-height: 1.2; }
.demo-dlg.is-land .demo-done-time { display: none; }
.demo-dlg.is-land .demo-done-actions { flex: none; flex-wrap: nowrap; gap: 8px; }
.demo-dlg.is-land .demo-bar .brand-btn, .demo-dlg.is-land .demo-again { min-height: 36px; padding: 0 12px; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.demo-dlg.is-land .demo-bar .brand-btn { max-width: 14em; padding-block: 1px; line-height: 1.1; white-space: normal; text-align: left; }
@media screen and (prefers-reduced-motion: no-preference) {
  .motion .demo-dlg[open] { animation: demo-fade .2s ease-out; }
  .motion .demo-dlg[open] .demo-bar { animation: demo-down .25s ease-out; }
  .motion .demo-ring { transition: transform .25s cubic-bezier(.16, 1, .3, 1), width .25s cubic-bezier(.16, 1, .3, 1), height .25s cubic-bezier(.16, 1, .3, 1); }
  .motion .demo-ring.is-jump { transition: none; }
  .motion .demo-ring.is-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 13px; pointer-events: none; animation: demo-pulse 1.2s ease-out 3; }
  .motion .demo-dlg.is-done .demo-done-text { animation: demo-rise .4s ease-out both; }
  .motion .demo-rotate:not([hidden]) .demo-rotate-phone { animation: demo-turn 2s ease-in-out .3s 2 both; }
}
@keyframes demo-turn {
  0%, 20% { transform: rotate(0deg); }
  60%, 100% { transform: rotate(90deg); }
}
@keyframes demo-fade { from { opacity: 0; } }
@keyframes demo-down { from { transform: translateY(-12px); opacity: 0; } }
@keyframes demo-rise { from { transform: translateY(10px); opacity: 0; } }
@keyframes demo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}
@media print {
  .demo-dlg { display: none; }
}
