﻿/* Engineering Teams page (Views/Service/EngineeringTeams.cshtml), on the shell of service-page.css. The first part was
   outsourcing.css (the section stack and the shared blocks of the former Project Outsourcing page; merged 23/11/2026 when
   that page was dropped), the second dedicated-team.css. */

/* The heads and blocks of a section, one gap apart */
.container.sou-stack {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.sou-stack .sec-head {
  margin-bottom: 0;
}

/* ---------- Technology: the stack in layers (the cloud at the base), each wired across to the band of checks that runs down
   beside them all ---------- */
.sou-tech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
  gap: 2.4rem;
  align-items: stretch;
}
.sou-tech__layers {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sou-tech__layer {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding: 1.4rem 2rem;
  border: 1px solid var(--ssw-line);
  border-radius: 1.6rem;
  background: #ffffff;
  box-shadow: 0 1.4rem 2.8rem -2.4rem rgba(14, 42, 56, 0.4);
}
.sou-tech__layer:last-child {
  border-color: var(--ssw-chip-line);
  background: var(--ssw-tint);
}
/* Each layer's wire to the band */
.sou-tech__layer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 2.4rem;
  height: 0;
  border-top: 2px dashed var(--ssw-cyan);
}
.sou-tech__name {
  font-size: var(--fs-body);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ssw-navy);
}
.sou-tech__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.sou-tech__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.2rem 0.5rem 0.8rem;
  border: 1px solid var(--ssw-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ssw-navy);
}
.sou-tech__logo img {
  flex: none;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}
.sou-tech__quality {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: 2.4rem 2.6rem;
  border: 1.5px solid transparent;
  border-radius: 2rem;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, var(--ssw-cyan), rgba(0, 194, 203, 0.35)) border-box;
  box-shadow: 0 0 0 6px rgba(0, 194, 203, 0.06), 0 2.4rem 4.8rem -3.2rem rgba(0, 194, 203, 0.6);
}
.ssw-page .sou-tech__quality strong {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.3;
}
.sou-tech__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: var(--ssw-cyan);
  color: #ffffff;
}
.sou-tech__text {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--ssw-muted);
}
.sou-tech__checks {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sou-tech__checks li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ssw-navy);
}
.sou-tech__tick {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--ssw-soft);
  color: var(--ssw-teal-text);
}

/* ---------- Start here: the trial sprint wired to how it continues ---------- */
.sou-path {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.ssw-offer.sou-offer {
  flex: 1.5 1 50.3rem;
}
.sou-offer__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
}
.sou-path__wire {
  position: relative;
  flex: 0 0 6.4rem;
}
.sou-path__wire > .flow-x {
  top: 50%;
  right: 14px;
  left: 8px;
  height: 3px;
  margin-top: -1.5px;
}
.sou-then {
  display: flex;
  flex: 1 1 33.4rem;
  flex-direction: column;
  align-self: center;
  gap: 1rem;
  min-width: 0;
  padding: 2.4rem 2.6rem;
  border: 1px dashed var(--ssw-chip-line);
  border-radius: 2.2rem;
  background: #f7fcfc;
  font-size: var(--fs-small);
  line-height: 1.55;
}
.sou-then__label {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ssw-muted);
}
.sou-then strong {
  font-size: var(--fs-title);
  line-height: 1.3;
}
/* The rows stack and the wires between them go */
@media (max-width: 1000px) {
  .sou-tech {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .sou-tech__layer::after {
    display: none;
  }
  .sou-path__wire {
    display: none;
  }
  .sou-path {
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  /* Card titles at the phone Home's 17px (main.css) */
  .sou-then strong {
    font-size: var(--fs-title);
  }
}

/* ---------- Phones (.ssw-page--phone, service-page.css). With Dedicated Teams: a section's blocks 24 apart. This page's
   own (.sou-page--fixed): the trial as the first station of a line on to how it continues. The pieces below exist only for
   phones. ---------- */
.sou-offer__node,
.sou-offer__chips {
  display: none;
}
@media (max-width: 767px) {
  /* A section's blocks 24 apart and its head full width (its auto margins would centre a one-line title) */
  .ssw-page--phone .container.sou-stack {
    gap: 2.4rem;
  }
  .ssw-page--phone .sou-stack > .sec-head {
    align-self: stretch;
  }
  /* Start here: the trial as the first station of a line (its timeline and price as chips under its name, its deliverables
     as a "Label: value" line), a dashed stretch on to a hollow station for the full project */
  .sou-page--fixed .sou-path {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
  .sou-page--fixed .ssw-offer.sou-offer {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 0.8rem;
    margin-left: 4rem;
    padding: 0 0 2rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .sou-page--fixed .ssw-offer.sou-offer > * {
    padding-right: 0;
    padding-left: 0;
  }
  .sou-page--fixed .ssw-offer > .ssw-offer__kicker {
    padding-top: 0;
  }
  .sou-page--fixed .ssw-offer > .ssw-offer__actions {
    padding-bottom: 0;
  }
  .sou-page--fixed .ssw-offer.sou-offer::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    bottom: 0;
    left: -2.8rem;
    width: 3px;
    background: var(--ssw-cyan);
  }
  .sou-offer__node {
    position: absolute;
    z-index: 1;
    top: 0.2rem;
    left: -3.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--ssw-cyan);
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.22);
    color: #ffffff;
  }
  .sou-offer__chips {
    display: flex;
  }
  .sou-page--fixed .sou-offer__text {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--ssw-navy);
  }
  .sou-page--fixed .ssw-offer__facts .ssw-offer__row--deliver dt {
    display: inline;
    color: var(--ssw-muted);
  }
  .sou-page--fixed .ssw-offer__facts .ssw-offer__row--deliver dd {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
  }
  .sou-page--fixed .sou-then {
    position: relative;
    flex: none;
    align-self: stretch;
    gap: 0.4rem;
    margin-left: 4rem;
    padding: 1.8rem 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: var(--fs-small);
    line-height: 1.55;
    color: #3e5662;
  }
  .sou-page--fixed .sou-then::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2.8rem;
    width: 3px;
    height: 3rem;
    background: linear-gradient(180deg, var(--ssw-cyan) 50%, transparent 50%) 0 0 / 100% 8px;
  }
  .sou-page--fixed .sou-then::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 2.3rem;
    left: -3.3rem;
    width: 1.4rem;
    height: 1.4rem;
    border: 3px solid var(--ssw-cyan);
    border-radius: 50%;
    background: #ffffff;
  }
  .ssw-page.sou-page--fixed .sou-then strong {
    font-size: var(--fs-body);
    font-weight: 800;
    line-height: 1.4;
  }
}

/* Phones: the layers stack with their name over the logos, a wire down into the band of checks; your tools wired down to the
   rhythm, its stops on a line down the left */
@media (max-width: 767px) {
  .sou-tech {
    gap: 0;
  }
  .sou-tech__layers {
    gap: 0.8rem;
  }
  .sou-tech__layer {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.4rem 1.6rem;
  }
  .sou-tech__name {
    font-size: var(--fs-body);
  }
  .sou-tech__logo {
    padding: 0.3rem 1rem 0.3rem 0.6rem;
    font-size: var(--fs-small);
  }
  .sou-tech__logo img {
    width: 1.8rem;
    height: 1.8rem;
  }
  .sou-tech__quality {
    position: relative;
    margin-top: 2.4rem;
    padding: 2rem 1.6rem;
  }
  .sou-tech__quality::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 1.5px);
    left: 50%;
    width: 3px;
    height: 2.4rem;
    margin-left: -1.5px;
    background-image: linear-gradient(180deg, var(--ssw-cyan) 50%, transparent 50%);
    background-size: 100% 6px;
    animation: ssw-map-wire 0.9s linear infinite;
  }
  .ssw-page .sou-tech__quality strong {
    font-size: var(--fs-title);
  }
  .sou-tech__checks li {
    font-size: var(--fs-small);
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .sou-tech__quality::before {
    animation: none;
  }
}

/* Banner: the line that sets this service against Dedicated Teams, under the promise */
.sou-hero__vs {
  margin: 1.2rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #4a6370;
}
/* The sibling line's name in the brand's cyan */
.sou-hero__vs a {
  font-weight: 700;
  color: #00c2cb;
  text-decoration: none;
  transition: color 0.2s;
}
.sou-hero__vs a:hover,
.sou-hero__vs a:focus-visible {
  color: #0e2a38;
}

/* A language's flag before its name (Views/Service/Outsourcing.cshtml, the team's languages) */
.ssw-team__flag {
  flex: none;
  width: 2rem;
  height: 1.4rem;
  margin-right: 0.8rem;
  border-radius: 0.3rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(14, 42, 56, 0.12);
  vertical-align: -0.2em;
}

/* ---------- What we take on: the project's three parts as one board (Views/Service/Outsourcing.cshtml, #models) ---------- */
/* A column per part, a row per side. Quiet on purpose (18/11: the solid cyan heads and yellow/cyan side blocks glared):
   white cards and navy text; colour only in small accents — the cyan icon tiles, the yellow head chips, a dot before each
   side (yellow = you, cyan = DESOL) and a pale cyan tint on DESOL's row */
.sou-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sou-board__row {
  display: grid;
  /* the row's label, then as many columns as the phases the view shows (--phases, set on .sou-board) */
  grid-template-columns: minmax(12rem, 0.6fr) repeat(var(--phases, 3), minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.sou-board__phase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid #d4eff1;
  border-radius: 1.6rem;
  background: #ffffff;
  color: #0e2a38;
  scroll-margin-top: 12rem;
}
.sou-board__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.2rem;
  background: #00c2cb;
  color: #ffffff;
}
.sou-board__titles {
  display: flex;
  flex: 1 1 12rem;
  flex-direction: column;
  min-width: 0;
}
.sou-board__when {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7380;
}
html[lang=ja] .sou-board__when {
  letter-spacing: 0.04em;
}
.sou-board__phase .sou-board__titles strong {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.3;
  color: #0e2a38;
}
/* JA breaks between phrases only ("計画・" / "お見積もり", the U+200B in the copy), never leaving "り" alone on a line */
html[lang=ja] .sou-board__phase .sou-board__titles strong {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* The part's terms (fact chips, _Fact) on their own line under its name, on every screen */
.sou-board__facts {
  flex-basis: 100%;
}
.sou-board__side {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0.4rem;
  font-size: var(--fs-small);
  font-weight: 800;
  line-height: 1.35;
  color: #0e2a38;
}
.sou-board__side::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fddd59;
}
.sou-board__cell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid #e3eef0;
  border-radius: 1.4rem;
  background: #ffffff;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #0e2a38;
}
.sou-board__row--desol .sou-board__side::before {
  background: #00c2cb;
}
.sou-board__row--desol .sou-board__cell {
  border-color: #d4eff1;
  background: #f0fbfc;
}
/* What arrives in the part, as list tags (.tag, main.css) */
.sou-board__gets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sou-board__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  border: 1px solid #e3eef0;
  border-radius: 1.6rem;
}
.sou-board__tools-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 800;
  color: #0e2a38;
}
.sou-board__tools-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: #00c2cb;
  color: #ffffff;
}
.sou-board__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.2rem 0.5rem 0.8rem;
  border: 1px solid #e3eef0;
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  color: #0e2a38;
}
.sou-board__tool img {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}
/* Tablets: the side labels go above their row */
@media (max-width: 1024px) {
  .sou-board__row {
    grid-template-columns: repeat(var(--phases, 3), minmax(0, 1fr));
  }
  .sou-board__corner {
    display: none;
  }
  .sou-board__side {
    grid-column: 1 / -1;
    padding: 0.8rem 0.4rem 0;
  }
}
/* Phones: one card per part, each cell headed by its side */
@media (max-width: 767px) {
  .sou-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }
  .sou-board__row {
    display: contents;
  }
  .sou-board__side {
    display: none;
  }
  .sou-board__phase:nth-of-type(1) { order: 1; }
  .sou-board__phase:nth-of-type(2) { order: 5; }
  .sou-board__phase:nth-of-type(3) { order: 9; }
  .sou-board__row:nth-child(2) .sou-board__cell:nth-of-type(1) { order: 2; }
  .sou-board__row:nth-child(3) .sou-board__cell:nth-of-type(1) { order: 3; }
  .sou-board__row:nth-child(4) .sou-board__cell:nth-of-type(1) { order: 4; }
  .sou-board__row:nth-child(2) .sou-board__cell:nth-of-type(2) { order: 6; }
  .sou-board__row:nth-child(3) .sou-board__cell:nth-of-type(2) { order: 7; }
  .sou-board__row:nth-child(4) .sou-board__cell:nth-of-type(2) { order: 8; }
  .sou-board__row:nth-child(2) .sou-board__cell:nth-of-type(3) { order: 10; }
  .sou-board__row:nth-child(3) .sou-board__cell:nth-of-type(3) { order: 11; }
  .sou-board__row:nth-child(4) .sou-board__cell:nth-of-type(3) { order: 12; }
  .sou-board__phase:not(:nth-of-type(1)) {
    margin-top: 1.6rem;
  }
  .sou-board__cell::before {
    content: attr(data-side);
    font-size: var(--fs-label);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a7380;
    /* The side's dot, as on the desktop labels */
    padding-left: 1.6rem;
    background: radial-gradient(circle at 0.4rem 50%, #fddd59 0.4rem, transparent 0.45rem);
  }
  .sou-board__row--desol .sou-board__cell::before {
    background-image: radial-gradient(circle at 0.4rem 50%, #00c2cb 0.4rem, transparent 0.45rem);
  }
  .sou-board__cell {
    gap: 0.6rem;
    padding: 1.2rem 1.4rem;
    font-size: var(--fs-small);
  }
  /* The phone card padding (1.6rem), as on the other pages */
  .sou-board__phase,
  .sou-board__tools {
    padding: 1.6rem;
  }
}


/* ---- Engineering Teams page (was dedicated-team.css) ---- */
/* Dedicated Teams page (Views/Service/DedicatedTeam.cshtml). It loads service-page.css (the shell) and outsourcing.css (the
   section stack) first; this file adds the models as a staircase and the hiring steps, set in the section stack,
   whose gap spaces them. */
/* English breaks as in the design; a translation is balanced so it does not leave a word or two on a line of their own */
html:not([lang=en]) .sdt-page :is(.ssw-hero__title, .sec-title, .sec-lead) {
  text-wrap: balance;
}

/* A section title's highlighted part in navy */
.emd-page .sec-title em {
  font-style: normal;
  color: #0e2a38;
}

/* ---------- Phones (.ssw-page--phone, service-page.css): the models' section head closer to the staircase ---------- */
@media (max-width: 767px) {
  .sdt-page #models .container.sou-stack {
    gap: 0;
  }
  .sdt-page #models .sec-head {
    margin-bottom: 2.4rem;
  }
}

/* ---------- Team options: the three models as a staircase (Views/Service/DedicatedTeam.cshtml, #models) ---------- */
/* Each step stands on a riser as tall as its place on the stairs, so the cards climb from left to right */
.sdt-stairs {
  display: grid;
  /* as many columns as the models the view shows (--stairs) */
  grid-template-columns: repeat(var(--stairs, 3), minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
}
.sdt-stair {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: calc(var(--stair) * 4rem);
  padding: 2.4rem;
  border: 1px solid #d4eff1;
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 2rem 4rem -3.2rem rgba(14, 42, 56, 0.45);
  scroll-margin-top: 12rem;
}
.sdt-stair::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 2.4rem;
  right: 2.4rem;
  height: calc(var(--stair) * 4rem);
  border-radius: 0 0 1.2rem 1.2rem;
  background: repeating-linear-gradient(135deg, rgba(0, 194, 203, 0.18) 0 8px, transparent 8px 16px);
}
.sdt-stair__name {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.3;
  color: #0e2a38;
}
.sdt-stair__size {
  font-size: var(--fs-small);
  font-weight: 800;
  color: #00c2cb;
}
.sdt-stair__people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2.6rem;
  align-content: flex-start;
}
.sdt-stair__dot {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #00c2cb;
}
.sdt-stair__dot--you {
  background: #fedd59;
}
/* How much of the managing stays yours (yellow) and how much DESOL takes on (cyan) */
.sdt-stair__share {
  display: block;
  height: 0.9rem;
  border-radius: 999px;
  background: #00c2cb;
  overflow: hidden;
}
.sdt-stair__share span {
  display: block;
  width: var(--yours);
  height: 100%;
  background: #fedd59;
}
.sdt-stair__legend {
  display: flex;
  justify-content: space-between;
  margin-top: -0.4rem;
  font-size: var(--fs-label);
  font-weight: 700;
  color: #5a7380;
}
.sdt-stair__tagline {
  margin: -0.4rem 0 0;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
  color: #3e5662;
}
/* Who it suits, the team setup, who manages it and DESOL's role: a label over each */
.sdt-stair__facts {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.sdt-stair__facts > div {
  padding: 1rem 0;
  border-top: 1px solid #e3eef0;
}
.sdt-stair__facts > div:last-child {
  padding-bottom: 0;
}
.sdt-stair__facts dt {
  margin-bottom: 0.2rem;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a7380;
}
html[lang=ja] .sdt-stair__facts dt {
  letter-spacing: 0.02em;
}
.sdt-stair__facts dd {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #0e2a38;
}
/* Under the cards: the share bars are illustrative; closer to the cards than the stack's gap */
.sdt-stairs__note {
  margin: -2.4rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #5a7380;
  text-align: center;
}
@media (max-width: 767px) {
  .sdt-stairs__note {
    margin-top: -0.8rem;
  }
}
.sdt-stairs__ladder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 1.4rem 2rem;
  border: 1px solid #00c2cb;
  border-radius: 1.4rem;
  background: #ffffff;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.5;
  color: #0e2a38;
  text-align: center;
}
.sdt-stairs__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  background: #00c2cb;
  color: #ffffff;
}

/* ---------- Start here: the selection steps on one line, each promise on its step (#start); --steps from the view ---------- */
.sdt-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sdt-timeline::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  /* from the first circle to the last: half a column in from each side */
  left: calc(50% / var(--steps, 3));
  right: calc(50% / var(--steps, 3));
  border-top: 2px dashed rgba(0, 194, 203, 0.55);
}
.sdt-timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: #3e5662;
}
.sdt-timeline__step strong {
  margin-top: 0.6rem;
  font-size: var(--fs-body);
  line-height: 1.35;
  color: #0e2a38;
}
.sdt-timeline__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #00c2cb;
  box-shadow: 0 0 0 0.6rem #ffffff, 0 1rem 2rem -1rem rgba(0, 194, 203, 0.8);
  font-size: var(--fs-body);
  font-weight: 800;
  color: #ffffff;
}
.sec--tint .sdt-timeline__num {
  box-shadow: 0 0 0 0.6rem #ffffff, 0 1rem 2rem -1rem rgba(0, 194, 203, 0.8);
}
/* A step's promise: a fact chip (_Fact, main.css; the shield, as the site's guarantee icon) */
.sdt-timeline__promise {
  margin-top: 0.4rem;
}
/* The link to the cost estimator (the site's one look, main.css .est-link), centred under the steps */
.sdt-timeline__cta {
  display: flex;
  justify-content: center;
}
/* Under the steps: availability, timelines and trials are discussed, not promised */
.sdt-timeline__note {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #5a7380;
  text-align: center;
}
@media (max-width: 767px) {
  .sdt-timeline__note {
    text-align: left;
  }
}
@media (max-width: 1024px) {
  .sdt-stairs {
    gap: 1.4rem;
  }
  .sdt-stair {
    padding: 2rem;
  }
  .sdt-timeline {
    gap: 1.2rem;
  }
}
/* Phones: the steps one under another, the smallest first; the hiring steps run down a wire */
@media (max-width: 767px) {
  .sdt-stairs {
    grid-template-columns: minmax(0, 1fr);
  }
  .sdt-stair {
    margin-bottom: 0;
    padding: 1.8rem 1.6rem;
  }
  .sdt-stair::after {
    display: none;
  }
  .sdt-stair__name {
    font-size: var(--fs-title);
  }
  .sdt-stairs__ladder {
    justify-content: flex-start;
    margin-top: 1.6rem;
    padding: 1.4rem 1.6rem;
    font-size: var(--fs-small);
    text-align: left;
  }
  .sdt-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .sdt-timeline::before {
    top: 1.8rem;
    bottom: 1.8rem;
    left: 1.7rem;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(0, 194, 203, 0.55);
  }
  .sdt-timeline__step {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    column-gap: 1.4rem;
    row-gap: 0.4rem;
    align-items: start;
    text-align: left;
  }
  .sdt-timeline__num {
    grid-row: 1 / span 3;
  }
  .sdt-timeline__step strong {
    margin-top: 0.6rem;
  }
  .sdt-timeline__step > :not(.sdt-timeline__num) {
    grid-column: 2;
    justify-self: start;
  }
  /* 2.8rem above the closing call to action, with the stack's 2.4rem gap */
  .sdt-timeline__cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.4rem;
  }
}
