/* Compact, unboxed Marimba Studio feature shared by both homepages. */
.rw-marimba-tool-section {
  padding: clamp(28px, 4vw, 48px) 0 0;
  scroll-margin-top: 104px;
}
.marimba-tool-feature {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-primary, #1a1a1a);
  font-family: inherit;
  text-align: center;
}
.marimba-tool-feature::before { content: none; }
.marimba-tool-topline { margin-bottom: 10px; }
.marimba-tool-kicker {
  color: #6250d8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.marimba-tool-badge { display: none; }
.marimba-tool-heading, .marimba-tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.marimba-tool-heading { flex-wrap: wrap; justify-content: center; }
.marimba-tool-feature .marimba-tool-heading h2 {
  margin: 0;
  color: var(--text-primary, #1a1a1a);
  font-family: inherit;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.marimba-tool-feature .marimba-tool-tagline {
  margin: 5px 0 0;
  color: var(--text-secondary, #4a5568);
  font-size: .85rem;
}
.marimba-tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin: 0 auto 16px;
  padding: 10px 15px;
  border: 1px solid rgba(98, 80, 242, .28);
  border-radius: 8px;
  background: rgba(98, 80, 242, .06);
  color: #5140c5;
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.marimba-tool-link:hover { background: rgba(98, 80, 242, .12); border-color: #6250f2; }
.marimba-tool-link:focus-visible { outline: 2px solid #6250f2; outline-offset: 4px; }
.marimba-tool-feature .marimba-tool-description {
  max-width: 680px;
  margin: 12px auto 14px;
  color: var(--text-secondary, #4a5568);
  font-size: .82rem;
  line-height: 1.6;
}
.marimba-tool-player {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* The widget fits its bars to the iframe height while retaining its controls. */
.marimba-tool-player iframe { height: 300px !important; }
.marimba-tool-footer {
  margin-top: 8px;
  flex-wrap: wrap;
  color: var(--text-muted, #6b7280);
  font-size: .7rem;
  line-height: 1.6;
}
.marimba-tool-footer span:first-child { color: var(--text-secondary, #4a5568); font-weight: 600; }
.marimba-tool-footer i { margin-right: 6px; }
html[data-theme="dark"] .marimba-tool-kicker,
html[data-theme="dark"] .marimba-tool-link { color: #bcb2ff; }
html[data-theme="dark"] .marimba-tool-link { border-color: rgba(188, 178, 255, .35); }
@media (max-width: 600px) {
  .rw-marimba-tool-section { scroll-margin-top: 80px; }
  .marimba-tool-topline { margin-bottom: 8px; }
  .marimba-tool-kicker { font-size: .62rem; letter-spacing: .12em; }
  .marimba-tool-heading { align-items: flex-start; gap: 10px; }
  .marimba-tool-feature .marimba-tool-heading h2 { font-size: 1.5rem; }
  .marimba-tool-feature .marimba-tool-tagline { font-size: .78rem; }
  .marimba-tool-link { min-height: 44px; padding: 9px 12px; font-size: .75rem; }
  .marimba-tool-feature .marimba-tool-description { margin: 10px auto 12px; font-size: .78rem; }
  .marimba-tool-player iframe { height: 230px !important; }
  .marimba-tool-footer { gap: 4px 12px; font-size: .65rem; }
}
