/* Software pages (SPEC-085): software/<id>.html, generated by
   tools/build_software_pages.py. They use the Services page's components
   (.services section, .section-header, .services-lead, .capability-card,
   .service-cta from style.css); this file only adds what a page of its own
   needs: the title as the page's h1, the fact sheet and the kind badge. */

.software-page {
  padding-top: 70px; /* clears the fixed header, as services.css does */
  /* the site's primary blues for the card family's accent */
  --service-color: #1a5fd6;
  --service-color-light: #4f8ae8;
  --service-color-dark: #013289;
}

.software-page .sw-back {
  display: inline-block;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* The section header keeps its look: the small blue line on top, the large
   title under it. Here the title is the h1 (SPEC-066: one h1 per page) */
.software-page .section-header {
  padding-bottom: 24px;
}

.software-page .section-header .sw-kicker {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 1px;
  font-weight: 700;
  color: #1a5fd6;
  text-transform: uppercase;
}

.software-page .section-header h1 {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 700;
  color: #013289;
  text-transform: none;
}

@media (max-width: 768px) {
  .software-page .section-header h1 {
    font-size: 28px;
  }
}

.software-page .services-lead {
  margin: 0 auto 40px;
}

.software-page .capability-card {
  --service-color: #1a5fd6;
  --service-color-light: #4f8ae8;
  --service-color-dark: #013289;
}

.software-page .capability-card:hover {
  transform: none;
}

.software-page .capability-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1e293b;
}

.software-page .capability-card .sw-text {
  flex-grow: 1;
  padding: 16px 28px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

.software-page .capability-foot a {
  font-weight: 600;
}

/* The fact sheet */
.software-page .sw-facts {
  margin: 0;
  padding: 8px 28px 24px;
}

.software-page .sw-facts dt {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--service-color-dark);
}

.software-page .sw-facts dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: #444444;
  overflow-wrap: anywhere;
}

.software-page .sw-list {
  margin: 0;
  padding-left: 18px;
}

.software-page .sw-list li {
  margin-bottom: 2px;
}

.software-page .sw-logo {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: -5px;
}

/* technologies, in the style of the Subscribe card's application chips */
.software-page .sw-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
}

.software-page .sw-chips li {
  padding: 2px 10px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #013289;
  background: #ecf3ff;
}

/* who delivered it (SPEC-101), as quiet as on the Platform cards */
.software-page .sw-by {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.software-page .sw-by li {
  padding: 0 9px;
  border: 1px solid #cfdcf5;
  border-radius: 999px;
  font-size: 13px;
  color: #444444;
}

/* the kind badge, in the Platform page's colours (platform.css) */
.software-page .sw-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.software-page .sw-badge--application { color: #0f8a3c; background: rgba(21, 190, 86, 0.1); border: 1px solid #d5e6dc; }
.software-page .sw-badge--studio { color: #b8540f; background: rgba(238, 108, 32, 0.1); border: 1px solid #ecdec2; }
.software-page .sw-badge--project { color: #013289; background: #ecf3ff; border: 1px solid #d3e2f2; }
.software-page .sw-badge--rnd { color: #6d3fd1; background: rgba(139, 92, 246, 0.1); border: 1px solid #ded5ee; }

/* An illustration, when assets/img/software/<id>.svg exists */
.software-page .sw-figure {
  max-width: 960px;
  margin: 0 auto 40px;
  text-align: center;
}

.software-page .sw-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.software-page .sw-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
}

.software-page .sw-cta {
  margin-top: 48px;
  text-align: center;
}

.software-page .sw-cta p {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 17px;
  line-height: 1.6;
}

/* a product's modules, one line each (SPEC-085) */
.software-page .sw-modules {
  margin: 0 28px 20px;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #444444;
}

.software-page .sw-modules li {
  margin-bottom: 6px;
}

.software-page .sw-modules strong {
  color: #1e293b;
}

/* the presentation keeps its own height; the card's foot sits at the bottom */
.software-page .capability-card .sw-text {
  flex-grow: 0;
}

.software-page .capability-card .capability-foot {
  margin-top: auto;
}
