/**
 * Solutions pages (Figma "Solutions Page / Mobile", confirmed template). The
 * mobile values are the design's; desktop (992px and up) follows the sections
 * the site already has: a centred column, 120px section padding, 48px
 * headings. Text sizes come from the site's texta-* classes.
 */
.sol-page {
  --sol-ink: #0f172a;
  --sol-line: rgba(15, 23, 42, 0.1);
  --sol-border: #cbd5e1;
  --sol-muted: #64748b;
  color: var(--sol-ink);
}

/** Hero: title, text, buttons, the AI team at the bottom. The fixed header sits on top of it. */
.sol-hero {
  background-image: linear-gradient(180deg, #f8fafc, #cbd5e1);
  overflow: hidden;
}

.sol-hero_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 50rem;
  margin: 0 auto;
  padding: 10rem 2.5rem 1rem;
  text-align: center;
}

.sol-hero_intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sol-hero_title {
  margin: 0;
  line-height: 1.2;
}

.sol-hero_text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sol-hero_text p,
.sol-hero_strong,
.sol-hero_note {
  margin: 0;
  line-height: 1.5;
}

.sol-hero_buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.sol-hero_note {
  padding: 0 1.5rem;
  opacity: 0.8;
}

/** The AI team: twelve cut-outs on a 634 × 109 strip, positions from the design, scaled by --k. */
.sol-crowd {
  --k: 1.6;
  display: flex;
  justify-content: center;
}

.sol-crowd_strip {
  position: relative;
  flex: none;
  width: calc(634px * var(--k));
  height: calc(109px * var(--k));
  overflow: hidden;
}

.sol-crowd_item {
  position: absolute;
  left: calc(var(--x) * var(--k) * 1px);
  top: calc(var(--y) * var(--k) * 1px);
  width: calc(var(--w) * var(--k) * 1px);
  height: calc(var(--h) * var(--k) * 1px);
  overflow: hidden;
}

.sol-crowd_item.is-flipped {
  transform: scaleX(-1);
}

.sol-crowd_image {
  position: absolute;
  max-width: none;
}

.sol-crowd_image.is-cover {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

/** Sections. */
.sol-section {
  background-color: #fff;
}

/** Two white sections in a row get a hairline between them, as in the design. */
.sol-section.is-white + .sol-section.is-white:not(.is-continued) {
  border-top: 1px solid var(--sol-line);
}

.sol-section.is-grey {
  background-color: #e9eef3;
}

.sol-section.is-light {
  background-color: #f0f3f7;
}

.sol-section.is-dark {
  background-image: linear-gradient(180deg, #0f172a 49.831%, #100c52), linear-gradient(#100223, #100223);
  color: #fff;
}

.sol-section.is-pricing-white {
  background-color: #fff;
  background-image: linear-gradient(180deg, #e0e7ff, rgba(255, 255, 255, 0));
  background-repeat: no-repeat;
  background-size: 100% 30.8rem;
}

.sol-section.is-pricing {
  background-color: #e9eef3;
  background-image: linear-gradient(180deg, #e0e7ff, rgba(226, 232, 240, 0));
  background-repeat: no-repeat;
  background-size: 100% 30.8rem;
}

.sol-section_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7.5rem 2.5rem;
}

.sol-section_wrap > * {
  width: 100%;
  max-width: 45rem;
}

.sol-section_wrap > .sol-metrics {
  max-width: 65rem;
}

.sol-section_wrap > .sol-table,
.sol-step_body > .sol-table {
  max-width: none;
}

.sol-section.is-dark .sol-section_wrap {
  padding-bottom: 6rem;
}

.sol-section.is-continued .sol-section_wrap {
  padding-top: 0;
}

.sol-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sol-section.is-center .sol-heading {
  align-items: center;
  text-align: center;
}

.sol-heading_eyebrow {
  margin: 0;
  font-weight: 550;
  line-height: 1.5;
  opacity: 0.6;
}

.sol-heading_title {
  margin: 0;
  line-height: 1.2;
}

.sol-accent.is-green {
  color: #16a34a;
}

.sol-accent.is-red {
  color: #ef4444;
}

.sol-accent.is-blue {
  color: #1e40af;
}

.sol-text {
  margin: 0;
  line-height: 1.5;
}

.sol-text.is-center {
  text-align: center;
}

.sol-text a,
.sol-strong a,
.sol-note a,
.sol-quote_text a,
.sol-quote_name,
.sol-bullet a,
.sol-checks_text a,
.sol-card_text a {
  color: inherit;
  text-decoration: underline;
}

/** Bold runs are 550 in the design (600 in the cards and panels), not the browser's 700. */
.sol-hero_text strong,
.sol-hero_point strong,
.sol-text strong,
.sol-quote_text strong,
.sol-bullet strong,
.sol-note strong {
  font-weight: 550;
}

.sol-card_text strong {
  font-weight: 600;
}

.sol-accent.is-muted {
  color: #64748b;
}

.sol-section.is-dark .sol-text,
.sol-section.is-dark .sol-quote_text {
  color: #cbd5e1;
}

.sol-strong {
  margin: 0;
  font-weight: 550;
  line-height: 1.3;
}

.sol-strong.is-center {
  text-align: center;
}

.sol-subheading {
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.sol-note {
  margin: 0;
  line-height: 1.5;
}

.sol-note.is-14 {
  color: var(--sol-muted);
}

/** Visual above the heading: the Brain AI brain, tilted as in the design. */
.sol-visual_brain {
  display: block;
  width: 7.375rem;
  height: auto;
  transform: rotate(-6.62deg);
}

/** Customer quote: the indigo line, then the text; the company name is underlined. */
.sol-quote {
  display: flex;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.sol-quote::before {
  content: "";
  flex: none;
  width: 3px;
  margin: 4px 0;
  border-radius: 3px;
  background-color: #6366f1;
}

.sol-quote_body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sol-quote_text {
  margin: 0;
  line-height: 1.5;
}

.sol-quote.is-medium .sol-quote_text {
  font-weight: 500;
  line-height: 1.4;
}

/** Arrow links. */
.sol-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sol-link {
  align-self: flex-start;
  color: inherit;
  line-height: 1.5;
  text-decoration: none;
}

.sol-link_arrow {
  white-space: pre;
}

.sol-link_label {
  text-decoration: underline;
}

/** Comparison cards. */
.sol-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sol-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--sol-border);
  border-radius: 1.5rem;
  background-color: #fff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08);
}

.sol-card.is-highlight {
  border-color: #0f172a;
  background-image: linear-gradient(180deg, rgba(224, 231, 255, 0), #e0e7ff), linear-gradient(#fff, #fff);
  box-shadow: inset 0 3px #fff, 0 2px #100c52;
}

.sol-card_title {
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.sol-card_text {
  margin: 0;
  line-height: 1.5;
}

/** The Yes / No panel. */
.sol-checks {
  padding: 0.5rem;
  border: 1px solid #16a34a;
  border-radius: 2rem;
  background-color: #d8f7e3;
  box-shadow: inset 0 -3px #16a34a;
}

.sol-checks.is-no {
  border-color: #ef4444;
  background-color: #fee2e2;
  box-shadow: inset 0 -3px #ef4444;
}

.sol-checks_inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background-image: linear-gradient(180deg, #fff 50%, #f2fff7);
  filter: drop-shadow(0 4px 4px rgba(15, 23, 42, 0.1));
}

.sol-checks.is-no .sol-checks_inner {
  padding: 1.5rem 1rem;
  background-image: linear-gradient(180deg, #fff 50%, #ffecec);
}

.sol-checks_row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sol-checks_row + .sol-checks_row {
  padding-top: 1rem;
  border-top: 1px solid var(--sol-line);
}

.sol-checks.is-no .sol-checks_row + .sol-checks_row {
  border-top-style: dashed;
}

.sol-checks_mark {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

.sol-checks_text {
  margin: 0;
  line-height: 1.5;
}

.sol-checks_text strong {
  font-weight: 600;
}

.sol-checks_body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sol-checks_title {
  margin: 0;
  font-weight: 550;
  line-height: 1.4;
}

/** Bullets: plain, or titled details. */
.sol-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sol-bullets.is-titled {
  gap: 1.5rem;
}

.sol-bullet {
  display: flex;
  gap: 0.625rem;
  margin: 0;
  padding-left: 0;
  line-height: 1.5;
}

.sol-bullets.is-titled .sol-bullet {
  gap: 0.5rem;
}

.sol-bullet::before {
  content: "•";
  flex: none;
  width: 0.75rem;
  color: #020617;
  line-height: 1.5rem;
}

.sol-bullet strong {
  font-weight: 550;
}

.sol-bullet_body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sol-bullet_title {
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.sol-bullet_text {
  margin: 0;
}

/** Metrics: 2 × 2 on phones, one row of four on desktop. */
.sol-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sol-metrics.is-boxed {
  border-top: 1px solid var(--sol-line);
}

.sol-metrics_item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-bottom: 1px solid var(--sol-line);
}

.sol-metrics_item + .sol-metrics_item {
  border-left: 1px solid var(--sol-line);
}

.sol-metrics_value {
  font-weight: 550;
  line-height: 1.3;
}

.sol-metrics_label {
  color: var(--sol-muted);
  line-height: 1.5;
}

.sol-band {
  background-color: #fff;
}

.sol-band_wrap {
  max-width: 65rem;
  margin: 0 auto;
  padding: 1rem 2.5rem;
}

/** Tables: the card scrolls sideways when it is wider than the screen. */
.sol-table {
  overflow-x: auto;
  scrollbar-width: none;
}

.sol-table::-webkit-scrollbar {
  display: none;
}

.sol-table_card {
  width: max-content;
  margin: 0 auto;
  padding: 0.75rem 0.5rem 0.625rem;
  border: 1px solid var(--sol-border);
  border-radius: 1.25rem;
  background-color: #f8fafc;
  box-shadow: inset 0 -3px rgba(0, 36, 123, 0.15);
}

.sol-table_grid {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.sol-table_head {
  padding: 0 1.5rem 0.75rem;
  color: var(--sol-muted);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
}

.sol-table_cell {
  position: relative;
  padding: 1rem 1.5rem;
  background-color: #fff;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.sol-table.is-medium .sol-table_cell {
  padding: 0.75rem 1.5rem;
}

.sol-table.is-compact .sol-table_head {
  padding: 0 1rem 0.75rem;
}

.sol-table.is-compact .sol-table_cell {
  padding: 0.75rem 1rem;
}

.sol-table_cell:first-child {
  font-weight: 550;
}

.sol-table_cell.is-middle {
  vertical-align: middle;
}

/** Rules between cells stop 12px short of the row edges; rules between rows stop 16px short of the table edges. */
.sol-table_cell + .sol-table_cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background-color: var(--sol-line);
}

.sol-table_row + .sol-table_row .sol-table_cell {
  background-image: linear-gradient(var(--sol-line), var(--sol-line));
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.sol-table_row + .sol-table_row .sol-table_cell:first-child {
  background-position: 1rem 0;
  background-size: calc(100% - 1rem) 1px;
}

.sol-table_row + .sol-table_row .sol-table_cell:last-child {
  background-size: calc(100% - 1rem) 1px;
}

.sol-table_row:first-child .sol-table_cell:first-child {
  border-top-left-radius: 0.75rem;
}

.sol-table_row:first-child .sol-table_cell:last-child {
  border-top-right-radius: 0.75rem;
}

.sol-table_row:last-child .sol-table_cell:first-child {
  border-bottom-left-radius: 0.75rem;
}

.sol-table_row:last-child .sol-table_cell:last-child {
  border-bottom-right-radius: 0.75rem;
}

.sol-table_cell a {
  color: inherit;
  text-decoration: underline;
}

.sol-table_employee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 550;
}

/** "Open top" avatar: coloured circle, portrait above its edge. Sizes from the design, as a share of the avatar (--s). */
.sol-avatar {
  --s: 2rem;
  display: block;
  position: relative;
  flex: none;
  width: var(--s);
  height: var(--s);
}

.sol-avatar.is-large {
  --s: 7rem;
}

.sol-avatar.is-team {
  --s: 2.2419rem;
}

.sol-avatar_circle {
  position: absolute;
  left: calc(var(--s) * 0.0044);
  top: calc(var(--s) * 0.0062);
  width: calc(var(--s) * 0.995);
  height: calc(var(--s) * 0.995);
  border: calc(var(--s) * 0.0451) solid #fff;
  border-radius: 50%;
  background-color: var(--avatar-color);
}

.sol-avatar_portrait {
  position: absolute;
  left: calc(var(--s) * -0.1231);
  top: calc(var(--s) * -0.2588);
  width: calc(var(--s) * 1.2452);
  height: calc(var(--s) * 1.2165);
  overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39.8472 38.9274' preserveAspectRatio='none'%3E%3Cpath d='M0 0H39.8472V24.4505H34.4714C34.4714 32.4459 27.9899 38.9274 19.9946 38.9274C11.9992 38.9274 5.51768 32.4459 5.51768 24.4505H0V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39.8472 38.9274' preserveAspectRatio='none'%3E%3Cpath d='M0 0H39.8472V24.4505H34.4714C34.4714 32.4459 27.9899 38.9274 19.9946 38.9274C11.9992 38.9274 5.51768 32.4459 5.51768 24.4505H0V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

/** The portrait's frame in the design, then the crop inside it. */
.sol-avatar_frame {
  position: absolute;
  left: calc(var(--s) * -0.2885);
  top: calc(var(--s) * -0.2213);
  width: calc(var(--s) * 1.7862);
  height: calc(var(--s) * 1.6132);
}

.sol-avatar_image {
  position: absolute;
  max-width: none;
}

/** Plan details accordion (native details/summary). */
.sol-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--sol-line);
  border-bottom: 1px solid var(--sol-line);
}

.sol-details_item {
  display: flex;
  flex-direction: column;
}

.sol-details_summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 0.5rem;
  cursor: pointer;
  list-style: none;
}

.sol-details_summary::-webkit-details-marker {
  display: none;
}

.sol-details_title {
  flex: 1;
  margin: 0;
  color: #020617;
  font-weight: 500;
  line-height: 1.3;
}

.sol-details_icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.sol-details_item[open] .sol-details_icon-bar {
  opacity: 0;
}

.sol-details_body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  color: #020617;
}

/** FAQ: the site's FAQ section with a label above the heading and the two buttons under the answers. */
.sol-faq_eyebrow {
  margin: 0 0 0.75rem;
  font-weight: 550;
  line-height: 1.5;
  opacity: 0.6;
}

.sol-faq_buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

@media screen and (max-width: 991px) {
  .sol-hero_wrap {
    gap: 2rem;
    padding: 5.75rem 1rem 0;
  }

  .sol-hero_buttons,
  .sol-faq_buttons {
    flex-direction: column;
  }

  .sol-crowd {
    --k: 1;
    margin-top: -1rem;
  }

  /** Without the note line the crowd still keeps the design's 16px under the buttons. */
  .sol-hero_wrap.no-note {
    padding-bottom: 2rem;
  }

  .sol-section_wrap {
    padding: 4rem 1rem;
  }

  .sol-section.is-dark .sol-section_wrap {
    padding-bottom: 2.5rem;
  }

  .sol-section_wrap > * {
    max-width: none;
  }

  .sol-cards {
    grid-template-columns: 1fr;
  }

  .sol-metrics {
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
  }

  .sol-metrics_item {
    padding: 1rem 1rem 1rem 0;
  }

  .sol-metrics_item:nth-child(2n) {
    padding: 1rem 0 1rem 1rem;
  }

  .sol-metrics_item:nth-child(2n + 1) {
    border-left: 0;
  }

  .sol-band_wrap {
    padding: 1rem;
  }

  /** Tables run to the right edge of the screen and scroll. */
  .sol-section_wrap > .sol-table {
    width: calc(100% + 1rem);
    margin-right: -1rem;
  }

  .sol-table_card {
    margin: 0 1rem 0 0;
  }
}

/** Hero value points (AI Agents page). */
.sol-hero_points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sol-hero_point {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.sol-hero_point-icon {
  display: flex;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
}

/** A full-width primary button inside a section. */
.sol-button {
  width: 100%;
}

/** Compact cards: the list of things people build. */
.sol-cards.is-compact {
  grid-template-columns: 1fr 1fr;
}

.sol-cards.is-compact .sol-card {
  gap: 0.5rem;
  padding: 1rem;
  border-color: rgba(2, 6, 23, 0.1);
  border-radius: 0.75rem;
  box-shadow: none;
}

.sol-cards.is-compact .sol-card_title {
  font-weight: 550;
  line-height: 1.4;
}

/** Numbered details: grey DM Mono number, title, then the item's blocks. */
.sol-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sol-steps.is-gap-32 {
  gap: 2rem;
}

.sol-steps.is-gap-40 {
  gap: 2.5rem;
}

.sol-steps.is-divided {
  padding: 2rem 0;
  border-top: 1px solid var(--sol-line);
  border-bottom: 1px solid var(--sol-line);
}

.sol-steps.is-divided.is-gap-40 {
  padding: 2.5rem 0;
}

.sol-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/** Accordion steps have 16px between title and body; plain numbered steps 8px. */
.sol-step[open] {
  gap: 1rem;
}

.sol-step_head {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.sol-step_head.is-toggle {
  padding-right: 0.5rem;
  cursor: pointer;
}

.sol-step_head::-webkit-details-marker {
  display: none;
}

.sol-step_title {
  flex: 1;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.sol-step_number {
  margin-right: 0.25em;
  color: #64748b;
  font-family: Dmmono, Arial, sans-serif;
  font-weight: 500;
}

.sol-step_body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sol-step[open] .sol-details_icon-bar {
  opacity: 0;
}

/** Team Chat illustration, 358 × 382 in the design. */
.sol-teamchat {
  position: relative;
  height: 23.875rem;
  overflow: hidden;
  border-radius: 2rem;
  background-color: #ff9470;
  color: #020617;
}

.sol-teamchat_weave {
  position: absolute;
  inset: -2.09% -5.59%;
  width: 111.18%;
  max-width: none;
  height: 104.18%;
  object-fit: cover;
}

.sol-teamchat_flow {
  position: absolute;
  left: 50%;
  top: calc(50% + 0.37px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.sol-teamchat_pill {
  padding: 5px 12px;
  border-radius: 200px;
  background-color: #fff;
  box-shadow: 0 1.794px 1.794px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 14.348px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.sol-teamchat_pill.is-leader {
  padding: 10.761px 21.523px;
  background-color: #000;
  color: #fff;
}

.sol-teamchat_line {
  width: 1.345px;
  height: 28.697px;
  background-color: #6c5e59;
}

.sol-teamchat_fork {
  display: block;
  width: 183.88px;
  height: 37.44px;
  max-width: none;
}

.sol-teamchat_team {
  display: flex;
  gap: 7.174px;
  width: 278px;
  margin-top: 14.348px;
}

.sol-teamchat_card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 7.174px;
  padding: 14.348px 14.348px 10.761px;
  border-radius: 14.348px;
  background-color: #fff;
  box-shadow: 0 1.794px 1.794px rgba(15, 23, 42, 0.08);
  font-size: 12.555px;
  line-height: 1.5;
  text-align: center;
}

.sol-teamchat_name {
  font-weight: 500;
}

.sol-teamchat_role {
  color: #64748b;
}

.sol-teamchat_answer {
  margin-top: 14.348px;
  font-size: 14.348px;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (max-width: 991px) {
  .sol-cards.is-compact {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
