/* Figma 427:17633: selectable tools on desktop, stacked cards on mobile. */
body.ui-study #growth-tools.growth-story { height: auto; padding: 100px 0; border: 0; background: var(--gs-canvas-surface); }
/* One warm panel around the heading, tool descriptions and illustrations. */
body.ui-study #growth-tools.growth-story .growth-story-pin {
  position: static; width: calc(100% - 96px); max-width: 1248px;
  margin-inline: auto; padding: 48px; border-radius: 8px; background: var(--gs-panel-surface);
}
body.ui-study #growth-tools .growth-story-stage { position: relative; width: 100%; max-width: none; }
body.ui-study #growth-tools .growth-story-title { margin: 0 0 32px; width: 100%; }
.growth-story-panels { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.growth-story-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
body.ui-study #growth-tools .growth-story-copy { position: relative; min-width: 0; max-width: 624px; padding: 0; }
body.ui-study #growth-tools .growth-story-copy h3 { margin: 0; color: var(--gs-ink); text-wrap: pretty; }
body.ui-study #growth-tools .growth-story-eyebrow { display: block; margin-bottom: 20px; color: var(--gs-orange-text); text-transform: uppercase; }
body.ui-study #growth-tools .growth-story-art {
  width: 100%; aspect-ratio: 28/27; max-width: 560px; margin: 0; position: relative;
  overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 24px 64px #00000014;
}
body.ui-study #growth-tools .growth-story-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.growth-story .text-reveal { opacity: 1; transform: none; filter: none; transition: none; }
.growth-tool-trigger { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; padding: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.growth-tool-trigger[hidden] { display: none; }
@media (min-width:700px) {
  body.ui-study #growth-tools.is-tabbed .growth-story-stage { padding-right: 0; }
  body.ui-study #growth-tools.is-tabbed .growth-story-title { width: 100%; margin-bottom: 48px; }
  body.ui-study #growth-tools.is-tabbed .growth-story-content {
    position: relative; display: grid; grid-template-columns: 50% 44.8718%;
    justify-content: space-between; align-items: center;
  }
  /* Reserve the artwork's height so both columns share one centered row. */
  body.ui-study #growth-tools.is-tabbed .growth-story-content::after {
    content: ""; grid-column: 2; grid-row: 1; aspect-ratio: 28/27;
  }
  body.ui-study #growth-tools.is-tabbed .growth-story-panels { grid-column: 1; grid-row: 1; gap: 32px; width: 100%; }
  body.ui-study #growth-tools.is-tabbed .growth-story-panel { display: block; }
  body.ui-study #growth-tools.is-tabbed .growth-story-copy { opacity: .25; filter: grayscale(1); transition: opacity 150ms ease, filter 150ms ease; }
  body.ui-study #growth-tools.is-tabbed .growth-story-copy:focus-within { opacity: .7; }
  body.ui-study #growth-tools.is-tabbed .growth-story-panel.is-current .growth-story-copy { opacity: 1; filter: grayscale(0); }
  body.ui-study #growth-tools.is-tabbed .growth-story-art {
    position: absolute; top: 50%; right: 0; width: 44.8718%; transform: translateY(-50%); visibility: hidden; opacity: 0;
    transition: opacity 220ms ease; pointer-events: none;
  }
  body.ui-study #growth-tools.is-tabbed .growth-story-panel.is-current .growth-story-art { visibility: visible; opacity: 1; }
}
@media (hover:hover) {
  body.ui-study #growth-tools.is-tabbed .growth-story-copy:hover { opacity: .6; }
  body.ui-study #growth-tools.is-tabbed .growth-story-panel.is-current .growth-story-copy:hover { opacity: 1; }
}
@media (min-width:700px) and (max-width:1023px) {
  body.ui-study #growth-tools.growth-story .growth-story-pin { width: calc(100% - 48px); padding: 32px; }
  body.ui-study #growth-tools.is-tabbed .growth-story-content { grid-template-columns: 52% 44.8718%; }
}
@media (max-width:699px) {
  body.ui-study #growth-tools.growth-story { padding-block: 72px; }
  body.ui-study #growth-tools.growth-story .growth-story-pin { width: calc(100% - 40px); padding: 32px 20px; }
  body.ui-study #growth-tools .growth-story-title { text-align: center; margin: 0 auto 48px; text-wrap: balance; }
  .growth-story-panel { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.ui-study #growth-tools .growth-story-art { max-width: 430px; justify-self: center; }
  body.ui-study #growth-tools .growth-story-copy { text-align: center; }
  body.ui-study #growth-tools .growth-story-copy h3 { text-wrap: balance; }
  body.ui-study #growth-tools .growth-story-eyebrow { margin-bottom: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  body.ui-study #growth-tools.is-tabbed :is(.growth-story-copy,.growth-story-art) { transition: none; }
}
@media print {
  body.ui-study #growth-tools.is-tabbed .growth-story-stage { padding-right: 0; }
  body.ui-study #growth-tools.is-tabbed .growth-story-content { display: block; }
  body.ui-study #growth-tools.is-tabbed .growth-story-content::after { content: none; }
  body.ui-study #growth-tools.is-tabbed :is(.growth-story-panels,.growth-story-title) { width: 100%; }
  body.ui-study #growth-tools.is-tabbed .growth-story-panel { display: grid; break-inside: avoid; }
  body.ui-study #growth-tools.is-tabbed .growth-story-copy { opacity: 1; filter: none; }
  body.ui-study #growth-tools.is-tabbed .growth-story-art { position: static; width: 100%; transform: none; visibility: visible; opacity: 1; }
  .growth-tool-trigger { display: none; }
}
