/* How We Work page (Views/Home/HowWeWork.cshtml, redesigned 25/11/2026 from the user's mockup): the banner, three ways to work
   with DESOL, our engineering approach, quality & security, responsible AI, engagement terms and the FAQ. Behaviour (kicker
   reveal, the tabs) in wwwroot/js/kicker-reveal.js and how-we-work.js. */
body {
  background-image: none;
  background-color: #ffffff;
}
.how-page {
  --how-section-space: 7.2rem;
  --how-head-space: 3.2rem;
  --how-cyan: #00c2cb;
  --how-teal-text: #0e2a38;
  --how-navy: #0e2a38;
  --how-text: #3e5662;
  --how-muted: #5a7380;
  --how-line: #d4eff1;
  --how-tint: #f0fbfc;
  --how-chip-line: #b9e6e9;
  --how-yellow: #fedd59;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--how-text);
}
/* Like the other redesigned pages, this page runs 4.8rem wider than the rest of the site */
@media (min-width: 1200px) {
  .how-page .container {
    max-width: 118.8rem;
    padding: 0 1rem;
  }
}
/* Lines break as in the design, not balanced or "pretty" (main.css sets both site-wide); section titles and the longer
   Vietnamese and Japanese page titles stay balanced so no word is left alone on the last line */
.how-page > section :is(h1, h2, p, li) {
  text-wrap: wrap;
}
.how-page > section h2,
html:not([lang=en]) .how-page > section h1 {
  text-wrap: balance;
}
.how-page .section-kicker {
  margin: 0;
  line-height: 1.55;
}
.how-page .section-kicker__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.how-page .sec-head {
  gap: 1.6rem;
  max-width: 80rem;
  margin-bottom: var(--how-head-space);
}
.how-page > .sec {
  padding-top: var(--how-section-space);
  padding-bottom: var(--how-section-space);
}
.how-page .sec-lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.how-page strong {
  font-weight: 700;
  line-height: 1.55;
  color: var(--how-navy);
}

/* Wires: a flowing line with an arrowhead at the end it runs to (.flow-rev: at its start); deep teal for the AI parts */
.how-page .wire-head::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
.how-page .flow-x.wire-head::after {
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.how-page .flow-x.flow-rev.wire-head::after {
  right: auto;
  left: -7px;
  border-left: 0;
  border-right: 9px solid currentColor;
}
.how-page .flow-y.wire-head::after {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 9px solid currentColor;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
.how-page .flow-y.flow-rev.wire-head::after {
  top: -7px;
  bottom: auto;
  border-top: 0;
  border-bottom: 9px solid currentColor;
}

/* Shared pieces: a technology logo chip (tags are the site's .tag, main.css) */
.how-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem 0.6rem 0.6rem;
  border: 1px solid #e0eef1;
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.55;
  color: var(--how-navy);
}
.how-logo img {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

/* ---------- Banner: the promise, then the delivery line ---------- */
.how-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: radial-gradient(ellipse 45% 50% at 50% 30%, rgba(0, 194, 203, 0.14), transparent 70%), linear-gradient(180deg, #f3fbfc 0%, #ffffff 80%);
}
.how-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 194, 203, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 194, 203, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 55% at 50% 30%, #000 20%, transparent 75%);
}
.container.how-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  /* The trail at the height it has on the other inner pages; the banner ends as the sections do (9.6rem) */
  padding-top: 17.6rem;
  padding-bottom: 9.6rem;
  text-align: center;
}
.how-hero .breadcrumb {
  align-self: flex-start;
  margin: 0;
}
.how-hero__title {
  max-width: 86rem;
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--how-navy);
}
.how-hero__title em {
  font-style: normal;
  color: #0e2a38;
}
.how-hero__text {
  max-width: 70rem;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
}

html[lang=ja] .how-hero__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .container.how-hero__inner {
    padding-top: 13.6rem;
  }
}

/* ---------- Phone: a design of its own (canvas "Mobile · How We Work"), with the desktop's texts and colours ---------- */
@media (max-width: 767px) {
  .how-page {
    --how-section-space: 4.8rem;
    --how-head-space: 2.4rem;
  }
  /* The banner ends as the sections do (4.8rem) */
  .container.how-hero__inner {
    gap: 1.8rem;
    padding-top: 11.2rem;
    padding-bottom: 4.8rem;
  }
  /* Titles at the phone Home's sizes (main.css) */
  .how-hero__title,
  html[lang=ja] .how-hero__title {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    letter-spacing: -0.06rem;
  }
  .how-hero__text,
  .how-page .sec-lead {
    font-size: var(--fs-body);
  }
  /* Sections and their heads in the phone Home's rhythm (home.css), so the page stays short */
  .how-page > .sec {
    padding: 4.4rem 0 var(--how-section-space);
  }
  .how-page .sec-head {
    gap: 1.2rem;
    margin-bottom: 2.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.how-hero__inner {
    padding-top: 20rem;
  }
}

.how-page {
  --how-ink: #00737a;
  --how-deep-teal: #00838c;
  --how-tile: #e6f9fa;
  --how-y: #fedd59;
  --how-y-line: #f2c230;
  --how-y-bg: #fffaea;
  --how-y-ink: #7a5c00;
}
@media (min-width: 768px) {
  .how-page {
    --how-section-space: 9.6rem;
    --how-head-space: 4.8rem;
  }
}

/* ---------- Three ways to work with DESOL: a card per service line, its name over its tagline, what it is, who it suits,
   and the button to its page ---------- */
.how-ways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}
.how-way {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.8rem 2.6rem;
  border: 1px solid var(--how-line);
  border-top: 4px solid var(--how-cyan);
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 2.4rem 4.8rem -3.6rem rgba(14, 42, 56, 0.45);
}
.how-way .card-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.how-way__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.3rem;
  background: var(--how-cyan);
  color: #ffffff;
}
.how-way__head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.how-way__tag {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a9ca6;
}
.how-way__name {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.3;
  color: var(--how-navy);
}
.how-way__text {
  margin: 0;
  line-height: 1.6;
}
/* Who the way suits: a small label over a line, at the foot of the card above its link */
.how-way__fit {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: auto 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px dashed var(--how-line);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-navy);
}
.how-way__fit-label {
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7380;
}
html[lang=ja] .how-way__fit-label {
  letter-spacing: 0.02em;
}
/* The way to the line's page: a white pill with a cyan line (main.css, .btn-pill--line; yellow is the contact's), as wide
   as the card so the three line up */
.how-way__more {
  width: 100%;
}
.how-way__more svg {
  transition: transform 0.2s ease;
}
.how-way__more:hover svg,
.how-way__more:focus-visible svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .how-ways__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
}
@media (max-width: 767px) {
  .how-way {
    padding: 2rem 1.8rem;
    border-radius: 1.6rem;
  }

}

/* =====================================================================================================================
   Sections after Three ways (redesigned 25/11/2026 from the user's mockup): Our engineering approach (principles, the
   stack explorer, how we choose technology), Quality & security in practice, Responsible AI in practice, Transparent
   engagement terms (the lines as tabs down the left) and the FAQ with the consultation card. Brand colours only: cyan
   #00c2cb for DESOL, yellow for the client's side and the contact call to action, navy text.
   ===================================================================================================================== */

/* ---------- Shared: an icon tile, a solid badge, tabs over one panel ---------- */
.how-tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: var(--how-tile);
  color: #00a3ab;
}
.how-badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: var(--how-cyan);
  color: #ffffff;
}
.how-tabs__panel[hidden] {
  display: none;
}
.how-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.8rem;
  margin: 0;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--how-line);
  border-radius: 999px;
  background: #ffffff;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--how-text);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.how-tabs__tab:hover {
  border-color: var(--how-cyan);
  color: var(--how-navy);
}
.how-tabs__tab[aria-selected="true"] {
  border-color: var(--how-cyan);
  background: var(--how-cyan);
  color: #ffffff;
}
.how-tabs__tab:focus-visible,
.how-terms__tab:focus-visible {
  outline: 2px solid var(--how-navy);
  outline-offset: 2px;
}
/* A white card of the page */
.how-pillar,
.how-stack,
.how-pick,
.how-qs__card,
.how-aiflow__step,
.how-ai__card,
.how-terms__panel {
  box-sizing: border-box;
  border: 1px solid var(--how-line);
  background: #ffffff;
}

/* ---------- Our engineering approach ---------- */
.how-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.how-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: 1.6rem;
  color: var(--how-navy);
  text-decoration: none;
  box-shadow: 0 1.6rem 3.2rem -2.6rem rgba(14, 42, 56, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.how-pillar:hover,
.how-pillar:focus-visible {
  border-color: var(--how-cyan);
  transform: translateY(-2px);
}
.how-pillar:focus-visible {
  outline: 2px solid var(--how-navy);
  outline-offset: 2px;
}
.how-pillar__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.how-pillar__text strong {
  font-size: var(--fs-body);
  font-weight: 800;
}
.how-pillar__text span {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-text);
}
/* Choosing the right technology */
.how-tech {
  margin-top: 5.6rem;
  scroll-margin-top: 8rem;
}
.how-sub {
  margin: 0 0 0.6rem;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--how-navy);
}
.how-sub__text {
  margin: 0 0 2.4rem;
  line-height: 1.6;
  color: var(--how-text);
}
.how-sub--small {
  margin: 4rem 0 1.6rem;
  font-size: var(--fs-title);
  font-weight: 800;
}
.how-stack {
  padding: 2.4rem 2.8rem 2.8rem;
  border-radius: 2rem;
  box-shadow: 0 2.4rem 4.8rem -4rem rgba(14, 42, 56, 0.45);
}
.how-stack__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.how-stack__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--how-navy);
}
.how-stack__title svg {
  color: #00a3ab;
}
.how-stack__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.how-stack__panel {
  display: grid;
  grid-template-columns: 26rem minmax(0, 1fr);
  align-items: center;
  gap: 2.8rem;
}
.how-stack__about {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-right: 2.8rem;
  border-right: 2px solid var(--how-cyan);
}
.how-stack__about strong {
  font-size: var(--fs-body);
  font-weight: 800;
  color: var(--how-navy);
}
.how-stack__about span {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--how-text);
}
.how-stack__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-tool {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 13rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--how-line);
  border-radius: 1.2rem;
  background: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--how-navy);
  box-shadow: 0 1rem 2rem -1.8rem rgba(14, 42, 56, 0.5);
}
.how-tool img {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
}
/* How we choose technology */
.how-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-pick {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.8rem 2rem;
  border-radius: 1.4rem;
}
.how-pick__icon {
  display: flex;
  flex: none;
  color: #00a3ab;
}
.how-pick__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.how-pick__text strong {
  font-size: var(--fs-body);
  font-weight: 800;
  color: var(--how-navy);
}
.how-pick__text span {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-text);
}

/* ---------- Quality & security in practice ---------- */
.how-qs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}
.how-qs__card {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2.8rem 3.2rem;
  border-radius: 2rem;
  box-shadow: 0 2.4rem 4.8rem -4rem rgba(14, 42, 56, 0.45);
  scroll-margin-top: 10rem;
}
.how-qs__head {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}
.how-qs__head > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.how-qs__name {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--how-navy);
}
.how-qs__text {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--how-text);
}
.how-dots {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px dashed var(--how-line);
  list-style: none;
}
.how-dots li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-navy);
}
.how-dots li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0.2rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--how-cyan);
}

/* ---------- Responsible AI in practice ---------- */
.how-aiflow {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-aiflow__step {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 2.2rem 1.6rem;
  border-radius: 1.6rem;
  text-align: center;
  box-shadow: 0 1.6rem 3.2rem -2.8rem rgba(14, 42, 56, 0.45);
}
.how-aiflow__step--human {
  border: 1.5px solid var(--how-cyan);
}
.how-aiflow__icon {
  display: flex;
  margin-bottom: 0.4rem;
  color: #00a3ab;
}
.how-aiflow__step strong {
  font-size: var(--fs-body);
  font-weight: 800;
  color: var(--how-navy);
}
.how-aiflow__step span:last-child {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-muted);
}
.how-aiflow__arrow {
  display: flex;
  flex: none;
  align-items: center;
  padding: 0 1.2rem;
  color: var(--how-cyan);
}
.how-ai__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.2rem;
}
.how-ai__card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem;
  border-radius: 1.6rem;
}
.how-ai__name {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-body);
  font-weight: 800;
  color: var(--how-navy);
}
.how-ai__name svg {
  flex: none;
  color: #00a3ab;
}
.how-ai__card p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--how-text);
}
/* Our commitments: yellow, the client's side */
.how-ai__card--promise {
  border-color: #f2d572;
  background: #fffaeb;
}
.how-ai__card--promise .how-ai__name svg {
  color: #b38600;
}
.how-checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--how-navy);
}
.how-checks svg {
  flex: none;
  margin-top: 0.3rem;
  color: #00a3ab;
}

/* ---------- Transparent engagement terms: the lines as tabs down the left, the picked one's terms on the right ---------- */
.how-terms__box {
  display: grid;
  grid-template-columns: 28rem minmax(0, 1fr);
  align-items: start;
  gap: 2.4rem;
}
.how-terms__tabs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.how-terms__tab {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  margin: 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--how-line);
  border-radius: 1.4rem;
  background: #ffffff;
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--how-navy);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.how-terms__tab svg {
  flex: none;
  color: #00a3ab;
}
.how-terms__tab:hover {
  border-color: var(--how-cyan);
}
.how-terms__tab[aria-selected="true"] {
  border-color: var(--how-cyan);
  background: var(--how-cyan);
  color: #ffffff;
}
.how-terms__tab[aria-selected="true"] svg {
  color: #ffffff;
}
.how-terms__panel {
  padding: 2.8rem 3.2rem;
  border-radius: 2rem;
  box-shadow: 0 2.4rem 4.8rem -4rem rgba(14, 42, 56, 0.45);
}
.how-terms__head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.how-terms__head > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.how-terms__head strong {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--how-navy);
}
.how-terms__head span span {
  font-size: var(--fs-small);
  color: var(--how-text);
}
.how-terms__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-terms__list li {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0 2rem;
  border-left: 1px solid var(--how-line);
}
.how-terms__list li:first-child {
  padding-left: 0;
  border-left: 0;
}
.how-terms__list strong {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--how-navy);
}
.how-terms__list strong svg {
  flex: none;
  color: #00a3ab;
}
.how-terms__list span {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--how-text);
}

/* ---------- Tablets ---------- */
@media (max-width: 1199px) {
  .how-pillars,
  .how-picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-stack__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .how-stack__about {
    padding: 0 0 0 1.6rem;
    border-right: 0;
    border-left: 2px solid var(--how-cyan);
  }
  .how-terms__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 0;
  }
  .how-terms__list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 1023px) {
  .how-qs__grid,
  .how-ai__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-terms__box {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-terms__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .how-terms__tab {
    width: auto;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    font-size: var(--fs-small);
  }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .how-pillars,
  .how-picks {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .how-pillar {
    padding: 1.6rem;
  }
  .how-tech {
    margin-top: 4rem;
  }
  .how-stack {
    padding: 2rem 1.6rem;
  }
  .how-tool {
    min-width: 0;
    padding: 1rem 1.4rem;
  }
  .how-qs__card,
  .how-terms__panel {
    padding: 2.2rem 1.8rem;
  }
  .how-aiflow {
    flex-direction: column;
  }
  .how-aiflow__arrow {
    justify-content: center;
    padding: 0.8rem 0;
  }
  .how-aiflow__arrow svg {
    transform: rotate(90deg);
  }
  .how-terms__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .how-terms__list li {
    padding: 0;
    border-left: 0;
  }
}
