html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 24px; }
.hero-showcase { padding: 22px; border: 1px solid #e0e8f4; border-radius: 16px; background: #eef3fb; }
.showcase-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.showcase-heading strong { font-size: .95rem; font-weight: 600; }
.showcase-heading > span { color: var(--muted); font-size: .75rem; }
.showcase-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.showcase-screens a { min-width: 0; text-align: center; }
.showcase-screens a > span { display: block; color: #285da7; font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.showcase-screens img { width: 100%; aspect-ratio: 960 / 1498; object-fit: contain; border: 1px solid #e0e7f2; border-radius: 7px; box-shadow: 0 7px 16px #294c7610; }
.showcase-screens small { display: block; color: var(--muted); font-size: .72rem; margin-top: 10px; }
.showcase-screens a:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.home-marketing-action { margin-top: 22px; }
.section-kicker { margin: 0 0 8px; color: #38679f; font-size: .85rem; font-weight: 600; }
.role-products { padding-bottom: 36px; }
.role-products-heading { margin-bottom: 28px; }
.role-products-heading h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.role-products-heading > .muted { margin-top: 12px; }
.role-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.role-product-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.role-card-top { padding: 24px 24px 18px; flex: 1; }
.role-label { display: inline-block; color: #255ca7; font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.role-card-top h3 { font-size: 1.2rem; line-height: 1.5; text-wrap: balance; }
.role-card-top p { color: #536680; font-size: .8rem; margin-top: 12px; }
.role-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 22px; }
.role-card-actions > a:first-child { font-size: .85rem; color: #275fbb; }
.role-card-actions .button { background: #edf3fd; color: #2059b9; padding-inline: 15px; font-size: .8rem; min-height: 42px; white-space: nowrap; }
.home-products { border-top: 1px solid var(--line); padding-top: 48px; align-items: center; }
.role-actions { margin-top: 24px; }
.solution-hero .role-actions .button { margin-top: 0; }
.solution-hero .portal-primary { color: white; background: var(--blue); }
.solution-hero .portal-primary:hover { background: #174cc1; }
.solution-hero .hero-grid > div > .login-caption { font-size: .8rem; color: #607189; margin: 16px 0 0; }
.solution-body > .product-gallery { margin-top: 32px; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.gallery-heading .muted { margin-top: 10px; font-size: .92rem; }
.gallery-heading > .button { flex-shrink: 0; }
.gallery-layout { display: grid; grid-template-columns: 160px minmax(0, 1fr); border: 1px solid #dde6f2; border-radius: 14px; background: #f9fbfe; }
.gallery-controls { padding: 12px; border-right: 1px solid #e3eaf4; }
.gallery-controls a { display: flex; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 8px; color: #52637b; font-size: .9rem; }
.gallery-controls a span { font-size: .75rem; color: #64758d; }
.gallery-controls a:hover { background: #eaf1fc; }
.gallery-layout:not(:has(.gallery-feature:target)) .gallery-controls a:first-child,
.gallery-layout:has(#feature-1:target) .gallery-controls a[href="#feature-1"],
.gallery-layout:has(#feature-2:target) .gallery-controls a[href="#feature-2"],
.gallery-layout:has(#feature-3:target) .gallery-controls a[href="#feature-3"] {
  background: #e5efff;
  box-shadow: inset 0 0 0 1px #c6d8f5;
  color: #1953a7;
  font-weight: 700;
}
.gallery-feature { scroll-margin-top: 96px; }
.gallery-feature:target .gallery-image { outline: 2px solid #2865ac; outline-offset: 3px; }
@media (max-width: 650px) {
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-controls { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #e3eaf4; }
  .gallery-controls a { padding: 8px; }
}
.gallery-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px); padding: 20px; }
.gallery-feature { display: grid; justify-items: center; align-content: start; gap: 10px; min-width: 0; margin: 0; text-align: center; }
.gallery-feature figcaption { color: #344e70; font-size: .85rem; font-weight: 650; }
.gallery-image { width: min(100%, 244px); aspect-ratio: 960 / 1498; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 30px #15375a14; }
[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
@media (max-width: 950px) {
  .role-product-grid { gap: 14px; }
  .role-card-top { padding: 22px 18px; }
  .role-card-actions { padding: 18px; flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .hero-showcase { padding: 16px; border-radius: 12px; }
  .showcase-heading { gap: 8px; margin-bottom: 14px; }
  .showcase-heading strong { font-size: .85rem; }
  .showcase-heading > span { font-size: .7rem; }
  .showcase-screens { gap: 10px; }
  .showcase-screens a > span { font-size: .8rem; }
  .showcase-screens small { font-size: .68rem; }
  .role-product-grid { grid-template-columns: 1fr; gap: 12px; }
  .role-products { padding-bottom: 36px; }
  .role-products-heading > .muted { font-size: .9rem; }
  .role-card-top { padding: 22px; }
  .role-card-top h3 { min-height: 0; font-size: 1.2rem; }
  .role-card-actions { padding: 20px 22px; }
  .home-products { padding-top: 30px; }
  .solution-body > .product-gallery { margin-top: 24px; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 12px; }
  .gallery-stage { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.solution-shot { display: grid; justify-items: center; gap: 14px; padding: 20px; border: 1px solid #e0e8f4; border-radius: 14px; background: #eef3fb; }
.solution-shot img { width: auto; height: 300px; max-width: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 24px #294c7617; }
.solution-shot > span { font-size: .8rem; color: #607189; }
@media (max-width: 650px) { .solution-shot { padding: 20px; } .solution-shot img { height: 290px; } }
