/* Source tools are context, not a customer-logo wall or a promise of writeback. */
.platform-brand {display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; color: #353630; font-size: 13px; line-height: 1.35; font-weight: 500;}
.platform-brand img {display: block; width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain;}
.platform-brand > span {min-width: 0; overflow-wrap: anywhere;}
.platform-brand small {display: block; margin-top: 3px; color: #77756d; font-size: 11px; font-weight: 400;}
.case-platform-strip {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; max-width: 850px; margin: 38px auto 0; padding-top: 25px; border-top: 1px solid #e8e6df; text-align: left;}
.case-platform-strip .platform-brand {min-height: 42px; gap: 11px;}
.case-platform-strip .platform-brand > span {font-size: 14px;}
.case-platform-work.case-story {padding-top: 24px; padding-bottom: 56px;}
.platform-work-heading {display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; margin-bottom: 30px;}
.platform-work-heading h2 {margin: 10px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance;}
.platform-work-heading > p {font-size: 16px; line-height: 1.6; color: #6d6b63; margin: 0; max-width: 480px;}
.platform-workflow-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px;}
.platform-workflow {min-width: 0; border: 1px solid #e5e4dc; border-radius: 20px; overflow: hidden; background: #fff; display: grid; grid-template-rows: subgrid; grid-row: span 2;}
.platform-workflow > header {padding: 26px 28px 24px; background: #f6f7f1; border-bottom: 1px solid #e7e8de;}
.platform-workflow:nth-child(even) > header {background: #f7f3ef; border-color: #eae3dc;}
.platform-workflow-brands {display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; min-height: 32px; margin-bottom: 22px;}
.platform-workflow h3 {margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; max-width: 430px;}
.platform-workflow-steps {display: grid; grid-template-rows: repeat(3, 1fr); list-style: none; padding: 0; margin: 0;}
.platform-workflow-steps li {display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 15px; margin: 0 28px; padding: 23px 0; border-bottom: 1px solid #efeee8;}
.platform-workflow-steps li:last-child {border-bottom: 0;}
.platform-step-index {font-size: 11px; line-height: 20px; color: #88877f; font-variant-numeric: tabular-nums;}
.platform-workflow h4 {margin: 0 0 7px; font-size: 13px; font-weight: 500; line-height: 1.5; color: #77756d;}
.platform-workflow-steps p {margin: 0; font-size: 16px; line-height: 1.55; color: #383a33; overflow-wrap: anywhere;}
.platform-workflow-action h4, .platform-workflow-action .platform-step-index {color: #985452;}
.platform-workflow-output h4, .platform-workflow-output .platform-step-index {color: #626b36;}
.use-case-platforms {display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 0 28px 22px;}
.use-case-platforms .platform-brand {gap: 7px; font-size: 12px;}
.use-case-platforms .platform-brand img {width: 24px; height: 24px; flex-basis: 24px;}
.platform-brand.platform-brand--wordmark {position: relative; gap: 0;}
.platform-brand.platform-brand--wordmark img {width: 96px; height: auto; flex: 0 0 96px;}
.platform-brand--wordmark .platform-brand-name {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.platform-brand--wordmark.platform-brand--with-mode {flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;}
.platform-brand--wordmark.platform-brand--with-mode img {flex: none;}
.platform-brand.platform-brand--cloud img {width: 48px; height: auto; flex: 0 0 48px;}
.use-case-card .directory-body > p {margin-bottom: 20px;}
.use-case-toolbar {display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0 18px;}
.use-case-toolbar .use-case-count {margin: 0;}
.use-case-search {display: block; position: relative; width: min(100%, 360px);}
.use-case-search-label {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.use-case-search input {display: block; box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #deded4; border-radius: 10px; background: #fff; padding: 12px 14px; min-height: 46px; color: #24251f; font: inherit; font-size: 14px;}
.use-case-search input::placeholder {color: #7a7971; opacity: 1;}
.use-case-search input:focus-visible, .use-case-empty button:focus-visible {outline: 2px solid #797b42; outline-offset: 3px;}
.use-case-empty {padding: 48px 24px; background: #f8f8f4; border: 1px solid #e5e4dc; border-radius: 16px; text-align: center;}
.use-case-empty h3 {font-size: 22px; font-weight: 500; margin: 0 0 12px;}
.use-case-empty p {color: #77756d; margin: 0 0 24px; font-size: 15px; line-height: 1.5;}
.use-case-empty button {font: inherit; font-size: 14px; color: #fff; background: #24251f; border: 0; border-radius: 24px; min-height: 44px; padding: 12px 20px; cursor: pointer;}
.use-case-search[hidden], .use-case-empty[hidden] {display: none;}
.use-case-source-note {max-width: 710px; margin: 24px 0 0; color: #77756d; font-size: 13px; line-height: 1.6;}
@media (max-width: 800px) {
  .platform-work-heading {grid-template-columns: 1fr; gap: 18px;}
  .platform-work-heading > p {max-width: 620px;}
  .platform-workflow-grid {column-gap: 18px;}
  .platform-workflow > header {padding: 22px;}
  .platform-workflow-steps li {margin-inline: 22px; gap: 10px;}
  .platform-workflow h3 {font-size: 24px;}
  .platform-workflow-steps p {font-size: 15px;}
}
@media (max-width: 600px) {
  .case-platform-strip {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px 20px; margin-top: 28px; padding-top: 22px;}
  .case-platform-strip .platform-brand {display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 40px auto; align-items: center; justify-content: start; gap: 5px 8px; min-height: 0;}
  .case-platform-strip .platform-brand > span {display: contents;}
  .case-platform-strip .platform-brand-name {grid-column: 2; grid-row: 1; font-size: 14px; line-height: 1.35; overflow-wrap: normal;}
  .case-platform-strip .platform-brand small {grid-column: 1 / -1; grid-row: 2; margin: 0; line-height: 1.4;}
  .case-platform-strip .platform-brand img {grid-column: 1; grid-row: 1; width: 28px; height: 28px;}
  .case-platform-strip .platform-brand--cloud img {width: 48px; height: auto; max-height: 36px;}
  .case-platform-strip .platform-brand--wordmark img {grid-column: 1 / -1; width: 112px; max-width: 100%; height: 28px; object-position: left center;}
  .platform-workflow-brands .platform-brand--wordmark img, .use-case-platforms .platform-brand--wordmark img {width: 96px; height: 28px; object-position: left center;}
  .case-platform-work.case-story {padding-top: 12px; padding-bottom: 36px;}
  .platform-workflow-grid {grid-template-columns: 1fr; row-gap: 18px;}
  .platform-workflow {display: flex; flex-direction: column; grid-row: auto;}
  .platform-workflow-steps {display: block;}
  .platform-workflow-brands {margin-bottom: 18px;}
  .platform-workflow-steps li {padding: 20px 0;}
  .platform-workflow-steps p {font-size: 16px;}
  .use-case-toolbar {flex-direction: column-reverse; align-items: stretch; gap: 16px;}
  .use-case-search {width: 100%;}
  .use-case-platforms {padding-inline: 22px;}
  .use-case-card .directory-body {padding-bottom: 0;}
  .use-case-intro .tlink {white-space: normal;}
}
