:root {
  color-scheme: light;
  --ink: #1b1a30;
  --muted: #5d5b71;
  --purple: #4d32b7;
  --violet: #5239cb;
  --line: #e1dff0;
  --white: #fff;
  --page: #f8f7fd;
  --space: clamp(3.5rem, 7vw, 7rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1.03; letter-spacing: -.055em; }
h2 { font-size: clamp(2.45rem, 4.75vw, 4.4rem); font-weight: 720; }
h3 { font-size: 1.6rem; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a482ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - clamp(2rem, 8vw, 9rem))); margin-inline: auto; }
.skip-link { position: fixed; top: -10rem; left: 1rem; background: white; padding: .65rem 1rem; z-index: 99; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #e9e6f5; background: #faf9fff5; backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.47rem; font-weight: 750; letter-spacing: -.058em; white-space: nowrap; }
.brand-mark { flex: 0 0 32px; }
.brand-mark img { width: 32px; height: 32px; }
.site-header nav,.footer-links { display: flex; align-items: center; gap: clamp(1rem, 3.1vw, 2.7rem); color: #4b4860; font-size: .94rem; font-weight: 600; }
.site-header nav { gap: clamp(.9rem, 2.5vw, 2.4rem); }
.footer-links { flex-wrap: wrap; }
.site-header nav a:hover,.footer-links a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 8px; font-weight: 680; font-size: .94rem; text-align: center; transition: background-color .2s, border-color .2s; }
.header-cta { color: var(--purple); background: #ebe5ff; min-height: 43px; }
.header-cta:hover { background: #dfd3ff; }
.primary { color: #fff; background: var(--violet); }
.primary:hover { background: #4128b3; }
.translucent { color: #fff; border-color: #ffffff60; background: #ffffff10; }
.translucent:hover { background: #ffffff25; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 77% 53%,#6042b8 0%,#34216c 27%,transparent 62%),linear-gradient(122deg,#16112e 5%,#26184d 73%,#201839); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .27; background-image: linear-gradient(#a78aee31 1px,transparent 1px),linear-gradient(90deg,#a78aee31 1px,transparent 1px); background-size: 55px 55px; mask-image: radial-gradient(ellipse at 92% 57%,#000 0%,transparent 73%); }
.hero-inner { min-height: clamp(490px, 46vw, 680px); display: grid; grid-template-columns: 1fr .91fr; align-items: center; gap: clamp(.3rem, 3vw, 4rem); }
.hero-copy { z-index: 1; padding-block: 4.3rem; }
.eyebrow { font-size: .875rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: .9rem; }
.hero .eyebrow { color: #d0bfff; }
h1 { font-size: clamp(3.6rem, 6vw, 6.65rem); font-weight: 740; letter-spacing: -.075em; line-height: .98; }
.hero-description { margin-top: 1.4rem; font-size: clamp(1.04rem, 1.46vw, 1.25rem); color: #e3dcf5; max-width: 33rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.85rem; }
.hero .primary { background: #c0a9ff; color: #241454; }
.hero .primary:hover { background: #d4c4ff; }
.hero-art { position: relative; min-width: 0; min-height: 350px; align-self: stretch; display: grid; place-items: center; padding-block: 2.5rem 3.6rem; overflow: hidden; }
.hero-art img { width: min(88%, 520px); height: clamp(270px, 34vw, 475px); object-fit: contain; filter: drop-shadow(14px 24px 22px #111022a0); }
.hero-art figcaption { position: absolute; right: 0; bottom: 1.45rem; color: #e0d4ff; font-size: .875rem; display: flex; align-items: center; gap: .55rem; }
.hero-art figcaption span { width: 1.6rem; border-top: 1px solid #ae97f0; }
.section { padding-block: var(--space); }
.catalogue { padding-top: clamp(3rem, 5vw, 5.15rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 1.3rem; }
.section-heading > p { color: var(--muted); max-width: 27rem; justify-self: end; padding-bottom: .15rem; }
.catalogue-control { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-block: 1.7rem 1.2rem; }
.filters { display: flex; gap: .45rem; flex-wrap: wrap; }
.filters button,.text-button { border: 1px solid var(--line); border-radius: 7px; background: transparent; color: #4b4267; font-weight: 650; font-size: .875rem; min-height: 42px; padding: .43rem .9rem; }
.filters button[aria-pressed="true"] { background: #292044; color: #fff; border-color: #292044; }
.filters button:hover:not([aria-pressed="true"]),.text-button:hover:not(:disabled) { background: #eae3ff; }
.text-button { color: var(--purple); }
.text-button:disabled { color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 1rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; border-radius: 13px; overflow: hidden; }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  height: clamp(9rem, 14vw, 12rem);
  min-width: 0;
  background: radial-gradient(ellipse at 50% 75%, #ded5fb, #f1eefb 65%);
  border-bottom: 1px solid #ede8fc;
}
.product-media img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(78%, 16rem);
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(3px 8px 7px #31255236);
}
.product-body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
.product .eyebrow { margin-bottom: .45rem; }
.product-description { color: var(--muted); margin-block: .65rem 1.1rem; flex: 1; }
.card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-block: .8rem; border-block: 1px solid var(--line); }
.card-specs dt { color: var(--muted); font-size: .875rem; }
.card-specs dd { font-weight: 680; }
.card-actions { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.card-actions a { display: inline-block; padding: .5rem 0; color: var(--purple); font-size: .93rem; font-weight: 700; }
.card-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.check { display: flex; gap: .4rem; align-items: center; width: auto; color: var(--muted); font-size: .875rem; }
.check:has(input:disabled) { opacity: .6; }
.check input { accent-color: var(--purple); width: 1rem; height: 1rem; margin: 0; }
.catalogue-note { margin-top: 1.15rem; color: var(--muted); font-size: .875rem; }
.explainer { background: #ece7fb; }
.explainer-grid,.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.6rem, 6.5vw, 6rem); }
.explainer-grid { align-items: center; }
.workflow-photo { overflow: hidden; border-radius: 13px; background: #332457; min-height: 280px; }
.workflow-photo img { width: 100%; height: clamp(280px, 35vw, 510px); object-fit: cover; }
.explainer p:not(.eyebrow),.split p:not(.eyebrow):not(.prototype-note) { color: var(--muted); margin-top: 1rem; }
.workflow-steps { margin-top: 1rem; }
.workflow-steps div { padding: .73rem 0; border-top: 1px solid #d5ccea; }
.workflow-steps dt { font-weight: 710; }
.workflow-steps dd { color: var(--muted); }
.software-section { background: var(--page); }
.stories-section { padding-block: clamp(2.5rem, 4.2vw, 4rem); background: #ece7fb; }
.stories-section h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-top: clamp(1.5rem, 3.5vw, 3rem);
}
.editorial-card { background: white; border: 1px solid var(--line); border-radius: 13px; }
.editorial-body { padding: clamp(1rem, 2.3vw, 1.75rem); }
.editorial-body p:not(.eyebrow) { margin-top: .55rem; color: var(--muted); }
.editorial-body .eyebrow { margin-bottom: .5rem; }
.software-card > img { width: 100%; height: auto; border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line); background: #f0edfa; }
.software-section .catalogue-note a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 1.35rem; }
.story-card { min-width: 0; }
.story-cover { position: relative; display: block; margin: .4rem .4rem 0; overflow: hidden; border-radius: 8px; background: #201839; }
.story-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.story-cover::before,.story-cover::after { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; pointer-events: none; }
.story-cover::before { width: 2.5rem; height: 2.5rem; border: 1px solid #ffffff90; border-radius: 50%; background: #18102bcc; transform: translate(-50%,-50%); }
.story-cover::after { border-block: .36rem solid transparent; border-left: .55rem solid white; transform: translate(-34%,-50%); }
.story-cover:hover img { transform: scale(1.025); }
.story-card .editorial-body { padding: .7rem .8rem .85rem; }
.story-card h3 { font-size: 1.08rem; line-height: 1.23; letter-spacing: -.025em; }
.story-card .editorial-body p { margin-top: .32rem; font-size: .875rem; line-height: 1.42; }
.finder-section { background: #f8f6ff; }
.buying-section { background: #f0ecfa; }
.buying-questions { border-top: 1px solid #d5ccea; }
.buying-questions details { padding-block: .9rem; border-bottom: 1px solid #d5ccea; }
.buying-questions summary { cursor: pointer; color: var(--ink); font-weight: 680; }
.buying-questions details > p { padding-left: 1rem; }
.enquiry-section { background: #eae3fa; }
.finder-form,.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: clamp(1.1rem,3.2vw,2.1rem); }
label { display: block; font-size: .91rem; font-weight: 650; }
label span { font-weight: 450; color: var(--muted); }
input,select,textarea { color: var(--ink); border: 1px solid #c9c3df; border-radius: 6px; background: #fbfaff; }
input:not([type="checkbox"]),select,textarea { display: block; width: 100%; min-height: 46px; padding: .55rem .73rem; margin: .35rem 0 .9rem; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #58488c 50%),linear-gradient(135deg, #58488c 50%, transparent 50%); background-position: calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.prototype-note { margin-bottom: 1.15rem; padding: .65rem .8rem; background: #f1edfc; border-radius: 6px; color: #50446d; font-size: .875rem; }
.finder-result,.enquiry-result { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.finder-result button { margin-top: .75rem; }
#enquiry-context { margin: -.2rem 0 .9rem; font-size: .875rem; }
.enquiry-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; margin-block: .65rem 1rem; }
#enquiry-status { color: var(--ink); font-weight: 680; margin-top: 0; }
footer { padding-block: 2rem; background: #f8f6ff; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.footer-inner p { color: var(--muted); margin-top: .35rem; font-size: .875rem; }
dialog { width: min(780px,calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; }
dialog::backdrop { background: #160f2bc9; }
.dialog-shell { position: relative; padding: clamp(1.15rem,4vw,2.6rem); }
.dialog-close { position: absolute; z-index: 1; top: .65rem; right: .65rem; }
.dialog-close button { border: 1px solid var(--line); border-radius: 7px; background: #f7f4ff; color: var(--ink); height: 42px; width: 42px; font-size: 1.45rem; }
.dialog-shell h2 { font-size: clamp(2.05rem,5vw,3.55rem); margin-right: 2.5rem; }
.product-detail { min-height: 68vh; }
.product-back { display: inline-block; margin-bottom: 1.35rem; color: var(--purple); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: start; }
.detail-layout .product-media { height: clamp(15rem, 36vw, 32rem); border: 1px solid var(--line); border-radius: 13px; }
.detail-layout .product-media img { width: 84%; height: 78%; }
.detail-layout h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); margin-bottom: .9rem; }
.detail-layout dl { margin-top: 1.25rem; }
.detail-layout dl div { padding-block: .65rem; border-top: 1px solid var(--line); }
.detail-layout dt { font-weight: 700; }
.detail-layout dd,.detail-layout p:not(.eyebrow),.dialog-note { color: var(--muted); }
.dialog-note { font-size: .875rem; margin-top: .8rem; }
.dialog-link { color: var(--purple); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; padding: .6rem; }
#story-dialog { width: min(960px, calc(100% - 1.5rem)); }
.story-player { aspect-ratio: 16 / 9; margin-top: 1.1rem; overflow: hidden; border-radius: 8px; background: #16112e; }
.story-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.story-external { display: inline-block; margin-top: .45rem; padding-left: 0; }
.compare-scroll { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 390px; }
th,td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.asset-fallback { font-size: .875rem; color: inherit; text-align: center; text-decoration: underline; padding: .6rem; }
@media (min-width: 761px) {
  .hero-copy { container-type: inline-size; }
  #hero-heading {
    font-size: clamp(2.75rem, 5.65vw, 5.5rem);
    font-size: min(6vw, 6.65rem, 14cqi);
  }
  #hero-heading span { display: block; white-space: nowrap; }
}
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .card-specs { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .story-grid { grid-template-columns: repeat(4, minmax(12.5rem, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; padding: .3rem .3rem .65rem; margin-inline: -.3rem; scroll-padding-inline: .3rem; }
  .story-card { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 7rem; }
  .header-inner { min-height: 0; padding-block: .65rem .45rem; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
  .site-header nav { grid-row: 2; grid-column: 1/-1; gap: .25rem .95rem; flex-wrap: wrap; }
  .site-header nav a { padding-block: .35rem; font-size: .875rem; }
  .hero-inner,.section-heading,.explainer-grid,.split { grid-template-columns: 1fr; }
  .hero-inner { gap: 0; min-height: initial; }
  .hero-copy { padding-block: 2.7rem .45rem; }
  .hero-art { min-height: 0; padding-block: .35rem 2.5rem; }
  .hero-art img { height: clamp(165px, 52vw, 240px); }
  .hero-art figcaption { bottom: .8rem; }
  .section-heading > p { justify-self: start; }
  .products { grid-template-columns: repeat(2,minmax(0, 1fr)); }
  .explainer-grid .workflow-photo { order: 1; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 490px) {
  .brand { gap: .45rem; font-size: 1.24rem; }
  h1 { font-size: clamp(3.15rem, 13vw, 3.8rem); }
  .products,.editorial-grid,.fields,.detail-layout { grid-template-columns: 1fr; }
  .card-specs { grid-template-columns: 1fr 1fr; }
  .product-media { height: 9.5rem; }
  .detail-layout .product-media { height: 15rem; }
  .actions .button { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
