﻿/* The shell of the service pages (ssw-*): all of the Custom Software page (Views/Service/Software.cshtml, which has no file
   of its own): the banner with its starter offer, how we work and how it is priced, and the ways to begin. The AI page shares
   the banner, the reasons, the team and the offers (ai.css adds its own sections); the Project-Based Development and
   Dedicated Teams pages (outsourcing.css, dedicated-team.css) and every solution's page (Views/Solution/_ItemLayout.cshtml,
   solution-page.css) share the shell. Behaviour in wwwroot/js/kicker-reveal.js (kicker reveal). */
body {
  background-image: none;
  background-color: #ffffff;
}
.ssw-page {
  --ssw-cyan: #00c2cb;
  --ssw-deep: #00c2cb;
  --ssw-teal-text: #0e2a38;
  --ssw-navy: #0e2a38;
  --ssw-muted: #5a7380;
  --ssw-line: #d4eff1;
  --ssw-tint: #f0fbfc;
  --ssw-soft: #e6f9fa;
  --ssw-chip-line: #b9e6e9;
  --ssw-yellow: #fedd59;
  --ssw-yellow-line: #f2d572;
  font-size: var(--fs-body);
  line-height: 1.55;
}
/* Like the home page, this page runs 4.8rem wider than the others */
@media (min-width: 1200px) {
  .ssw-page .container {
    max-width: 118.8rem;
    padding: 0 1rem;
  }
}
/* Lines break as in the design, not balanced or evened out (main.css does that to titles and list items site-wide) */
.ssw-page > section :is(h1, h2, h3, p) {
  text-wrap: wrap;
}
.ssw-page .section-kicker {
  line-height: 1.55;
}
.ssw-page .section-kicker__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.ssw-page .sec-head {
  gap: 1.6rem;
  max-width: 80rem;
}
.ssw-page .sec-lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.ssw-page strong {
  font-weight: 700;
  line-height: 1.55;
  color: var(--ssw-navy);
}
.ssw-page .sec-title em {
  font-style: normal;
  color: #0e2a38;
}

/* Wires: a flowing line with an arrowhead at the end it runs to */
.ssw-page .wire-head {
  position: absolute;
}
.ssw-page .wire-head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

/* Shared pieces: a yellow chip, the yellow and outline buttons */
.ssw-chip {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  background: var(--ssw-yellow);
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--ssw-navy);
}
.ssw-btn {
  gap: 1rem;
  min-height: 5.2rem;
  padding: 1.4rem 2.8rem;
  font-weight: 800;
  line-height: 1.55;
  box-shadow: 0 1.6rem 3rem -1.6rem rgba(217, 169, 26, 0.8);
}
.ssw-outline {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.8rem;
  padding: 1.2rem 2.4rem;
  border: 1.5px solid var(--ssw-cyan);
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--fs-body);
  font-weight: 800;
  line-height: 1.55;
  color: var(--ssw-teal-text);
  transition: background-color 0.2s, color 0.2s;
}
.ssw-outline:hover,
.ssw-outline:focus-visible {
  background: var(--ssw-tint);
  color: var(--ssw-navy);
}
.ssw-outline svg {
  flex: none;
}

/* ---------- Banner: the promise on the left, the line's flow of work on the right ---------- */
.ssw-hero {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(ellipse 40% 45% at 74% 52%, rgba(0, 194, 203, 0.14), transparent 70%), linear-gradient(180deg, #f3fbfc 0%, #ffffff 70%);
}
.container.ssw-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5.6rem;
  padding-top: 17.6rem;
  padding-bottom: 8.8rem;
}
.ssw-hero__copy {
  display: flex;
  flex: 1 1 46rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.2rem;
  min-width: 0;
}
.ssw-hero .breadcrumb {
  margin: 0;
}
.ssw-hero__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--ssw-navy);
}
.ssw-hero__title em {
  font-style: normal;
  color: #0e2a38;
}
.ssw-hero__text {
  max-width: 56rem;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
}

/* ---------- Why DESOL: the reasons, then who works on the project ---------- */
.container.ssw-why {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.ssw-why .sec-head {
  margin-bottom: 0;
}
.ssw-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.ssw-reason {
  display: flex;
  flex: 1 1 24rem;
  flex-direction: column;
  gap: 1rem;
  padding: 2.2rem;
  border: 1px solid var(--ssw-line);
  border-radius: 1.8rem;
  background: #ffffff;
  font-size: var(--fs-small);
  line-height: 1.6;
}
.ssw-reason strong {
  font-size: var(--fs-body);
  line-height: 1.35;
}
.ssw-reason__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.2rem;
  background: var(--ssw-soft);
  color: var(--ssw-teal-text);
}
/* The team, technologies and languages in one tinted strip */
.ssw-team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.2rem;
  padding: 2.2rem 2.6rem;
  border: 1px solid #d4eff1;
  border-radius: 1.8rem;
  background: #f3fbfc;
}
.ssw-team__col {
  display: flex;
  flex: 1 1 26rem;
  flex-direction: column;
  gap: 0.8rem;
}
.ssw-team__label {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--ssw-muted);
}
.ssw-team__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
/* The strip's chips */
.ssw-team__chips > span {
  padding: 0.4rem 1rem;
  border: 1px solid #b9e6e9;
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ssw-teal-text);
}

/* ---------- How we deliver: the phases on one wire, each with who does it (Software, .ssw-steps--who) ---------- */
.ssw-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Five cards and four wires fit on one line down to 1001px (the grid takes over below), 17rem each */
.ssw-step {
  display: flex;
  flex: 1 1 17rem;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--ssw-line);
  border-radius: 1.8rem;
  background: #ffffff;
  box-shadow: 0 1.4rem 2.8rem -2.2rem rgba(14, 42, 56, 0.45);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.ssw-step > strong {
  font-size: var(--fs-title);
}
.ssw-step__out {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--ssw-line);
  font-size: var(--fs-small);
  color: var(--ssw-navy);
}
.ssw-steps__wire {
  position: relative;
  flex: 0 0 2.8rem;
}
.ssw-steps__wire > .flow-x {
  top: 50%;
  right: 9px;
  left: 2px;
  height: 3px;
  margin-top: -1.5px;
}

/* Who does each phase (the colours of Working together, responsibility.css; the legend above the steps): the card edged in
   its colour with a band on top, the phase's title for it; phones, with no cards, put a swatch of the colour before the title */
.ssw-step__who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
  color: var(--ssw-navy);
}
/* Japanese titles break only at the phrase breaks written into them (U+200B after "、", "の", "が"), never inside a word */
html[lang=ja] .ssw-step > strong,
html[lang=ja] .ssw-step__who {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ssw-step__who .resp-swatch {
  display: none;
  flex: none;
  width: 1.8rem;
  height: 1rem;
  border-radius: 0.4rem;
}
@media (min-width: 768px) {
  .ssw-steps--who .ssw-step {
    border: 1.5px solid transparent;
    border-top-width: 0.55rem;
    background: linear-gradient(#ffffff, #ffffff) padding-box, var(--resp-fill) border-box;
  }
  .ssw-steps--who .ssw-step--offer {
    background: linear-gradient(#fffaeb, #fffaeb) padding-box, var(--resp-fill) border-box;
  }
}
@media (max-width: 767px) {
  .ssw-step__who .resp-swatch {
    display: block;
  }
}

/* ---------- Ways to begin ---------- */
.ssw-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.ssw-offer {
  display: flex;
  flex: 1 1 44rem;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
  padding: 2.8rem 3rem;
  border: 1.5px solid transparent;
  border-radius: 2.4rem;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, var(--ssw-cyan), rgba(0, 194, 203, 0.45)) border-box;
  box-shadow: 0 0 0 6px rgba(0, 194, 203, 0.06), 0 3rem 6rem -3.6rem rgba(0, 194, 203, 0.7);
}
.ssw-offer__kicker {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--ssw-teal-text);
}
.ssw-offer__name {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.55;
  color: var(--ssw-navy);
}
.ssw-offer__facts {
  margin: 0;
  padding: 0;
}
.ssw-offer__facts > div {
  display: flex;
  gap: 1.6rem;
  padding: 1rem 0;
  border-top: 1px solid #e3eef0;
}
.ssw-offer__facts dt {
  flex: none;
  width: 11.2rem;
  padding-top: 3px;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--ssw-muted);
}
.ssw-offer__facts dd {
  flex: 1;
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ssw-navy);
}
.ssw-offer__actions {
  margin-top: auto;
  padding-top: 0.8rem;
}

/* ==================== The Software page's own sections, Outsourcing's too (.ssw-page--funnel) ==================== */
/* Shared: the section's anchors clear the fixed header */
.ssw-page--funnel section[id] {
  scroll-margin-top: 8rem;
}

/* Banner: the Home card's starter offer under the text, then its button */
.ssw-hero__offer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 56rem;
  padding: 1.6rem 2rem 1.8rem;
  border: 1px solid var(--ssw-yellow-line);
  border-radius: 1.6rem;
  background: #fffaeb;
}
.ssw-hero__try {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
  color: #7a5c00;
}
.ssw-hero__mark {
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--ssw-yellow);
  box-shadow: 0 0 0 3px rgba(254, 221, 89, 0.35);
}
.ssw-hero__deal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.8rem;
}
.ssw-page .ssw-hero__deal strong {
  margin-right: 0.4rem;
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.4;
}
.ssw-hero__deal .ssw-chip {
  padding: 0.1rem 1rem;
  font-size: var(--fs-label);
}
.ssw-hero__deal .ssw-chip:not(:last-child) {
  border: 1px solid var(--ssw-yellow-line);
  background: #ffffff;
}
.ssw-hero__deliver {
  font-size: var(--fs-body);
  line-height: 1.6;
}

/* How we work: the first phase is the starter offer (yellow); after the prices, its button and a 30-minute call */
.ssw-step--offer {
  border-color: var(--ssw-yellow-line);
  background: #fffaeb;
}
.ssw-step__chip {
  align-self: flex-start;
  padding: 0.2rem 1rem;
  border-radius: 1rem;
  background: var(--ssw-yellow);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ssw-navy);
}
/* Six commitments run three to a row */
.ssw-reasons--3 .ssw-reason {
  flex-basis: 30rem;
}

/* ---------- Tablet and phone ---------- */
html[lang=ja] .ssw-hero__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* The rows stack and the wires between them go */
@media (max-width: 1000px) {
  .ssw-steps__wire {
    display: none;
  }
  .ssw-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }
}
@media (max-width: 1024px) {
  .container.ssw-hero__inner {
    padding-top: 13.6rem;
  }
}
@media (max-width: 767px) {
  .container.ssw-hero__inner {
    gap: 3.2rem;
    padding-top: 11.2rem;
    padding-bottom: 6.4rem;
  }
  .ssw-hero__copy {
    gap: 1.6rem;
  }
  /* Titles at the phone Home's sizes (main.css) */
  .ssw-hero__title {
    font-size: var(--fs-h1);
    line-height: 4rem;
    letter-spacing: -0.12rem;
  }
  .ssw-hero__text,
  .ssw-page .sec-lead {
    font-size: var(--fs-body);
  }
  .ssw-offer__name {
    font-size: var(--fs-title);
  }
  .ssw-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .ssw-offer {
    padding: 2.4rem 2rem;
  }
  .ssw-offer__facts > div {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* ---------- Phones, the service lines' pages (.ssw-page--phone): the reasons wired from what the client gets, the team,
   the delivery line and the tickets, on the phone Home's spacing. The pieces below exist only in their markup and stay hidden on wider screens; ai.css
   adds the AI page's own touches. A step on the line is marked by its part: --first, --loop (sprints), --spark (the AI
   demo), --handover (into monthly operation) and --monthly. ---------- */
.ssw-pair__outcome,
.ssw-team__role,
.ssw-step__node,
.ssw-offer__stub {
  display: none;
}
.ssw-pair {
  display: contents;
}
@keyframes ssw-map-wire {
  to {
    background-position: 0 12px;
  }
}
@media (max-width: 767px) {
  /* Spacing: sections 4.4rem / 4.8rem; heads 1.2rem inside, 2.4rem above the first block */
  .ssw-page--phone .sec {
    padding: 4.4rem 0 4.8rem;
  }
  .ssw-page--phone .sec-head {
    gap: 1.2rem;
    margin-bottom: 2.4rem;
  }
  .ssw-page--phone .container.ssw-hero__inner {
    padding-bottom: 4.8rem;
  }
  /* A hyphenated word stays on one line (Keep in the views) */
  .ssw-keep {
    white-space: nowrap;
  }

  /* Why DESOL: what the client gets in a yellow pill, wired to the reason behind it */
  .ssw-page--phone .container.ssw-why {
    gap: 2.4rem;
  }
  /* Full width, so a title on one line stays on the left (the head's auto margins would centre it in this column) */
  .ssw-page--phone .ssw-why .sec-head {
    align-self: stretch;
    margin-bottom: 0;
  }
  .ssw-page--phone .ssw-reasons {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2rem;
  }
  .ssw-pair {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .ssw-pair__outcome {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem 0.6rem 0.6rem;
    border: 1px solid #fedd59;
    border-radius: 999px;
    background: #fffaeb;
    font-size: var(--fs-small);
    font-weight: 800;
    line-height: 1.4;
    color: var(--ssw-navy);
  }
  .ssw-pair__tick {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--ssw-yellow);
    color: #7a5c00;
  }
  .ssw-pair .ssw-reason {
    position: relative;
    flex: none;
    align-self: stretch;
    gap: 0.6rem;
    margin: 0.8rem 0 0 4rem;
    padding: 1.4rem 1.6rem;
    border-color: #9fe3e7;
    box-shadow: 0 2rem 4rem -3.6rem rgba(14, 42, 56, 0.5);
  }
  .ssw-pair .ssw-reason::before {
    content: "";
    position: absolute;
    top: -0.9rem;
    left: -2.3rem;
    width: 2.4rem;
    height: 4.1rem;
    border-bottom: 2px solid var(--ssw-cyan);
    border-left: 2px solid var(--ssw-cyan);
    border-bottom-left-radius: 1.2rem;
  }
  .ssw-pair .ssw-reason::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 2.6rem;
    left: -0.6rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--ssw-cyan);
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.25);
  }
  .ssw-pair .ssw-reason__icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1.1rem;
  }
  .ssw-pair .ssw-reason__icon svg {
    width: 1.8rem;
    height: 1.8rem;
  }
  /* The team as one wire of roles (BrSE dashed: only when needed), the technologies and languages as lines */
  .ssw-page--phone .ssw-team {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.6rem;
    padding: 2rem 1.6rem;
  }
  .ssw-page--phone .ssw-team__col {
    flex: none;
    gap: 0.4rem;
  }
  .ssw-page--phone .ssw-team__col:first-child {
    gap: 1.6rem;
  }
  .ssw-page--phone .ssw-team__col:nth-child(2) {
    padding-top: 1.6rem;
    border-top: 1px solid var(--ssw-line);
  }
  .ssw-team__chips--roles {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .ssw-team__chips--roles::before {
    content: "";
    position: absolute;
    top: 2.1rem;
    right: 10%;
    left: 10%;
    height: 2px;
    border-radius: 2px;
    background: var(--ssw-cyan);
  }
  .ssw-page--phone .ssw-team__chips > span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ssw-navy);
  }
  .ssw-page--phone .ssw-team__chips--roles > span {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-size: var(--fs-label);
    line-height: 1.35;
    text-align: center;
  }
  .ssw-team__role {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border: 2px solid var(--ssw-cyan);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ssw-teal-text);
  }
  .ssw-team__chips--roles > span:last-child .ssw-team__role {
    border-style: dashed;
  }
  /* A team of four roles (the AI and Outsourcing pages) */
  .ssw-team__chips--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ssw-team__chips--4::before {
    right: 12.5%;
    left: 12.5%;
  }
  .ssw-page--phone .ssw-team__chips:not(.ssw-team__chips--roles) {
    gap: 0 0.4em;
  }
  .ssw-page--phone .ssw-team__chips:not(.ssw-team__chips--roles) > span {
    font-size: var(--fs-small);
    line-height: 1.5;
  }
  .ssw-page--phone .ssw-team__chips:not(.ssw-team__chips--roles) > span:not(:last-child)::after {
    content: "\00a0·";
  }

  /* How we deliver: one line with a node per phase (the sprint loop on Development), solid while DESOL builds and
     dashed from Deployment into the monthly Operation */
  .ssw-page--phone .ssw-steps {
    display: flex;
    flex-direction: column;
    row-gap: 0;
  }
  .ssw-page--phone .ssw-step {
    position: relative;
    flex: none;
    gap: 0.6rem;
    margin-left: 4rem;
    padding: 2px 0 1.6rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: var(--fs-small);
  }
  .ssw-page--phone .ssw-step > strong {
    font-size: var(--fs-title);
    font-weight: 800;
    line-height: 1.4;
  }
  .ssw-page--phone .ssw-step::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2.8rem;
    width: 3px;
    background: var(--ssw-cyan);
  }
  .ssw-page--phone .ssw-step--first::before {
    top: 1.4rem;
  }
  .ssw-page--phone .ssw-step--handover::before {
    bottom: calc(100% - 1.4rem);
  }
  .ssw-page--phone .ssw-step--handover::after,
  .ssw-page--phone .ssw-step--monthly::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    bottom: 0;
    left: -2.8rem;
    width: 3px;
    background: linear-gradient(180deg, var(--ssw-deep) 50%, transparent 50%) 0 0 / 100% 8px;
  }
  .ssw-page--phone .ssw-step--monthly {
    margin-top: 1.2rem;
  }
  .ssw-page--phone .ssw-step--monthly::before {
    top: -1.2rem;
    bottom: calc(100% - 1.4rem);
  }
  .ssw-step__node {
    position: absolute;
    z-index: 1;
    top: 0.7rem;
    left: -3.3rem;
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--ssw-cyan);
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.25);
  }
  .ssw-step--loop .ssw-step__node,
  .ssw-step--monthly .ssw-step__node {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.2rem;
    left: -3.8rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.22);
  }
  .ssw-step--monthly .ssw-step__node {
    background: var(--ssw-deep);
  }
  .ssw-page--phone .ssw-step__out {
    align-self: flex-start;
    margin-top: 0;
    padding: 0.3rem 1rem;
    border: 1px solid var(--ssw-line);
    border-radius: 999px;
    background: var(--ssw-tint);
    font-size: var(--fs-small);
    line-height: 1.5;
  }

  /* Ways to begin: tickets; the days and the price sit on a stub torn off along a dashed line */
  .ssw-page--phone .ssw-offers {
    gap: 2rem;
  }
  .ssw-page--phone .ssw-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.8rem;
    grid-template-rows: repeat(4, auto);
    gap: 0.8rem 0;
    padding: 0;
    border: 1px solid #9fe3e7;
    border-radius: 1.8rem;
    background: #ffffff;
    box-shadow: 0 2.4rem 4.4rem -3.6rem rgba(14, 42, 56, 0.5);
  }
  .ssw-page--phone .ssw-offer > :not(.ssw-offer__stub) {
    grid-column: 1;
    padding-right: 1.6rem;
    padding-left: 1.8rem;
  }
  .ssw-page--phone .ssw-offer > .ssw-offer__kicker {
    padding-top: 1.8rem;
  }
  .ssw-page--phone .ssw-offer__name {
    font-size: var(--fs-title);
    line-height: 1.35;
  }
  .ssw-page--phone .ssw-offer__facts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  .ssw-page--phone .ssw-offer__facts > div {
    display: block;
    padding: 0;
    border: 0;
    font-size: var(--fs-small);
    line-height: 1.5;
    color: #3e5662;
  }
  .ssw-page--phone .ssw-offer__facts dt,
  .ssw-page--phone .ssw-offer__facts dd {
    display: inline;
    width: auto;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
  }
  .ssw-page--phone .ssw-offer__facts dt {
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
  }
  .ssw-page--phone .ssw-offer__facts dt::after {
    content: ": ";
  }
  html[lang=ja] .ssw-page--phone .ssw-offer__facts dt::after {
    content: "：";
  }
  .ssw-page--phone .ssw-offer__facts dd {
    color: inherit;
  }
  /* The deliverable reads as the ticket's text; the conditions and the next step as "Label: value" lines */
  .ssw-page--phone .ssw-offer__facts .ssw-offer__row--time,
  .ssw-page--phone .ssw-offer__facts .ssw-offer__row--price,
  .ssw-page--phone .ssw-offer__facts .ssw-offer__row--deliver dt {
    display: none;
  }
  .ssw-page--phone .ssw-offer__facts .ssw-offer__row--deliver dd {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--ssw-navy);
  }
  .ssw-page--phone .ssw-offer__facts > .ssw-offer__row--next {
    margin-top: 0.4rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--ssw-line);
  }
  .ssw-page--phone .ssw-offer__row--next dt {
    color: var(--ssw-teal-text);
  }
  .ssw-page--phone .ssw-offer > .ssw-offer__actions {
    margin: 0.6rem 0 0;
    padding-top: 0;
    padding-bottom: 1.8rem;
  }
  .ssw-page--phone .ssw-offer__actions a {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-right: 2rem;
    padding-left: 2rem;
  }
  .ssw-offer__stub {
    position: relative;
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.6rem 0.6rem;
    border-left: 2px dashed var(--ssw-yellow-line);
    border-radius: 0 1.7rem 1.7rem 0;
    background: #fffaeb;
    text-align: center;
  }
  /* The half circles cut into the ticket where the tear line meets its edges */
  .ssw-offer__stub::before,
  .ssw-offer__stub::after {
    content: "";
    position: absolute;
    left: -1rem;
    width: 1.8rem;
    height: 1rem;
    border: 1px solid #9fe3e7;
    background: #f8fcfd;
  }
  .ssw-offer__stub::before {
    top: -1px;
    border-top: 0;
    border-radius: 0 0 0.9rem 0.9rem;
  }
  .ssw-offer__stub::after {
    bottom: -1px;
    border-bottom: 0;
    border-radius: 0.9rem 0.9rem 0 0;
  }
  .ssw-page .ssw-offer__stub strong {
    font-size: var(--fs-figure);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .ssw-offer__stub span {
    font-size: var(--fs-label);
    font-weight: 700;
    line-height: 1.35;
    color: #7a5c00;
  }
  .ssw-offer__stub span::after {
    content: "";
    display: block;
    width: 3.2rem;
    height: 1px;
    margin: 0.8rem auto 0.6rem;
    background: var(--ssw-yellow-line);
  }
  .ssw-offer__stub em {
    padding: 0.2rem 1rem;
    border-radius: 999px;
    background: var(--ssw-yellow);
    font-size: var(--fs-label);
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--ssw-navy);
    /* A price longer than the stub ("GIÁ CỐ ĐỊNH") wraps inside it instead of running out of the ticket */
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .ssw-offer__stub {
    min-width: 0;
  }
  /* "MIỄN PHÍ" in capitals is wider than the stub */
  html[lang=vi] .ssw-offer__stub em {
    padding: 0.2rem 0.8rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }
}

/* ---------- The Software page's own sections on phones, in the column the rest of the page uses: the banner's starter
   offer, and the starter step's chip on the delivery line. ---------- */
@media (max-width: 767px) {
  .ssw-page--funnel section[id] {
    scroll-margin-top: 7.2rem;
  }
  .ssw-hero__offer {
    align-self: stretch;
    margin-top: 1.2rem;
    padding: 1.4rem 1.6rem 1.6rem;
  }
  .ssw-page .ssw-hero__deal strong {
    flex-basis: 100%;
    font-size: var(--fs-body);
  }
  .ssw-hero__deliver {
    font-size: var(--fs-small);
  }

  /* How we work */
  .ssw-step__chip {
    margin: -0.2rem 0 0.2rem;
  }
  .ssw-step--offer .ssw-step__node {
    background: var(--ssw-yellow);
    box-shadow: 0 0 0 3px rgba(254, 221, 89, 0.45);
  }
}

/* Banner: the line that sets the service against its sibling, under the promise */
.ssw-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 */
.ssw-hero__vs a {
  font-weight: 700;
  color: #00c2cb;
  text-decoration: none;
  transition: color 0.2s;
}
.ssw-hero__vs a:hover,
.ssw-hero__vs a:focus-visible {
  color: #0e2a38;
}
/* Three ways to begin side by side on wide screens */
.ssw-offers--3 .ssw-offer {
  flex-basis: 30rem;
}
/* Below 1200px three offers side by side leave no room for a label column: each label sits over its value */
@media (min-width: 768px) and (max-width: 1199px) {
  .ssw-offers--3 .ssw-offer__facts > div {
    flex-direction: column;
    gap: 0.4rem;
  }
}
/* The trail stays below the corner of the header's logo, which reaches furthest at these widths */
@media (min-width: 1367px) and (max-width: 1480px) {
  .container.ssw-hero__inner {
    padding-top: 19.6rem;
  }
}
