/* Product — DeepWork, Figma 854:3770.
   Typography, buttons, navigation and form build on the shared product styles. */
.work-page { --work-panel: #f8f8f8; }
.work-hero { height: auto; padding-bottom: 200px; }
.work-hero h1 { font-size: 60px; font-weight: 500; line-height: 1.2; letter-spacing: -1.2px; }
.work-kicker { gap: 8px; }
.work-kicker img { width: 27px; height: 27px; }
.work-product-name { gap: 12px; }
.work-product-name img { width: 37.158px; height: 37.158px; }
.work-challenges .section-title { letter-spacing: -2.4px; }
.work-overview-screen { aspect-ratio: auto; }
.work-overview-screen img { display: block; width: 100%; height: auto; }
.work-summary article { position: relative; border-left: 0; }
.work-divider { position: absolute; left: 0; top: 0; }
.work-feature-body { margin-top: 80px; }
.work-feature-image { position: relative; min-width: 0; overflow: hidden; border: 1px solid #dfdfdf; border-radius: 4px; background: var(--work-panel); }
.work-feature-image img { display: block; width: 100%; height: auto; }
.work-model-grid { --work-model-fade: .65s cubic-bezier(.4,0,.2,1); --work-model-text-delay: .23s; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.work-model-card { display: flex; flex-direction: column; min-width: 0; padding: 36px; border-radius: 4px; background: var(--work-panel); color: black; transition: background-color var(--work-model-fade); }
.work-model-label { margin-bottom: 50px; font: 400 16px/1.2 var(--english); color: rgb(0 0 0 / 70%); }
.work-model-copy h3 { color: black; }
.work-model-copy > p { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: -.72px; color: var(--muted); }
.work-model-card:last-child .work-model-copy > p { letter-spacing: -.9px; }
.work-model-note { margin-top: 30px; padding: 8px 16px; background: white; border-radius: 4px; font-size: 15px; line-height: 1.6; letter-spacing: -.6px; color: rgb(0 0 0 / 70%); }
/* Switch ink when the background crosses its midpoint; interpolating both
   through gray makes the text disappear briefly and look like a flash. */
.work-model-label, .work-model-copy h3, .work-model-copy > p, .work-model-note { transition: color 0s linear var(--work-model-text-delay); }
.work-model-note { transition: background-color var(--work-model-fade), color 0s linear var(--work-model-text-delay); }
.work-model-card.is-current { background: black; }
.work-model-card.is-current .work-model-copy h3 { color: white; }
.work-model-card.is-current .work-model-label { color: #00eb7e; }
.work-model-card.is-current .work-model-copy > p { color: rgb(255 255 255 / 87%); }
.work-model-card.is-current .work-model-note { background: #2d2f37; color: rgb(255 255 255 / 70%); }
/* Preserve the original workflow vectors and their intrinsic dimensions. */
.work-workflow-grid li::before, .work-workflow-grid li::after { display: none !important; }
.work-workflow-grid li > img { flex: none; }
.work-workflow-grid p { line-height: 1.4; }
.work-step-link { position: absolute; left: 100%; top: 174px; transform: rotate(-90deg); transform-origin: top left; max-width: none; }
.work-workflow-grid li:nth-child(2) .work-step-link { top: 39px; }
.work-workflow-grid li:nth-child(3) .work-step-link { top: 239px; }
.work-workflow-entry { position: absolute; left: -321px; bottom: 100%; max-width: none; }
.work-workflow-exit { position: absolute; top: 100%; left: 50%; transform: scaleY(-1); max-width: none; }

@media (max-width: 1300px) {
  .work-summary br:not(.work-summary-break) { display: none; }
  .work-model-card { padding: 28px 24px; }
  .work-model-note { margin-top: auto; }
  .work-model-copy { margin-bottom: 30px; }
  .work-step-link { transform: rotate(-90deg) scaleY(.666667); }
}
@media (max-width: 1024px) {
  .work-hero { padding-bottom: 160px; }
  .work-hero h1 { font-size: 54px; }
  .work-feature-body { margin-top: 56px; }
  .work-model-grid { grid-template-columns: 1fr; }
  .work-model-card { padding: 32px; }
  .work-model-label { margin-bottom: 32px; }
  .work-model-copy { margin-bottom: 24px; }
  .work-workflow-entry, .work-workflow-exit, .work-workflow-grid li:nth-child(2) .work-step-link { display: none; }
  .work-workflow-grid li:nth-child(n) .work-step-link { top: 50%; }
}
@media (max-width: 760px) {
  .work-hero { min-height: 0; padding-bottom: 100px; }
  .work-hero h1 { font-size: clamp(30px,7.5vw,50px); letter-spacing: -.7px; }
  .work-challenges .section-title { letter-spacing: -1.2px; }
  .work-product-name img { width: 30px; height: 30px; }
  .work-feature-body { margin-top: 40px; }
  .work-model-grid { gap: 12px; }
  .work-model-card { padding: 28px 24px; }
  .work-model-copy > p { font-size: 16px; }
  .work-workflow-grid li:nth-child(n) .work-step-link { display: block; left: 50%; top: 100%; transform: scaleY(.777778); transform-origin: top center; }
}
@media (prefers-reduced-motion: reduce) {
  .work-model-card, .work-model-label, .work-model-copy h3, .work-model-copy > p, .work-model-note { transition: none; }
}
