/* Scoped site chrome adapted from the Indrik website's download page. */
html.demo-presenting, html.demo-presenting body { height: auto !important; overflow: auto !important; background: #f5f6f1; }
body { margin: 0; }
#demo-presentation { color: #07111f; background: #f5f6f1; font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
#demo-presentation *, .demo-load-panel * { box-sizing: border-box; }
#demo-presentation[hidden], #demo-interactive-shell[hidden], .demo-load-panel[hidden], #demo-retry[hidden] { display: none !important; }
#demo-presentation a { color: inherit; text-underline-offset: 3px; }
#demo-presentation :focus-visible, .demo-load-panel :focus-visible { outline: 3px solid #0d5bd7; outline-offset: 4px; }
#demo-presentation .demo-skip { position: fixed; top: 10px; left: 10px; z-index: 60; background: white; padding: 10px 16px; border-radius: 10px; transform: translateY(-150%); }
#demo-presentation .demo-skip:focus { transform: translateY(0); }
.demo-header { position: sticky; top: 0; z-index: 50; background: #07111f; border-bottom: 1px solid rgba(255,255,255,.08); }
.demo-nav-wrap { width: min(1360px, calc(100% - 20px)); margin-inline: auto; min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
#demo-presentation .demo-brand { display: inline-flex; width: 158px; height: 60px; padding: 2px 6px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.94); text-decoration: none; }
.demo-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-desktop-nav { display: flex; gap: clamp(16px, 2vw, 34px); }
#demo-presentation .demo-desktop-nav a, #demo-presentation .demo-mobile-menu a { color: #c8ced6; font-size: .88rem; font-weight: 600; text-decoration: none; }
#demo-presentation .demo-desktop-nav a:hover, #demo-presentation .demo-mobile-menu a:hover { color: white; text-decoration: underline; text-decoration-color: #12c8ca; text-underline-offset: 8px; }
.demo-language { position: relative; justify-self: end; }
.demo-language summary { list-style: none; min-height: 34px; cursor: pointer; border: 1px solid #384b61; border-radius: 9px; color: white; background: #12243c; padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 650; }
.demo-language summary::-webkit-details-marker { display: none; }
.demo-language nav { position: absolute; right: 0; top: calc(100% + 8px); width: 180px; max-height: min(70dvh, 480px); overflow: auto; background: #12243c; border: 1px solid #384b61; border-radius: 12px; padding: 8px; box-shadow: 0 8px 30px #07111f33; }
#demo-presentation .demo-language a { display: block; padding: 6px 12px; color: #e0e5ea; text-decoration: none; font-size: .88rem; }
#demo-presentation .demo-language a:hover, #demo-presentation .demo-language a[aria-current] { color: white; background: #233b55; border-radius: 6px; }
.demo-mobile-menu { display: none; }
.demo-main { width: min(1120px, calc(100% - 48px)); margin-inline: auto; padding-block: 64px 80px; }
.demo-hero { max-width: 820px; margin-bottom: 48px; }
.demo-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: #087f85; font-weight: 850; }
.demo-main h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 750; margin: 24px 0; text-wrap: balance; }
.demo-introduction { max-width: 820px; font-size: 1.2rem; line-height: 1.6; color: #46576b; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#demo-presentation .demo-action { display: inline-flex; justify-content: center; align-items: center; gap: 16px; border: 1px solid #bac7d7; border-radius: 999px; padding: 13px 24px; background: white; color: #07111f; text-decoration: none; font-weight: 650; font-size: .95rem; }
#demo-presentation .demo-action:hover { border-color: #0d5bd7; color: #0d5bd7; }
#demo-presentation .demo-primary { border-color: #0d5bd7; background: #0d5bd7; color: white; }
#demo-presentation .demo-primary:hover { background: #0948ad; color: white; }
.demo-action[aria-disabled] { opacity: .65; cursor: progress; }
.demo-main h2 { margin: 0 0 24px; font-size: 2rem; line-height: 1.3; letter-spacing: -.035em; font-weight: 750; }
.demo-features { padding-bottom: 48px; }
.demo-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.demo-feature-grid article { min-width: 0; padding: 30px; border: 1px solid #d5dfeb; border-radius: 24px; background: white; box-shadow: 0 8px 30px rgba(9,40,77,.04); }
.demo-feature-number { color: #087f85; font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.demo-main h3 { font-size: 1.25rem; margin: 20px 0 12px; line-height: 1.4; }
.demo-feature-grid p, .demo-limits p { color: #46576b; font-size: 1rem; line-height: 1.8; margin-bottom: 0; }
.demo-limits { padding: 30px; background: #eaf1fc; border-radius: 24px; margin-bottom: 48px; }
.demo-limits h2 { font-size: 1.4rem; margin-bottom: 12px; }
.demo-limits .demo-javascript { font-size: .88rem; margin-top: 18px; }
.demo-resources { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.demo-resources h2 { width: 100%; margin-bottom: 0; }
.demo-footer { padding: 42px max(24px, calc((100% - 1340px)/2)); background: #07111f; color: #a2adbb; font-size: .8rem; }
.demo-footer-grid { display: grid; grid-template-columns: .75fr 1fr 1fr; align-items: center; gap: 28px; }
.demo-newsletter { text-align: center; }
.demo-newsletter p { color: #e0e5ea; font-size: .88rem; font-weight: 750; margin: 0 0 12px; }
.demo-contact { display: grid; gap: 8px; text-align: right; }
.demo-contact p { margin: 0; }
.demo-contact a { text-decoration: none; }
.demo-running { overflow: hidden; }
#demo-interactive-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.demo-load-panel { padding: 48px 24px; background: #f5f6f1; color: #07111f; font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif; text-align: center; }
.demo-load-panel button { font: inherit; padding: 10px 18px; border: 1px solid #bac7d7; border-radius: 999px; color: #07111f; background: white; cursor: pointer; }
#demo-interactive-shell #root { flex: 1; height: 0; min-height: 0; contain: layout style; }
#demo-interactive-shell #root > .app-shell { height: 100%; min-height: 0; }
@media (max-width: 1100px) {
  .demo-nav-wrap { grid-template-columns: 1fr auto auto; gap: 12px; }
  .demo-desktop-nav { display: none; }
  .demo-mobile-menu { display: block; }
  .demo-mobile-menu summary { list-style: none; cursor: pointer; color: white; border: 1px solid #384b61; border-radius: 9px; padding: 6px 12px; }
  .demo-mobile-menu summary::-webkit-details-marker { display: none; }
  .demo-mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; background: #07111f; display: grid; padding: 20px; gap: 20px; border-top: 1px solid #384b61; }
}
@media (max-width: 760px) {
  .demo-main { width: calc(100% - 32px); padding-block: 40px 50px; }
  #demo-presentation .demo-brand { width: 128px; height: 52px; }
  .demo-nav-wrap { min-height: 72px; gap: 8px; }
  .demo-language summary > span:first-child { display: none; }
  .demo-introduction { font-size: 1.1rem; }
  .demo-feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .demo-feature-grid article, .demo-limits { padding: 24px; }
  .demo-main h3 { margin-top: 12px; }
  .demo-actions { flex-direction: column; align-items: stretch; }
  .demo-footer-grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .demo-contact { text-align: center; }
}
