/* RailWise AI: use the site's bright product hero and a clearly labeled capability overview. */
.ww-product-hero > .container { position: relative; z-index: 1; }
.ww-product-hero .pd-hero2__grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.ww-product-hero .pd-hero2__copy,
.ww-product-hero .pd-hero2__visual { min-width: 0; }
.ww-product-hero .pd-hero2__brandline { flex-wrap: wrap; gap: .5rem .75rem; }
.ww-product-hero #workwise-hero-title {
  font-size: clamp(2rem, 1.2rem + 2.7vw, 3.5rem);
  letter-spacing: -.025em;
  margin-top: 0;
}
.ww-hero-version {
  padding: .15rem .45rem;
  border: 1px solid var(--rw-line);
  border-radius: 4px;
  background: var(--rw-paper);
  color: var(--rw-muted);
  font-size: .78rem;
  font-family: var(--rw-font-num);
}
.ww-hero-heading { margin: 1rem 0 0; color: var(--rw-ink); font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 600; }
.ww-product-hero .pd-desc { margin-top: .9rem; font-size: 1rem; }
.ww-product-hero .pd-cta-row { margin-top: 1.5rem; }
.ww-product-hero .pd-btn { min-height: 46px; }
.ww-product-hero .pd-hero2__more { gap: .25rem 1.25rem; margin-top: .75rem; }
.ww-product-hero .pd-hero2__link { min-height: 44px; }
.ww-hero-note { margin: .5rem 0 0; font-size: .8rem; line-height: 1.7; color: var(--rw-muted); }
.ww-product-hero .pd-hero2__window {
  background: var(--rw-paper);
  border: 1px solid var(--rw-line);
  border-radius: var(--rw-radius);
  box-shadow: 0 24px 56px -30px rgba(6,21,45,.4);
}
.ww-product-hero .pd-hero2__bar { justify-content: space-between; height: 36px; color: var(--rw-body); background: var(--rw-fog); border-bottom: 1px solid var(--rw-line); }
.ww-product-hero .pd-hero2__bar span { margin: 0; font-size: .75rem; }
.ww-product-hero .pd-hero2__visual figcaption { text-align: right; font-size: .75rem; }
.ww-hero-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--rw-line);
}
.ww-hero-flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; row-gap: .25rem; }
.ww-hero-flow span { grid-row: 1 / 3; color: var(--rw-blue-text); font-family: var(--rw-font-num); font-size: .8rem; padding-top: .2rem; }
.ww-hero-flow strong { color: var(--rw-ink); font-size: .95rem; font-weight: 600; }
.ww-hero-flow small { color: var(--rw-muted); font-size: .8rem; line-height: 1.6; }
@media (max-width: 960px) {
  .ww-product-hero .pd-hero2__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .ww-product-hero .pd-hero2__copy { max-width: 44rem; }
  .ww-product-hero .pd-hero2__visual { width: 100%; }
  .ww-hero-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ww-product-hero .pd-hero2__eyebrow { font-size: .8rem; }
  .ww-product-hero #workwise-hero-title { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .ww-product-hero .pd-btn { min-height: 46px; padding: .65rem 1rem; }
  .ww-product-hero .pd-hero2__more { font-size: .85rem; gap: .25rem 1rem; }
  .ww-product-hero .pd-hero2__visual figcaption { text-align: left; }
  .ww-hero-flow { margin-top: 1.5rem; gap: 1.25rem .75rem; }
  .ww-hero-flow li { column-gap: .5rem; }
  .ww-hero-flow strong { font-size: .88rem; }
  .ww-hero-flow small { font-size: .75rem; }
}

/* Product identity stays above individual modules and their real screenshots. */
.ww-platform-map { padding: clamp(1.25rem, 2.5vw, 2rem); background: #f6f9fc; }
.ww-platform-map__intro { padding-bottom: 1.4rem; border-bottom: 1px solid #dce4eb; }
.ww-platform-map__intro > span { display: block; color: #486078; font: 600 .65rem var(--rw-font-num); letter-spacing: .12em; }
.ww-platform-map__intro > strong { display: block; margin: .65rem 0 .4rem; color: #14202d; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; font-weight: 650; }
.ww-platform-map__intro p { margin: 0; color: #526273; font-size: .82rem; }
.ww-platform-map__modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 1.4rem 0 1rem; }
.ww-platform-map__modules a { display: grid; gap: .5rem; padding: 1.1rem; border: 1px solid #cbd8e4; border-radius: 6px; background: #fff; text-decoration: none; transition: border-color .2s; }
.ww-platform-map__modules a:hover { border-color: #0868c9; }
.ww-platform-map__modules a:focus-visible { outline: 3px solid #0868c9; outline-offset: 3px; }
.ww-platform-map__modules i { color: #0868c9; font-size: 1.2rem; }
.ww-platform-map__modules strong { color: #14202d; font-size: 1.1rem; }
.ww-platform-map__modules strong span { font-size: .8rem; font-weight: 500; margin-left: .2rem; }
.ww-platform-map__modules small { color: #526273; font-size: .74rem; line-height: 1.6; }
.ww-platform-map__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.ww-platform-map__tools span { padding: .5rem .7rem; border-left: 2px solid #a9bfd2; color: #3c4a58; font-size: .77rem; background: #edf2f6; }
.ww-output-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.ww-output-grid article { padding: 1.4rem; border: 1px solid #dce4eb; border-radius: 8px; background: #fff; }
.ww-output-grid article > span { color: #0868c9; font: 600 .72rem var(--rw-font-num); letter-spacing: .08em; }
.ww-output-grid h3 { margin: .6rem 0; color: #14202d; font-size: 1.05rem; }
.ww-output-grid p { color: #526273; font-size: .88rem; line-height: 1.8; margin: 0; }
#capabilities, #survey-module { scroll-margin-top: 100px; }
@media (max-width: 700px) { .ww-output-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) {
  .ww-platform-map__modules { gap: .6rem; }
  .ww-platform-map__modules a { padding: .8rem; }
  .ww-platform-map__modules strong span { display: block; margin: .2rem 0 0; }
}
@media (prefers-reduced-motion: reduce) { .ww-platform-map__modules a { transition: none; } }

.page-product-workwise .pd-section.dark .cli-inline-link { color: #90caff; }
