/* A legible CRM object, not a floating diagram. */
.capability-scene { display: grid; place-items: center; width: 480px; height: 252px; aspect-ratio: auto; overflow: visible; }
.crm-object { width: calc(100% - 24px); height: 226px; border: 1px solid #c5d8ee; border-radius: 8px; overflow: hidden; background: linear-gradient(130deg, #fff, #f4f9ffd9); box-shadow: 0 9px 22px #365c8720, 0 2px 0 #98b9de, inset 0 0 0 2px #fff; text-align: left; }
.crm-object-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 42px; padding: 0 18px; color: white; background: #287ccb; box-shadow: inset 0 1px 0 #ffffff69; }
.crm-object-header > span:first-child { font-size: 22px; font-weight: 600; line-height: 1; }
.crm-object-header > span:last-child { font-size: 18px; line-height: 1.3; color: #f1f8ff; }
.crm-object-body { display: grid; gap: 12px; padding: 14px 18px; }
.crm-object-title { font-size: 23px; line-height: 1.3; font-weight: 500; }
.crm-stage-line { display: flex; height: 5px; gap: 4px; }
.crm-stage-line span { width: 25%; background: #dfebf6; }
.crm-stage-line span:first-child { background: #57b3e9; }
.crm-object-integrations .crm-stage-line span { background: #b9dcca; }
.crm-object-integrations .crm-stage-line span:last-child { background: #51a985; }
.crm-object-data { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; line-height: 1.35; }
.crm-object-data > span:first-child:not(:last-child) { color: #647489; }
.crm-object-data > span:last-child { text-align: right; color: #273d52; }
.crm-object-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid #dae5ef; padding-top: 10px; font-size: 18px; line-height: 1.35; color: #506981; }
.crm-object-icons { display: flex; align-items: center; gap: 10px; color: #2980c8; }
.crm-object-icons svg { width: 20px; height: 20px; }
.crm-object-automation .crm-object-icons, .crm-object-integrations .crm-object-icons, .crm-object-records .crm-object-icons { color: #36886a; }
.crm-object-analytics .crm-object-body { gap: 8px; }
.crm-funnel { display: grid; gap: 4px; }
.crm-funnel span { height: 7px; width: 100%; background: #9ec8ef; }
.crm-funnel span:nth-child(2) { width: 72%; background: #65a9df; }
.crm-funnel span:nth-child(3) { width: 48%; background: #78bfa6; }

/* A single estimate with a typographic hierarchy instead of table rules. */
.estimate-card { padding: 28px 32px; border-color: #d7e2ee; background: linear-gradient(135deg, #fff, #f9fcff); }
.estimate-card:before { display: none; }
.estimate-caption { border: 0; padding: 0 0 4px; color: #5c6d81; }
.estimate-card dl > div { padding-top: 18px; }
.estimate-card dt { font-size: 24px; line-height: 1.25; font-weight: 500; color: #253c53; }
.estimate-card dd { font-size: 22px; line-height: 1.4; color: #536273; margin-top: 8px; }
.estimate-card dl > div:nth-child(2) dd { color: #253c53; }
.estimate-card .estimate-term { border: 0; grid-template-columns: 1fr; gap: 8px; padding-top: 0; margin-top: 22px; }
.estimate-card .estimate-term dd { font-size: 20px; color: #536273; }

/* Each tilted ribbon pauses independently; the button still pauses both. */
.client-showcase { overflow: hidden; padding-bottom: 10px; }
.client-ribbon { transform: rotate(1.2deg); transform-origin: center; margin-block: 18px; }
.client-ribbon-reverse { transform: rotate(-1.2deg); }
.client-track { animation-duration: 110s; }
.client-ribbon-reverse .client-track { animation-duration: 120s; }
.client-showcase:not(.is-paused) .client-ribbon:not(:hover) .client-track { animation-play-state: running; }
.client-ribbon:hover .client-track { animation-play-state: paused; }
.client-mark { width: 240px; height: 100px; padding: 14px 16px; }
.client-mark img { width: 208px; height: 64px; max-width: 100%; opacity: .88; }

/* Match the bevel and inset surfaces of the scenario keys. */
.contact-form { border: 1px solid #fbfff8; background: linear-gradient(125deg, #ffffffbd, #ffffff5e 56%, #e5f0e3a3); box-shadow: inset 0 2px 1px #fff, inset 2px 0 2px #ffffffc7, inset -1px -2px 2px #96b08873, 0 3px 0 #9bb98659, 0 18px 32px #466b3321; backdrop-filter: blur(20px); }
.contact-form .website-field input, .contact-form textarea { border-color: #a7bea4; background: #f8fff49e; box-shadow: inset 0 2px 4px #5c77551a, 0 1px 0 #ffffffd4; transition: border-color .15s, background .15s; }
.contact-form .website-field input:hover, .contact-form textarea:hover { border-color: #7d9b7d; }
.contact-form .website-field input:focus, .contact-form textarea:focus { background: #fbfff8e8; border-color: #5286c5; }
.selected-task { background: linear-gradient(135deg, #f2f7ff, #dce8fa); border-color: #abc1de; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px #82a3d12b, 0 1px 2px #355c8414; }
.task-add { box-shadow: inset 0 2px 1px #fff, inset 0 -1px 1px #9bb6d238, 0 2px 2px #294b741c; }
.task-add:active { box-shadow: inset 0 2px 3px #6a8ab729; }
@media (max-width: 1190px) {
  .estimate-card { padding: 24px; }
  .client-mark { width: 220px; }
}
@media (max-width: 560px) {
  .capability-scene { height: 252px; }
  .crm-object { width: 100%; }
  .crm-object-header { padding-inline: 14px; }
  .crm-object-body { padding: 12px 14px; gap: 10px; }
  .crm-object-title { font-size: 22px; }
  .crm-object-foot { gap: 10px; }
  .crm-object-icons { gap: 7px; }
  .crm-object-inbox .crm-object-foot { flex-wrap: wrap; gap: 7px 14px; }
  .estimate-card { padding: 22px; }
  .client-mark { width: 200px; height: 90px; padding: 14px 12px; }
  .client-mark img { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .client-ribbon { transform: none; }
  .client-mark { width: 100%; }
  .contact-form .website-field input, .contact-form textarea { transition: none; }
}
