/* Reference layout: content remains native Grav data; temporary artwork is page media. */
@font-face {
  font-family: Montserrat;
  src: url('../fonts/MontserratVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root { --wrap: 1220px; }
body { font-family: Fision Sans, Arial, sans-serif; font-size: 16px; line-height: 1.4; }
.button { font-size: 16px; }
.hero .button, .conversation .button { font-size: 16px; }
h1, .section-heading, .intro-copy, .feature-copy h2, .industry-copy h2, .brand-banner h2, .conversation h2 {
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: -.025em;
}
h2 { font-size: 31px; }
.brand img { width: 190px; filter: none; }
#main-navigation { gap: 22px; }
#main-navigation > a { font-size: 14px; }
.section-heading { font-weight: 600; }
.hero::after { background: none; }
.hero h1 { font-weight: 500; line-height: 1.2; font-size: clamp(42px,4.2vw,92px); }
.photo-credit, .hero .photo-credit { top: 20px; bottom: auto; writing-mode: vertical-rl; white-space: nowrap; background: none; padding: 0; border-radius: 0; text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 0 6px rgba(0,0,0,.2); }
.intro { padding: 64px 88px 0; }
.intro-copy { font-size: 27px; line-height: 1.23; letter-spacing: -.015em; }
.pillars { padding-top: 165px; padding-bottom: 185px; gap: 100px; }
.pillars .line-icon { width: 100px; height: 100px; margin-bottom: 48px; }
.pillars h2 { font-size: 25px; }
.pillars p, .pillars li { font-size: 16px; line-height: 1.38; }
.platform { padding-top: 48px; padding-bottom: 0; }
.platform .section-heading { margin-bottom: 24px; font-size: 32px; }
.platform-art { position: relative; width: 100%; }
.platform-art > img { width: 100%; height: auto; }
.products { --wrap: 1134px; gap: 76px 100px; padding-top: 100px; padding-bottom: 100px; }
.product-logo { margin-bottom: 52px; }
.product-logo img { width: 240px; height: 240px; }
.product-card h2 { font-size: 24px; letter-spacing: -.03em; max-width: 270px; }
.product-card p { line-height: 1.38; overflow-wrap: anywhere; }
.product-card .text-link { font-size: 14px; }
.feature { gap: 100px; padding-block: 60px; }
.feature-copy h2, .industry-copy h2 { font-size: 32px; font-weight: 600; line-height: 1.22; }
.feature-copy .prose, .industries .section-lead, .customers .section-lead, .industry-grid p, .product-card p { font-size: 16px; }
.feature-copy .prose { line-height: 1.4; }
.feature-copy .prose li + li { margin-top: 6px; }
.feature-image { align-self: center; aspect-ratio: 1.4; min-height: 0; max-height: none; }
.feature-image > img { aspect-ratio: 1.4; width: 100%; height: 100%; border-radius: 3px; }
.feature-copy blockquote { margin: 0 0 22px; line-height: 1.55; }
.feature-copy blockquote p::before { content: '“'; }
.feature-copy blockquote p::after { content: '”'; }
#innovation { padding-top: 240px; padding-bottom: 30px; }
#customer-story { padding-bottom: 20px; }
.industries { padding-top: 200px; padding-bottom: 100px; }
.industry-grid { gap: 48px 70px; }
.industry-grid h3 { font-size: 20px; line-height: 1.2; }

.industry-grid article { flex-direction: column; gap: 24px; }
.industry-icon { display: block; flex: none; width: 96px; height: 112px; object-fit: contain; object-position: left center; }
.section-lead { font-size: 14px; color: #444; }
.customers { padding-top: 200px; padding-bottom: 180px; }
.customers .section-heading { margin-bottom: 18px; }
.customer-marquee { overflow: hidden; width: 100%; padding-block: 12px; }
.customer-track { display: flex; width: max-content; animation: customers-scroll 48s linear infinite; }
.customer-logo-group { display: flex; flex: none; align-items: center; gap: 64px; padding-right: 64px; }
.customer-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 var(--logo-width,175px); width: var(--logo-width,175px); height: 86px; }
.customer-logo img { width: 100%; height: auto; max-height: 82px; object-fit: contain; }
.customer-marquee:hover .customer-track, .customer-marquee.is-paused .customer-track { animation-play-state: paused !important; }
@keyframes customers-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-banner { margin-top: 120px; }
.insights { padding-block: 160px 130px; }
.insights .section-heading { margin-bottom: 54px; }
.insights .eyebrow { margin-bottom: 14px; font-size: 15px; }
.insight-grid { gap: 44px; }
.news-card { min-width: 0; }
.news-card-image { display: block; width: 100%; aspect-ratio: 1.52; margin-bottom: 18px; background: #fff; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.archive-grid .news-card-image { overflow: hidden; border-radius: 6px; margin-bottom: 20px; }
.news-card-date { font-size: 11px !important; color: #676767; margin-bottom: 9px; }
.insight-grid h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 12px; }
.insight-grid h3 > a { display: flex; justify-content: space-between; align-items: start; gap: 16px; color: #333; }
.insight-grid h3 span { flex: none; color: #555; }
.insight-grid p { font-size: 14px; line-height: 1.4; }
.news-empty { grid-column: 1/-1; text-align: center; }
.conversation { background: #001bc4; padding: 86px 0 90px; }
.conversation h2 { font-size: 30px; max-width: 1100px; }
.conversation .button { border-radius: 30px; }
.contact { gap: 100px; padding-block: 130px; }
.contact-form { border: 1px solid #f0f0f0; border-radius: 14px; padding: 28px; }
.native-contact .buttons button { border-radius: 22px; }
.native-contact button { font-size: 16px; }
.native-contact .form-label { font-size: 12px; }
.native-contact input:not([type=checkbox]):not([type=hidden]), .native-contact textarea { border-radius: 7px; }
.contact-details a { font-weight: 600; }
.map-image { width: 350px; max-width: 100%; height: auto; aspect-ratio: 537/499; background: #fff; border: 0; border-radius: 0; }
.map-image img { width: 100%; height: 100%; object-fit: contain; }
.map-image::before, .map-image::after { display: none; }
.site-footer { background: #001bc4; padding-top: 62px; font-size: 13px; }
.footer-grid { grid-template-columns: 1.2fr repeat(4,1fr); gap: 40px; }
.footer-grid h2 { font-size: 14px; }
.footer-brand { width: 390px; }
.footer-bottom { margin-top: 68px; padding-top: 28px; }

@media (min-width: 1001px) {
  .hero { height: 61.5vw; min-height: 0; max-height: 1330px; }
}

@media (max-width: 1200px) {
  .brand img { width: 160px; }
  #main-navigation > a { font-size: 12px; }
  .intro { padding-inline: 50px; }
  .intro-copy { font-size: 24px; }
  .pillars { gap: 48px; padding-top: 120px; }
  .products { gap: 60px 52px; }
  .product-logo img { width: 205px; height: 205px; }
  .feature { gap: 60px; }
  .feature-copy h2, .industry-copy h2 { font-size: 29px; }
  .feature-copy .prose, .industries .section-lead, .customers .section-lead, .industry-grid p, .product-card p { font-size: 15px; }
  .industry-grid { gap: 40px; }
  #innovation { padding-top: 120px; }
}
@media (max-width: 1000px) {
  .brand img { width: 155px; }
  #main-navigation > a { font-size: 16px; }
  #main-navigation > .nav-contact { justify-content: flex-start; }
  .intro-copy { font-size: 22px; }
  .pillars { gap: 34px; padding-top: 100px; padding-bottom: 75px; }
  .pillars p, .pillars li { font-size: 14px; }
  .pillars .line-icon { margin-bottom: 32px; }
  .product-logo img { width: 175px; height: 175px; }
  .product-card h2 { font-size: 21px; }
  .feature { gap: 40px; }
  .feature-copy h2, .industry-copy h2 { font-size: 25px; }
  .feature-copy .prose, .industries .section-lead, .customers .section-lead, .industry-grid p, .product-card p { font-size: 14px; }
  .industries { padding-top: 100px; padding-bottom: 65px; }
  .industry-grid h3 { font-size: 17px; }
  .customers { padding-top: 90px; padding-bottom: 90px; }
  .brand-banner { margin-top: 75px; }
  .insights { padding-block: 85px; }
  .insight-grid { gap: 25px; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .button { font-size: 14px; }
  .hero h1 { font-size: clamp(32px,8.7vw,44px); }
  .hero .button, .conversation .button { font-size: 12px; }
  .intro { padding: 28px 25px 0; }
  .intro-copy { font-size: 19px; line-height: 1.4; }
  .pillars { padding-block: 65px 45px; gap: 45px; }
  .pillars .line-icon { width: 65px; height: 65px; margin-bottom: 24px; }
  .pillars h2 { font-size: 23px; }
  .platform { padding-top: 35px; }
  .platform .section-heading { font-size: 24px; margin-bottom: 20px; }
  .products { gap: 40px 24px; padding-block: 45px; }
  .product-logo { margin-bottom: 25px; }
  .product-logo img { width: 140px; height: 140px; }
  .product-card h2 { font-size: 18px; overflow-wrap: anywhere; }
  .product-card .text-link { font-size: 11px; }
  .feature, #innovation, #customer-story { padding-block: 40px; gap: 28px; }
  .feature-copy h2, .industry-copy h2 { font-size: 25px; }
  .feature-copy .prose, .industries .section-lead, .customers .section-lead, .industry-grid p, .product-card p { font-size: 14px; }
  .feature-image > img { max-height: none; }
  .industries { padding-block: 60px; }
  .industry-grid h3 { font-size: 18px; }
  .section-lead { font-size: 13px; }
  .customers { padding-block: 50px 65px; }
  .customer-logo-group { gap: 38px; padding-right: 38px; }
  .customer-logo { height: 72px; }
  .customer-logo img { max-height: 65px; }
  .brand-banner { margin-top: 40px; }
  .insights { padding-block: 55px; }
  .insights .section-heading { font-size: 25px; margin-bottom: 35px; }
  .insight-grid { gap: 35px; }
  .news-card h3 { font-size: 19px; }
  .news-card-image { aspect-ratio: 1.52; }
  .conversation { padding-block: 55px; }
  .conversation h2 { font-size: 26px; }
  .contact { padding-block: 55px; gap: 45px; }
  .contact-form { padding: 20px; }
  .brand img { width: 145px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand { width: 225px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Continuous motion is requested; hover or click on the strip pauses it. */
  .customer-track { animation: customers-scroll 48s linear infinite !important; }
}

/* Shared detail pages use the same type, blue and spacing as the homepage. */
.content-page { max-width: 1220px; padding-top: 64px; padding-bottom: 100px; }
.back-link { display: inline-block; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.detail-heading { margin: 38px 0 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail-heading h1 { font-size: clamp(32px,4vw,54px); line-height: 1.15; margin: 0; font-weight: 500; color: var(--blue); overflow-wrap: anywhere; }
.detail-heading .eyebrow { margin-bottom: 12px; }
.product-heading { display: flex; align-items: center; gap: 40px; }
.detail-product-logo { width: 180px; height: 180px; object-fit: contain; flex: none; }
.content-page .prose { max-width: 820px; font-size: 17px; line-height: 1.7; }
.content-page .prose h2, .content-page .prose h3 { font-family: Montserrat,Arial,sans-serif; font-size: 25px; font-weight: 500; line-height: 1.35; color: var(--blue); margin: 30px 0 20px; }
.content-page .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.content-page .prose a:hover { text-decoration-thickness: 2px; }
.content-page .prose img { width: auto; max-width: 100%; max-height: 280px; object-fit: contain; }
.content-page .prose li { margin-block: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 30px 0 45px; }
.detail-actions:empty { display: none; }
.screenshot-gallery { gap: 30px; margin-top: 55px; }
.screenshot-gallery figure { padding: 24px; background: #f6f7fc; border: 0; border-radius: 12px; }
.screenshot-gallery img { height: 310px; }
.screenshot-gallery h2 { font-family: Montserrat,Arial,sans-serif; font-size: 21px; font-weight: 500; line-height: 1.3; }
.screenshot-gallery p { font-size: 15px; line-height: 1.6; }
.content-card-grid article { min-width: 0; padding: 24px; background: #f6f7fc; border-radius: 12px; }
.content-card-grid h2 { font-family: Montserrat,Arial,sans-serif; font-weight: 500; line-height: 1.3; }
.content-card-grid .text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.feature-video { aspect-ratio: auto; overflow: visible; }
.feature-video video { display: block; width: 100%; aspect-ratio: 16/9; background: #111; border-radius: 6px; }
.feature-video figcaption { margin-top: 12px; font-size: 14px; color: #555; }
.contact-map { display: block; width: 100%; max-width: 540px; height: 370px; border: 0; border-radius: 8px; margin-top: 22px; }
.brand-banner { min-height: 0; height: 42.75vw; max-height: 922px; }
.brand-banner h2 { font-size: clamp(28px,3.1vw,68px); font-weight: 600; }
@media(max-width:700px) {
 .content-page { padding-top: 35px; padding-bottom: 60px; }
 .product-heading { gap: 22px; align-items: flex-start; flex-direction: column; }
 .detail-product-logo { width: 125px; height: 125px; }
 .detail-heading h1 { font-size: 32px; }
 .content-page .prose { font-size: 15px; }
 .content-page .prose h2, .content-page .prose h3 { font-size: 22px; }
 .screenshot-gallery img { height: auto; }
 .content-card-grid { grid-template-columns: 1fr; }
 .contact-map { height: 330px; }
 .brand-banner { height: 430px; }
 .brand-banner h2 { font-size: 30px; }
}

.content-page h2, .content-page h3 { font-family: Montserrat,Arial,sans-serif; }
.archive-grid h2 { font-size: 25px; line-height: 1.3; }
.archive-grid h2 a { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.content-page .video-story summary { display: inline-block; border: 1px solid var(--blue); border-radius: 5px; padding: 12px 20px; font-size: 15px; }
.content-page .video-story summary:hover { background: #f0f2ff; }
.content-page .whitepaper a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.ui-icon { display: inline-block; width: 24px; height: 24px; flex: none; vertical-align: middle; }
.nav-contact .ui-icon { width: 18px; height: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 10px; }
.contact-symbol .ui-icon { width: 28px; height: 28px; }
.footer-bottom > a:last-child .ui-icon { width: 24px; height: 24px; }
.native-contact .privacy-consent-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.customer-marquee { cursor: pointer; }
.customer-marquee:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
@media (min-width:1001px) and (max-width:1400px) {
 .header-inner { padding-inline: 32px; gap: 24px; }
 #main-navigation { gap: 16px; }
}

/* Keep large monitors readable without scaling the entire layout up. */
.language-picker { display:inline-flex; align-items:center; gap:10px; flex:none; font-size:12px; white-space:nowrap; }
.language-picker > a, .language-picker > span { padding:6px 2px; color:var(--blue); }
.language-picker [aria-current] { font-weight:700; border-bottom:2px solid currentColor; }
@media (min-width:1001px) {
 .hero { height:min(61.5vw,860px); }
 .hero h1 { font-size:clamp(42px,4.2vw,68px); max-width:700px; }
 .platform-art { max-width:1440px; margin-inline:auto; }
 .brand-banner { height:min(42.75vw,620px); }
 .brand-banner h2 { font-size:clamp(28px,3.1vw,48px); }
}
@media (min-width:1800px) {
 .header-inner { max-width:1440px; }
 .section { padding-block:84px; }
 .pillars { padding-block:165px 185px; }
 .platform { padding-block:48px 0; }
 .products { padding-block:100px; }
 .feature { padding-block:60px; }
 .industries { padding-block:200px 100px; }
 .customers { padding-block:200px 180px; }
 .insights { padding-block:160px 130px; }
 .contact { padding-block:130px; }
}
@media (max-width:1000px) {
 .language-picker { padding-top:14px; gap:20px; font-size:14px; }
}

/* Shared email brochure selection; native dialog traps focus and supports Escape. */
.brochure-dialog { width:min(620px,calc(100% - 32px)); max-height:calc(100svh - 32px); overflow:auto; padding:28px; border:1px solid var(--line); border-radius:14px; color:var(--ink); background:#fff; }
.brochure-dialog::backdrop { background:rgba(0,13,55,.55); }
.brochure-dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.brochure-dialog-heading h2 { margin:0 0 20px; font-family:Montserrat,Arial,sans-serif; font-size:25px; }
.brochure-form fieldset { margin:0 0 20px; padding:14px; border:1px solid var(--line); border-radius:7px; }
.brochure-form .brochure-choice { display:flex; align-items:center; gap:10px; margin:10px 0; }
.brochure-form .brochure-choice input { width:18px; min-height:18px; height:18px; flex:none; accent-color:var(--blue); }
@media(max-width:700px) { .brochure-dialog { padding:20px; } .brochure-dialog-heading h2 { font-size:21px; } }

.industry-page-link { text-align: center; margin: 42px 0 0; }
#main-navigation > a[aria-current="page"] { font-weight: 600; }



/* Two-column product gallery with an in-page enlarged view. */
.product-page { max-width: 1200px; }
.product-page .screenshot-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-page .screenshot-gallery img { display: block; width: 100%; height: 340px; object-fit: contain; }

.screenshot-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.screenshot-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.image-dialog { width: fit-content; max-width: min(1400px, 96vw); max-height: 92dvh; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.image-dialog::backdrop { background: rgba(0, 13, 55, .72); }
.image-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.image-dialog-heading h2 { margin: 0; font-size: 21px; }
.image-dialog-heading button { flex: none; background: var(--blue); color: #fff; transition: none; }
.image-dialog > img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(92dvh - 110px); object-fit: contain; margin: auto; }
html:has(.image-dialog[open]) { overflow: hidden; }
@media (max-width: 700px) {
 .product-page .screenshot-gallery { grid-template-columns: minmax(0, 1fr); }
 .product-page .screenshot-gallery img { height: auto; }
 .image-dialog { max-width: calc(100vw - 20px); padding: 12px; }
 .image-dialog-heading { gap: 12px; }
 .image-dialog-heading h2 { font-size: 17px; }
}

/* Compact homepage section spacing; preserve spacing inside cards and forms. */
.home-sections .section { padding-block: 42px; }
.home-sections .intro { padding-top: 32px; padding-bottom: 0; }
.home-sections .pillars { padding-block: 82.5px 92.5px; }
.home-sections .feature { padding-block: 30px; }
.home-sections #innovation { padding-block: 30px 15px; }
.home-sections #customer-story { padding-bottom: 10px; }
.home-sections .platform { padding-block: 24px 0; }
.home-sections .products { padding-block: 50px; }
.home-sections .industries { padding-block: 100px 50px; }
.home-sections .customers { padding-block: 100px 90px; }
.home-sections .brand-banner { margin-top: 60px; }
.home-sections .insights { padding-block: 80px 65px; }
.home-sections .conversation { padding-block: 43px 45px; }
.home-sections .contact { padding-block: 65px; }
@media (max-width: 1200px) {
 .home-sections .pillars { padding-top: 60px; }
}
@media (max-width: 1000px) {
 .home-sections .pillars { padding-block: 50px 37.5px; }
 .home-sections .industries { padding-block: 50px 32.5px; }
 .home-sections .customers { padding-block: 45px; }
 .home-sections .brand-banner { margin-top: 37.5px; }
 .home-sections .insights { padding-block: 42.5px; }
}
@media (max-width: 700px) {
 .home-sections .section { padding-block: 24px; }
 .home-sections .intro { padding-block: 14px 0; }
 .home-sections .pillars { padding-block: 32.5px 22.5px; }
 .home-sections .feature, .home-sections #innovation, .home-sections #customer-story { padding-block: 20px; }
 .home-sections .platform { padding-block: 17.5px 0; }
 .home-sections .products { padding-block: 22.5px; }
 .home-sections .industries { padding-block: 30px; }
 .home-sections .customers { padding-block: 25px 32.5px; }
 .home-sections .brand-banner { margin-top: 20px; }
 .home-sections .insights, .home-sections .conversation, .home-sections .contact { padding-block: 27.5px; }
}

/* Keep the supplied EN/SV hero line breaks readable across screen sizes. */
@media (min-width: 1001px) {
 html:lang(en) .hero h1, html:lang(sv) .hero h1 { font-size: clamp(42px, 4.2vw, 60px); }
}
@media (max-width: 700px) {
 html:lang(en) .hero h1, html:lang(sv) .hero h1 { font-size: clamp(23px, 7.4vw, 44px); }
}

/* Homepage illustrations use the supplied PNGs and their shared blue. */
.home-sections { --home-icon-blue: #0731cc; }
.pillars .line-icon { display: block; object-fit: contain; object-position: left center; }
.home-sections .industry-icon {
  background-color: var(--home-icon-blue);
  -webkit-mask: var(--industry-icon) left center / contain no-repeat;
  mask: var(--industry-icon) left center / contain no-repeat;
}
.home-sections .contact-symbol { color: var(--home-icon-blue); }
.site-header .ui-icon { color: #0731cc; }
