/* Preview-only adjustments for the public pages. */
*, *::before, *::after { min-width: 0; }
html { scroll-padding-top: 124px; }
body { overflow-x: clip; }
.wrap { width: 100%; }
.site-header .logo { flex-shrink: 0; }
.topbar .tb-right { overflow-wrap: anywhere; }
.sales-secondary { color: inherit; font-weight: 700; white-space: nowrap; }
.topbar .sales-secondary { color: #ffd39b; }
.f-line .f-label { flex: 0 0 auto; white-space: nowrap; }
.footer-sales { display: inline-flex; flex: 1 1 150px; min-width: 0; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.footer-sales strong, .footer-sales a { white-space: nowrap; }
.footer-sales a { color: inherit; }
.footer-sales a:hover { color: #fff; text-decoration: underline; }
.prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prod-card { min-width: 0; height: 100%; }
.prod-card h3, .prod-card p { overflow-wrap: anywhere; }
.cat-nav .wrap { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.cat-nav a { white-space: nowrap; }
.cat-block { scroll-margin-top: 160px; }
.case-page-sec .sec-head { margin-bottom: 28px; }
.case-page-sec .case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-page-sec .case-item { min-height: 156px; height: auto; aspect-ratio: 16 / 8.5; background-position: center; background-size: cover; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 8px; }
.case-page-sec .case-item::before { display: none; }
.case-page-sec .case-item::after { display: none; }
.case-page-sec .case-item > span:first-child { position: relative; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; border: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.case-page-sec .case-item > span:last-child { margin-left: auto; font-size: 11px; font-weight: 500; white-space: nowrap; opacity: .86; }
.case-page-sec .case-item.case-empty { cursor: default; }
.case-page-sec .case-item.case-empty:hover { transform: none; box-shadow: none; }
.case-page-sec > .wrap { width: 92%; max-width: 1680px; }
.case-industry-list { margin: 46px -24px 0; padding: 0 24px; border-top: 1px solid #dfe7f2; background: #f7f9fc; }
.case-industry-group { border-bottom: 1px solid #dfe7f2; scroll-margin-top: 145px; }
.case-industry-group summary { display: flex; align-items: center; gap: 18px; cursor: pointer; min-height: 96px; padding: 24px 6px; list-style: none; }
.case-industry-group summary::-webkit-details-marker { display: none; }
.case-industry-group summary h3 { font-size: 26px; line-height: 1.35; color: #102844; margin: 0; font-weight: 800; }
.case-industry-group summary span { color: #91a2bb; font-size: 16px; margin-left: auto; white-space: nowrap; }
.case-industry-group summary::after { content: '+'; flex: 0 0 24px; color: var(--blue); font-size: 30px; font-weight: 400; line-height: 1; text-align: center; }
.case-industry-group[open] summary::after { content: '\2212'; }
.case-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; padding: 0 0 38px; }
.case-record { display: flex; align-items: center; min-height: 104px; gap: 16px; border-top: 1px solid #dfe7f2; padding: 16px 6px; color: #102844; }
.case-record img { flex: 0 0 72px; width: 72px; height: 48px; padding: 3px; object-fit: contain; background: #fff; }
.case-record .case-record-name { flex: 1; font-size: 17px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.case-record .case-arrow { flex: 0 0 auto; color: var(--blue); }
.case-record:hover { color: var(--blue); }
.case-record-grid-empty { display: block; padding: 0 6px 28px; }
.case-record-grid-empty p { min-height: 64px; display: flex; align-items: center; margin: 0; border-top: 1px solid #dfe7f2; color: #91a2bb; font-size: 15px; }
.case-source { color: var(--ink-3); font-size: 13px; padding-top: 14px; }

/* Case customers follow the reference site's logo-card presentation. */
.case-customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid #e2e9f1; }
.case-customer-grid { scroll-margin-top: 150px; }
.case-customer-card[hidden] { display: none; }
.case-customer-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e2e9f1; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 42, 82, .06), 0 2px 8px rgba(16, 42, 82, .04); color: #102844; transition: transform .22s, box-shadow .22s, border-color .22s; }
.case-customer-card:hover { transform: translateY(-5px); border-color: rgba(87, 166, 38, .5); box-shadow: 0 10px 30px -12px rgba(16, 42, 82, .18); color: #102844; }
.case-customer-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f4f7fa; }
.case-customer-media img { width: 100%; height: 100%; padding: 18px; object-fit: contain; transition: transform .4s ease; }
.case-customer-card:hover .case-customer-media img { transform: scale(1.05); }
.case-customer-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 20px 22px 22px; }
.case-customer-tag { display: inline-block; padding: 3px 10px; border: 1px solid rgba(87, 166, 38, .25); border-radius: 999px; background: #eef4ea; color: #3e7a12; font-size: 12px; font-weight: 600; line-height: 1.4; }
.case-customer-card h3 { display: -webkit-box; margin: 10px 0 8px; overflow: hidden; color: #102844; font-size: 16.5px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.case-customer-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: #3e7a12; font-size: 13.5px; font-weight: 600; transition: gap .2s, color .2s; }
.case-customer-card:hover .case-customer-more { gap: 10px; color: #57a626; }
.case-pagination-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; }
.case-pagination-status { margin: 0; color: var(--ink-3); font-size: 14px; }
.case-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.case-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #d9e3ef; border-radius: 8px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.case-pagination a:hover { border-color: #78ad51; color: #3e7a12; }
.case-pagination a[aria-current="page"] { border-color: #3e7a12; background: #3e7a12; color: #fff; }
.case-pagination .case-page-all { margin-right: 6px; color: #3e7a12; }

/* Keep the home-page customer list fully inside its content area. */
.client-wall { overflow: visible; padding-left: 24px; padding-right: 24px; }
.client-wall .marquee { width: min(100%, 1240px); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: none; transform: none !important; }
.client-wall .client-chip:nth-child(n + 25) { display: none; }
.reference-product .pd-hero .wrap { max-width: 1240px; }
.reference-product .pd-hero p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 620px; }
.reference-product .pd-body { max-width: 1060px; margin: 0 auto; padding: 32px 24px 64px; }
.reference-product .product-copy { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.reference-product .product-copy h2 { font-size: 26px; line-height: 1.4; margin: 40px 0 18px; color: var(--navy); }
.reference-product .product-copy h3 { font-size: 20px; line-height: 1.5; margin: 22px 0 12px; }
.reference-product .product-copy p { margin: 0 0 16px; }
.reference-product .product-copy a:not(.product-image-link) { color: var(--blue); }
.reference-product .product-copy figure { margin: 22px 0; }
.reference-product .product-copy figcaption { color: var(--ink-3); font-size: 13px; text-align: center; }
.reference-product .product-copy img { max-width: 100%; height: auto; object-fit: contain; margin: 12px auto; }
.reference-product .product-copy ul, .reference-product .product-copy ol { margin: 18px 0 22px; padding-left: 22px; }
.reference-product .product-copy li { max-width: 100%; margin: 0 0 12px; }
.reference-product .product-copy .product-section-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.reference-product .product-copy .product-content-section, .reference-product .product-copy .product-facts > section { padding: 10px 0 26px; border-bottom: 1px solid var(--line); }
.reference-product .product-copy .product-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 0; list-style: none; }
.reference-product .product-copy .product-scenario-grid, .reference-product .product-copy .product-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding: 0; list-style: none; }
.reference-product .product-copy .product-feature-list > div { border-top: 1px solid var(--line); padding: 16px 0; }
.reference-product .product-copy .product-feature-list dt { font-weight: 700; color: var(--ink); }
.reference-product .product-copy .product-feature-list dd { margin: 6px 0 0; color: var(--ink-2); }
.reference-product .product-copy .product-scenario-grid img { max-height: 120px; }
.reference-product .product-copy .product-end-cta { padding: 28px 0 12px; }
.reference-product .product-copy .product-intro { padding: 12px 0 20px; }
.reference-product .product-copy .button.primary { display: inline-block; padding: 10px 20px; background: var(--blue); color: #fff; border-radius: 6px; }
.reference-product .product-copy .product-image-link { display: block; }
.reference-product .product-copy .product-inquiry { margin-top: 30px; padding: 22px 0 8px; border-top: 2px solid var(--blue); }
.reference-product .product-copy .product-inquiry h2 { margin-top: 0; }
.reference-product .product-copy .product-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (max-width: 1050px) {
  .site-header .mainbar .wrap { gap: 12px; }
  .site-header .nav > ul > li > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
  .site-header .nav-cta .btn { padding: 7px 11px; }
  .case-page-sec .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .case-page-sec > .wrap { width: 100%; }
  .case-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .case-customer-grid { grid-template-columns: 1fr; }
  .case-pagination-wrap { align-items: flex-start; flex-direction: column; margin-top: 28px; }
  .case-pagination { justify-content: flex-start; }
}
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  html { scroll-padding-top: 80px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .mainbar .wrap { gap: 12px; padding-left: 14px; padding-right: 14px; }
  .site-header .nav { width: min(86vw, 300px); }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar .tb-right { line-height: 1.5; }
  .site-header .nav > ul > li > a { font-size: 16px; padding: 14px 22px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 42px; padding-bottom: 92px; }
  .hero-slider, .hero-slider .hs-slide.active, .hero-panel-wrap, .hero-panel-wrap .hp-slide { width: 100%; }
  .hero h1, .hero h2 { font-size: 30px; line-height: 1.3; letter-spacing: 0; }
  .hero p.lead { font-size: 15px; line-height: 1.75; }
  .hero-actions > a { flex: 1 1 150px; text-align: center; }
  .hs-dots { bottom: -36px; }
  .hero-panel { padding: 20px; }
  .hero-panel.hp2, .hero-panel.hp3 { margin-left: 0; margin-right: 0; max-width: 100%; }
  .hp2-order > div:first-child { min-width: 0; }
  .hp2-order > div:first-child span { display: block; overflow-wrap: anywhere; }
  .hp3-head { gap: 8px; letter-spacing: 0; }
  .hp3-head span { text-align: right; letter-spacing: 0; }
  .case-page-sec .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .case-page-sec .case-item { min-height: 132px; padding: 13px; }
  .case-page-sec .case-item > span:first-child { font-size: 16px; }
  .case-record-grid { gap: 0 18px; }
  .case-industry-list { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .client-wall { padding: 18px; }
  .client-wall .marquee { justify-content: flex-start; gap: 8px; }
  .client-wall .client-chip { padding: 7px 13px; font-size: 13px; }
  .float-cta { right: 8px; bottom: 68px; }
  .float-cta .fc-item { min-width: 0; width: 48px; min-height: 48px; padding: 8px; }
  .float-cta .fc-item span { display: none; }
  .float-cta .fc-item svg { margin: 0; }
  #c4 { padding: 52px 0 60px; }
  #c4 .sec-head h2 { font-size: 28px; letter-spacing: 0; }
  #c4 .sec-sub { font-size: 15px; margin-top: 12px; }
  #c4 .history-img { width: 100%; padding: 10px; border-radius: 12px; overflow-x: auto; }
  #c4 .history-img img { width: 100%; min-width: 0; max-width: 100%; height: auto; border-radius: 8px; }
  .reference-product .pd-body { padding: 20px 18px 48px; }
  .reference-product .product-copy .product-media-row { grid-template-columns: 1fr; gap: 12px; }
  .reference-product .product-copy table, .article table, .pd-original-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
  iframe, video { max-width: 100%; }
}
@media (max-width: 560px) {
  .topbar .tb-right { font-size: 12px; }
  .topbar strong { font-size: 12px; }
  .case-page-sec .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-page-sec .case-item { min-height: 112px; }
  .case-record-grid { grid-template-columns: 1fr; }
  .case-industry-group summary { min-height: 76px; gap: 8px; padding: 18px 2px; }
  .case-industry-group summary h3 { font-size: 20px; }
  .case-industry-group summary span { font-size: 13px; }
  .case-industry-group summary::after { flex-basis: 18px; font-size: 25px; }
  .case-record-grid { padding-bottom: 24px; }
  .case-record { min-height: 80px; gap: 12px; padding: 10px 2px; }
  .case-record img { flex-basis: 60px; width: 60px; height: 44px; }
  .case-record .case-record-name { font-size: 15px; }
  .case-customer-grid { gap: 16px; margin-top: 28px; padding-top: 24px; }
  .client-wall .marquee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-wall .client-chip { width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .cat-head { align-items: center; flex-wrap: wrap; gap: 10px 12px; }
  .cat-head .count { margin-left: 0; }
  .adv-grid, .trial-points { grid-template-columns: 1fr; }
  .profile-lead { padding: 20px 16px; text-align: left; line-height: 1.8; }
  .footer-grid { gap: 24px; }
  .f-qrs { flex-wrap: wrap; }
  .reference-product .pd-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 12px 18px; }
  .reference-product .pd-hero .wrap > div:first-child, .reference-product .pd-hero .wrap > .btn-hero2 { transform: none; }
  .reference-product .pd-hero h1 { font-size: 27px; }
  .reference-product .pd-hero p { font-size: 13px; line-height: 1.45; }
  .reference-product .pd-hero .btn-hero2 { margin: 0; padding: 7px 14px; font-size: 13px; }
  .reference-product .product-copy h2 { font-size: 22px; }
  .reference-product .product-copy .product-scenario-grid, .reference-product .product-copy .product-feature-list { grid-template-columns: 1fr; }
  .reference-product .product-copy .product-section-nav { gap: 8px 14px; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .topbar .wrap { padding-left: 10px; padding-right: 10px; }
  .hero .wrap { padding-left: 14px; padding-right: 14px; }
  .hero h1, .hero h2 { font-size: 27px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions > a { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr; }
  .hp2-order { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hp2-order .o-amt { text-align: left; }
  .hp2-sum { flex-wrap: wrap; }
  .hp2-sum b { margin-left: 0; }
  .hp3-nums { gap: 5px; }
  .hp3-nums > div { padding: 10px 3px; }
  .hp3-nums b { font-size: 24px; }
  .hp3-row { gap: 5px; }
  .hp3-row span { width: 84px; }
  .trust-card, .case-page-sec .case-grid { grid-template-columns: 1fr; }
  .case-page-sec .case-item { min-height: 108px; }
  .case-industry-list { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .case-industry-group summary h3 { font-size: 19px; }
  .case-record .case-record-name { overflow-wrap: anywhere; }
  .service-pills, .case-stats { align-items: flex-start; }
  main[data-banner-size="standard"] > .case-hero .case-stat,
  main[data-banner-size="standard"] > .service-hero .service-pill { white-space: normal; }
  .pd-original-content > .pd-original-section { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
}
