:root {
  font-family: Inter, system-ui, sans-serif;
  color: #182d48;
  background: #f9fbfd;
  font-synthesis: none;
  --blue: #245bd6;
  --muted: #5a6b81;
  --line: #dee6ef;
  --accent: #245bd6;
  --tint: #edf3ff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #245bd6; outline-offset: 5px; }
html { scroll-padding-top: 100px; }
.page-width, .nav-wrap { width: min(1200px, calc(100% - 64px)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: #ffffffed; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.wordmark span { color: var(--blue); }
nav { display: flex; align-items: center; gap: 30px; }
.site-header nav > a { font-size: 14px; font-weight: 500; }
.site-header [aria-current] { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 22px; background: var(--blue); color: #fff; border-radius: 9px; font-weight: 600; font-size: 15px; transition: background .15s; }
.button:hover { background: #1646b3; }
.modules-hero { padding: 76px 0 34px; background: radial-gradient(ellipse at 84% 25%, #dceae7 0%, transparent 46%), linear-gradient(125deg, #f7faff, #edf3fa); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; margin-bottom: 68px; }
.eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--blue); margin: 0 0 23px; }
h1 { font-size: clamp(36px, 4vw, 53px); line-height: 1.13; letter-spacing: -2px; margin: 0; font-weight: 700; }
h1 span { color: var(--blue); }
.hero-description { max-width: 490px; font-size: 16px; line-height: 1.8; color: var(--muted); margin: 24px 0; }
.text-link { font-size: 14px; font-weight: 600; display: inline-flex; gap: 20px; align-items: center; padding: 7px 0; color: var(--blue); }
.hero-product { position: relative; height: 420px; isolation: isolate; }
.hero-orbit { position: absolute; inset: 0 0 20px 15px; border: 1px solid #b7cad757; border-radius: 50%; z-index: -1; transform: rotate(-20deg); }
.hero-screen { position: absolute; border: 1px solid #d3dee9; border-radius: 11px; padding: 5px; background: #fff; box-shadow: 0 24px 55px -20px #26496955; overflow: hidden; }
.hero-lab { top: 30px; left: 0; width: 94%; transform: rotate(-3deg); }
.screen-bar { display: flex; align-items: center; gap: 14px; padding: 9px 9px 12px; font-size: 10px; font-weight: 500; color: #627489; }
.screen-dots { color: #c6d2df; letter-spacing: 2px; font-size: 8px; }
.screenshot-button { display: block; width: 100%; padding: 0; border: 0; background: #fff; position: relative; text-align: left; cursor: zoom-in; overflow: hidden; }
.hero-lab .screenshot-button { height: 285px; border-radius: 4px; }
.hero-lab img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; display: block; }
.hero-portal { bottom: 0; right: -10px; width: 58%; transform: rotate(3deg); }
.hero-portal .screenshot-button { height: 180px; }
.hero-portal img { display: block; width: 110%; height: auto; max-width: none; margin: -6% 0 0 -5%; }
.hero-caption { position: absolute; bottom: -21px; left: 0; color: #63798a; font-size: 11px; }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.journey a { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; border: 1px solid #d5e0ed; border-radius: 9px; background: #ffffffae; padding: 18px 16px; transition: background .15s, border-color .15s; }
.journey a:hover { border-color: #8daee5; background: #fff; }
.journey span { font-size: 10px; color: #7288a1; }
.journey b { margin-left: auto; color: var(--blue); font-size: 17px; }
.modules-content { padding-top: 10px; padding-bottom: 64px; }
.module-group { padding-top: 68px; scroll-margin-top: 30px; }
.group-heading { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 25px; }
.step { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent); }
.group-heading h2 { font-size: 29px; letter-spacing: -.9px; line-height: 1.2; margin: 0 0 9px; font-weight: 600; }
.group-heading p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.module-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: stretch; }
.module-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.featured-card { box-shadow: 0 8px 30px -22px #243f6550; }
.module-copy { padding: 32px 34px 26px; }
.module-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: var(--tint); color: var(--accent); margin-bottom: 16px; }
.module-icon svg { width: 21px; height: 21px; }
.featured-card .module-icon { float: right; margin: 0 0 10px 18px; }
.module-name { font-size: 12px; font-weight: 600; color: var(--accent); margin: 0 0 11px; }
.module-card h3 { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; margin: 0 0 13px; }
.featured-card h3 { font-size: 28px; max-width: 490px; letter-spacing: -.9px; }
.module-description { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 20px; }
/* Keep feature lists within the existing card layout. */
.module-features { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.7; }
.module-features li { position: relative; padding-left: 23px; }
.module-features li + li { margin-top: 7px; }
.module-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16806a; font-size: 14px; font-weight: 700; }

.module-visual { flex: 1; display: flex; flex-direction: column; background: linear-gradient(140deg, var(--tint), #e7edf4); padding: 20px 24px 0; position: relative; overflow: hidden; }
.visual-label { display: block; color: #62728a; font-size: 10px; letter-spacing: .4px; margin-bottom: 12px; }
.module-visual .screenshot-button { flex: 1; min-height: 300px; border-radius: 9px 9px 0 0; height: 300px; border: 1px solid #dce4ed; border-bottom: 0; box-shadow: 0 12px 35px #20345118; }
.module-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 75%; transition: transform .3s; }
.module-visual .screenshot-button:hover img { transform: scale(1.025); }
.visual-reports img { object-position: center center; }
.visual-dashboard img { object-position: center 22%; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: #fff; color: var(--accent); border: 1px solid #dce4ed; box-shadow: 0 3px 10px #182d4815; border-radius: 8px; font-size: 18px; }
.supporting-modules { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; min-width: 0; }
.supporting-card { padding: 26px 28px; }
.supporting-card .module-icon { margin-bottom: 14px; }
.preview-link { display: flex; gap: 16px; align-items: center; background: none; border: 0; border-top: 1px solid #edf1f6; padding: 14px 0 0; margin: 16px 0 0; color: var(--accent); font-size: 12px; font-weight: 600; text-align: left; }
.preview-link span { margin-left: auto; font-size: 17px; }
#analyse { --accent: #13725e; --tint: #e9f5f0; }
#deliver { --accent: #7150b8; --tint: #f0ecfa; }
#manage { --accent: #526986; --tint: #edf1f6; }
#analyse .module-grid, #manage .module-grid { grid-template-columns: 1fr 1.45fr; }
#analyse .featured-card, #manage .featured-card { grid-column: 2; grid-row: 1; }
#analyse .supporting-modules, #manage .supporting-modules { grid-column: 1; grid-row: 1; }
.screens-note { margin: 24px 0 0; color: #728196; font-size: 11px; text-align: right; line-height: 1.7; }
.connected-note { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 28px 32px; background: #edf2f8; border: 1px solid var(--line); border-radius: 14px; }
.connection-mark { font-size: 34px; color: #667d9f; }
.connected-note h2 { font-size: 17px; margin: 0 0 8px; }
.connected-note p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 850px; margin: 0; }
.modules-cta { text-align: center; padding: 65px 0; background: #172f50; color: #fff; }
.modules-cta .eyebrow { color: #a1bff2; }
.modules-cta h2 { font-size: 34px; letter-spacing: -1px; margin: 0 0 16px; }
.modules-cta p:not(.eyebrow) { color: #c1cede; line-height: 1.7; }
.modules-cta .button { margin: 12px 0; background: #fff; color: #174598; }
.modules-cta .button:hover { background: #dfebff; }
.modules-cta .availability { font-size: 11px; margin-bottom: 0; }
.site-footer { display: flex; gap: 25px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.site-footer p, .site-footer > a:last-child { font-size: 13px; color: var(--muted); }
.site-footer > a:last-child { margin-left: auto; }
.preview-open { overflow: hidden; }
dialog { width: min(1280px, calc(100% - 40px)); max-height: 92vh; padding: 0; border: 1px solid #dae3ed; border-radius: 16px; color: #182d48; box-shadow: 0 30px 100px #0005; }
dialog::backdrop { background: #101e35b8; backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: #fff; }
.dialog-header .eyebrow { font-size: 9px; margin: 0 0 7px; }
.dialog-header h2 { margin: 0; font-size: 22px; letter-spacing: -.5px; }
.dialog-close { background: #edf2f8; color: #314962; border: 0; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 16px; font-size: 12px; }
.dialog-close span { font-size: 22px; }
.dialog-image-wrap { background: #e9eef5; padding: 14px; overflow: auto; max-height: 70vh; text-align: center; }
.dialog-image-wrap img { display: block; width: auto; max-width: 100%; max-height: 66vh; height: auto; margin: auto; object-fit: contain; }
.dialog-caption { margin: 0; padding: 12px 26px; font-size: 11px; color: #6a7d94; }
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  h1 { font-size: 43px; }
  .hero-product { height: 360px; }
  .hero-lab .screenshot-button { height: 220px; }
  .hero-portal .screenshot-button { height: 130px; }
  .hero-portal { bottom: 20px; width: 65%; }
  .hero-caption { bottom: -8px; }
  .module-copy { padding: 26px; }
  .supporting-card { padding: 24px; }
  .module-card h3 { font-size: 21px; }
  .featured-card h3 { font-size: 25px; }
  .journey a { font-size: 11px; gap: 8px; padding: 16px 12px; }
  .module-visual { padding: 18px 18px 0; }
  .module-visual .screenshot-button { height: 310px; }
}
@media (max-width: 700px) {
  .page-width, .nav-wrap { width: calc(100% - 40px); }
  .nav-wrap { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 23px; }
  nav { gap: 16px; }
  .home-link { display: none; }
  .site-header .button { padding: 11px 13px; font-size: 12px; }
  .modules-hero { padding: 42px 0 25px; }
  .hero-layout { display: block; margin-bottom: 42px; }
  h1 { font-size: 39px; letter-spacing: -1.6px; }
  .hero-description { font-size: 15px; margin: 20px 0 12px; }
  .hero-product { height: 300px; margin-top: 26px; }
  .hero-lab { top: 10px; width: 96%; }
  .hero-lab .screenshot-button { height: 210px; }
  .hero-portal { width: 64%; bottom: 0; right: -2px; }
  .hero-portal .screenshot-button { height: 115px; }
  .hero-caption { bottom: -24px; font-size: 10px; }
  .screen-bar { padding: 6px 7px 9px; font-size: 9px; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .journey a { padding: 13px 10px; gap: 6px; }
  .journey b { font-size: 14px; }
  .module-group { padding-top: 42px; }
  .group-heading { gap: 12px; margin-bottom: 20px; }
  .group-heading h2 { font-size: 25px; }
  .group-heading p { font-size: 14px; }
  .step { min-width: 32px; height: 32px; font-size: 10px; }
  .module-grid, #analyse .module-grid, #manage .module-grid { display: flex; flex-direction: column; gap: 16px; }
  .supporting-modules { grid-template-rows: auto; gap: 16px; }
  .module-card { border-radius: 14px; }
  .module-copy, .supporting-card { padding: 24px; }
  .module-card h3, .featured-card h3 { font-size: 23px; }
  .module-description { font-size: 14px; }
  .module-visual { padding: 16px 16px 0; }
  .module-visual .screenshot-button { height: 220px; min-height: 220px; }
  .module-visual img { object-position: 58% 75%; }
  .visual-reports img { object-position: center; }
  .visual-dashboard img { object-position: 50% 15%; }
  .connected-note { align-items: flex-start; padding: 24px; gap: 16px; }
  .connection-mark { font-size: 26px; }
  .modules-content { padding-bottom: 40px; }
  .modules-cta { padding: 45px 0; }
  .modules-cta h2 { font-size: 29px; }
  .site-footer { flex-wrap: wrap; gap: 10px 20px; }
  .site-footer p { width: 100%; order: 3; margin: 0; }
  .site-footer > a:last-child { font-size: 12px; }
  .dialog-header { padding: 17px; }
  .dialog-header h2 { font-size: 18px; }
  .dialog-image-wrap { padding: 6px; }
  .dialog-close { gap: 10px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Additional modules use the same cards as the main overview. */
.module-additions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.module-note { font-size: 12px; line-height: 1.7; color: #62728a; border-top: 1px solid #edf1f6; padding-top: 16px; margin: 20px 0 0; }
@media (max-width: 700px) {
  .module-additions { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
}

.inline-screenshot { margin: 22px 0 0; }
.inline-screenshot .screenshot-button { border: 1px solid var(--line); border-radius: 10px; background: #f2f5f8; }
.inline-screenshot img { width: 100%; height: auto; display: block; }
.inline-screenshot figcaption { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 9px; }
.hero-portal img { width: 100%; margin: 0; }

/* Keep the complete report and editor toolbar visible at every screen size. */
.visual-reports { padding: 22px; justify-content: center; }
.visual-reports .screenshot-button { flex: 0 0 auto; height: auto; min-height: 0; border: 1px solid #dce4ed; border-radius: 10px; }
.visual-reports img { position: static; width: 100%; height: auto; object-fit: contain; }
.visual-reports .screenshot-button:hover img { transform: none; }

/* A shared frame preserves complete UI previews instead of cropping their edges. */
.module-visual { padding: 22px; justify-content: center; }
.module-visual .screenshot-button { flex: 0 0 auto; height: auto; min-height: 0; border: 1px solid #dce4ed; border-radius: 10px; }
.module-visual img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.module-visual .screenshot-button:hover img { transform: none; }
.hero-lab .screenshot-button, .hero-portal .screenshot-button { height: auto; aspect-ratio: 3 / 2; }
.hero-lab img, .hero-portal img { width: 100%; height: auto; margin: 0; object-fit: contain; }
@media (max-width: 700px) { .module-visual { padding: 16px; } }

.hero-product { height: auto; min-height: 280px; aspect-ratio: 1.35; }
