/* Variant b: the widget's story as two large cards, two steps each. The picture is the whole scene, unscaled, with
   its margins round the window; one short line under it. Only one story plays at a time (js/story.js). */
.st-cards { padding: 72px 0 24px; scroll-margin-top: 24px; }
.st-cards > h2 { margin: 0 0 28px; }
.st-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st-cards .feature-story.st.st-card { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 0; padding: 8px 8px 16px; border-radius: 18px; background: #fff; }
.st-cards .st-card .story-media { order: 0; position: relative; width: 100%; overflow: hidden; border-radius: 14px; }
.st-cards .st-card .st-scene { width: 100%; border-radius: 14px; }
.st-cards .st-card .story-copy { order: 1; align-self: stretch; width: auto; max-width: none; padding: 0 6px; text-align: left; }
.st-cards .st-card .st-steps, .st-cards .st-card .st-step { width: 100%; }
.st-cards .st-card .st-step h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.st-cards .st-card .st-step h3 .st-key { font-size: 14px; }
.st-cards .st-card .st-step p, .st-cards .st-card .st-do { margin: 0; padding: 0; font-size: 14px; line-height: 1.45; color: #4a5664; }
.st-cards .st-card .st-do li { opacity: 1; transform: none; color: #4a5664; }
.st-cards .st-card .st-do li:nth-child(n+2), .st-cards .st-card .st-synced { display: none; }
.st-cards .st-card .st-play { margin-top: 12px; }
@media (max-width: 1100px) { .st-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .st-cards-grid { grid-template-columns: 1fr; } }

/* Quick Sync stays one block: no dashes, its words list all four kinds at once */
.sh-one .st-steps { display: none; }
.sh-what .sh-lead { margin: 0 0 14px; font-size: 20px; line-height: 1.5; font-weight: 560; color: #17212e; }
.sh-what .sh-lead .st-key { font-size: 17px; }
.sh-list { margin: 0; padding: 0; list-style: none; }
.sh-list li { position: relative; padding: 7px 0 7px 22px; font-size: 17px; line-height: 1.45; color: #4a5664; }
.sh-list li::before { content: "✓"; position: absolute; left: 0; color: #086ed8; }
.sh-list b { font-weight: 600; color: #17212e; }

/* the widget: two large cards, each playing two steps */
.st-cards-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.st-cards-grid.is-two .feature-story.st.st-card { padding: 12px 12px 24px; border-radius: 22px; gap: 18px; }
.st-cards-grid.is-two .st-card .story-media { border-radius: 14px; }
.st-cards-grid.is-two .st-card .story-copy { padding: 0 10px; }
.st-cards-grid.is-two .st-card .st-step h3 { font-size: 22px; }
.st-cards-grid.is-two .st-card .st-step h3 .st-key { font-size: 17px; }
.st-cards-grid.is-two .st-card .st-step p, .st-cards-grid.is-two .st-card .st-do { font-size: 16px; }
@media (max-width: 760px) { .st-cards-grid.is-two { grid-template-columns: 1fr; } }

/* each widget card carries its own headline, the answer to one doubt; the block has only its quiet line above */
.st-cards > .chain-eyebrow { margin-bottom: 18px; }
.st-cards .st-card .st-heading { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.03em; }

/* a card that is not playing (waiting, or the main one held while another plays): its picture a little darker
   and a round Play in the middle; the pointer on a waiting card plays it, a click makes it the main one (js/story.js) */
.st-cards .st-card:not(.is-running) .story-media { cursor: pointer; }
.st-cards .st-card .story-media::after { content: ""; position: absolute; inset: 0; z-index: 8; border-radius: 14px; background: rgba(16, 22, 30, .32); pointer-events: none; transition: opacity .35s; }
.st-cards .st-card.is-running .story-media::after { opacity: 0; }
.st-cards .st-card .story-media > .st-play { position: absolute; left: 50%; top: 50%; z-index: 9; display: grid; place-items: center; width: 68px; height: 68px; margin: 0; padding: 0; border-radius: 50%; font-size: 0; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); transition: opacity .3s; }
.st-cards .st-card .story-media > .st-play svg { width: 24px; height: 24px; margin-left: 4px; }
.st-cards .st-card .story-media > .st-play span { display: none; }
.st-cards .st-card.is-running .story-media > .st-play { opacity: 0; pointer-events: none; }

/* A clear transition from the product film to the sync stories: the heading, then why (sizes in type.css), then the two steps. */
#widget.st-cards { padding-top: 40px; }
#widget > .sync-why { max-width: 640px; margin: 0 0 36px; }
#widget .sync-sub { margin: 0; }
#widget .sync-sub span { display: inline-block; } /* on a phone it breaks between the two sentences */
#widget .sync-text { margin: 12px 0 0; color: #4a5664; line-height: 1.55; }
#widget > .sync-heading {
  margin: 0 0 10px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(26px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -.035em;
  color: #17212e;
}

