/* Shared typography and interaction refinements; retain the original palette and layout. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
body { font-family: 'Manrope', 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-weight: 800; }
.hero h1, .page-hero h1, .price-card .amount { font-weight: 800; }
p { text-wrap: pretty; }
html { scroll-padding-top: 104px; }
:focus-visible { outline: 3px solid #26bde9; outline-offset: 5px; }
::selection { color: #031a30; background: #a1e7fc; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 200; padding: 12px 20px; border-radius: 6px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* A quieter, more spacious navigation bar. */
.site-header { position: sticky; top: 0; z-index: 100; background: #031629f5; border-bottom: 1px solid #ffffff12; backdrop-filter: blur(18px); box-shadow: none; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: #031629ed; box-shadow: 0 8px 28px #00122224; }
.nav { min-height: 84px; gap: 22px; }
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav .logo { width: 205px; max-height: 52px; }
.nav-links { position: static; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links > a, .nav-dropdown-trigger, .nav-search { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 12px 10px; color: #cbdbe8; border: 0; border-radius: 6px; background: transparent; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links > a.active { padding: 12px 10px; border: 0; color: #fff; }
.nav-links > a::after, .nav-dropdown-trigger::after { content: ''; position: absolute; height: 2px; left: 10px; right: 10px; bottom: 4px; border-radius: 2px; background: #32c9ee; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav-links > a.active::after, .nav-dropdown-trigger.active::after, .nav-links > a:hover::after, .nav-dropdown-trigger:hover::after { transform: scaleX(1); }
.nav-links > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-expanded=true], .nav-search:hover { color: white; background: #ffffff08; }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger span { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; font-size: 0; }
.nav-dropdown-trigger[aria-expanded=true] span { transform: translateY(2px) rotate(225deg); }
.dropdown-panel { display: block; position: absolute; top: calc(100% + 14px); left: 0; min-width: 280px; padding: 10px; background: #08263e; border: 1px solid #ffffff20; border-radius: 12px; box-shadow: 0 20px 50px #00122255; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: block; }
.nav-dropdown.open .dropdown-panel { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: block; padding: 13px 14px; border-radius: 7px; color: #d8e7f2; font-size: 13px; font-weight: 500; transition: background .2s, color .2s, padding .2s; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible, .dropdown-panel a.active { background: #16425f; color: #70ddff; padding-left: 18px; }
.dropdown-panel a.active { border-bottom: 0; }
.nav-search { width: 44px; padding: 12px; }
.nav-cta { display: inline-flex; flex-shrink: 0; gap: 12px; padding: 13px 19px; border: 1px solid #65d9f8; border-radius: 7px; white-space: nowrap; font-size: 12px; font-weight: 800; }
.nav-cta::after { content: '\2197'; font-size: 17px; line-height: 1; }
.nav-links .mobile-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid #ffffff30; border-radius: 7px; background: #ffffff05; }
.menu-toggle span { display: block; height: 2px; width: 20px; background: #e6f1fa; margin: 4px 0; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 25px 0; background: #06253dfc; border-top: 1px solid #ffffff18; box-shadow: 0 18px 30px #00122233; color: white; max-height: calc(100dvh - 85px); overflow-y: auto; }
.search-panel[hidden] { display: none; }
.search-panel label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.search-panel input { width: 100%; padding: 14px 16px; border: 1px solid #64869b; border-radius: 7px; background: #f6f9fc; color: #10253c; }
.search-results { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; }
.search-results a { padding: 9px 12px; border-radius: 6px; background: #17435e; color: white; transition: background .2s; }
.search-results a:hover { background: #216180; }

/* Small responses to pointer and keyboard interaction. */
.btn, .nav-cta { transition: transform .25s var(--ease-out), box-shadow .25s, background .25s; }
.btn:hover, .nav-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #20b9e62b; }
.btn:active, .nav-cta:active { transform: translateY(0); }
.btn-dark:hover { background: #0b456c; color: white; }
.product-card, .feature, .preview-card, .price-card { transition: box-shadow .3s, border-color .3s; }
.product-card:hover, .product-card:focus-within, .feature:hover, .preview-card:hover, .price-card:hover { border-color: #a0d6e9; box-shadow: 0 15px 35px #06243d16; }
.product-visual img, .demos-grid img { transition: transform .6s var(--ease-out); }
.product-card:hover .product-visual img, .product-card:focus-within .product-visual img { transform: scale(1.045); }
.demos-grid a { display: block; border-radius: 7px; }
.demos-grid img { display: block; height: auto; aspect-ratio: 1100 / 620; object-fit: contain; background: #06213a; border: 1px solid #dce7ef; }
.demos-grid a:hover img { transform: translateY(-5px); }
.text-link { display: inline-block; width: fit-content; transition: color .2s, transform .25s; }
.text-link:hover { color: #005e8a; transform: translateX(4px); }
.field input, .field textarea, .field select { transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #159ecd; box-shadow: 0 0 0 4px #1cb5e718; outline: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: #008ec6; font-size: 24px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.footer a { transition: color .2s, transform .2s; }
.footer a:hover { transform: translateX(3px); }

@media (max-width: 1150px) and (min-width: 1001px) {
  .nav { gap: 12px; }
  .nav .logo { width: 175px; }
  .nav-links { gap: 0; }
  .nav-links > a, .nav-dropdown-trigger { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 1000px) {
  .nav { min-height: 76px; }
  .nav .logo { width: 220px; height: auto; max-height: 60px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav > .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 18px 26px 24px; background: #041c31; border-top: 1px solid #ffffff12; box-shadow: 0 20px 35px #00122244; flex-direction: column; align-items: stretch; gap: 4px; max-height: calc(100dvh - 77px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-links > a.active, .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 14px; }
  .nav-links > a::after, .nav-dropdown-trigger::after { display: none; }
  .nav-links > a.active, .nav-dropdown-trigger.active { color: #67d9fb; background: #ffffff06; }
  .dropdown-panel, .nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: none; position: static; min-width: 0; margin: 4px 0 8px; padding: 5px; box-shadow: none; }
  .nav-dropdown.open .dropdown-panel { display: block; }
  .dropdown-panel a { padding: 13px; white-space: normal; }
  .nav-search { width: 100%; justify-content: flex-start; gap: 12px; padding: 14px 12px; }
  .nav-search::after { content: 'Search website'; }
  .nav-links .mobile-cta { display: flex; justify-content: center; margin-top: 10px; background: #38c5f2; color: #052037; font-weight: 800; }
  .nav-links .mobile-cta::after { display: none; }
  .search-panel { max-height: calc(100dvh - 77px); }
}
@media (max-width: 720px) {
  .nav-links { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .btn:hover, .nav-cta:hover, .text-link:hover, .footer a:hover, .demos-grid a:hover img, .product-card:hover .product-visual img, .product-card:focus-within .product-visual img { transform: none; }
}

/* Screenshot carousels */
.carousel{position:relative;overflow:hidden;border-radius:14px;background:#06213a;box-shadow:0 20px 45px #082f5030;aspect-ratio:1100/620;width:100%}
.carousel-track{display:flex;height:100%;transition:transform .6s var(--ease-out)}
.carousel-slide{flex:0 0 100%;margin:0;height:100%}
.carousel-slide img{width:100%;height:100%;object-fit:cover;object-position:top left;display:block}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;background:#031a30cc;color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;opacity:0;transition:opacity .2s}
.carousel:hover .carousel-btn,.carousel:focus-within .carousel-btn{opacity:1}
.carousel-btn.prev{left:10px}.carousel-btn.next{right:10px}
.carousel-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:7px}
.carousel-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:#ffffff80}
.carousel-dots button[aria-current="true"]{background:#38c5f2;width:22px;border-radius:6px}
.carousel-card{border-radius:0;box-shadow:none;aspect-ratio:auto;height:100%}
.product-visual .carousel-btn{width:30px;height:30px;font-size:18px}
@media(hover:none){.carousel-btn{opacity:1}}
@media(prefers-reduced-motion:reduce){.carousel-track{transition:none}}

/* Icons */
.ico { display: block; flex-shrink: 0; }
.feature .icon, .benefit-icon, .line-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 12px; background: #e6f6fc; color: #0a8fc2; font-size: 0; line-height: 0; }
.feature .icon .ico, .benefit-icon .ico, .line-icon .ico { width: 24px; height: 24px; }
.section.dark .line-icon, .why-section .line-icon { background: #ffffff14; color: #5cd5ff; }
.product-icon .ico { width: 26px; height: 26px; }

/* Navigation refresh */
.site-header { background: #031629; border-bottom: 1px solid #ffffff14; }
.site-header.is-scrolled { background: #031629f2; }
.nav { min-height: 76px; }
.nav .logo { width: 220px; max-height: 60px; }
.nav-links { gap: 4px; }
.nav-links > a, .nav-dropdown-trigger, .nav-search { min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #c4d6e4; }
.nav-links > a::after, .nav-dropdown-trigger::after { display: none; }
.nav-links > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-expanded=true], .nav-search:hover { background: #ffffff14; color: #fff; }
.nav-links > a.active, .nav-dropdown-trigger.active { background: #38c5f21f; color: #6fdcfd; }
.nav-search { width: 40px; padding: 0; margin: 0 6px 0 4px; }
.nav-cta { padding: 12px 19px; border: 0; border-radius: 6px; background: #38c5f2; color: #052037; font-size: 13px; font-weight: 750; box-shadow: none; }
.nav-cta::after { content: '\2192'; font-size: 14px; line-height: 1; }
.nav-cta:hover { background: #83ddff; }
.dropdown-panel { top: calc(100% + 12px); min-width: 340px; padding: 8px; background: #071f35; border: 1px solid #ffffff1c; border-radius: 16px; box-shadow: 0 24px 60px #00101f88; }
.dropdown-panel a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible, .dropdown-panel a.active { padding-left: 12px; background: #ffffff0f; color: #fff; }
.dd-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #38c5f21f; color: #5cd5ff; transition: background .2s, color .2s; }
.dd-icon .ico { width: 20px; height: 20px; }
.dropdown-panel a:hover .dd-icon, .dropdown-panel a.active .dd-icon { background: #38c5f2; color: #052037; }
.dd-text { display: grid; gap: 1px; }
.dd-text strong { font-size: 14px; font-weight: 700; color: #fff; }
.dd-text small { font-size: 12px; font-weight: 500; color: #8fb0c7; }
@media (max-width: 1000px) {
  .nav-links > a, .nav-dropdown-trigger { border-radius: 10px; }
  .dropdown-panel { min-width: 0; border: 0; background: #ffffff08; box-shadow: none; }
}

/* Image viewer */
.carousel-slide img { cursor: zoom-in; }
.carousel-zoom { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: #031a30cc; color: #fff; opacity: 0; transition: opacity .2s; }
.carousel-zoom .ico { width: 17px; height: 17px; }
.carousel:hover .carousel-zoom, .carousel:focus-within .carousel-zoom { opacity: 1; }
@media (hover: none) { .carousel-zoom { opacity: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 56px 72px; background: #020e1bec; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px #000a; background: #06213a; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #c4d6e4; font-size: 13px; }
.lightbox button { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #ffffff1f; color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: #ffffff38; }
.lightbox-close { top: 14px; right: 16px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) { .lightbox { padding: 64px 12px; } .lightbox-prev { top: auto; bottom: 14px; left: 20px; transform: none; } .lightbox-next { top: auto; bottom: 14px; right: 20px; transform: none; } .lightbox-caption { display: none; } }
.dropdown-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

/* Nav states match the rest of the site: 6px corners, site accent colour */
.nav-links > a, .nav-dropdown-trigger, .nav-search { border-radius: 6px; }
.nav-links > a.active, .nav-dropdown-trigger.active { background: #ffffff0f; color: #5cd5ff; }
.nav-links > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-expanded=true], .nav-search:hover { background: #ffffff0f; color: #5cd5ff; }
.dropdown-panel { border-radius: 12px; }
.dropdown-panel a, .dd-icon { border-radius: 8px; }

@media (max-width: 1000px) {
  .nav .logo { width: clamp(190px, 56vw, 220px); }
}

@media (max-width: 1150px) and (min-width: 1001px) {
  .nav-links > a, .nav-dropdown-trigger { padding-left: 10px; padding-right: 10px; }
}

.logo { height: auto; }

/* Product families and illustrative case studies. */
.nav-product-group { margin-top: 5px; padding-top: 5px; border-top: 1px solid #ffffff1c; }
.dropdown-panel .nav-product-child { margin-left: 23px; padding-left: 15px; border-left: 1px solid #38c5f247; border-radius: 0 8px 8px 0; }
.dropdown-panel .nav-product-child:hover, .dropdown-panel .nav-product-child.active { padding-left: 15px; }
.nav-product-child .dd-icon { width: 28px; height: 28px; border-radius: 6px; }
.nav-product-child .dd-icon .ico { width: 17px; height: 17px; }
.nav-product-child .dd-text strong { font-size: 13px; }
.footer .footer-product-child { padding-left: 12px; border-left: 1px solid #38c5f247; color: #8fb0c7; }
.product-child-link { display: block; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }
.product-child-link small { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); font-weight: 500; }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; font-size: 12px; color: #b5c9d9; }
.product-breadcrumb a { color: #70ddff; }
.product-breadcrumb a:hover { text-decoration: underline; }
.case-grid { margin-top: 28px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.case-card-image { display: block; overflow: hidden; aspect-ratio: 1100 / 620; background: #eaf2f8; }
.case-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.case-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px; }
.case-card-body .eyebrow { font-size: 10px; }
.scenario-label { display: inline-block; width: fit-content; padding: 5px 10px; margin: 10px 0 0; border: 1px solid #c8e1ec; border-radius: 5px; background: #edf7fb; color: #386479; font-size: 10px; font-weight: 700; line-height: 1.5; }
.case-card h3 { margin: 17px 0 10px; font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
.case-card-body p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.home-cases .case-card-body { padding: 20px; }
.home-cases .case-card h3 { font-size: 19px; letter-spacing: -.2px; }
.home-cases .case-card-body p { font-size: 13px; }
.home-cases .text-link { font-size: 12px; }
.case-disclosure { max-width: 900px; }
.case-study-section { background: #f1f7fb; border-top: 1px solid #e0ebf2; }
.case-study-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.case-study-heading h2 { max-width: 780px; margin-bottom: 0; }
.case-study-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }
.case-study-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: start; }
.case-study-context > .scenario-label { margin-top: 0; }
.case-audience { margin: 25px 0; color: var(--muted); font-size: 13px; }
.case-audience strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.case-study-image { display: block; width: 100%; height: auto; border: 1px solid #d2e2ed; border-radius: 10px; }
.scenario-note { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 15px; }
.case-step { display: grid; grid-template-columns: 35px 1fr; gap: 16px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #d6e5ee; }
.case-step > span { color: #1098c9; font-weight: 800; font-size: 14px; padding-top: 2px; }
.case-study-flow h3 { font-size: 18px; margin: 0 0 9px; }
.case-study-flow p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.case-measures { border-left: 3px solid #1fa9d9; padding: 4px 0 4px 18px; margin-bottom: 27px; }
.case-measures h3 { font-size: 13px; }
.case-measures p { font-size: 13px; }
.ai-solution-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #f6f9fc; }
.ai-solution-visual { display: grid; place-items: center; background: #06213a; }
.ai-solution-visual img { display: block; width: 100%; height: auto; }
.ai-solution-body { padding: 40px; }
.ai-solution-body h3 { font-size: 30px; letter-spacing: -.8px; margin: 17px 0 14px; line-height: 1.2; }
.ai-solution-body p, .ai-capabilities { font-size: 14px; color: var(--muted); }
.ai-capabilities { padding-left: 20px; line-height: 2; }
.ai-solution-body .hero-actions { align-items: center; }
.ai-solution-body .text-link { margin-top: 0; }
.ai-pilot-panel { padding: 35px; border: 1px solid #d6e7f0; border-radius: 12px; background: #fff; }
.ai-pilot-panel h3 { font-size: 26px; line-height: 1.3; margin: 22px 0 14px; }
.ai-pilot-panel p { font-size: 14px; }
.ai-pilot-panel .scenario-label { margin-top: 0; }
@media (min-width: 1001px) and (max-width: 1250px) {
  .nav { gap: 10px; }
  .nav .logo { width: 190px; }
  .nav-links { gap: 0; }
  .nav-links > a, .nav-dropdown-trigger { font-size: 12px; padding-left: 8px; padding-right: 8px; }
  .nav-cta { padding: 12px; font-size: 12px; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .home-cases .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .case-study-layout { gap: 30px; }
  .ai-solution-body { padding: 28px; }
}
@media (max-width: 720px) {
  .case-study-layout, .ai-solution-card { grid-template-columns: minmax(0, 1fr); }
  .case-study-heading { display: block; }
  .case-study-heading > .text-link { margin-top: 18px; }
  .case-card h3 { font-size: 22px; }
  .case-study-flow { margin-top: 4px; }
  .ai-solution-body { padding: 25px; }
  .ai-solution-body h3 { font-size: 26px; }
  .ai-pilot-panel { padding: 25px; }
}

/* The expanded AI portfolio uses one card per product and a linked case study. */
.ai-portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.ai-portfolio-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ai-portfolio-image { display: block; aspect-ratio: 1100 / 620; background: #06213a; }
.ai-portfolio-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ai-portfolio-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 28px; }
.ai-portfolio-body h3 { font-size: 25px; letter-spacing: -.6px; line-height: 1.25; margin: 15px 0 12px; }
.ai-portfolio-body > p { font-size: 14px; color: var(--muted); margin: 0 0 25px; }
.ai-portfolio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-portfolio-actions .text-link { margin-top: 0; }
.product-scope-note { max-width: 850px; margin: 26px 0 0; color: var(--muted); font-size: 12px; }
.ai-workflow-figure { margin: 0; min-width: 0; }
.ai-workflow-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.ai-workflow-figure figcaption { color: var(--muted); font-size: 12px; margin-top: 12px; }
.case-category { margin-top: 55px; scroll-margin-top: 100px; }
.case-category + .case-category { padding-top: 55px; border-top: 1px solid var(--line); }
.case-category h2 { font-size: clamp(26px, 2.5vw, 36px); }
.case-category-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.case-category-links a { display: inline-flex; align-items: center; gap: 20px; padding: 12px 18px; border: 1px solid #c7dfeb; border-radius: 6px; background: #f1f8fc; font-size: 13px; font-weight: 700; color: #08618a; }
.case-category-links span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #d8eff9; font-size: 11px; }
.case-category-links a:hover { background: #e1f3fc; }
@media (max-width: 720px) {
  .ai-portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ai-portfolio-body { padding: 24px; }
  .ai-portfolio-body h3 { font-size: 23px; }
  .case-category { margin-top: 40px; }
  .case-category + .case-category { padding-top: 40px; }
}

/* Compact product categories with sideways flyouts on desktop. */
.nav-flyout { position: relative; }
.nav-flyout-trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; color: #d8e7f2; cursor: pointer; font: inherit; }
.nav-flyout-trigger:hover, .nav-flyout-trigger.active, .nav-flyout.open > .nav-flyout-trigger { background: #ffffff0f; }
.nav-flyout-trigger.active .dd-icon, .nav-flyout.open > .nav-flyout-trigger .dd-icon { background: #38c5f2; color: #052037; }
.nav-flyout-trigger .dd-text { flex: 1; }
.flyout-chevron { flex-shrink: 0; width: 7px; height: 7px; margin: 0 4px; border-top: 1.5px solid #8fb0c7; border-right: 1.5px solid #8fb0c7; transform: rotate(45deg); }
.flyout-panel { position: absolute; z-index: 110; top: 0; left: calc(100% + 10px); width: 340px; padding: 10px; border: 1px solid #ffffff20; border-radius: 12px; background: #071f35; box-shadow: 0 24px 60px #00101f66; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3e6982 #071f35; }
.flyout-panel[hidden] { display: none; }
.flyout-heading { padding: 9px 12px 11px; color: #8fb0c7; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.dropdown-panel .flyout-overview { display: flex; justify-content: space-between; margin-bottom: 7px; border-bottom: 1px solid #ffffff16; border-radius: 0; color: #65d9f8; font-size: 13px; font-weight: 700; }
.dropdown-panel .flyout-product-link { display: flex; align-items: center; gap: 12px; margin-left: 0; padding: 10px 12px; border-left: 0; border-radius: 7px; }
.dropdown-panel .flyout-product-link:hover, .dropdown-panel .flyout-product-link.active { padding-left: 12px; }
.flyout-product-link .dd-icon { width: 32px; height: 32px; border-radius: 7px; }
.flyout-product-link .dd-icon .ico { width: 18px; height: 18px; }
.flyout-product-link .dd-text strong { font-size: 13px; }
.dropdown-panel .flyout-case-link { margin-top: 8px; border-top: 1px solid #ffffff16; border-radius: 0; color: #65d9f8; font-size: 12px; font-weight: 700; }
.automation-solution { scroll-margin-top: 105px; }
.automation-home-card { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 40px; margin-top: 25px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: #f1f7fb; }
.automation-home-card h3 { font-size: 28px; line-height: 1.25; margin: 12px 0; }
.automation-home-card p { max-width: 590px; color: var(--muted); font-size: 14px; }
.automation-home-card img { width: 100%; height: auto; border-radius: 9px; }
.automation-home-card .hero-actions { align-items: center; margin-top: 22px; }
.automation-home-card .text-link { margin-top: 0; }
@media (min-width: 1001px) {
  #nav-dropdown-0 { overflow: visible; max-height: none; }
  .nav-flyout.open::after { content: ''; position: absolute; left: 100%; top: -8px; width: 12px; height: calc(100% + 16px); }
}
@media (max-width: 1000px) {
  .nav-flyout-trigger { padding: 12px; }
  .flyout-chevron { transform: rotate(135deg); }
  .nav-flyout.open > .nav-flyout-trigger .flyout-chevron { transform: rotate(-45deg); }
  .flyout-panel { position: static; width: auto; max-height: none; padding: 5px; margin: 4px 0 10px 18px; border: 0; border-left: 1px solid #38c5f247; border-radius: 0; background: #ffffff04; box-shadow: none; overflow: visible; }
}
@media (max-width: 720px) {
  .automation-home-card { grid-template-columns: minmax(0, 1fr); padding: 25px; gap: 25px; }
}
