@font-face {
  font-family: Dosis;
  src: url(dosis-latin.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url(open-sans-latin.woff2) format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ink: #1c1836;
  --muted: #625e76;
  --accent: #5e43b7;
  --accent-hover: #4c349c;
  --line: #e7e2f0;
  --surface: #f7f5fb;
  --radius: 18px;
  --gradient: linear-gradient(-45deg, #667eea 0%, #764ba2 100%);
  font: 16px/1.7 'Open Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Dosis, 'Open Sans', sans-serif; font-weight: 400; line-height: 1.18; }
h1 { font-size: clamp(2.35rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #2a79bd;
  outline-offset: 4px;
}
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; background: white; padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.site-header { position: relative; background: #6c58a8; color: white; z-index: 2; }
.home-page .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.nav-row { width: min(100% - 3rem, 69.75rem); min-height: 77px; display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2.1rem); }
.brand { display: inline-flex; align-items: center; gap: .3rem; font-family: Dosis, sans-serif; font-size: 1.55rem; white-space: nowrap; }
.brand-accent { color: #9b365a; }
.site-header .brand-accent { color: #ffbdcd; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 1.9vw, 2.3rem); }
nav a, .sign-in { color: #ffffffc9; font-size: .78rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; white-space: nowrap; }
.sign-in { margin-left: auto; }
nav a:hover, nav a[aria-current=page], .sign-in:hover { color: white; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem;
  min-height: 45px; padding: .67rem 1.2rem; border: 1px solid transparent; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: .95rem; font-weight: 690; cursor: pointer;
}
.button:hover { background: var(--accent-hover); }
.button.compact { min-height: 34px; white-space: nowrap; border-radius: 3px; background: #37ce53; color: #103b1b;
  font-size: .73rem; padding: .34rem 1.22rem; text-transform: uppercase; letter-spacing: .12em; }
.button.compact:hover { background: #58e373; }
.button.light { background: #fff; color: #452d84; }
.button.light:hover { background: #f0eafc; }
.button.outline-light { background: transparent; border-color: #ffffff90; }
.button.outline-light:hover { background: #ffffff22; }
.button.secondary { color: var(--accent); background: white; border-color: var(--line); }
.button.secondary:hover { background: var(--surface); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero, .page-banner { background: var(--gradient); color: white; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-layout { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
  width: min(100% - 3rem, 69.75rem); gap: 1.8rem; min-height: max(100svh, 780px); padding-block: 6rem 4.1rem; }
.hero-copy h1 { font-size: clamp(2.3rem, 3.3vw, 2.65rem); }
.hero-copy p, .page-banner p { margin-top: 2rem; color: #fff; font-size: 1.125rem; font-weight: 300; max-width: 33rem; line-height: 1.9; }
.hero .actions { margin-top: 3.25rem; gap: 1.15rem; }
.hero .button { min-width: 150px; min-height: 37px; padding: .45rem 1.15rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.hero-cloud { width: 100%; height: auto; }
.hero-constellation { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-samples { position: absolute; inset: 0; pointer-events: none; }
.hero-sample-field { position: relative; height: 100%; }
.hero-sample { position: absolute; left: var(--x); top: var(--y); width: clamp(96px, var(--width), 240px);
  display: block; border-radius: .5rem; overflow: hidden; pointer-events: auto;
  border: 1px solid #ffffff43; opacity: .62; transform: translate(-50%, -50%) rotate(var(--tilt));
  box-shadow: 0 .3rem .9rem #2315455c; transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease; }
.hero-sample:nth-child(1) { --x: 23%; --y: 82%; --width: 13.1%; --tilt: -5deg; }
.hero-sample:nth-child(2) { --x: 77%; --y: 85%; --width: 13.2%; --tilt: 4deg; }
.hero-sample:nth-child(3) { --x: 90%; --y: 70.5%; --width: 10.3%; --tilt: -3deg; }
.hero-sample:nth-child(4) { --x: 19%; --y: 18%; --width: 11.4%; --tilt: 5deg; }
.hero-sample:nth-child(5) { --x: 38%; --y: 22%; --width: 9.5%; --tilt: -4deg; }
.hero-sample:nth-child(6) { --x: 60%; --y: 15.8%; --width: 10.7%; --tilt: 3deg; }
.hero-sample:nth-child(7) { --x: 79%; --y: 19.5%; --width: 10.1%; --tilt: -5deg; }
.hero-sample:nth-child(8) { --x: 7.5%; --y: 30%; --width: 9.9%; --tilt: -6deg; }
.hero-sample:nth-child(9) { --x: 6%; --y: 74%; --width: 8.3%; --tilt: 5deg; }
.hero-sample:nth-child(10) { --x: 93%; --y: 32%; --width: 10.4%; --tilt: 5deg; }
.hero-sample:nth-child(11) { --x: 10.5%; --y: 91%; --width: 8%; --tilt: 3deg; }
.hero-sample:nth-child(12) { --x: 42%; --y: 90%; --width: 11.2%; --tilt: -3deg; }
.hero-sample:nth-child(13) { --x: 59%; --y: 81%; --width: 9%; --tilt: 5deg; }
.hero-sample:nth-child(14) { --x: 92%; --y: 89.5%; --width: 10.5%; --tilt: -4deg; }
.hero-sample img { width: 100%; height: auto; aspect-ratio: 540 / 338; object-fit: cover; }
.hero-sample-label { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end;
  gap: .4rem; padding: 1rem .45rem .35rem; background: linear-gradient(transparent, #1c1338 72%);
  color: white; font-size: .72rem; font-weight: 700; line-height: 1.22; opacity: 0; transition: opacity .25s ease; }
.hero-sample:hover, .hero-sample:focus-visible { z-index: 1; opacity: 1;
  transform: translate(-50%, calc(-50% - .35rem)) scale(1.075);
  box-shadow: 0 .75rem 1.6rem #1b103599; }
.hero-sample:focus-visible { outline-color: white; }
.hero-sample:is(:hover, :focus-visible) .hero-sample-label { opacity: 1; }
@media (hover: none), (max-width: 620px) {
  .hero-sample, .hero-sample-label { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sample, .hero-sample-label { transition: none; }
  .hero-sample:is(:hover, :focus-visible) { transform: translate(-50%, -50%) rotate(var(--tilt)); }
}
@media (max-width: 1279px), (max-height: 760px) {
  .hero-layout { min-height: 0; padding-bottom: 1rem; }
  .hero-samples { position: relative; overflow-x: auto; pointer-events: auto;
    width: min(100%, 75rem); margin-inline: auto; }
  .hero-sample-field { width: 100%; min-width: 71rem; height: 15.8rem; }
  .hero-sample:nth-child(1) { --x: 7.4%; --y: 33%; --width: 140px; }
  .hero-sample:nth-child(2) { --x: 20%; --y: 61%; --width: 139px; }
  .hero-sample:nth-child(3) { --x: 32%; --y: 28%; --width: 131px; }
  .hero-sample:nth-child(4) { --x: 43%; --y: 69%; --width: 104px; }
  .hero-sample:nth-child(5) { --x: 54%; --y: 23%; --width: 115px; }
  .hero-sample:nth-child(6) { --x: 66%; --y: 57%; --width: 143px; }
  .hero-sample:nth-child(7) { --x: 78.5%; --y: 28%; --width: 132px; }
  .hero-sample:nth-child(8) { --x: 92.5%; --y: 67%; --width: 115px; }
  .hero-sample:nth-child(9) { --x: 7%; --y: 76%; --width: 103px; }
  .hero-sample:nth-child(10) { --x: 19%; --y: 20%; --width: 116px; }
  .hero-sample:nth-child(11) { --x: 31.5%; --y: 77%; --width: 105px; }
  .hero-sample:nth-child(12) { --x: 42.5%; --y: 30%; --width: 96px; }
  .hero-sample:nth-child(13) { --x: 54%; --y: 79%; --width: 114px; }
  .hero-sample:nth-child(14) { --x: 90.5%; --y: 23%; --width: 134px; }
}
.section-heading, .closing-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; }
.section-heading { margin-bottom: 1.65rem; }
.section-heading p, .closing p, .three-col p, .lead { color: var(--muted); margin-top: .65rem; }
.text-link { color: var(--accent); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.demo-grid, .three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.demo-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden;
  box-shadow: 0 7px 20px #2a174909; display: flex; flex-direction: column;
}
.card-image { overflow: hidden; background: #e9e3f6; }
.card-image img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.card-body > p:not(.category) { color: var(--muted); font-size: .94rem; }
.card-body > .text-link { margin-top: auto; padding-top: .25rem; }
.category { color: var(--accent); font-size: .8rem; font-weight: 750; }
.capabilities, .closing { background: var(--surface); }
.capabilities .three-col { margin-top: 1.65rem; }
.capabilities .three-col > article, .section.three-col > article { padding-top: 1rem; border-top: 2px solid #d9cfee; }
.section.three-col h2 { font-size: 1.5rem; }
.related { padding-top: 0; }
.related h2 { margin-bottom: 1.25rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { min-height: 88px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.page-banner { padding-block: clamp(2.8rem, 6vw, 5rem); }
.page-banner p { max-width: 42rem; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr); gap: 1rem; max-width: 52rem; }
.filters label { display: flex; flex-direction: column; gap: .35rem; font-weight: 650; }
.filters input, .filters select { height: 46px; width: 100%; padding: 0 .8rem; border: 1px solid #bcb5ce; border-radius: 9px; background: white; color: var(--ink); }
#demo-count { color: var(--muted); margin: .85rem 0 1.1rem; font-size: .92rem; }
.catalogue-footer { text-align: center; padding-top: 1.6rem; }
.demo-detail { padding-block: 2.4rem 4rem; }
.demo-detail h1 { max-width: 65rem; font-size: clamp(2.1rem, 4.5vw, 3.5rem); margin-top: .3rem; overflow-wrap: anywhere; }
.demo-detail .back { display: inline-block; margin-bottom: 1.75rem; }
.demo-detail .lead { font-size: 1.08rem; max-width: 44rem; }
.frame-panel { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--surface); margin-top: 1.65rem; }
.frame-header { padding: .7rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem; background: white; }
.frame-header p { font-size: .92rem; color: var(--muted); }
.detail-preview { width: 100%; max-height: min(64vw, 590px); object-fit: contain; background: #2c224b; }
.frame-area { height: clamp(570px, 72vh, 830px); background: #f3f0fa; }
.frame-area iframe { width: 100%; height: 100%; border: 0; display: block; }
.dashboard-viewer { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; }
.dashboard-viewer main { min-width: 0; overflow: auto; }
.dashboard-viewer .frame-area { height: 100%; }
.dashboard-viewer > .site-footer { display: none; }
.signup { max-width: 640px; padding-block: 2.6rem 4rem; }
.signup > p { margin-top: 1rem; color: var(--muted); }
.signup h1 { font-size: 2rem; }
.signup .registration-kicker { display: none; }

@media (max-width: 900px) {
  .nav-row { flex-wrap: wrap; gap: .7rem 1rem; padding-block: .85rem; }
  nav { order: 2; margin-left: 0; width: 100%; flex-wrap: wrap; gap: .55rem 1rem; }
  .sign-in { margin-left: auto; }
  .hero-layout { gap: 1.6rem; }
  .demo-grid, .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 2rem, 76rem); }
  .brand { font-size: 1.22rem; }
  .nav-row > .button { display: none; }
  nav { gap: .3rem .9rem; }
  nav a { font-size: .66rem; }
  .hero-layout { grid-template-columns: 1fr; align-content: center; text-align: center; padding-block: 7.75rem 1rem; gap: 1.9rem; }
  .hero-copy p { margin-top: 1.15rem; font-size: 1rem; }
  .hero .actions { justify-content: center; margin-top: 1.4rem; gap: .6rem; }
  .hero .button { min-width: 0; }
  .hero-cloud { width: min(100%, 420px); margin-inline: auto; }
  .demo-grid, .three-col, .filters { grid-template-columns: 1fr; }
  .section-heading, .closing-row, .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-row { padding-block: 1.15rem; }
  .frame-area { height: max(560px, 76svh); }
}
