/* QBM product-site theme: the Business Aim reference's ivory, navy, gold and editorial type.
   The existing stylesheet retains component behaviour; this file owns the shared visual design. */
:root {
  --ink: #142c3a;
  --ink-2: #29424f;
  --muted: #53626c;
  --muted-2: #68777f;
  --navy: #142c3a;
  --navy-2: #2d4e5f;
  --navy-3: #0d222e;
  --blue: #155da0;
  --teal: #294f57;
  --accent: #87611e;
  --accent-bright: #e8b64e;
  --accent-soft: #f2dfb7;
  --accent-tint: #f8f3e7;
  --accent-rgb: 135, 97, 30;
  --soft: #f6f5f0;
  --mist: #f6f5f0;
  --line: #dce1e2;
  --line-2: #bdc8ca;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 5px;
  --radius-xl: 6px;
  --max: 1240px;
  --shadow-sm: none;
  --shadow-md: 0 10px 28px #142c3a0d;
  --shadow-lg: 0 20px 46px #142c3a12;
  --grad-navy: linear-gradient(var(--ink), var(--ink));
  --grad-cta: linear-gradient(var(--ink), var(--ink));
}

/* Shared type and spacing follow the company reference; long product names still wrap. */
html { scroll-padding-top: 112px; }
body { font-size: 15px; line-height: 1.8; overflow-x: clip; }
img { height: auto; }
h1, h2, h3, h4 { font-weight: 600; }
h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.13; letter-spacing: -.05em; }
h2 { font-size: clamp(29px, 3.1vw, 42px); line-height: 1.23; letter-spacing: -.045em; }
h3 { line-height: 1.4; letter-spacing: -.03em; }
p { color: var(--muted); }
::selection { color: var(--ink); background: var(--accent-soft); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.topline :focus-visible, .section-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--accent-bright); }
.container { width: min(var(--max), calc(100% - 80px)); }
.section { padding-block: 90px; }
.section-head { grid-template-columns: 1.15fr 1fr; gap: 80px; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 450px; font-size: 14px; line-height: 1.85; }
.eyebrow, .section-kicker, .module-tag {
  padding: 0; border: 0; border-radius: 0; background: none; color: var(--accent);
  font-size: 10px; line-height: 1.7; font-weight: 800; letter-spacing: .15em; margin-bottom: 20px;
}
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: currentColor; margin-right: 4px; }
/* Section introductions need the same small gold label even when their other paragraphs are larger. */
.section-head .eyebrow { color: var(--accent); font-size: 10px; line-height: 1.7; margin: 0 0 20px; }
.hero .eyebrow, .page-hero .eyebrow, .page-hero .section-kicker { color: var(--accent); background: none; border: 0; }
.section-dark .eyebrow, .section-dark .section-kicker { color: #e6bd6c; background: none; border: 0; }
.section-dark::before, .cta-band::before, .visual-frame::before { content: none; }
.section-dark { background: var(--ink); }
.section-dark p { color: #c4cfd3; }

/* A compact utility strip separates existing customer access from product discovery. */
.topline { background: var(--ink); font-size: 11px; border: 0; }
.topline .container { min-height: 34px; padding-block: 3px; }
.customer-nav { gap: 22px; }
.customer-nav span { color: #c1cbd0; font-size: 10px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.customer-nav a, .customer-nav a:last-child {
  min-width: 0; padding: 2px 0; border: 0; border-radius: 0; background: none; color: #fff; font-size: 11px;
}
.customer-nav a:hover, .customer-nav a:last-child:hover { color: var(--accent-bright); background: none; }
.site-header { background: #fff; border-bottom: 1px solid #e9eceb; backdrop-filter: none; }
.header-inner { min-height: 96px; gap: 28px; }
.brand { gap: 16px; flex-shrink: 0; }
.brand img { width: 55px; height: 55px; object-fit: contain; }
.brand>span { padding-left: 16px; border-left: 1px solid var(--line); }
.brand strong { color: var(--ink); font-size: 23px; line-height: 1.3; letter-spacing: -.04em; }
.brand span span { color: var(--muted); font-size: 10px; font-weight: 500; }
.main-nav { gap: 23px; margin-left: auto; }
.main-nav>a, .nav-group>summary {
  position: relative; padding: 11px 0; border-radius: 0; color: var(--ink); font-size: 12px; font-weight: 700;
}
.main-nav>a:hover, .nav-group>summary:hover, .main-nav>a:focus-visible, .nav-group>summary:focus-visible,
.main-nav>a[aria-current="page"], .nav-group.has-current>summary { color: var(--ink); background: none; }
.main-nav>a::before, .nav-group>summary::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--accent-bright); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.main-nav>a:hover::before, .nav-group>summary:hover::before, .main-nav>a[aria-current="page"]::before,
.nav-group.has-current>summary::before { transform: scaleX(1); }
.nav-group>summary::after { margin-left: 8px; width: 5px; height: 5px; }
.nav-dropdown { top: calc(100% + 9px); padding: 8px; border-radius: 4px; box-shadow: var(--shadow-lg); }
.nav-dropdown a { padding: 10px 14px; font-size: 12px; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.header-actions { gap: 0; }
.header-actions .btn { min-height: 44px; padding: 11px 19px; font-size: 12px; border-radius: 3px; }
.nav-toggle { width: 44px; height: 44px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--ink); }

/* Buttons use restrained rectangular shapes; gold is reserved for dark calls to action. */
.btn {
  min-height: 50px; padding: 13px 22px; gap: 22px; border-radius: 3px; font-size: 12px;
  line-height: 1.65; font-weight: 700; letter-spacing: 0; box-shadow: none; transform: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn::before { content: none; }
.btn:hover { box-shadow: none; transform: none; }
.btn-primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { color: #fff; background: var(--navy-2); border-color: var(--navy-2); }
.btn-secondary, .btn-light { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-secondary:hover, .btn-light:hover { color: var(--ink); background: #edf0ee; border-color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-outline:hover { color: var(--ink); background: #edf0ee; border-color: var(--ink); }
.section-dark .btn-primary, .cta-band .btn, .btn-gold {
  color: var(--ink); background: var(--accent-bright); border-color: var(--accent-bright);
}
.section-dark .btn-primary:hover, .cta-band .btn:hover, .btn-gold:hover { color: var(--ink); background: #f5ce76; border-color: #f5ce76; }
.section-dark .btn-outline { color: #fff; border-color: #91a2aa; }
.section-dark .btn-outline:hover { color: #fff; background: #294450; }
.btn-arrow::after { content: "\2197"; font-size: 18px; font-weight: 400; }
.text-link { gap: 17px; padding-block: 6px; color: var(--ink); font-size: 12px; border-bottom: 1px solid #aeb9be; }
.text-link::after { content: "\2197"; font-size: 18px; font-weight: 400; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.section-dark .text-link { color: #fff; }

/* The product hero retains QBM's supplied dashboard, framed by the reference's fine gold orbit. */
.hero { background: var(--mist); color: var(--ink); overflow: clip; padding-block: 68px 74px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.06fr; gap: 55px; padding: 0; min-height: 470px; align-items: center; }
.hero h1 { font-size: clamp(43px, 4.8vw, 66px); line-height: 1.1; letter-spacing: -.055em; color: var(--ink); margin-bottom: 25px; }
.hero h1 em { font-family: var(--font-serif); color: var(--accent); font-weight: 400; letter-spacing: -.025em; }
.hero .hero__lead { max-width: 500px; font-size: 15px; line-height: 1.9; color: var(--muted); margin-bottom: 28px; }
/* Override the older generic hero paragraph size for the small editorial category label. */
.hero .eyebrow { font-size: 10px; line-height: 1.7; }
.hero__actions, .hero-actions { gap: 22px; align-items: center; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 20px; border: 0; padding: 0; margin: 30px 0 0; list-style: none; }
.hero__proof li { padding: 0; color: var(--muted); font-size: 10px; font-weight: 500; }
.hero__proof li::before { content: ""; position: static; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--accent); box-shadow: none; }
.hero__visual { position: relative; display: block; justify-items: start; width: 100%; max-width: none; margin: 0; padding: 25px 0 25px 10px; }
.product-orbit { position: absolute; width: 420px; height: 420px; top: -12px; right: -28px; border: 1px solid #d9c9a5; border-radius: 50%; pointer-events: none; }
.product-orbit::before { content: ""; position: absolute; inset: 18px; border: 1px solid #e3d8c2; border-radius: 50%; }
.product-window { position: relative; margin: 0; padding: 18px 16px 14px; background: #fff; border: 1px solid #dce1df; border-radius: 45px 5px 5px 5px; box-shadow: 0 24px 45px #142c3a0c; }
.product-window__top { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 18px; gap: 12px; font-size: 9px; font-weight: 700; color: var(--muted); }
.product-window__top strong { color: var(--ink); font-size: 11px; letter-spacing: -.01em; }
.product-window picture, .product-window img { display: block; width: 100%; height: auto; }
.product-window figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 7px 2px; color: var(--muted); font-size: 9px; }
.product-window figcaption span:first-child { color: var(--ink); font-weight: 700; }
.product-seal { position: relative; display: flex; gap: 15px; align-items: center; width: max-content; max-width: 95%; margin: -1px 0 0 -10px; padding: 17px 25px; border-left: 3px solid var(--accent-bright); background: #fff; box-shadow: 0 10px 28px #142c3a0e; }
.product-seal strong { font-size: 28px; line-height: 1.2; letter-spacing: -.05em; font-weight: 600; }
.product-seal span { font-size: 10px; line-height: 1.65; color: var(--muted); }
.screenshot-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: 3px; }
.screenshot-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }

/* The four existing client marks sit on a single quiet trust strip. */
.client-strip { border-bottom: 1px solid var(--line); background: #fff; }
.client-strip__inner { display: flex; align-items: center; gap: 55px; min-height: 126px; }
.client-strip__inner>p { flex: 0 0 160px; margin: 0; font-size: 11px; line-height: 1.8; }
.client-strip__inner strong { color: var(--ink); font-weight: 600; }
.client-logos { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 35px; }
.client-logos img { width: 140px; height: 64px; object-fit: contain; }

/* Existing cards retain their content and links, with the reference's lighter borders and calmer rhythm. */
.card { padding: 28px; box-shadow: none; border-radius: 5px; transition: border-color .18s ease; }
.card:hover, .card:focus-within, .metric:hover, .client-mark:hover { transform: none; box-shadow: none; border-color: #b7c3c7; }
.card h3 { color: var(--ink); font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.module-card { min-height: 230px; }
.module-tag { font-size: 9px; margin-bottom: 16px; }
.capability-card { border-top: 1px solid var(--line); min-height: 255px; }
.industry-card, .regional-card { min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.industry-card .text-link, .regional-card .text-link { margin-top: auto; }
.edition-card { min-height: 260px; gap: 6px; }
.edition-card .btn { margin-top: auto; }
.edition-card p { margin-bottom: 18px; }
.edition-fit-card { background: var(--mist); box-shadow: none; margin-top: 28px; }
.edition-fit-card .question-list { font-size: 12px; font-weight: 500; }
.support-proof-card, .proposal-card { background: var(--mist); border-color: var(--line); }
.grid-4 .compact-list { grid-template-columns: 1fr; }
.feature-list { gap: 0; margin: 24px 0; }
.feature-list li { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.feature-list li::before { content: "\2713"; top: 12px; width: auto; height: auto; color: var(--accent); background: none; box-shadow: none; font-size: 12px; }
.section-dark .feature-list li { border-color: #ffffff25; }
.section-dark .feature-list li::before { color: var(--accent-bright); background: none; box-shadow: none; }
.compact-list li { font-size: 13px; line-height: 1.8; padding-left: 16px; }
.compact-list li::before { width: 4px; height: 4px; background: var(--accent); top: .75em; }
.problem-list li { border-radius: 3px; box-shadow: none; font-size: 14px; }
.pill-row span { font-size: 10px; font-weight: 500; border-radius: 2px; padding: 5px 10px; min-height: 0; }
.report-categories span { font-size: 12px; font-weight: 600; }

/* Home module cards use a simple line icon, a category number and an explicit destination. */
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.platform-card { display: flex; flex-direction: column; padding: 28px; background: var(--mist); border: 1px solid var(--line); border-radius: 5px; }
.platform-card:nth-child(2), .platform-card:nth-child(5) { background: #f0f4f5; }
.platform-card:nth-child(3), .platform-card:nth-child(6) { background: #edf2ed; }
.platform-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.platform-card__top svg { width: 28px; height: 28px; color: var(--ink); }
.platform-card__top span { font-size: 10px; color: var(--accent); }
.platform-card h3 { font-size: 21px; margin-bottom: 12px; }
.platform-card p { font-size: 13px; line-height: 1.9; margin-bottom: 22px; }
.platform-card .text-link { margin-top: auto; }
.section-tail { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 28px; font-size: 12px; }
.section-tail p { margin: 0; }

/* Delivery steps echo the reference's open columns, while QBM stays the system of record. */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 44px 0 0; gap: 28px; padding: 0; }
.process-grid li { padding-top: 20px; border-top: 1px solid #bec8c9; }
.process-grid li>span { display: block; margin-bottom: 26px; color: var(--accent); font-size: 11px; font-weight: 700; }
.process-grid h3 { font-size: 19px; }
.process-grid p { font-size: 12px; line-height: 1.9; margin-bottom: 0; }
.industry-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.industry-link { display: grid; grid-template-columns: 35px 1fr auto; gap: 15px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.industry-link>span:first-child { color: var(--accent); font-size: 10px; }
.industry-link strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.industry-link small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.industry-link>span:last-child { font-size: 22px; }
.industry-link:hover strong { color: var(--blue); }

/* Product and office images keep their natural aspect ratio, with no decorative cropping of report data. */
.visual-band { gap: 70px; }
.visual-frame { padding: 12px; border-radius: 5px; box-shadow: var(--shadow-lg); }
.visual-frame img, .visual-frame picture { border-radius: 2px; }
.visual-frame--screenshot picture { aspect-ratio: auto; }
.visual-frame--screenshot img { height: auto; object-fit: contain; }
.visual-frame figcaption { padding: 12px 5px 0; color: var(--muted); font-size: 10px; }
.screenshot-card, .video-card { padding: 0; }
.screenshot-card h3, .video-card h3 { font-size: 17px; }
.screenshot-card p, .video-card p { font-size: 12px; }
.screenshot-note { font-size: 11px; }
.gallery-grid img { border-radius: 5px; box-shadow: none; }
.video-card .video-link { font-size: 12px; margin-top: 14px; }
.visual-band--media-led { gap: 30px; }

/* Interior pages carry the same quiet ivory introduction and small breadcrumb as the reference. */
.page-hero { padding: 28px 0 62px; color: var(--ink); background: var(--mist); }
.page-hero::before, .page-hero::after { content: none; }
.page-hero h1 { max-width: 990px; color: var(--ink); font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.05em; line-height: 1.16; text-wrap: balance; overflow-wrap: normal; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.breadcrumb { margin-bottom: 38px; font-size: 10px; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.split { gap: 65px; }
.content-block { max-width: 850px; }
.content-block p, .content-block li { line-height: 1.9; }
.content-block h2 { margin-top: 32px; font-size: 27px; }
.content-block h2:first-child { margin-top: 0; }
.metric { padding: 25px; border-radius: 4px; box-shadow: none; }
.metric strong { font-weight: 500; font-size: 36px; }
.metric span { font-size: 12px; }
.client-mark { border-radius: 4px; box-shadow: none; }
.trust-item strong { font-weight: 600; }
.trust-item span { font-size: 12px; }
.help-count { border-radius: 2px; background: var(--mist); font-size: 12px; font-weight: 600; }
.link-list a { font-size: 13px; }

/* Customer quotes use the same serif quote mark and generous line spacing as Business Aim. */
.testimonial { padding: 40px 28px 28px; }
.testimonial::before { color: var(--accent); font-family: var(--font-serif); font-weight: 400; }
.testimonial h3 { font-size: 15px; }
.testimonial blockquote { font-size: 16px; line-height: 1.85; font-weight: 400; }
.testimonial cite { font-size: 11px; line-height: 1.8; margin-top: auto; }
.testimonial-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 100px; align-items: center; }
.featured-quote { margin: 0; }
.featured-quote .quote-mark { display: block; color: var(--accent); font: 72px/.7 var(--font-serif); margin-bottom: 20px; }
.featured-quote blockquote { margin: 0; font-size: 22px; line-height: 1.8; letter-spacing: -.025em; }
.featured-quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; font-size: 11px; }
.featured-quote figcaption span { color: var(--muted); }
.testimonial-more { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 22px; }
.testimonial-more>summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.testimonial-more>.grid-3 { margin-top: 25px; }

/* Native disclosures keep FAQ and detailed edition comparisons accessible without a script. */
.faq-list { gap: 0; }
.faq-list details { padding: 23px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq-list details[open] { box-shadow: none; border-color: var(--line); }
.faq-list summary { font-size: 14px; font-weight: 600; padding-right: 32px; }
.faq-list summary::after { color: var(--ink); font-size: 22px; }
.faq-list p { font-size: 13px; line-height: 1.9; }
.table-wrap { border-radius: 4px; box-shadow: none; }
th, td { padding: 17px 19px; font-size: 12px; line-height: 1.8; }
.comparison-disclosure { margin-top: 26px; }
.comparison-disclosure>summary { padding: 17px 0; cursor: pointer; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.comparison-disclosure .edition-compare { margin-top: 18px; }

/* Contact fields preserve their existing validation and endpoint; the change here is presentation only. */
.contact-grid { grid-template-columns: .75fr 1.15fr; gap: 90px; }
.form-stack { gap: 30px; }
.form-stack>.card { padding: 35px; background: var(--mist); }
.form-stack h2 { font-size: 28px; line-height: 1.35; }
.form-stack .form-note { font-size: 12px; margin-bottom: 22px; }
.contact-item h3 { font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.contact-item p { font-size: 14px; }
label { font-size: 12px; font-weight: 600; }
input, select, textarea { min-width: 0; border-color: #cbd3d5; border-radius: 2px; font-size: 13px; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px #155da01a; }
.form-grid { gap: 19px 18px; }
.form-status { font-size: 12px; }
.newsletter-form { margin-top: 22px; }
.newsletter-form .form-status:empty { min-height: 0; }
.cookie-consent { border-radius: 4px; }
.cookie-consent p { font-size: 12px; }
.resources-panel { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.resources-panel h3 { font-size: 20px; }
.resources-panel p { font-size: 13px; }

/* A navy call to action and deeper footer match the company site without adding location-led marketing. */
.cta-band { padding-block: 70px; background: var(--ink); }
.cta-inner { gap: 70px; }
.cta-inner>div { max-width: 700px; }
.cta-inner h2 { font-size: clamp(29px, 3.1vw, 42px); }
.cta-inner .eyebrow { color: #e6bd6c; margin: 0 0 18px; }
.cta-inner p { font-size: 14px; color: #c3cdd1; margin-top: 18px; }
.cta-inner>.btn { flex-shrink: 0; }
.site-footer { background: #0d222e; padding: 64px 0 0; color: #c0cbd0; }
.footer-grid { grid-template-columns: 1.65fr .8fr .85fr 1fr; gap: 50px; padding-bottom: 48px; }
.footer-wordmark { display: inline-block; color: #fff; font-size: 33px; font-weight: 700; letter-spacing: -.055em; line-height: 1.3; }
.footer-wordmark span { color: var(--accent-bright); }
.footer-brand>p { margin-top: 18px; max-width: 315px; }
.site-footer h2, .site-footer h4 { margin: 8px 0 20px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.site-footer p { font-size: 12px; line-height: 1.9; color: #b4c1c8; }
.footer-links { gap: 7px; }
.footer-links a { font-size: 11px; color: #c0cbd0; }
.site-footer .footer-email { display: inline-flex; gap: 25px; color: #fff; font-size: 13px; }
.site-footer .text-link { color: #c0cbd0; border-color: #71858f; font-size: 11px; }
.site-footer a:hover { color: var(--accent-bright); }
.footer-bottom { padding: 22px 0; margin-top: 0; border-color: #ffffff18; font-size: 10px; color: #a2b2ba; }
.footer-bottom>div { display: flex; flex-wrap: wrap; gap: 24px; }

/* Navigation is progressively enhanced: links stay visible if scripts fail or are disabled. */
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 16px; padding-block: 15px; min-height: 88px; }
  .header-actions { display: flex; margin-left: auto; }
  .main-nav { display: flex; flex-basis: 100%; flex-wrap: wrap; order: 3; gap: 12px 24px; margin: 0; }
  .nav-toggle { display: none; }
  .nav-ready .header-inner { flex-wrap: nowrap; }
  .nav-ready .main-nav { display: none; }
  .nav-ready .nav-toggle { display: inline-grid; place-items: center; }
  .nav-ready .main-nav.is-open {
    position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: 1fr;
    max-height: calc(100dvh - 160px); overflow-y: auto; padding: 15px 40px 25px; gap: 3px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .main-nav.is-open>a, .main-nav.is-open .nav-group>summary { padding: 12px 0; border-radius: 0; }
  .main-nav.is-open .nav-group { position: static; }
  .main-nav.is-open .nav-dropdown { position: static; min-width: 0; padding: 8px 12px; margin: 4px 0 8px; border: 0; box-shadow: none; background: var(--mist); }
  .main-nav.is-open .nav-dropdown a { padding: 11px 8px; white-space: normal; }
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 30px; min-height: 440px; padding: 0; }
  .hero h1 { font-size: 48px; }
  .product-orbit { width: 340px; height: 340px; }
  .section { padding-block: 75px; }
}

/* Tablet layouts keep product imagery broad, tables scrollable and line lengths comfortable. */
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero { padding-block: 55px; }
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(44px, 7.3vw, 62px); }
  .hero__lead { max-width: 600px; }
  .hero__visual { max-width: 630px; margin-inline: auto; padding: 16px 10px 10px; }
  .product-orbit { top: -15px; right: 0; }
  .section-head, .visual-band, .split, .contact-grid, .testimonial-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-head p { max-width: 640px; }
  .section-head { margin-bottom: 32px; }
  .visual-band--media-led { grid-template-columns: 1fr; }
  .client-strip__inner { gap: 25px; min-height: 110px; }
  .client-strip__inner>p { flex-basis: 125px; }
  .client-logos { gap: 20px; }
  .client-logos img { width: 100%; min-width: 0; max-width: 110px; height: 50px; }
  .platform-grid, .process-grid, .grid-3, .grid-4, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition-fit-card { grid-template-columns: 1fr; gap: 20px; }
  .edition-fit-card .btn { justify-self: start; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 36px; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: row; align-items: center; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Place the requested demo/proposal forms first when the contact columns stack. */
  .contact-grid>.form-stack { order: -1; }
}

/* Narrow screens keep customer access and sales actions reachable without covering page content. */
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .topline .container { min-height: 34px; }
  .topline-message { display: none; }
  .customer-nav { width: 100%; gap: 20px; }
  .customer-nav span { margin-right: auto; }
  .customer-nav a { font-size: 10px; }
  .header-inner { min-height: 82px; gap: 10px; }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand>span { padding-left: 10px; }
  .brand strong { font-size: 21px; }
  .brand span span { font-size: 9px; }
  .header-actions { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-ready .main-nav.is-open { padding: 14px 20px 24px; }
  .hero { padding: 44px 0 40px; }
  .hero__inner { gap: 32px; min-height: 0; }
  .hero h1 { font-size: clamp(38px, 9.7vw, 58px); line-height: 1.12; margin-bottom: 22px; }
  .hero .hero__lead { font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
  .hero__actions { align-items: center; gap: 18px; }
  .hero__actions .btn { width: auto; }
  .hero__proof { display: flex; gap: 10px 16px; margin-top: 25px; }
  .hero__proof li { font-size: 9px; }
  .hero__visual { padding: 10px 0 5px; }
  .product-window { padding: 15px 10px 12px; border-top-left-radius: 32px; }
  .product-window__top { padding: 3px 7px 15px; font-size: 8px; }
  .product-window__top strong { font-size: 10px; }
  .product-window figcaption { font-size: 8px; }
  .product-orbit { width: 270px; height: 270px; right: -20px; }
  .product-seal { margin-left: 0; padding: 13px 18px; gap: 12px; }
  .product-seal strong { font-size: 24px; }
  .product-seal span { font-size: 9px; }
  .client-strip__inner { display: block; padding-block: 24px; }
  .client-strip__inner>p { text-align: center; margin-bottom: 18px; }
  .client-strip__inner>p br { display: none; }
  .client-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .client-logos img { height: 45px; }
  .section { padding-block: 58px; }
  .section-head { gap: 20px; }
  .section-head p { font-size: 13px; }
  h2 { font-size: 30px; }
  .eyebrow, .section-kicker { font-size: 9px; margin-bottom: 16px; }
  .platform-grid, .industry-links, .grid-2, .grid-3, .grid-4, .gallery-grid, .screenshot-grid, .video-grid,
  .contact-grid, .form-grid, .metric-grid, .compact-list, .report-categories { grid-template-columns: 1fr; }
  .platform-card { padding: 26px; }
  .platform-card__top { margin-bottom: 20px; }
  .process-grid { gap: 28px 20px; margin-top: 30px; }
  .process-grid h3 { font-size: 17px; }
  .process-grid li>span { margin-bottom: 18px; }
  .industry-link { padding-block: 20px; grid-template-columns: 22px 1fr auto; gap: 10px; }
  .industry-link strong { font-size: 16px; }
  .section-tail { align-items: flex-start; flex-direction: column; gap: 15px; }
  .card { padding: 25px; }
  .screenshot-card, .video-card { padding: 0; }
  .edition-card, .module-card, .industry-card, .capability-card, .regional-card { min-height: 0; }
  .edition-card .btn { margin-top: 16px; }
  .question-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
  .page-hero { padding: 24px 0 46px; }
  .page-hero h1 { max-width: none; font-size: clamp(32px, 8.7vw, 44px); line-height: 1.17; }
  .page-hero p, .page-hero .hero-actions { max-width: none; }
  .page-hero p { font-size: 14px; }
  .breadcrumb { margin-bottom: 28px; }
  .visual-frame { padding: 8px; }
  .featured-quote blockquote { font-size: 20px; }
  .form-stack>.card { padding: 24px; }
  .form-stack h2 { font-size: 25px; }
  .cta-band { padding-block: 52px; }
  .cta-inner { gap: 26px; }
  .btn { white-space: normal; }
  .cta-inner>.btn, .edition-fit-card .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer { padding-top: 44px; }
  .mobile-cta-bar { padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-color: var(--line); background: #fff; box-shadow: 0 -5px 20px #142c3a0a; }
  .mobile-cta-bar .btn { min-height: 46px; font-size: 11px; }
  .cookie-consent { bottom: calc(90px + env(safe-area-inset-bottom)); padding: 18px; }
}

/* Honour reduced-motion preferences, including the small navigation underline transition. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
