.container { width: min(1240px, calc(100% - 64px)); }
.site-header .brand img { max-height: 48px; width: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2589df;
  outline-offset: 4px;
}
.edition { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #edf6ff 0%, #fff 52%, #e4f4ff 100%);
  color: var(--ink);
}
.showcase-layout {
  min-height: 655px; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(20px,4vw,64px); padding-block: 74px 92px;
}
.showcase-copy { position: relative; z-index: 1; animation: rise .65s ease-out both; }
.showcase .edition { color: #1456a4; margin-bottom: 28px; }
.showcase h1 { font-size: clamp(4.4rem, 8.5vw, 8.2rem); line-height: .87; letter-spacing: -.085em; margin: 0 0 32px; }
.showcase h1 em {
  display: block; font-style: normal; color: #0878ff;
  background: linear-gradient(100deg,#0878ff,#1768e8 48%,#149ed8);
  background-clip: text; -webkit-text-fill-color: transparent;
}
.showcase-lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 440px; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; width: fit-content; min-height: 48px; align-items: center; justify-content: center;
  padding: 10px 20px; border: 1px solid transparent; border-radius: 100px; font-weight: 800;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pill:hover { transform: translateY(-2px); }
.pill-accent { background: linear-gradient(110deg,#0878ff,#1768e8 58%,#1456a4); color: #fff; }
.pill-accent:hover { background: #1456a4; }
.pill-outline { border-color: #7893ad; color: #fff; background: #07162580; }
.pill-outline:hover { border-color: #fff; background: #15324c; }
.pill-light { border-color: #a9bcc8; color: var(--dark); background: white; }
.pill-light:hover { border-color: var(--dark); }
.journey, .suite { padding-block: clamp(60px, 8vw, 110px); }
.section-intro { max-width: 750px; margin-bottom: 32px; }
.section-intro h2, .home-close h2 { font-size: clamp(2.5rem, 5.7vw, 5.1rem); line-height: .99; letter-spacing: -.075em; }
.section-intro .edition, .home-close .edition { color: #1456a4; }
.workflow-grid { display: grid; grid-template-columns: minmax(240px,.95fr) minmax(0,1.7fr); gap: 16px; }
.workflow-controls { display: grid; gap: 9px; }
.workflow-controls button {
  display: grid; grid-template-columns: 36px 1fr; align-content: center; text-align: left; gap: 0 12px;
  min-height: 91px; border: 1px solid var(--line); background: #fff; color: var(--dark); border-radius: 15px;
  padding: 15px 19px; cursor: pointer; transition: background .2s, border-color .2s;
}
.workflow-controls button:hover { border-color: #708c9c; }
.workflow-controls button[aria-pressed="true"] { background: #e4f2ff; border-color: #168cff; }
.workflow-controls span { grid-row: span 2; align-self: center; color: #1456a4; font-weight: 800; }
.workflow-controls strong { font-size: 1.1rem; }
.workflow-controls small { font-size: .875rem; color: #435b6d; }
.workflow-screen {
  color: white; border-radius: 20px; overflow: hidden;
  background: radial-gradient(ellipse at 100% 0%,#21486c,transparent 65%), var(--dark);
}
.screen-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 24px; border-bottom: 1px solid #3b546d; color: #d7e4f2; font-size: .875rem; }
#ticket-status { background: #153c69; color: #d5f7ff; padding: 3px 10px; border-radius: 40px; }
.screen-body { padding: clamp(22px,4vw,44px); }
.screen-body .edition { color: #21d4fd; }
.screen-body h3 { font-size: clamp(1.8rem,4vw,3rem); line-height: 1.07; }
.screen-body p { color: #d7e4f2; }
.timeline { display: flex; gap: 6px; margin: 22px 0; }
.timeline i { flex: 1; height: 4px; background: #526478; border-radius: 4px; transition: background .25s; }
.timeline .filled { background: #21d4fd; }
.suite { background: #edf6ff; }
.suite-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.suite-card { background: #fff; border: 1px solid #dbe5e9; padding: clamp(24px,4vw,52px); border-radius: 20px; }
.suite-card h3 { font-size: clamp(1.55rem,3vw,2.65rem); }
.suite-feature {
  grid-row: span 2; display: grid; align-items: end; min-height: 450px; color: white;
  background: linear-gradient(0deg,#061524 9%,#061524ed 34%,#06152430 100%), url('../images/workscan-banner.png') center top / cover;
}
.suite-feature p { color: #deebf6; }
.suite-logo { width: min(210px,100%); margin-bottom: 18px; }
.home-close { padding-block: clamp(54px,8vw,100px); display: grid; grid-template-columns: 1.8fr 1fr; align-items: end; gap: 24px; }
.home-close p:last-child { margin-bottom: 0; }
.page-hero h1, .product-hero h1, .ws-mobile-hero h1 { letter-spacing: -.055em; }
main .btn { border-radius: 100px; }
.enquiry-preview { white-space: pre-wrap; overflow-wrap: anywhere; background: #eef4f7; border-radius: 12px; padding: 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes workflow-enter { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.screen-body.stage-changed { animation: workflow-enter .32s ease-out; }
.suite-card { transition: box-shadow .25s ease, transform .25s ease; }
.suite-card:hover, .suite-card:focus-within { box-shadow: var(--shadow); transform: translateY(-4px); }
[data-reveal].in-view { animation: rise .55s ease-out both; }
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .showcase-layout { min-height: auto; grid-template-columns: 1fr; padding-block: 46px 40px; gap: 30px; }
  .showcase h1 { font-size: clamp(4rem, 14vw, 7rem); }
  .workflow-grid, .suite-grid, .home-close { grid-template-columns: 1fr; }
  .suite-feature { grid-row: auto; min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.showcase-layout {
  min-height: 680px;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(24px,5vw,76px);
}
.hero-wordmark { display: block; width: min(225px, 70%); height: auto; margin-bottom: 25px; }
.showcase h1 { font-size: clamp(3.7rem, 6.5vw, 7rem); }
.showcase-lead { margin-bottom: 28px; }
.product-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 510px;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: clamp(18px,3vw,36px);
  border: 5px solid white;
  border-radius: 34px;
  overflow: hidden;
  background: #06152d;
  box-shadow: 0 30px 70px #0a377346, 0 0 0 1px #b9d7f5;
  animation: rise .85s .15s ease-out both;
}
.stage-photo {
  position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 54%;
  transition: transform .65s ease, object-position .65s ease;
}
.product-stage[data-view="portal"] .stage-photo { transform: scale(1.12); object-position: 25% 44%; }
.product-stage[data-view="mobile"] .stage-photo { transform: scale(1.18); object-position: 87% 65%; }
.product-stage::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(0deg,#041126 0%,#04112666 52%,transparent 82%);
}
.stage-preview {
  width: min(345px, 100%); overflow: hidden; margin-bottom: 16px;
  background: #f8fcfff5; border: 1px solid #b9d7f5;
  border-radius: 20px; box-shadow: 0 14px 40px #04112655;
}
.stage-chrome {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px;
  background: #edf6ff; border-bottom: 1px solid #dcedff; padding: 10px 16px;
  font-size: .875rem; font-weight: 700; color: #1456a4;
}
.stage-content { padding: 16px; }
.stage-content .edition { margin-bottom: 3px; font-size: .8rem; }
.stage-content h2 { font-size: clamp(1.55rem,3vw,2.3rem); margin-bottom: 10px; }
.stage-ticket { display: grid; gap: 3px; padding: 10px 12px; background: white; border: 1px solid #dcedff; border-radius: 10px; }
.stage-ticket span { font-size: .875rem; color: #1456a4; }
#stage-status { font-weight: 800; }
.stage-route { display: flex; gap: 4px; margin: 11px 0 6px; }
.stage-route i { flex: 1; height: 3px; background: #dcedff; border-radius: 4px; transition: background .3s; }
.stage-route i:first-child, [data-view="crm"] .stage-route i:nth-child(2), [data-view="mobile"] .stage-route i { background: #168cff; }
#stage-link { font-size: .875rem; font-weight: 800; color: #1456a4; text-decoration: underline; text-underline-offset: 3px; }
.stage-switch { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; background: #041126ed; border: 1px solid #628cb8; border-radius: 16px; }
.stage-switch button { border: 0; border-radius: 11px; min-height: 40px; padding: 7px 11px; background: transparent; color: #fff; cursor: pointer; font-size: .875rem; font-weight: 800; }
.stage-switch button:hover { background: #153c69; }
.stage-switch button[aria-pressed="true"] { background: #edf6ff; color: #1456a4; }
.product-ribbon { background: #fff; border-block: 1px solid #dcedff; }
.product-ribbon .container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.product-ribbon a {
  display: grid; gap: 4px; padding: 20px clamp(10px,3vw,34px); border-left: 1px solid #dcedff;
  transition: background .2s;
}
.product-ribbon a:last-child { border-right: 1px solid #dcedff; }
.product-ribbon a:hover { background: #edf6ff; }
.product-ribbon span { color: #1456a4; font-size: .875rem; }
.product-ribbon strong { font-size: clamp(1rem,2vw,1.35rem); }
.product-subnav { background: #edf6ff; border-bottom: 1px solid #dcedff; }
.product-subnav .container { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.product-subnav a { padding-block: 11px; font-weight: 700; font-size: .875rem; color: #1456a4; border-bottom: 2px solid transparent; }
.product-subnav a:hover, .product-subnav a[aria-current="page"] { border-color: #168cff; }
@media (max-width: 900px) {
  .showcase-layout { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-block: 47px; }
  .showcase h1 { font-size: clamp(3.5rem, 10vw, 6rem); }
  .product-stage { min-height: 460px; }
}
@media (max-width: 480px) {
  .product-stage { min-height: 430px; padding: 14px; border-radius: 23px; }
  .stage-switch button { padding-inline: 7px; font-size: .8rem; }
  .product-ribbon a { padding-inline: 8px; }
  .product-ribbon span { display: none; }
  .product-ribbon strong { font-size: .875rem; }
}
